/* ======================================================
   CUCINA CON LOLLO — Design System v2.0
   Dark Premium Theme with Golden Accents
   ====================================================== */

/* --- CSS Custom Properties --- */
:root {
  /* Core Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --bg-elevated: #1e1e1e;

  /* Accent Colors */
  --accent-gold: #D4A574;
  --accent-gold-light: #E8C99B;
  --accent-gold-dark: #B8864E;
  --accent-warm: #C9956B;
  --accent-glow: rgba(212, 165, 116, 0.15);

  /* Text Colors */
  --text-primary: #F5F0EB;
  --text-secondary: #A69B8D;
  --text-muted: #6B6259;
  --text-on-accent: #0a0a0a;

  /* Borders & Dividers */
  --border-subtle: rgba(212, 165, 116, 0.12);
  --border-card: rgba(255, 255, 255, 0.06);
  --divider: rgba(255, 255, 255, 0.05);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(212, 165, 116, 0.08);

  /* Glass */
  --glass-bg: rgba(26, 26, 26, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--accent-gold-light);
}

::selection {
  background: rgba(212, 165, 116, 0.3);
  color: var(--text-primary);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.text-accent { color: var(--accent-gold); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ======================================================
   NAVIGATION
   ====================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 1px 0 var(--glass-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
  filter: invert(1) brightness(2);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: var(--space-sm) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

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

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px 0;
  transition: all var(--duration-fast) var(--ease-out);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ======================================================
   HERO SECTION
   ====================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) var(--space-lg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.4) 0%,
    rgba(10,10,10,0.7) 50%,
    rgba(10,10,10,0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-lg);
  position: relative;
}

.hero-label::before,
.hero-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--accent-gold);
  opacity: 0.4;
}

.hero-label::before { right: calc(100% + 16px); }
.hero-label::after { left: calc(100% + 16px); }

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  letter-spacing: -1px;
}

.hero h1 .accent {
  color: var(--accent-gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--accent-gold);
  color: var(--text-on-accent);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.hero-cta:hover {
  background: var(--accent-gold-light);
  color: var(--text-on-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: float 3s ease-in-out infinite;
}

.hero-scroll span {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid var(--border-subtle);
  border-radius: 14px;
  position: relative;
}

.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 2px;
  animation: scroll-indicator 2s ease-in-out infinite;
}

/* ======================================================
   SECTION STYLES
   ====================================================== */
.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

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

.section-header .accent-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: var(--space-lg) auto 0;
}

/* ======================================================
   CATEGORY CARDS (Homepage)
   ====================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out);
}

.category-card:hover {
  transform: translateY(-8px);
}

.category-card img,
.category-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.category-card:hover img,
.category-card:hover video {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10,10,10,0.95) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
}

.category-card-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: var(--space-xs);
}

.category-card-overlay p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.category-card-count {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ======================================================
   RECIPE CARDS GRID
   ====================================================== */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

.recipe-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  display: block;
}

.recipe-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

.recipe-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.recipe-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.recipe-card:hover .recipe-card-image img {
  transform: scale(1.06);
}

.recipe-card-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.recipe-card-body {
  padding: var(--space-lg);
}

.recipe-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  line-height: 1.3;
}

.recipe-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.recipe-card-meta {
  display: flex;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--divider);
}

.recipe-card-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.recipe-card-meta .icon {
  font-size: 0.9rem;
}

/* ======================================================
   RECIPE PAGE — HERO
   ====================================================== */
.recipe-hero {
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-lg) var(--space-xl);
  text-align: center;
  position: relative;
}

.recipe-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: var(--accent-glow);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border-subtle);
}

.recipe-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.recipe-hero .tagline {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.recipe-meta-row {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.recipe-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.recipe-meta-item .value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.recipe-meta-item .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.recipe-meta-divider {
  width: 1px;
  height: 40px;
  background: var(--divider);
  align-self: center;
}

/* ======================================================
   RECIPE PAGE — IMAGE
   ====================================================== */
.recipe-image-section {
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
  padding: 0 var(--space-lg);
}

.recipe-image-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);
}

.recipe-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ======================================================
   RECIPE PAGE — BODY
   ====================================================== */
.recipe-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-3xl);
}

.recipe-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: var(--space-xl) auto;
}

.recipe-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* --- Ingredients --- */
.ingredients-section {
  margin-bottom: var(--space-2xl);
}

.ingredients-section h2,
.prep-section h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.ingredients-section h2::before {
  content: '';
  width: 4px;
  height: 28px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.ingredients-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-xl);
}

.ingredient-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--divider);
}

.ingredient-item:last-child {
  border-bottom: none;
}

.ingredient-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  flex-shrink: 0;
}

.ingredients-subheading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent-gold);
  margin: var(--space-lg) 0 var(--space-md);
  grid-column: 1 / -1;
}

.ingredients-subheading:first-child {
  margin-top: 0;
}

/* --- Preparation Steps --- */
.prep-section {
  margin-bottom: var(--space-2xl);
}

.prep-section h2::before {
  content: '';
  width: 4px;
  height: 28px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.steps-list {
  list-style: none;
}

.step-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--divider);
}

.step-item:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.step-content {
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-top: var(--space-sm);
}

.step-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- Tip Box --- */
.tip-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.tip-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-gold), var(--accent-gold-dark));
}

.tip-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.tip-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.tip-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-gold);
}

.tip-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-left: calc(36px + var(--space-md));
}

/* --- CTA --- */
.recipe-cta {
  text-align: center;
  padding: var(--space-xl) 0;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: transparent;
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--accent-gold);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.cta-link:hover {
  background: var(--accent-gold);
  color: var(--text-on-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
}

/* ======================================================
   ABOUT SECTION
   ====================================================== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

/* ======================================================
   CATEGORY PAGE — HEADER
   ====================================================== */
.category-hero {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
  position: relative;
}

.category-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: var(--space-md);
}

.category-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

.category-hero .count-badge {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid var(--border-subtle);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-top: var(--space-lg);
}

/* ======================================================
   FOOTER
   ====================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--divider);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .nav-brand-text {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

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

.footer-col li {
  margin-bottom: var(--space-sm);
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--accent-gold);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.social-link:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: var(--accent-glow);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* ======================================================
   ANIMATIONS
   ====================================================== */
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll-indicator {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   COOKIE BANNER (preserved functionality)
   ====================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-lg) var(--space-xl);
  z-index: 9999;
  display: none;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.cookie-banner a {
  color: var(--accent-gold);
}

.cookie-banner .btn-accept {
  padding: 10px 24px;
  background: var(--accent-gold);
  color: var(--text-on-accent);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  margin-right: var(--space-sm);
  transition: background var(--duration-fast) var(--ease-out);
}

.cookie-banner .btn-accept:hover {
  background: var(--accent-gold-light);
}

.cookie-banner .btn-decline {
  padding: 10px 24px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.cookie-banner .btn-decline:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* ======================================================
   BREADCRUMB
   ====================================================== */
.breadcrumb {
  padding: calc(var(--nav-height) + var(--space-lg)) 0 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  font-size: 0.85rem;
}

.breadcrumb-list a {
  color: var(--text-muted);
}

.breadcrumb-list a:hover {
  color: var(--accent-gold);
}

.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.4;
}

.breadcrumb-current {
  color: var(--text-secondary);
}

/* ======================================================
   "COME SERVIRE" / Extra Content
   ====================================================== */
.serving-section {
  margin-bottom: var(--space-2xl);
}

.serving-section h2 {
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.serving-section h2::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.serving-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.serving-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.serving-box ul {
  list-style: none;
  padding: 0;
}

.serving-box li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.serving-box li::before {
  content: '•';
  color: var(--accent-gold);
  font-weight: bold;
}

/* ======================================================
   VIDEO EMBED
   ====================================================== */
.recipe-video {
  max-width: 500px;
  margin: var(--space-xl) auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
}

.recipe-video video {
  width: 100%;
  height: auto;
  display: block;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .category-card {
    aspect-ratio: 16/9;
  }

  .about-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 1;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 20px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 72px;
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    border-bottom: 1px solid var(--border-card);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

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

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

  .recipe-meta-row {
    gap: var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-label::before,
  .hero-label::after {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

  .tip-section p {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .recipe-card-meta {
    flex-wrap: wrap;
  }

  .category-card-overlay {
    padding: var(--space-lg);
  }

  .category-card-overlay h3 {
    font-size: 1.4rem;
  }
}

/* ======================================================
   UX ENHANCEMENTS: SVG ICONS & INTERACTIVE ELEMENTS
   ====================================================== */

.icon-svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: inline-block;
  vertical-align: middle;
  transition: transform var(--duration-fast) var(--ease-out);
}

.icon-svg-lg {
  width: 2.2rem;
  height: 2.2rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: inline-block;
  transition: transform var(--duration-normal) var(--ease-out), stroke var(--duration-normal) var(--ease-out);
}

/* Social link hover effect */
.social-link:hover .icon-svg {
  transform: scale(1.15) rotate(-5deg);
}

/* Category list metadata style */
.recipe-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.recipe-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.recipe-card-meta span .icon-svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent-gold);
}

/* Custom Checkbox for Premium Ingredients List */
.ingredient-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.ingredient-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--divider);
  cursor: pointer;
  user-select: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.ingredient-item:hover {
  color: var(--text-primary);
}

.ingredient-checkbox-custom {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--border-card);
  background: var(--bg-primary);
  flex-shrink: 0;
  transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.ingredient-item:hover .ingredient-checkbox-custom {
  border-color: var(--accent-gold);
}

.ingredient-checkbox:checked ~ .ingredient-checkbox-custom {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.ingredient-checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: solid var(--bg-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ingredient-checkbox:checked ~ .ingredient-checkbox-custom::after {
  display: block;
}

.ingredient-checkbox:checked ~ .ingredient-text {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

/* Premium Step List Interactive Styling */
.step-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-bottom: 1px solid var(--divider);
  border-left: 3px solid transparent;
  cursor: pointer;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: background-color var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out), opacity var(--duration-normal) var(--ease-out);
}

.step-item:hover {
  background-color: rgba(255, 255, 255, 0.015);
}

.step-item.active-step {
  border-left-color: var(--accent-gold);
  background-color: rgba(212, 165, 116, 0.04);
}

.step-item.active-step .step-num {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(212, 165, 116, 0.3);
}

.step-item.active-step .step-content {
  color: var(--text-primary);
}

.steps-section-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin: var(--space-xl) 0 var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px dashed var(--border-card);
}

.steps-section-title:first-of-type {
  margin-top: 0;
}

/* Video Slider Crossfade in Hero */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s ease-in-out;
}

.bg-video.active {
  opacity: 1;
  z-index: 2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 100%);
  z-index: 3;
}

/* --- Cos'è Cucina Con Lollo: Premium features grid & cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  perspective: 1000px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  z-index: 1;
}

.feature-card:hover {
  border-color: var(--accent-gold);
  background-color: rgba(15, 15, 15, 0.95);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
              0 0 30px rgba(212, 165, 116, 0.1),
              inset 0 0 0 1px rgba(212, 165, 116, 0.08);
}


.feature-card-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
  z-index: 3;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

/* Feature Card Icon (SVG) */
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(212, 165, 116, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  border: 1px solid rgba(212, 165, 116, 0.15);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              background-color var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  z-index: 3;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent-gold);
  transition: color var(--duration-normal) var(--ease-out),
              transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.12);
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
}

.feature-card:hover .feature-icon svg {
  color: #0a0a0a;
  transform: scale(1.1);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  transition: color var(--duration-fast) var(--ease-out);
  z-index: 3;
}

.feature-card:hover h3 {
  color: var(--accent-gold);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  z-index: 3;
}

.feature-card:hover p {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: var(--space-xl) auto 0;
  }
}

/* --- PREMIUM SCROLL REVEAL & PARALLAX VFX SYSTEM --- */

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--accent-gold);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s;
  box-shadow: 0 0 10px rgba(212, 165, 116, 0.5);
}


/* Base reveal transition */
.js-reveal .reveal-item {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-item {
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-reveal .reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger reveals inside grids */
.js-reveal .reveal-stagger .reveal-item {
  opacity: 0;
  transform: translateY(40px);
}

.js-reveal .reveal-stagger .reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Multi-element stagger transition delay definitions */
.reveal-stagger .reveal-item:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger .reveal-item:nth-child(2) { transition-delay: 150ms; }
.reveal-stagger .reveal-item:nth-child(3) { transition-delay: 300ms; }
.reveal-stagger .reveal-item:nth-child(4) { transition-delay: 450ms; }
.reveal-stagger .reveal-item:nth-child(5) { transition-delay: 600ms; }
.reveal-stagger .reveal-item:nth-child(6) { transition-delay: 750ms; }

/* Mask for sliding up headings */
.reveal-title-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.35;
  padding-bottom: 2px;
}

.js-reveal .reveal-title-text {
  transform: translateY(105%);
}

.reveal-title-text {
  display: inline-block;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-reveal .reveal-title-text.revealed {
  transform: translateY(0);
}

/* Floating Parallax Background Elements */
.parallax-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.parallax-element {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  will-change: transform;
}

@media (max-width: 992px) {
  .parallax-element {
    display: none; /* Turn off parallax floating elements on mobile for performance */
  }
}

/* Scroll assembly animations for features cards (composition, decomposition, zoom) */
.feature-card.scroll-animated:not(.assembled) {
  opacity: var(--card-opacity, 0);
  transform: perspective(1200px) 
             translate3d(0, calc((1 - var(--card-p, 0)) * 120px), 0)
             rotateX(calc((1 - var(--card-p, 0)) * -35deg))
             scale3d(calc(0.75 + var(--card-p, 0) * 0.25), calc(0.75 + var(--card-p, 0) * 0.25), 1);
  pointer-events: none;
  transition: none !important;
}

.feature-card.scroll-animated:not(.assembled) .feature-icon {
  transform: translate3d(0, calc((1 - var(--card-p, 0)) * -180px), 0)
             scale(calc(0.1 + var(--card-p, 0) * 0.9))
             rotate(calc((1 - var(--card-p, 0)) * 360deg));
  transition: none !important;
}

.feature-card.scroll-animated:not(.assembled) h3 {
  transform: translate3d(calc((1 - var(--card-p, 0)) * -120px), 0, 30px)
             scale(calc(0.65 + var(--card-p, 0) * 0.35));
  opacity: var(--card-p, 0);
  transition: none !important;
}

.feature-card.scroll-animated:not(.assembled) p {
  transform: translate3d(calc((1 - var(--card-p, 0)) * 120px), 0, 20px)
             scale(calc(0.65 + var(--card-p, 0) * 0.35));
  opacity: var(--card-p, 0);
  transition: none !important;
}

/* ======================================================
   CINEMATIC SCROLL-DRIVEN ANIMATION SYSTEM
   Parallax, Pan, Zoom, Tilt across all homepage sections
   ====================================================== */

/* GPU acceleration for cinematic elements */
section.section .container {
  transform-origin: center center;
}

/* Clip parallax images inside their containers */
.category-card,
.recipe-card-image {
  overflow: hidden;
}

.category-card img,
.category-card video,
.recipe-card-image img,
.about-image img {
  will-change: transform;
}

/* Hero content cinematic parallax */
.hero-content {
  will-change: transform, opacity;
}

/* About section split parallax */
.about-image,
.about-text {
  will-change: transform;
  transform-origin: center center;
}

/* Recipe cards depth transforms */
.recipe-card {
  will-change: transform;
  transform-style: preserve-3d;
}

/* Category cards perspective tilt */
.category-card {
  will-change: transform;
  transform-style: preserve-3d;
  transform-origin: center center;
}

/* Smooth transition reset on scroll */
section.section {
  overflow: hidden;
}

/* Performance: disable heavy effects on reduced motion */
@media (prefers-reduced-motion: reduce) {
  .category-card img,
  .category-card video,
  .recipe-card-image img,
  .about-image img,
  .hero-content,
  .about-image,
  .about-text,
  .recipe-card,
  .category-card,
  section.section .container {
    will-change: auto !important;
    transform: none !important;
  }
}

/* ======================================================
   GTRANSLATE WIDGET OVERRIDES
   ====================================================== */
.gtranslate_wrapper {
  position: relative !important;
  display: inline-block !important;
  z-index: 10 !important;
}

.gt_float_switcher {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  background-color: var(--bg-card) !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm) !important;
  font-family: var(--font-body) !important;
  overflow: hidden !important;
  transition: all var(--duration-fast) var(--ease-out) !important;
}

.gt_float_switcher .gt-selected {
  background-color: var(--bg-card) !important;
  background: var(--bg-card) !important;
}

.gt_float_switcher .gt-selected .gt-current-lang,
.gt_float_switcher .gt-selected .gt-lang-code {
  color: var(--text-primary) !important;
}

.gt_float_switcher .gt-selected .gt_float_switcher-arrow {
  filter: brightness(2) invert(1) sepia(1) hue-rotate(330deg) saturate(3) !important; /* Make it golden/bright */
}

.gt_float_switcher .gt_options {
  background-color: var(--bg-elevated) !important;
  background: var(--bg-elevated) !important;
  border-bottom: 1px solid var(--border-card) !important;
  border-radius: var(--radius-sm) !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.gt_float_switcher .gt_options a {
  display: block !important;
  color: var(--text-secondary) !important;
  transition: all 0.2s ease !important;
}

.gt_float_switcher .gt_options a.gt-current {
  display: none !important;
}

.gt_float_switcher .gt_options a:hover {
  background-color: var(--bg-card-hover) !important;
  color: var(--accent-gold) !important;
}


/* ======================================================
   SEARCH OVERLAY MODAL
   ====================================================== */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 14, 14, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-3xl) var(--space-md);
  box-sizing: border-box;
}

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

.search-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10000;
}

.search-close:hover {
  background: var(--bg-elevated);
  transform: rotate(90deg);
}

.search-container {
  width: 100%;
  max-width: 800px;
  position: relative;
  margin-top: 10vh;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: var(--space-xl);
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  width: 28px;
  height: 28px;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 2px solid var(--border-card);
  border-radius: 40px;
  padding: 20px 20px 20px 65px;
  font-size: 1.5rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-results {
  width: 100%;
  max-height: 60vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-right: 10px;
}

.search-results::-webkit-scrollbar {
  width: 8px;
}

.search-results::-webkit-scrollbar-track {
  background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 10px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
}

.search-result-item:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.search-result-item img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.search-result-info h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.search-result-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.no-results {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  padding: var(--space-2xl) 0;
}

/* Nav Search Icon */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.search-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.search-toggle:hover {
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .search-input {
    font-size: 1.1rem;
    padding: 15px 15px 15px 55px;
  }
  .search-input-wrapper .search-icon {
    width: 22px;
    height: 22px;
    left: 18px;
  }
  .search-result-item img {
    width: 60px;
    height: 60px;
  }
  .search-container {
    margin-top: 5vh;
  }
}
