/* style.css - Premium Modern Design for Riviera's International */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Gourmet Meat Boutique Theme */
  --bg-dark: #0a0a0c;
  --bg-card: rgba(20, 20, 24, 0.7);
  --bg-card-hover: rgba(28, 28, 34, 0.85);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(230, 57, 70, 0.4);
  
  --primary: #e63946;        /* Fire Crimson Red */
  --primary-hover: #f94144;
  --secondary: #f4a261;      /* Warm Amber/Gold */
  --secondary-hover: #e76f51;
  
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;  /* Gray-400 */
  --text-muted: #71717a;      /* Gray-500 */
  
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(230, 57, 70, 0.35);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  
  --nav-height: 80px;
}

/* Reset & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Accent Background Glows */
body::before, body::after {
  content: '';
  position: absolute;
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}
body::before {
  top: 10%;
  left: -10%;
}
body::after {
  bottom: 20%;
  right: -10%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, textarea, button {
  font-family: inherit;
}

/* Header & Glassmorphism Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

header.scrolled {
  height: 70px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 55px;
  width: auto;
  transition: var(--transition-smooth);
}

header.scrolled .logo img {
  height: 48px;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #fff 40%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  flex-direction: column;
}

.logo-text span.sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-secondary);
  -webkit-text-fill-color: var(--text-secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Call-to-action button in Nav */
.btn-nav {
  background: linear-gradient(135deg, var(--primary) 0%, #b31b27 100%);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

/* Mobile Menu Button */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(18, 18, 22, 0.2) 0%, rgba(6, 6, 8, 0.95) 80%),
              url('../images/1136.jpg') no-repeat center center/cover;
  padding-top: var(--nav-height);
}

.hero-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.2s;
}

.badge {
  display: inline-block;
  background: rgba(244, 162, 97, 0.12);
  border: 1px solid rgba(244, 162, 97, 0.3);
  color: var(--secondary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h1 span.highlight {
  background: linear-gradient(135deg, #fff 30%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 span.accent {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, #ff6b76 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p.description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
  max-width: 580px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #c1212e 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, #ff4c5a 0%, var(--primary) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

/* Image Slider Widget (Replacing Muse slideshow) */
.hero-slider-wrapper {
  position: relative;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  opacity: 0;
  transform: scale(0.95);
  animation: zoomIn 0.8s forwards 0.4s;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: flex-end;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.slide-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0) 100%);
  font-family: var(--font-title);
}

.slide-caption h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.slide-caption p {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Category Quick grid */
.categories-preview {
  padding: 100px 0;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 300;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  position: relative;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px rgba(230, 57, 70, 0.15);
}

.category-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.category-card:hover .category-img img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.7) 0%, rgba(10, 10, 12, 0) 70%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.category-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-card-content h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.category-card-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
  font-weight: 300;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary);
}

.category-card:hover .btn-card {
  color: var(--primary);
}

.btn-card svg {
  transition: transform 0.2s ease;
}

.category-card:hover .btn-card svg {
  transform: translateX(5px);
}

/* About & History (Editorial Style) */
.about-section {
  padding: 100px 0;
  background: rgba(16, 16, 20, 0.4);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-img-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.about-img-frame img {
  width: 100%;
  object-fit: cover;
  height: 480px;
}

.about-logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.about-logo-overlay img {
  max-width: none;
  max-height: none;
  width: 120%;
  height: auto;
}

.about-media:hover .about-logo-overlay {
  border-color: var(--border-hover);
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.15);
}

.floating-badge {
  z-index: 10;
  position: absolute;
  bottom: -149px;
  right: -25px;
  background: var(--bg-card);
  border: 1px solid var(--secondary);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.floating-badge .number {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.floating-badge .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.about-text h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 300;
}

.tif-cert {
  background: rgba(244, 162, 97, 0.05);
  border-left: 3px solid var(--secondary);
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
}

.tif-cert h4 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 5px;
}

.tif-cert p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* History Timeline / Tab section */
.history-section {
  padding: 100px 0;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  margin-top: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg-dark);
  box-shadow: 0 0 10px var(--primary);
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  position: relative;
  width: 45%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.timeline-item:nth-child(even) .timeline-content {
  left: 55%;
}

.timeline-item:nth-child(odd) .timeline-content {
  left: 0;
  text-align: right;
}

.timeline-year {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
}

.timeline-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Wholesalers Call to Action */
.wholesaler-banner {
  margin: 80px 0;
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.9) 0%, rgba(10, 10, 12, 0.95) 100%),
              url('../images/p1040480-u5983-fr.jpg') no-repeat center center/cover;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 80px 0;
}

.wholesaler-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.wholesaler-text h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.wholesaler-text h2 span {
  color: var(--secondary);
}

.wholesaler-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 700px;
  font-weight: 300;
}

/* Contact & Forms */
.contact-section {
  padding: 100px 0;
}

.contact-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
}

.contact-info h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 25px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--secondary);
}

.contact-details p {
  color: var(--text-secondary);
  font-weight: 400;
}

.contact-details a:hover {
  color: var(--primary);
}

.map-wrapper {
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

/* Glassmorphism Forms */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.form-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.form-group {
  margin-bottom: 22px;
  position: relative;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.15);
}

textarea.form-control {
  height: 130px;
  resize: none;
}

.form-group label {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

/* Floating labels effect */
.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 12px;
  font-size: 0.75rem;
  background: #18181c;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--secondary);
  border: 1px solid var(--border-light);
}

/* Hide default placeholder */
.form-control::placeholder {
  color: transparent;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #b31b27 100%);
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Success/Error Notifications */
.form-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(46, 117, 89, 0.15);
  border: 1px solid #2e7559;
  color: #5bb38a;
}

.form-status.error {
  display: block;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid var(--primary);
  color: #ff6b76;
}

/* Category Detail Pages Styles */
.category-hero {
  padding: 150px 0 80px;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.6) 50%, rgba(10, 10, 12, 0.95) 100%),
              url('../images/1136.jpg') no-repeat center center/cover;
  text-align: center;
}

.category-hero.cerdo { background-image: linear-gradient(to bottom, rgba(10, 10, 12, 0.95), rgba(10, 10, 12, 0.6), rgba(10, 10, 12, 0.95)), url('../images/cerdo-u4094-fr.png'); }
.category-hero.res { background-image: linear-gradient(to bottom, rgba(10, 10, 12, 0.95), rgba(10, 10, 12, 0.6), rgba(10, 10, 12, 0.95)), url('../images/p1040480-u5983-fr.png'); }
.category-hero.borrego { background-image: linear-gradient(to bottom, rgba(10, 10, 12, 0.95), rgba(10, 10, 12, 0.6), rgba(10, 10, 12, 0.95)), url('../images/borrego03 macho_raza_navarra_10062009_2_tcm7-293499-u3957-fr.png'); }
.category-hero.pollo { background-image: linear-gradient(to bottom, rgba(10, 10, 12, 0.95), rgba(10, 10, 12, 0.6), rgba(10, 10, 12, 0.95)), url('../images/pollos-c-u3930-fr.png'); }

.category-hero h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #fff 30%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.category-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
}

/* Interactive Filter Bar */
.filter-section {
  padding: 40px 0;
  width: 90%;
  max-width: 1200px;
  margin: -40px auto 40px;
  position: relative;
  z-index: 10;
}

.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px 30px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.search-box {
  position: relative;
  flex-grow: 1;
  max-width: 450px;
}

.search-box input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px 12px 48px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.search-box input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--primary);
}

.search-box svg {
  position: absolute;
  left: 18px;
  top: 13px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.filter-info {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.filter-info span {
  color: #fff;
  font-weight: 600;
}

/* Products Grid */
.products-section {
  padding-bottom: 100px;
}

.products-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.12);
}

.product-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #18181c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(10, 10, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.product-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-product-detail {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 10px;
  border-radius: 6px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.product-card:hover .btn-product-detail {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* No Results State */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
}

.no-results svg {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.no-results h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Wholesalers form details styling */
.wholesaler-hero {
  padding: 160px 0 60px;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.95), rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0.95)),
              url('../images/p1040480-u5983-fr.jpg') no-repeat center center/cover;
  text-align: center;
}

.wholesaler-hero h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #fff 30%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.wholesaler-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
}

.wholesaler-grid {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.form-col {
  position: relative;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Interactive Product Modal (Glassmorphism Lightbox) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: rgba(20, 20, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 850px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  position: relative;
  transform: translateY(40px) scale(0.95);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.modal-media {
  background: #18181c;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 380px;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info .category-badge {
  font-family: var(--font-title);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.modal-info h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
}

.modal-info .divider {
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 20px;
}

.modal-info h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.modal-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 300;
}

.btn-modal-action {
  width: 100%;
  background: #25d366; /* WhatsApp Green */
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-modal-action:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Footer Section */
footer {
  background: #060608;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.footer-brand h4 span {
  color: var(--secondary);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 320px;
  font-weight: 300;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links h5, .footer-contact h5 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--secondary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.footer-contact-item svg {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-designer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-designer img {
  height: 24px;
  width: auto;
  filter: grayscale(1) opacity(0.5);
  transition: var(--transition-fast);
}

.footer-designer:hover img {
  filter: none;
}

/* Floating WhatsApp Button */
.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  animation: pulseBreath 2s infinite;
  transition: var(--transition-smooth);
}

.whatsapp-floating:hover {
  transform: scale(1.1) rotate(5deg);
  background: #20ba5a;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseBreath {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 40px;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content p.description {
    margin: 0 auto 30px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-slider-wrapper {
    height: 380px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-media {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }
  
  .wholesaler-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .wholesaler-text p {
    margin: 0 auto;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .wholesaler-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--nav-height));
    background: rgba(10, 10, 12, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    padding: 40px 30px;
    align-items: flex-start;
    gap: 25px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 0.95rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item::after {
    left: 20px;
  }
  
  .timeline-content {
    width: calc(100% - 50px);
    left: 50px !important;
    text-align: left !important;
  }
  
  .modal-card {
    grid-template-columns: 1fr;
  }
  
  .modal-media {
    min-height: 250px;
  }
  
  .modal-info {
    padding: 30px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  /* Floating badge hidden on very small screens to avoid layout overflow */
  .floating-badge {
    display: none;
  }
  
  .form-card {
    padding: 25px 20px;
  }
  
  .whatsapp-floating {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .nav-container {
    width: 95%;
  }
}
