/* Premium & Cinematic Design System - Global Recipe Platform (Netflix & Apple TV+ Grade UI/UX) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  /* Black, Yellow (#FAA21B) & White Color Palette */
  --primary: #FAA21B;
  --primary-hover: #d98205;
  --primary-gradient: linear-gradient(135deg, #FAA21B 0%, #d98205 100%);
  --accent: #FAA21B;
  --accent-gradient: linear-gradient(135deg, #fbc65c 0%, #FAA21B 100%);
  --gold: #FAA21B;
  --gold-gradient: linear-gradient(135deg, #fde7b3 0%, #FAA21B 100%);
  
  /* Dark & Light Neutral Tokens */
  --bg-dark: #09090b;
  --bg-dark-surface: #18181b;
  --bg-dark-card: #27272a;
  --bg-subtle: #ffffff;
  --bg-white: #ffffff;
  
  /* Text Tokens */
  --text-main: #09090b;
  --text-body: #18181b;
  --text-muted: #52525b;
  --text-light: #71717a;
  
  /* Glassmorphism Tokens */
  --glass-bg: rgba(9, 9, 11, 0.85);
  --glass-border: rgba(234, 179, 8, 0.25);
  --glass-light: rgba(255, 255, 255, 0.95);
  
  /* Radii & Shadows */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 14px rgba(0,0,0,0.06);
  --shadow-md: 0 16px 40px -8px rgba(0,0,0,0.15);
  --shadow-lg: 0 30px 60px -12px rgba(234, 179, 8, 0.35);
  --shadow-cinematic: 0 20px 50px rgba(0,0,0,0.8);

  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-subheading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

/* Mobile Navigation Drawer Backdrop & Slider - FOUC Prevention */
#mobileNavDrawer {
  display: none;
}
#mobileNavDrawer.open {
  display: flex !important;
  transform: translateX(0) !important;
}
#mobileNavBackdrop {
  display: none;
}
#mobileNavBackdrop.open {
  display: block !important;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-subtle);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.8rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
}

/* Font weight refinements for Montserrat - reduces extreme boldness */
.font-extrabold, h1.font-extrabold, h2.font-extrabold, h3.font-extrabold, h4.font-extrabold {
  font-weight: 700 !important;
}

.font-bold {
  font-weight: 600 !important;
}

/* Enforce Montserrat Font globally on text containers */
body, #navbar-container, #footer-container,
header, footer, nav, button, input, select, textarea, p, span, a, h1, h2, h3, h4, h5, h6, li {
  font-family: 'Montserrat', sans-serif;
}

/* Material Symbols Icon Font Preservation - High Priority */
.material-symbols-outlined,
.material-icons,
[class*="material-symbols"] {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal !important;
  font-style: normal !important;
  display: inline-block;
  line-height: 1;
  text-transform: none !important;
  letter-spacing: normal !important;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

/* Header Position & Top Entry Animation (Prevents Horizontal Sliding on Load) */
header#siteHeader {
  left: 50% !important;
  transform: translate(-50%, 0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease !important;
}

header#siteHeader.nav-hidden {
  transform: translate(-50%, -200%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Smooth Scroll & Floating Header Anchor Offset Clearance */
html {
  scroll-padding-top: 110px;
}

/* Guard: Ensure recipe and content pages have adequate top clearance under the floating fixed navbar */
main.py-6, main.grow {
  padding-top: 7rem !important; /* 112px clearance for fixed floating navbar */
}

@media (min-width: 640px) {
  main.py-6, main.grow {
    padding-top: 8.5rem !important; /* 136px clearance on tablet and desktop */
  }
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Top Announcement / SEO Ticker Bar */
.announcement-bar {
  background: #070a12;
  color: #fff;
  font-size: 0.82rem;
  padding: 8px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: ticker-scroll 35s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ticker-item:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.ticker-badge {
  background: rgba(255, 69, 0, 0.2);
  color: var(--primary);
  border: 1px solid rgba(255, 69, 0, 0.4);
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ticker-separator {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* Header Navbar */
.navbar {
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
}

.brand-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(255,69,0,0.45);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.brand-logo:hover .logo-icon {
  transform: rotate(6deg) scale(1.08);
}

/* Mobile Header & Responsive Controls */
.mobile-header-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mobile-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.2s ease;
}

.mobile-search-btn:hover {
  background: var(--primary);
  color: #fff;
}

.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  z-index: 501;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hide desktop nav by default on mobile screens (< 1024px) */
.desktop-nav, .desktop-actions {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }
  .desktop-actions {
    display: flex;
  }
  .mobile-header-controls {
    display: none;
  }
}

/* Mobile Drawer Overlay */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #090d16;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.5rem;
}

.mobile-drawer-close:hover {
  color: #fff;
}

.mobile-drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mobile-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.mobile-user-details {
  display: flex;
  flex-direction: column;
}

.mobile-user-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.mobile-user-email {
  color: #64748b;
  font-size: 0.8rem;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.85rem 1rem;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  background: rgba(255, 69, 0, 0.15);
  color: var(--primary);
}

.mobile-nav-links a.highlight-link {
  color: var(--primary);
  font-weight: 800;
}

.mobile-nav-links a.admin-link {
  color: #ef4444;
  font-weight: 800;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-full {
  width: 100%;
  display: block;
  text-align: center;
  padding: 0.8rem 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-subheading);
  font-weight: 700;
  color: #94a3b8;
  font-size: 0.98rem;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 1.8rem;
  font-size: 0.98rem;
  font-family: var(--font-subheading);
  font-weight: 800;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 69, 0, 0.6);
}

.btn-accent {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* =========================================================
   CINEMATIC FULL-SCREEN HERO REEL
   ========================================================= */
.hero-cinematic {
  position: relative;
  height: 88vh;
  min-height: 680px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-cinematic-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate ease-in-out;
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 10, 18, 0.2) 0%, rgba(7, 10, 18, 0.95) 90%),
              linear-gradient(180deg, rgba(7, 10, 18, 0.6) 0%, rgba(7, 10, 18, 0) 30%, rgba(7, 10, 18, 1) 100%);
  z-index: 2;
}

.hero-cinematic-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  padding: 0 1.5rem;
}

.hero-badge-cinematic {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.hero-cinematic-title {
  font-size: 4.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.hero-cinematic-subtitle {
  font-size: 1.35rem;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Floating Glass Search Dock */
.search-box-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.search-form {
  display: flex;
  align-items: center;
  background: rgba(16, 22, 37, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  border: 1.5px solid rgba(255,255,255,0.18);
  transition: all 0.3s ease;
}

.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(255,69,0,0.4);
}

.search-select-cuisine {
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-subheading);
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
  cursor: pointer;
  margin-right: 8px;
}

.search-select-cuisine option {
  background: #101625;
  color: #fff;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.9rem 1.4rem;
  font-size: 1.15rem;
  font-family: var(--font-body);
  color: #fff;
  background: transparent;
}

.search-input::placeholder {
  color: #94a3b8;
}

.search-btn {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* Quick Filter Badges */
.badge-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.badge-pill {
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  color: #e2e8f0;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 69, 0, 0.4);
}

/* =========================================================
   CINEMATIC FULL-WIDTH MASTERCLASS CARDS (21:9 Aspect)
   ========================================================= */
.cinematic-masterclass-card {
  position: relative;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-cinematic);
  margin-bottom: 5rem;
  display: flex;
  align-items: flex-end;
  padding: 3.5rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}

.cinematic-masterclass-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  z-index: 1;
}

.cinematic-masterclass-card .card-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,10,18,0.1) 0%, rgba(7,10,18,0.95) 90%),
              linear-gradient(90deg, rgba(7,10,18,0.8) 0%, rgba(7,10,18,0.2) 100%);
  z-index: 2;
}

.cinematic-masterclass-card .card-body {
  position: relative;
  z-index: 10;
  max-width: 650px;
}

.cinematic-masterclass-card .card-title {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin: 0.8rem 0;
  line-height: 1.15;
}

.cinematic-masterclass-card .card-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cinematic-masterclass-card:hover img {
  transform: scale(1.06);
}

/* =========================================================
   HORIZONTAL CINEMATIC REEL CAROUSEL (Netflix/Apple TV Style)
   ========================================================= */
.cinematic-reel-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 2rem;
  scrollbar-width: thin;
}

.cinematic-reel-container::-webkit-scrollbar {
  height: 6px;
}

.cinematic-reel-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 999px;
}

.cinematic-poster-card {
  width: 320px;
  flex-shrink: 0;
  height: 450px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-cinematic);
  display: flex;
  align-items: flex-end;
  padding: 1.8rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}

.cinematic-poster-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 1;
}

.cinematic-poster-card .poster-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,10,18,0) 30%, rgba(7,10,18,0.95) 100%);
  z-index: 2;
}

.cinematic-poster-card .poster-content {
  position: relative;
  z-index: 10;
}

.cinematic-poster-card .poster-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.cinematic-poster-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary);
}

.cinematic-poster-card:hover img {
  transform: scale(1.12);
}

/* =========================================================
   DARK AMBIENT SPOTLIGHT SECTION
   ========================================================= */
.dark-cinematic-section {
  background: #070a12;
  color: #fff;
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.dark-cinematic-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.25) 0%, rgba(7, 10, 18, 0) 70%);
  pointer-events: none;
}

/* General Recipe Cards System */
.section-title-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2.4rem;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.4rem;
  margin-bottom: 5rem;
}

.recipe-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.recipe-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 69, 0, 0.3);
}

.recipe-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.recipe-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.badge-difficulty {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.badge-difficulty.easy {
  background: rgba(16, 185, 129, 0.95);
  color: #fff;
}

.badge-difficulty.medium {
  background: rgba(245, 158, 11, 0.95);
  color: #fff;
}

.badge-difficulty.hard {
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
}

.rating-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: #fff;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  color: #d97706;
}

.recipe-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.recipe-title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  line-height: 1.35;
}

.recipe-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.recipe-meta-strip {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  background: var(--bg-subtle);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.recipe-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
}

.btn-cook-mode {
  background: var(--accent-gradient);
  color: #fff;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

.btn-cook-mode:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.55);
}

/* Footer System */
.footer {
  background: #04060b;
  color: #94a3b8;
  padding: 6rem 0 3rem;
  border-top: 1px solid #101625;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.98rem;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid #101625;
  font-size: 0.92rem;
}

/* Mobile-First Responsive Layout Breakpoints */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.2rem;
  }

  .nav-container {
    height: 68px;
  }

  .brand-logo {
    font-size: 1.3rem;
  }

  .brand-logo .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    border-radius: 12px;
  }

  .recipe-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer {
    padding: 3.5rem 0 2rem;
  }
}

/* =========================================================
   FULL-SCREEN STICKY CINEMATIC BANNERS SYSTEM (100vw x 100vh)
   ========================================================= */
.sticky-banner-stack-container {
  position: relative !important;
  width: 100% !important;
}

.sticky-banner {
  position: sticky !important;
  top: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  min-height: 700px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.sticky-banner-1 {
  z-index: 10 !important;
  background-color: #09090b !important;
}

.sticky-banner-2 {
  z-index: 20 !important;
  background-color: #FAA21B !important;
  color: #000000 !important;
  box-shadow: none !important;
}

.sticky-banner-3 {
  z-index: 30 !important;
  background-color: #0a0a0c !important;
  box-shadow: none !important;
}

/* Scrollbar Hide Utility */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Global Montserrat Font Enforcer */
*, body, h1, h2, h3, h4, h5, h6, input, button, select, textarea, p, a, span, div, .font-serif, .font-sans {
  font-family: 'Montserrat', sans-serif !important;
}
