/* ================================================
   Sequim Lavender Festival - Public Website Styles
   Design System matching the mobile app (theme.js)
   ================================================ */

/* CSS Custom Properties */
:root {
  /* Primary palette - Lavender */
  --primary: #7B68A6;
  --primary-light: #9D8DC4;
  --primary-dark: #5A4A7A;

  /* Accent - Warm gold */
  --accent: #D4A84B;
  --accent-light: #E8C97D;

  /* Nature greens */
  --green: #6B8E6B;
  --green-light: #A8C4A8;
  --green-dark: #4A6B4A;

  /* Backgrounds */
  --background: #FDFBF7;
  --surface: #FFFFFF;
  --surface-alt: #F5F0F7;

  /* Text */
  --text: #2D2A32;
  --text-secondary: #6B6873;
  --text-light: #6E6879;
  --text-inverse: #FFFFFF;

  /* Functional */
  --border: #E8E4ED;
  --border-dark: #D0C8DB;
  --success: #6B8E6B;
  --warning: #D4A84B;
  --error: #C75D5D;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(123, 104, 166, 0.08);
  --shadow-md: 0 4px 16px rgba(123, 104, 166, 0.12);
  --shadow-lg: 0 8px 32px rgba(123, 104, 166, 0.16);
  --shadow-hover: 0 12px 32px rgba(90, 74, 122, 0.15), 0 4px 8px rgba(0, 0, 0, 0.06);
  --shadow-primary-glow: 0 4px 16px rgba(123, 104, 166, 0.35);
  --shadow-accent-glow: 0 4px 16px rgba(212, 168, 75, 0.35);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-system: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-system);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Ultra-subtle organic paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Page entrance animation */
@keyframes pageEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

main {
  animation: pageEnter 0.4s ease-out;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text);
  line-height: 1.3;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }

/* Accent-colored words in headings */
h2 .text-accent-word { color: var(--primary); }
h2 .text-gold-word { color: var(--accent); }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-light { color: var(--text-light); }

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

.section {
  padding: 72px 0;
}

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

.section-header h2 {
  color: var(--text);
  margin-bottom: var(--space-sm);
}

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

/* Section pre-labels — editorial uppercase tags above headings */
.section-label {
  display: inline-block;
  font-family: var(--font-system);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: 8px;
}
.section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-alt {
  background: linear-gradient(180deg, #FDFBF7, #F8F4FC);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 10% 20%, rgba(123, 104, 166, 0.03), transparent),
    radial-gradient(ellipse 500px 300px at 90% 80%, rgba(212, 168, 75, 0.03), transparent);
  pointer-events: none;
}

/* ===== Header & Navigation ===== */
/* OLD header styles removed — see "NEW NAPA-INSPIRED HEADER" section below */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 0%;
  transition: width 0.1s linear;
  z-index: 1002;
}

/* ===== Hero Section ===== */
/* ===== Cinematic Hero ===== */
@keyframes kenBurns {
  0% { transform: scale(1.0) translate(0, 0); }
  50% { transform: scale(1.12) translate(-1.5%, -1%); }
  100% { transform: scale(1.0) translate(0, 0); }
}

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

@keyframes scrollCue {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
}

.hero-bg {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  animation: kenBurns 25s ease-in-out infinite;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(45, 42, 50, 0.15) 0%, rgba(90, 74, 122, 0.5) 40%, rgba(90, 74, 122, 0.75) 70%, rgba(45, 42, 50, 0.85) 100%),
    linear-gradient(135deg, rgba(123, 104, 166, 0.2) 0%, transparent 50%, rgba(212, 168, 75, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  max-width: 800px;
}

/* Staggered entrance animations */
.hero-badge { animation: heroFadeIn 0.8s ease-out 0.2s both, floatBadge 4s ease-in-out 1.5s infinite, shimmerGlow 3s ease-in-out 1.5s infinite; }
.hero h1 { animation: heroFadeIn 0.8s ease-out 0.5s both; }
.hero-subtitle { animation: heroFadeIn 0.8s ease-out 0.7s both; }
.hero-dates { animation: heroFadeIn 0.8s ease-out 0.9s both; }
.countdown-heading { animation: heroFadeIn 0.6s ease-out 1.0s both; }
.countdown { animation: heroFadeIn 0.6s ease-out 1.1s both; }
.hero .btn-group { animation: heroFadeIn 0.8s ease-out 1.2s both; }

/* Scroll cue arrow */
.hero-scroll-cue {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  animation: scrollCue 2s ease-in-out infinite, heroFadeIn 0.6s ease-out 2.5s both;
  cursor: pointer;
  transition: opacity 0.3s;
  text-decoration: none;
}
.hero-scroll-cue:hover { color: rgba(255,255,255,0.85); }
.hero-scroll-cue span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: var(--font-system);
  font-weight: 600;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes shimmerGlow {
  0% { box-shadow: 0 0 12px rgba(212,168,75,0.3), inset 0 0 12px rgba(212,168,75,0.05); }
  50% { box-shadow: 0 0 24px rgba(212,168,75,0.5), inset 0 0 16px rgba(212,168,75,0.1); }
  100% { box-shadow: 0 0 12px rgba(212,168,75,0.3), inset 0 0 12px rgba(212,168,75,0.05); }
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(212,168,75,0.3);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 40px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.2);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--space-lg);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(0,0,0,0.2);
}

.hero-dates {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--accent-light);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

/* Countdown */
.countdown-heading {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.countdown-item {
  text-align: center;
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 16px 24px 12px;
  min-width: 90px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.countdown-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,75,0.2);
}

.countdown-value {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  font-family: 'Courier New', monospace;
  line-height: 1;
  text-shadow: 0 0 20px rgba(212,168,75,0.5);
}

.countdown-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
  font-weight: 600;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-sm);
  transition-duration: 0.1s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.btn-primary:hover {
  color: white;
  box-shadow: var(--shadow-primary-glow);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
}

.btn-accent:hover {
  color: white;
  box-shadow: var(--shadow-accent-glow);
}


.btn-white {
  background: white;
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: all 0.3s;
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-color: var(--primary);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-success {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white;
}

.btn-success:hover {
  color: white;
  box-shadow: 0 4px 16px rgba(107, 142, 107, 0.35);
}

.btn-danger {
  background: linear-gradient(135deg, var(--error), #D88A8A);
  color: white;
}

.btn-danger:hover {
  color: white;
  box-shadow: 0 4px 16px rgba(199, 93, 93, 0.35);
}

.btn-outline-accent {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  transition: all 0.3s;
}

.btn-outline-accent:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  border-color: var(--accent);
}

.btn-outline-green {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
  transition: all 0.3s;
}

.btn-outline-green:hover {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white;
  border-color: var(--green);
}

/* Focus-visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn:focus-visible,
.chip:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: var(--shadow-primary-glow);
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== Cards ===== */
.card {
  background: #FFFFFF;
  border: 1px solid rgba(232, 228, 237, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.card-subtitle {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ===== Grid ===== */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 968px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 968px) {
  .btn-group {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  .btn-group .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero { min-height: auto; padding: var(--space-xxl) 0 100px; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-badge { font-size: 0.75rem; padding: var(--space-xs) var(--space-md); }
  .countdown-heading { font-size: 0.85rem; letter-spacing: 1.5px; }
  .countdown { gap: var(--space-sm); }
  .countdown-item { padding: 10px 12px 8px; min-width: 68px; }
  .countdown-value { font-size: 1.6rem; }
  .countdown-label { font-size: 0.65rem; letter-spacing: 1px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .section { padding: var(--space-xxl) 0; }
  .page-hero { padding: 60px 0 40px; }
  .page-hero p { font-size: 0.95rem; }
}

/* ===== Badges / Tags ===== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-purple {
  background: var(--surface-alt);
  color: var(--primary);
}

.badge-green {
  background: #e8f5e8;
  color: var(--green);
}

.badge-gold {
  background: #fdf5e6;
  color: var(--accent);
}

.badge-red {
  background: #fde8e8;
  color: var(--error);
}

/* ===== Filter Chips ===== */
.filter-bar {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  justify-content: center;
}

.chip {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  background: var(--surface);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.chip:hover {
  box-shadow: var(--shadow-md);
  color: var(--primary);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: var(--shadow-primary-glow);
  transform: scale(1.02);
}

/* ===== Info Cards Row ===== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.info-card {
  background: var(--surface);
  border: 1px solid rgba(232, 228, 237, 0.6);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.info-card:nth-child(2) { border-top-color: var(--accent); }
.info-card:nth-child(3) { border-top-color: var(--green); }
.info-card:nth-child(4) { border-top-color: var(--primary-light); }

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(90,74,122,0.15), 0 4px 8px rgba(0,0,0,0.06);
}

.info-card .icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  transition: background 0.3s, transform 0.3s;
}

.info-card:hover .icon {
  transform: scale(1.1);
  background: rgba(123,104,166,0.1);
}

.info-card h4,
.info-card .info-card-title {
  color: var(--primary);
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

/* Screen reader only — visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

@media (max-width: 600px) {
  .info-cards {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .info-card {
    padding: var(--space-lg) var(--space-md);
  }
  .info-card h4, .info-card .info-card-title { font-size: 0.95rem; }
  .info-card p { font-size: 0.8rem; }
}

@media (max-width: 380px) {
  .info-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== Sponsor Bar ===== */
/* ===== Sponsor Bar (Homepage) ===== */
.sponsor-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  align-items: center;
}

.sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  transition: all 0.3s ease;
  text-decoration: none;
}
.sponsor-badge:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 16px rgba(123, 104, 166, 0.12);
  transform: translateY(-2px);
}
.sponsor-badge-tier {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sponsor-badge-tier.tier-platinum { background: linear-gradient(135deg, #D4A84B, #E8D5B7); box-shadow: 0 0 6px rgba(212,168,75,0.4); }
.sponsor-badge-tier.tier-gold { background: linear-gradient(135deg, #FFC107, #FFE082); box-shadow: 0 0 6px rgba(255,193,7,0.4); }
.sponsor-badge-tier.tier-silver { background: linear-gradient(135deg, #9E9E9E, #E0E0E0); }
.sponsor-badge-tier.tier-bud { background: linear-gradient(135deg, #81C784, #C8E6C9); }

.sponsor-badge-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sponsor-logo {
  height: 48px;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

/* Sponsor marquee animation */
@keyframes sponsorScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.sponsor-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.sponsor-marquee {
  display: flex;
  gap: 16px;
  animation: sponsorScroll 30s linear infinite;
  width: max-content;
}
.sponsor-marquee:hover { animation-play-state: paused; }

.sponsor-logo:hover {
  filter: grayscale(0%);
}

/* ===== App Download Banner ===== */
.app-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: var(--space-xxl) 0;
  text-align: center;
  color: white;
}

.app-banner h2 {
  color: white;
  margin-bottom: var(--space-sm);
}

.app-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

.store-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.store-badge {
  height: 48px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s;
}

.store-badge:hover {
  transform: scale(1.05);
}

/* ===== Sticky Mobile App Bar ===== */
.mobile-app-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: white;
  padding: 10px var(--space-lg);
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.mobile-app-bar.dismissed {
  transform: translateY(100%);
}

.mobile-app-bar p {
  color: white;
  margin: 0;
  font-weight: 600;
  font-size: 0.85rem;
}

.mobile-app-bar-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: var(--space-sm);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .mobile-app-bar {
    display: flex;
  }
  body {
    padding-bottom: 56px;
  }
  body.app-bar-dismissed {
    padding-bottom: 0;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(135deg, #2D2A32, #3A2D4A, #2D2A32);
  color: rgba(255,255,255,0.7);
  padding: var(--space-xxl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}
/* ===== Social Mosaic ===== */
.social-mosaic a:hover img { transform: scale(1.08); }
.social-follow-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

@media (max-width: 768px) {
  .social-mosaic {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(3, 140px) !important;
  }
  .social-mosaic a:first-child { grid-row: 1/2 !important; }
  .social-mosaic a:nth-child(6) { grid-row: auto !important; }
}
@media (max-width: 480px) {
  .social-mosaic {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: repeat(3, 120px) !important;
  }
}

/* Decorative top accent line */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}


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

.footer-brand h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: inline-block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s, transform 0.3s;
  position: relative;
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-light);
  transition: width 0.3s ease;
}
.footer-col a:hover {
  color: var(--accent-light);
  transform: translateX(3px);
}
.footer-col a:hover::after {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin: 0;
}

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

.footer-social a {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s;
}

.footer-social a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Page Hero (smaller) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  padding: 100px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,160L48,170.7C96,181,192,203,288,192C384,181,480,139,576,128C672,117,768,139,864,170.7C960,203,1056,245,1152,240C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom center;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.page-hero .section-label {
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: white;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 2;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

/* Page Hero Background Image Support */
.page-hero-bg {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 0;
  animation: kenBurns 30s ease-in-out infinite;
  will-change: transform;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(45, 42, 50, 0.2) 0%, rgba(90, 74, 122, 0.55) 50%, rgba(45, 42, 50, 0.6) 100%);
  z-index: 0;
}

/* Staggered entrance for page heroes */
.page-hero h1 { animation: heroFadeIn 0.7s ease-out 0.2s both; }
.page-hero p { animation: heroFadeIn 0.6s ease-out 0.4s both; }
.page-hero .section-label { animation: heroFadeIn 0.5s ease-out 0.1s both; }

/* ===== Visual Break (full-width parallax sections) ===== */
.visual-break {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.visual-break-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  will-change: transform;
}

/* Fallback: use the section's own background-image if no .visual-break-bg child */
.visual-break:not(:has(.visual-break-bg)) {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.visual-break::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(45, 42, 50, 0.35) 0%, rgba(90, 74, 122, 0.6) 50%, rgba(45, 42, 50, 0.55) 100%);
  z-index: 1;
}

.visual-break::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 2;
  opacity: 0.7;
}

.visual-break-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  max-width: 700px;
  color: white;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-break-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.visual-break-content h3 {
  color: white;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 800;
}

.visual-break-content p {
  color: rgba(255,255,255,0.92);
  font-size: 1.15rem;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  line-height: 1.65;
}

.visual-break-content .break-accent {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: var(--space-md) auto 0;
  border-radius: 1px;
}

@media (max-width: 968px) {
  .visual-break {
    min-height: 320px;
  }
  .visual-break-bg {
    background-attachment: scroll;
  }
  .visual-break:not(:has(.visual-break-bg)) {
    background-attachment: scroll;
  }
  .visual-break-content h3 {
    font-size: 1.6rem;
  }
}

/* ===== Schedule / Timeline ===== */
.day-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.day-tab {
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  min-width: 120px;
}

.day-tab:hover {
  border-color: var(--primary-light);
}

.day-tab.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.day-tab .day-name {
  font-weight: 700;
  font-size: 1rem;
  display: block;
}

.day-tab .day-date {
  font-size: 0.8rem;
  opacity: 0.8;
}

.day-tab.active .day-date {
  color: rgba(255,255,255,0.85);
}

.event-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--space-lg);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: var(--space-md);
  border-left: 3px solid var(--primary-light);
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
  border-left-color: var(--primary);
  transform: translateX(4px);
}

.event-card.featured {
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, #FFFBF0, #FFFFFF);
}

.event-time {
  flex-shrink: 0;
  text-align: center;
  min-width: 80px;
}

.event-time .time {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.event-time .duration {
  font-size: 0.75rem;
  color: var(--text-light);
}

.event-details h4,
.event-details .event-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}

.event-details .location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.event-details p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .event-card {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .event-time {
    text-align: left;
  }
}

/* ===== Farm Detail Cards ===== */
.farm-card .card-img {
  height: 220px;
}

.farm-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-sm);
}

.farm-feature {
  font-size: 0.7rem;
  padding: 3px 8px;
  background: var(--surface-alt);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.farm-meta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.farm-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Gallery Grid ===== */
.gallery-grid {
  columns: 3;
  column-gap: var(--space-md);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(90,74,122,0.25) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.gallery-item:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 12px 32px rgba(90,74,122,0.2), 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  color: rgba(255,255,255,0.92);
  font-size: 0.8rem;
  font-family: var(--font-system);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .gallery-grid { columns: 2; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.35s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 82vh;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.3);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  cursor: default;
  user-select: none;
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-caption {
  color: rgba(255,255,255,0.9);
  text-align: center;
  margin-top: 16px;
  font-size: 0.95rem;
  font-family: var(--font-system);
  max-width: 600px;
  line-height: 1.5;
}

.lightbox-counter {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-top: 6px;
  font-family: var(--font-system);
  letter-spacing: 0.05em;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background 0.2s, transform 0.2s;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  z-index: 2001;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

/* ===== Vendor Cards ===== */
.vendor-card .card-body {
  padding: var(--space-lg);
}

.vendor-products {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-sm);
}

.vendor-product {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: var(--surface-alt);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
}

/* ===== Sponsor Tiers ===== */
.sponsor-tier {
  margin-bottom: var(--space-xl);
}

.sponsor-tier-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.sponsor-tier-header h3 {
  color: var(--primary);
}

.sponsor-tier-header .tier-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.tier-presenting .tier-badge { background: #fdf5e6; color: #b8860b; }
.tier-major .tier-badge { background: #fdf5e6; color: var(--accent); }
.tier-silver .tier-badge { background: #f0f0f0; color: #666; }
.tier-community .tier-badge { background: #f0e8f7; color: var(--primary); }
.tier-buds .tier-badge { background: #f0f7f0; color: var(--green); }

.sponsor-link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.sponsor-link:hover { text-decoration: underline; }

.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.sponsor-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.2s;
  min-width: 200px;
}

.sponsor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sponsor-card h4 {
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.sponsor-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ===== About / Info Sections ===== */
.content-section {
  max-width: 800px;
  margin: 0 auto;
}

.content-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.highlight-box {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border-left: 4px solid var(--primary);
  margin: var(--space-xl) 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(90,74,122,0.12);
  border-left-color: var(--accent);
}

.highlight-box h4 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

/* ===== Visit Page - Directions ===== */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.direction-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.direction-card h4 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.direction-card .distance {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

/* ===== FAQ ===== */
/* Napa-style clean accordion FAQ */
.faq-item {
  background: var(--surface);
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: none;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item.open {
  background: var(--surface-alt, #faf9fc);
}

.faq-question {
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
  gap: var(--space-md);
  line-height: 1.4;
}

.faq-item.open .faq-question {
  color: var(--primary);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .toggle-icon {
  font-size: 1.1rem;
  color: var(--primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  opacity: 0.6;
}

.faq-item.open .toggle-icon {
  transform: rotate(45deg);
  opacity: 1;
}

.faq-answer {
  display: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 24px 20px;
  max-width: 680px;
}

.faq-item.open .faq-answer {
  display: block;
  animation: faqReveal 0.3s ease-out;
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Loading State ===== */
.loading {
  text-align: center;
  padding: var(--space-xxl);
  color: var(--text-light);
}

.loading-spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Skeleton Loading ===== */
@keyframes skeletonPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.skeleton-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.skeleton-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(110deg, var(--border) 30%, var(--surface-alt) 50%, var(--border) 70%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}

.skeleton-text {
  padding: var(--space-lg);
}

.skeleton-line {
  height: 14px;
  background: var(--border);
  border-radius: 6px;
  margin-bottom: 10px;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}

.skeleton-line:nth-child(1) { width: 70%; height: 18px; }
.skeleton-line:nth-child(2) { width: 90%; animation-delay: 0.15s; }
.skeleton-line:nth-child(3) { width: 50%; animation-delay: 0.3s; }

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: var(--space-xxl);
  color: var(--text-light);
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

/* ===== Utility Classes ===== */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ===== Scroll Reveal Animations ===== */
/* ===== Reveal Animations (Staggered) ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Slide-from-left variant */
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Slide-from-right variant */
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== Bloom Timeline ===== */
.bloom-timeline {
  position: relative;
  padding: var(--space-xxl) 0 var(--space-xl);
}

.bloom-track {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: var(--space-xxl) var(--space-md) var(--space-xl);
  max-width: 960px;
  margin: 0 auto;
}

.bloom-track::before {
  content: '';
  position: absolute;
  bottom: 64px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: linear-gradient(90deg, var(--green-light) 0%, var(--primary-light) 30%, var(--primary) 50%, var(--primary-dark) 70%, var(--text-light) 100%);
  border-radius: 2px;
}

.bloom-stage {
  text-align: center;
  position: relative;
  flex: 1;
  z-index: 1;
  padding: 0 4px;
}

.bloom-stage .bloom-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  display: block;
  transition: transform 0.3s;
}

.bloom-stage:hover .bloom-icon {
  transform: scale(1.2);
}

.bloom-stage .bloom-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
  line-height: 1.3;
}

.bloom-stage .bloom-date {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 4px;
}

@keyframes peakPulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--accent-light), 0 0 12px rgba(212,168,75,0.3); }
  50% { box-shadow: 0 0 0 4px var(--accent-light), 0 0 24px rgba(212,168,75,0.6); }
}

.bloom-stage .bloom-dot {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 3px solid var(--surface);
  border-radius: 50%;
  margin: var(--space-md) auto 0;
  box-shadow: 0 0 0 2px var(--primary-light);
  transition: transform 0.3s, box-shadow 0.3s;
}

.bloom-stage:hover .bloom-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 3px var(--primary), 0 0 16px rgba(123,104,166,0.3);
}

.bloom-stage.peak .bloom-dot {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-light), 0 0 12px rgba(212,168,75,0.4);
  width: 22px;
  height: 22px;
  animation: peakPulse 2.5s ease-in-out infinite;
}

.bloom-stage.peak .bloom-label {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
}

.bloom-stage.peak {
  transform: translateY(-4px);
}

.bloom-months {
  display: flex;
  justify-content: space-between;
  max-width: 960px;
  margin: var(--space-sm) auto 0;
  padding: 0 2%;
}

.bloom-months span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@media (max-width: 768px) {
  .bloom-track { padding: var(--space-xl) var(--space-xs) var(--space-lg); }
  .bloom-months { padding: 0 var(--space-xs); }
  .bloom-stage { padding: 0 2px; }
  .bloom-stage .bloom-icon { font-size: 1.5rem; }
  .bloom-stage .bloom-label { font-size: 0.78rem; line-height: 1.2; }
  .bloom-stage .bloom-date { font-size: 0.72rem; }
  .bloom-stage.peak .bloom-label { font-size: 0.82rem; }
  .bloom-months span { font-size: 0.75rem; letter-spacing: 0.5px; }
}

/* ===== Why Sequim / Rain Shadow Section ===== */
.why-section {
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}

.why-content h2 {
  margin-bottom: var(--space-md);
}

.why-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Napa-polished stats counters */
.why-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--space-xl);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-stat {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  transition: background 0.3s;
}

.why-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.why-stat:hover {
  background: var(--surface-alt, rgba(123,104,166,0.03));
}

.why-stat .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1.1;
}

.why-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

@media (max-width: 600px) {
  .why-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-stat:nth-child(2)::after {
    display: none;
  }
  .why-stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
}

.why-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.why-visual .overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  background: linear-gradient(transparent, rgba(45,42,50,0.8));
  color: white;
}

.why-visual .overlay-text h4 {
  color: var(--accent-light);
  font-size: 1.1rem;
}

.why-visual .overlay-text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .why-visual img {
    height: 280px;
  }
}

/* ===== Featured Farm Spotlight ===== */
.spotlight {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(45,42,50,0.85));
}

.spotlight-content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl);
  color: white;
  max-width: 600px;
}

.spotlight-content h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.spotlight-content p {
  color: rgba(255,255,255,0.85);
}

/* ===== Testimonial / Quote ===== */
.quote-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-xxl) var(--space-lg);
  position: relative;
}
.quote-section::before,
.quote-section::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto var(--space-lg);
}
.quote-section::after {
  margin: var(--space-lg) auto 0;
}

.quote-icon {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  margin-bottom: var(--space-sm);
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.quote-attr {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.08;
}
.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.testimonial-name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
}
.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-light);
}
@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* ===== Enhanced Card Hover Effects ===== */
.card {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(123,104,166,0.18);
}

.card-img {
  transition: transform 0.5s ease;
}

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

/* Ensure image zoom doesn't overflow */
.card {
  overflow: hidden;
}




/* ===== Anniversary Timeline (Enhanced) ===== */
.anniversary-grid {
  max-width: 750px;
  margin: 0 auto;
}

.anniversary-timeline {
  position: relative;
  padding-left: 50px;
}

.anniversary-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 5px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light), var(--accent));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xxl);
  padding-left: var(--space-md);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 20px;
  width: 24px;
  height: 24px;
  background: var(--primary);
  border: 4px solid var(--surface);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--primary-light), 0 2px 8px rgba(123,104,166,0.3);
  z-index: 1;
}

.timeline-item.highlight::before {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light), 0 0 20px rgba(212,168,75,0.5);
  width: 32px;
  height: 32px;
  left: -44px;
  top: 16px;
}

.timeline-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-left: 3px solid var(--primary-light);
}

.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-item.highlight .timeline-content {
  border-left-color: var(--accent);
  background: linear-gradient(135deg, var(--surface), rgba(212,168,75,0.05));
}

.timeline-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.timeline-item.highlight .timeline-year {
  color: var(--accent);
  font-size: 2.5rem;
}

.timeline-content h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--text);
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .anniversary-timeline { padding-left: 40px; }
  .timeline-item::before { left: -34px; width: 20px; height: 20px; }
  .timeline-item.highlight::before { left: -37px; width: 26px; height: 26px; }
  .timeline-year { font-size: 1.6rem; }
  .timeline-item.highlight .timeline-year { font-size: 2rem; }
  .timeline-content { padding: var(--space-md) var(--space-lg); }
}

/* ===== Number Counter Animation ===== */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-animated {
  animation: countUp 0.6s ease-out forwards;
}

/* ===== Smooth image parallax hint ===== */
.hero-bg {
  transition: transform 0.3s ease-out;
}

/* ===== Section divider wave ===== */
.wave-divider {
  position: relative;
  margin-top: -2px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ===== Enhanced info card icons ===== */
.info-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(123, 104, 166, 0.08), rgba(212, 168, 75, 0.06));
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(123, 104, 166, 0.12);
  transition: transform 0.3s, background 0.3s;
}

.info-card:hover .icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(123, 104, 166, 0.14), rgba(212, 168, 75, 0.1));
}

/* SVG/Lucide icons in timeline, bloom, pathway */
.timeline-icon svg, .bloom-icon svg {
  color: var(--primary);
  stroke-width: 1.75;
}
.pathway-icon svg {
  color: var(--primary);
  stroke-width: 1.75;
}
.info-card .icon svg {
  stroke-width: 1.75;
}

/* ===== Staggered card entrance ===== */
.grid .card:nth-child(1) { transition-delay: 0.05s; }
.grid .card:nth-child(2) { transition-delay: 0.1s; }
.grid .card:nth-child(3) { transition-delay: 0.15s; }
.grid .card:nth-child(4) { transition-delay: 0.2s; }
.grid .card:nth-child(5) { transition-delay: 0.25s; }
.grid .card:nth-child(6) { transition-delay: 0.3s; }

/* ===== Search Input ===== */
.search-input {
  width: 100%;
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  display: block;
  padding: 14px 20px 14px 48px;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 1rem;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239994A1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") 16px center / 20px no-repeat;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--text);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(123,104,166,0.12);
  background-color: rgba(255, 255, 255, 0.95);
}

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

/* ===== Pathway Cards (Dual Season / Festival) ===== */
.pathway-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.pathway-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  border: 2px solid rgba(232, 228, 237, 0.5);
  text-decoration: none;
  color: var(--text);
}

.pathway-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 12px 40px rgba(123, 104, 166, 0.2);
}

.pathway-card-img {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pathway-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.35) 100%);
  transition: opacity 0.4s;
}

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

.pathway-card:hover .pathway-card-img::after {
  opacity: 0.7;
}

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

.pathway-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(90,74,122,0.22), 0 8px 20px rgba(0,0,0,0.1);
}

.pathway-card.season { border-color: var(--green); }
.pathway-card.season:hover { border-color: var(--green); }
.pathway-card.festival { border-color: var(--accent); }
.pathway-card.festival:hover { border-color: var(--accent); }

.pathway-card .pathway-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  display: block;
  position: relative;
  z-index: 2;
  margin-top: -28px;
  width: 56px;
  height: 56px;
  line-height: 56px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pathway-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.pathway-card p {
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .pathway-cards { grid-template-columns: 1fr; gap: var(--space-lg); }
  .pathway-card { padding: 0; }
  .pathway-card-img { height: 160px; }
  .pathway-card-body { padding: var(--space-lg); }
  .pathway-card .pathway-icon { font-size: 2rem; width: 48px; height: 48px; line-height: 48px; margin-top: -24px; }
}

/* ===== Interactive Farm Map ===== */
.farm-map {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  z-index: 1;
  border: 2px solid var(--border);
}

@media (max-width: 600px) {
  .farm-map { height: 320px; }
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.legend-featured { background: var(--accent); }
.legend-upick { background: var(--green); }
.legend-regular { background: var(--primary); }
.legend-festival { background: var(--error); }

/* Leaflet popup theme overrides */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.leaflet-popup-content {
  margin: 12px 14px !important;
  font-size: 0.9rem;
  line-height: 1.5;
  width: 220px !important;
}

.farm-popup-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 2px;
}

.farm-popup-tagline {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.farm-popup-features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 0;
}

.farm-popup-features .farm-feature {
  font-size: 0.7rem;
  padding: 2px 8px;
}

.leaflet-popup-content .farm-popup-image {
  width: 100% !important;
  height: 90px !important;
  max-height: 90px !important;
  object-fit: cover !important;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  display: block;
}

.farm-popup-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.farm-popup-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: var(--primary);
  color: white !important;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  flex: 1;
  justify-content: center;
}

.farm-popup-link:hover { background: var(--primary-dark); }

.farm-popup-link.farm-popup-nav {
  background: var(--green);
}

.farm-popup-link.farm-popup-nav:hover {
  background: var(--green-dark, #567856);
}

.farm-popup-fav {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
  line-height: 1;
}
.farm-popup-fav:hover {
  transform: scale(1.15);
}

/* ===== Rainfall Comparison Chart ===== */
.rainfall-chart {
  max-width: 600px;
  margin: var(--space-xl) auto;
}

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

.rainfall-label {
  width: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  flex-shrink: 0;
}

.rainfall-bar-bg {
  flex: 1;
  height: 32px;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.rainfall-bar {
  height: 100%;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  transition: width 1s ease-out;
}

.rainfall-bar.highlight {
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

.rainfall-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.rainfall-bar.narrow .rainfall-value {
  color: var(--text);
  text-shadow: none;
  position: absolute;
  right: -40px;
}

@media (max-width: 600px) {
  .rainfall-label { width: 75px; font-size: 0.8rem; }
  .rainfall-bar-bg { height: 26px; }
}

/* ===== Variety Cards ===== */
.variety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.variety-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-light);
  transition: all 0.3s ease;
}

.variety-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.variety-card .variety-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.variety-card .variety-type.english {
  background: rgba(107,142,107,0.12);
  color: var(--green-dark);
}

.variety-card .variety-type.lavandin {
  background: rgba(123,104,166,0.12);
  color: var(--primary-dark);
}

.variety-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.variety-card .variety-latin {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

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

/* ===== Month Guide Cards (Season Page) ===== */
.month-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.month-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.month-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.month-card.peak {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, var(--surface), rgba(212,168,75,0.05));
}

.month-card .month-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
}

.month-card .month-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.month-card.peak .month-name {
  color: var(--accent);
}

.month-card .bloom-level {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  margin: var(--space-sm) 0;
  overflow: hidden;
}

.month-card .bloom-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--green));
}

.month-card.peak .bloom-fill {
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

.month-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.month-card .peak-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Season Callout Box ===== */
.season-callout {
  background: linear-gradient(135deg, rgba(107,142,107,0.08), rgba(212,168,75,0.08));
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.season-callout p {
  flex: 1;
  margin: 0;
  min-width: 200px;
}

@media (max-width: 600px) {
  .season-callout {
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-md);
    text-align: center;
  }
  .season-callout p { min-width: auto; }
}

/* ===== Process Steps (Distillation) ===== */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin: var(--space-xl) 0;
}

.process-step {
  text-align: center;
  flex: 1;
  min-width: 140px;
  max-width: 200px;
}

.process-step .step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto var(--space-sm);
  border: 2px solid var(--border);
}

.process-step h5 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

.process-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--primary-light);
  padding-top: 20px;
}

@media (max-width: 600px) {
  .process-steps { flex-direction: column; align-items: center; }
  .process-arrow { transform: rotate(90deg); padding: 0; }
}

/* ===== Benefits Grid ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.benefit-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-top: 3px solid var(--green-light);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-card .benefit-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
}

.benefit-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.benefit-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ===== Activity Cards (Season Page) ===== */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.activity-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.activity-card .activity-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.activity-card h4 { margin-bottom: var(--space-xs); }

.activity-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== Hero Season Badge ===== */
.hero-season-badge {
  display: inline-block;
  background: rgba(107,142,107,0.25);
  color: var(--green-light);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(107,142,107,0.3);
}

/* ===== Touch Device Optimizations ===== */
@media (hover: none) and (pointer: coarse) {
  /* Ensure minimum 44px touch targets */
  .btn, .chip, .header-nav a, .mobile-toggle {
    min-height: 44px;
  }
  .chip {
    padding: 10px 18px;
  }

  /* Disable hover-only effects on touch */
  .gallery-item:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .gallery-item:hover::after {
    opacity: 0;
  }
  .gallery-item:active {
    transform: scale(0.98);
    transition-duration: 0.1s;
  }

  .card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
  .card:hover .card-img {
    transform: none;
  }
  .card:active {
    transform: scale(0.98);
  }

  .info-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
  .info-card:active {
    transform: scale(0.97);
  }

  .pathway-card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }
  .pathway-card:hover .pathway-card-img {
    transform: none;
  }
  .pathway-card:active {
    transform: scale(0.98);
  }

  .highlight-box:hover {
    transform: none;
    box-shadow: none;
  }

  /* Lightbox mobile nav */
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-content { max-width: 98vw; }
  .lightbox img { max-width: 96vw; }
}

/* ===== Farm Card Mobile ===== */
@media (max-width: 600px) {
  .farm-card .card-img {
    height: 180px;
  }
  .card-body {
    padding: var(--space-md);
  }
}

/* ===== Lightbox Mobile ===== */
@media (max-width: 600px) {
  .lightbox img {
    max-width: 96vw;
    max-height: 80vh;
    border-radius: var(--radius-md);
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }
}

/* ===== Itinerary Cards (Season Page) ===== */
.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.itinerary-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  border-top: 4px solid var(--green);
}

.itinerary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(107,142,107,0.15), 0 4px 12px rgba(0,0,0,0.08);
}

.itinerary-header {
  background: linear-gradient(135deg, rgba(107,142,107,0.12), rgba(107,142,107,0.04));
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.itinerary-header h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.itinerary-header .itinerary-duration {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
}

.itinerary-body {
  padding: var(--space-lg) var(--space-xl);
}

.itinerary-stop {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  position: relative;
}

.itinerary-stop + .itinerary-stop {
  border-top: 1px solid var(--border);
}

.itinerary-time {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  min-width: 60px;
  padding-top: 2px;
}

.itinerary-activity h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.itinerary-activity p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .itinerary-grid {
    grid-template-columns: 1fr;
  }
  .itinerary-header {
    padding: var(--space-md) var(--space-lg);
  }
  .itinerary-body {
    padding: var(--space-md) var(--space-lg);
  }
}

/* ===== Merchandise / Shop Section ===== */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.merch-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.merch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(90,74,122,0.15), 0 4px 12px rgba(0,0,0,0.08);
}

.merch-card-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.merch-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.15) 100%);
}

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

.merch-card-body h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.merch-card-body .merch-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.merch-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.merch-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #c9973e);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

@media (max-width: 600px) {
  .merch-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .merch-card-img {
    height: 160px;
  }
  .merch-card-body {
    padding: var(--space-md);
  }
}

@media (max-width: 380px) {
  .merch-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Year-Round Activities Grid ===== */
.season-activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.season-activity-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.season-activity-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.season-activity-card .activity-months {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.season-activity-card h4 {
  margin-bottom: var(--space-xs);
}

.season-activity-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== Wave Section Dividers ===== */
.section-alt {
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 C300 0 600 0 900 20 C1050 30 1150 35 1200 30 L1200 40 Z' fill='%23FDFBF7'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}

/* Footer wave transition */
.site-footer .container {
  position: relative;
  z-index: 1;
}




/* ===== Accessibility: Respect reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Touch Device: disable hover on new cards ===== */
@media (hover: none) and (pointer: coarse) {
  .itinerary-card:hover,
  .merch-card:hover,
  .season-activity-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
  .itinerary-card:active,
  .merch-card:active,
  .season-activity-card:active {
    transform: scale(0.98);
  }

  /* Disable shimmer and sweep effects on touch */
  .btn-accent:hover::before {
    left: -100%;
  }

  .header-nav a::after {
    display: none;
  }

  .chip:hover {
    transform: none;
  }

  .footer-social a:hover {
    transform: none;
  }
}

/* ==========================================================
   NEW FEATURES: Announcement Bar, Newsletter, Bloom Tracker,
   Weather Widget, Passport, Venue Map, PWA
   ========================================================== */

/* ===== Announcement Bar ===== */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  z-index: 999;
  transition: transform 0.3s, opacity 0.3s;
}

.announcement-bar.dismissed {
  transform: translateY(-100%);
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.announcement-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.announcement-text {
  color: rgba(255,255,255,0.95);
}

.announcement-link {
  color: var(--accent-light) !important;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}

.announcement-link:hover {
  color: var(--accent) !important;
}

.announcement-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 4px;
  margin-left: auto;
  flex-shrink: 0;
  transition: color 0.2s;
}

.announcement-close:hover {
  color: white;
}

@media (max-width: 600px) {
  .announcement-bar {
    font-size: 0.8rem;
    padding: 8px 0;
  }
}

/* ===== Newsletter Section ===== */
.newsletter-section {
  padding: var(--space-xl) 0;
}

.newsletter-card {
  background: linear-gradient(135deg, rgba(123,104,166,0.06), rgba(212,168,75,0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xxl) var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-xxl);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.newsletter-content {
  flex: 1;
  min-width: 250px;
}

.newsletter-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--space-sm);
}

.newsletter-content h3 {
  margin-bottom: var(--space-xs);
}

.newsletter-content p {
  margin: 0;
  font-size: 0.95rem;
}

.newsletter-form {
  flex: 1;
  min-width: 280px;
}

.newsletter-input-group {
  display: flex;
  gap: var(--space-sm);
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(123,104,166,0.12);
}

.newsletter-btn {
  flex-shrink: 0;
}

.newsletter-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: var(--space-sm) 0 0;
}

.newsletter-success {
  text-align: center;
  padding: var(--space-lg);
}

.newsletter-success p {
  margin: var(--space-sm) 0 0;
}

@media (max-width: 600px) {
  .newsletter-card {
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-lg);
    text-align: center;
  }
  .newsletter-input-group {
    flex-direction: column;
  }
  .newsletter-btn {
    width: 100%;
  }
}

/* ===== Live Bloom Tracker ===== */
.bloom-tracker {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.bloom-tracker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--primary), var(--accent));
}

.bloom-tracker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.bloom-tracker-header h4 {
  margin: 0;
  font-size: 1.1rem;
}

.bloom-tracker-date {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.bloom-tracker-bar-bg {
  height: 16px;
  background: var(--surface-alt);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: var(--space-md);
  position: relative;
}

.bloom-tracker-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--green-light), var(--green), var(--primary));
  border-radius: 8px;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.bloom-tracker-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: white;
  border-radius: 2px;
  opacity: 0.5;
}

.bloom-tracker-info {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.bloom-tracker-percent {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.bloom-tracker-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ===== Weather Widget ===== */
.weather-widget {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.weather-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.weather-header h4 {
  margin: 0;
  font-size: 1.1rem;
}

.weather-label {
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--surface-alt);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.weather-days {
  display: flex;
  gap: var(--space-md);
  justify-content: space-around;
}

.weather-day {
  text-align: center;
  flex: 1;
}

.weather-day-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.weather-day-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 4px;
}

.weather-day-temp {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.weather-day-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2px;
}

.weather-loading {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  padding: var(--space-md);
}

/* ===== Lavender Passport ===== */
.passport-fab {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(123,104,166,0.35);
  z-index: 998;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.passport-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(123,104,166,0.45);
}

.passport-fab[data-count]::after {
  content: attr(data-count);
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

@media (max-width: 768px) {
  .passport-fab {
    bottom: 70px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

.passport-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.passport-modal.open {
  display: flex;
}

.passport-modal-content {
  background: var(--surface);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: var(--space-xl);
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.passport-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--surface-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.2s;
}

.passport-close:hover {
  background: var(--border);
}

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

.passport-header-section h3 {
  margin-bottom: 4px;
}

.passport-header-section p {
  font-size: 0.9rem;
  margin: 0;
}

.passport-level {
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(123,104,166,0.06), rgba(212,168,75,0.06));
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.passport-level-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 4px;
}

.passport-level-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.passport-level-count {
  font-size: 0.85rem;
  color: var(--text-light);
}

.passport-progress {
  height: 8px;
  background: var(--surface-alt);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.passport-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  transition: width 1s ease;
}

.passport-stamps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.passport-stamp {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px var(--space-md);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  opacity: 0.5;
  transition: opacity 0.2s;
}

.passport-stamp.collected {
  opacity: 1;
  background: linear-gradient(135deg, rgba(123,104,166,0.08), rgba(212,168,75,0.08));
  border: 1px solid var(--border);
}

.stamp-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stamp-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.stamp-date {
  font-size: 0.75rem;
  color: var(--text-light);
  flex-shrink: 0;
}

/* ===== Festival Venue Map ===== */
.venue-map-container {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.venue-map-svg {
  width: 100%;
  height: auto;
  max-height: 500px;
}

.venue-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.venue-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.venue-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ===== Homepage Info Row (Bloom + Weather side by side) ===== */
.bloom-weather-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .bloom-weather-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   RANKED FEATURES: Favorites, Schedule, GPS, Check-in,
   Farm Trails, Accessibility
   ========================================================== */

/* ===== Favorite Button ===== */
.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  line-height: 1;
}
.fav-btn:hover { transform: scale(1.15); }
.fav-btn:active { animation: heartBounce 0.4s ease-out; }
.fav-btn.active { background: rgba(255,255,255,0.95); }

@keyframes heartBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.35); }
  50% { transform: scale(0.9); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.farm-card { position: relative; }
.event-card { position: relative; }

/* Event fav button positioned differently since event-card is not a card with image */
.event-card .fav-btn {
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
}
.event-card .fav-btn:hover { transform: translateY(-50%) scale(1.15); }

/* ===== Schedule Button ===== */
.schedule-btn {
  margin-top: var(--space-sm);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-light);
  background: var(--surface);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.schedule-btn:hover { background: var(--surface-alt); }
.schedule-btn.added {
  background: linear-gradient(135deg, var(--green), #7BA87B);
  color: white;
  border-color: var(--green);
}

/* ===== Schedule Page ===== */
.schedule-stats {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(123,104,166,0.06), rgba(212,168,75,0.06));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.schedule-stat { text-align: center; }
.schedule-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.schedule-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.schedule-day-header {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary);
  margin: var(--space-xl) 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border);
}
.schedule-day-header:first-child { margin-top: 0; }

/* ===== Favorites Page ===== */
.favorites-stats {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(123,104,166,0.06), rgba(212,168,75,0.06));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: var(--space-lg);
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: var(--space-xxl) var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
}
.empty-state-icon { font-size: 3rem; margin-bottom: var(--space-md); }
.empty-state h3 { margin-bottom: var(--space-sm); color: var(--text-secondary); }
.empty-state p { color: var(--text-light); margin-bottom: var(--space-lg); }

/* ===== User Location Marker (GPS) ===== */
.user-location-marker { background: transparent; }
.user-dot {
  width: 16px;
  height: 16px;
  background: #4285F4;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(66,133,244,0.3), 0 2px 8px rgba(0,0,0,0.2);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(66,133,244,0.3), 0 2px 8px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(66,133,244,0.1), 0 2px 8px rgba(0,0,0,0.2); }
}

/* Distance badge on farm cards */
.distance-badge {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
}

/* ===== Check-in Buttons ===== */
.checkin-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}
.checkin-btn, .qr-checkin-btn {
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-light);
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.checkin-btn:hover, .qr-checkin-btn:hover { background: var(--surface-alt); }
.checkin-btn.checked-in {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.visited-badge {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
}

/* ===== QR Scanner Modal ===== */
.qr-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.qr-modal-content {
  text-align: center;
  color: white;
  max-width: 400px;
  width: 100%;
}
.qr-modal-content h3 { color: white; margin-bottom: var(--space-md); }
.qr-scanner-video {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  border: 3px solid var(--primary);
  margin-bottom: var(--space-md);
}
.qr-modal-close {
  padding: 10px 28px;
  border-radius: var(--radius-full);
  border: 2px solid white;
  background: transparent;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.qr-modal-close:hover { background: rgba(255,255,255,0.15); }

/* ===== Farm Trail Styles ===== */
.trail-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.trail-card { cursor: default; }
.trail-marker-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.trail-stop {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
}
.trail-stop:last-child { border-bottom: none; }
.trail-stop-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* ===== Header Icon Links ===== */
.header-icon-link {
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
}
.header-icon-link:hover { transform: scale(1.15); }

/* Mobile nav divider */
.nav-divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-sm) 0;
}

/* ===== Accessibility: High Contrast Mode ===== */
html.high-contrast {
  --primary: #4A2E8A;
  --primary-light: #6B4AAF;
  --primary-dark: #2E1A5E;
  --accent: #B8860B;
  --accent-light: #DAA520;
  --green: #2E6B2E;
  --background: #FFFFFF;
  --surface: #FFFFFF;
  --surface-alt: #F0F0F0;
  --text: #000000;
  --text-secondary: #1A1A1A;
  --text-light: #333333;
  --border: #666666;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.25);
}
html.high-contrast .card,
html.high-contrast .event-card,
html.high-contrast .info-card {
  border: 2px solid var(--border);
  backdrop-filter: none;
  background: var(--surface);
}
html.high-contrast .chip { border: 2px solid var(--border); }
html.high-contrast .chip.active { border-color: var(--primary); }

/* ===== Accessibility: Large Text Mode ===== */
html.large-text { font-size: 20px; }
html.large-text h1 { font-size: 2.8rem; }
html.large-text h2 { font-size: 2.3rem; }
html.large-text h3 { font-size: 1.7rem; }

/* ===== Accessibility Toggles in Footer ===== */
.footer-accessibility {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: var(--space-lg);
}
.footer-accessibility h4 { margin-bottom: var(--space-sm); }
.a11y-toggles {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}
.a11y-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
}
.a11y-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

/* ===== Speak Button (TTS) ===== */
.speak-btn {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  padding: 4px;
}
.speak-btn:hover { opacity: 1; }

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(123,104,166,0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
  z-index: 999;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== Mobile Touch Improvements ===== */
@media (max-width: 600px) {
  .btn { min-height: 48px; padding: 14px 24px; }
  .btn-lg { padding: 16px 28px; font-size: 0.95rem; }
  .btn-group { flex-direction: column; gap: var(--space-sm); align-items: stretch; }
  .btn-group .btn { width: 100%; }
  .sponsor-marquee { animation-duration: 20s; }
  .back-to-top { bottom: 72px; }

  /* Better mobile spacing */
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.5rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-dates { font-size: 0.9rem; }

  /* Prevent horizontal overflow on tables */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Ensure all link/button touch targets */
  .farm-feature, .badge, .chip { min-height: 32px; display: inline-flex; align-items: center; }
  .legend-item { padding: 6px 8px; }

  /* Card spacing */
  .farm-card, .event-card { margin-bottom: var(--space-sm); }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== Dark Mode ===== */
[data-theme="dark"] {
  --primary: #9D8DC4;
  --primary-light: #B8A8D8;
  --primary-dark: #7B68A6;

  --accent: #E8C97D;
  --accent-light: #F0D99A;

  --green: #8DB88D;
  --green-light: #A8D4A8;
  --green-dark: #6B9B6B;

  --background: #1A1722;
  --surface: #242030;
  --surface-alt: #2D283A;

  --text: #EDE9F4;
  --text-secondary: #A9A2B8;
  --text-light: #857F96;
  --text-inverse: #1A1722;

  --border: #3A3548;
  --border-dark: #4A4560;
  --success: #8DB88D;
  --warning: #E8C97D;
  --error: #E08A8A;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.35), 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-primary-glow: 0 4px 16px rgba(157, 141, 196, 0.25);
  --shadow-accent-glow: 0 4px 16px rgba(232, 201, 125, 0.25);
}

[data-theme="dark"] .site-header {
  background: rgba(26, 23, 34, 0.92);
  border-color: var(--border);
}

[data-theme="dark"] .site-header.scrolled {
  background: rgba(26, 23, 34, 0.97);
}

[data-theme="dark"] .hero-overlay,
[data-theme="dark"] .page-hero-overlay {
  background: linear-gradient(to bottom, rgba(26, 23, 34, 0.2) 0%, rgba(36, 32, 48, 0.55) 40%, rgba(36, 32, 48, 0.8) 70%, rgba(26, 23, 34, 0.92) 100%);
}

[data-theme="dark"] .card,
[data-theme="dark"] .farm-card,
[data-theme="dark"] .event-card,
[data-theme="dark"] .vendor-card,
[data-theme="dark"] .sponsor-card,
[data-theme="dark"] .highlight-box,
[data-theme="dark"] .info-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .pathway-card,
[data-theme="dark"] .itinerary-card,
[data-theme="dark"] .activity-card,
[data-theme="dark"] .directory-card {
  background: var(--surface);
  border-color: var(--border);
}

[data-theme="dark"] .section-alt {
  background: var(--surface-alt);
}

[data-theme="dark"] .newsletter-card {
  background: var(--surface);
  border-color: var(--border);
}

[data-theme="dark"] .newsletter-input {
  background: var(--surface-alt);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .weather-widget {
  background: var(--surface);
  border-color: var(--border);
}

[data-theme="dark"] .bloom-tracker {
  background: var(--surface);
  border-color: var(--border);
}

[data-theme="dark"] .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

[data-theme="dark"] .btn-outline:hover {
  background: var(--primary);
  color: var(--text-inverse);
}

[data-theme="dark"] .announcement-bar {
  background: var(--surface-alt);
  border-color: var(--border);
}

[data-theme="dark"] .site-footer {
  background: var(--surface);
  color: var(--text);
}

[data-theme="dark"] .passport-modal {
  background: var(--surface);
}

[data-theme="dark"] img {
  opacity: 0.92;
}

[data-theme="dark"] .header-nav {
  background: var(--surface);
}

@media (max-width: 900px) {
  [data-theme="dark"] .header-nav {
    background: var(--background);
    border-color: var(--border);
  }
}

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-full);
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  color: var(--text-secondary);
  padding: 0;
  min-width: 36px;
  min-height: 36px;
}

.theme-toggle:hover {
  background: var(--surface-alt);
  transform: scale(1.1);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle .theme-icon-sun,
.theme-toggle .theme-icon-moon {
  display: none;
}

.theme-toggle .theme-icon-moon { display: inline; }
[data-theme="dark"] .theme-toggle .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-sun { display: inline; }

/* Smooth theme transition */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* ===== Toast Notifications ===== */
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
}

/* ===== Blur-Up Progressive Image Loading ===== */
.blur-up {
  filter: blur(20px);
  transform: scale(1.05);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.blur-up.loaded {
  filter: blur(0);
  transform: scale(1);
}

/* Placeholder shimmer for images not yet loaded */
.img-placeholder {
  background: linear-gradient(110deg, var(--border) 30%, var(--surface-alt) 50%, var(--border) 70%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}

/* ===== Mobile Responsiveness Fixes (v75) ===== */

/* Day tabs: prevent overflow on small screens */
@media (max-width: 768px) {
  .day-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }
  .day-tab {
    min-width: 0;
    flex: 1 1 calc(50% - 6px);
    padding: var(--space-sm) var(--space-md);
  }
  .day-tab .day-name {
    font-size: 0.9rem;
  }
  .day-tab .day-date {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .day-tabs {
    gap: 4px;
  }
  .day-tab {
    flex: 1 1 calc(50% - 4px);
    padding: 10px 6px;
  }
  .day-tab .day-name {
    font-size: 0.8rem;
  }
  .day-tab .day-date {
    font-size: 0.65rem;
  }
}

/* Check-in & trip buttons: proper touch target sizing */
@media (max-width: 600px) {
  .checkin-btn, .qr-checkin-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .trip-add-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    min-height: 44px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
  }

  /* Farm card action row: stack buttons vertically */
  .farm-card .card-actions,
  .event-card .card-actions {
    flex-direction: column;
    gap: 6px;
  }
  .farm-card .card-actions .btn,
  .event-card .card-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Farm map: reduce height on mobile */
@media (max-width: 600px) {
  #farm-map {
    height: 280px !important;
    border-radius: var(--radius-md) !important;
  }
}

/* Pathway cards: ensure 1-col below 768px */
@media (max-width: 768px) {
  .pathway-cards {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Filter chips: horizontal scroll on mobile/tablet instead of multi-line wrap */
@media (max-width: 768px) {
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    justify-content: flex-start;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    /* Fade hint on right edge */
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
  .chip {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 8px 14px;
  }
}

/* Testimonials: ensure readable at all mobile sizes */
@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* Search input: full width with better padding on mobile */
@media (max-width: 480px) {
  .search-input {
    max-width: 100%;
    font-size: 16px; /* Prevent iOS zoom on focus */
  }
  input, select, textarea {
    font-size: 16px; /* Prevent iOS zoom on all inputs */
  }
}

/* Hero CTA buttons: stack on very small screens */
@media (max-width: 400px) {
  .hero-cta {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Survey page: mobile-friendly form controls */
@media (max-width: 600px) {
  .survey-rating-group {
    gap: 6px;
  }
  .survey-rating-group button {
    min-width: 44px;
    min-height: 44px;
    font-size: 1rem;
  }
}

/* Itinerary cards: better mobile spacing */
@media (max-width: 600px) {
  .itinerary-card {
    padding: var(--space-md);
  }
  .itinerary-stop {
    padding-left: var(--space-md);
  }
}

/* ===== Dark Mode Polish ===== */
[data-theme="dark"] .card,
[data-theme="dark"] .farm-card,
[data-theme="dark"] .event-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .visual-break-bg {
  opacity: 0.7;
}

[data-theme="dark"] .hero,
[data-theme="dark"] .page-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .why-stat {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .sponsor-track img {
  filter: brightness(0.85) contrast(1.1);
}

[data-theme="dark"] .faq-item {
  background: var(--surface);
}

[data-theme="dark"] .gallery-item img {
  opacity: 0.92;
}

[data-theme="dark"] .gallery-item:hover img {
  opacity: 1;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: var(--surface);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] select:focus,
[data-theme="dark"] textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(157, 141, 196, 0.2);
}

[data-theme="dark"] .countdown-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .bloom-stage {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .badge {
  background: var(--surface-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] ::placeholder {
  color: rgba(237, 233, 244, 0.4);
}


/* ================================================
   NEW NAPA-INSPIRED HEADER — April 2026
   Two-row: utility bar + main nav
   ================================================ */

/* Top utility bar */
.header-top-bar {
  background: #2D2A32;
  color: white;
  font-size: 0.8rem;
  padding: 0;
  z-index: 1001;
}
.header-top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px var(--space-lg);
  gap: 16px;
}
.header-weather {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 80px;
  flex-shrink: 0;
}
.header-weather .weather-temp {
  font-size: 0.8rem;
  font-weight: 500;
}
.header-festival {
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.3px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-utility {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-utility .header-icon-link {
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s;
}
.header-utility .header-icon-link:hover {
  opacity: 0.8;
}
.header-utility .theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: white;
  padding: 0;
}

/* Main nav bar */
.header-main-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.header-main-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--space-lg);
  gap: 20px;
}

/* Brand */
.site-header .header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.site-header .brand-text {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.1;
  font-family: var(--font-serif);
}
.site-header .brand-sub {
  font-size: 0.68rem;
  color: var(--text-light);
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

/* Desktop nav */
.site-header .header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
  margin: 0;
}
.site-header .header-nav .nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
}
.site-header .header-nav .nav-link:hover {
  color: var(--primary);
}
.site-header .header-nav .nav-link.active {
  color: var(--primary);
}
.site-header .header-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* Nav dropdowns */
.site-header .nav-dropdown {
  position: relative;
}
.site-header .nav-dropdown-trigger {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  transition: color 0.2s;
}
.site-header .nav-dropdown-trigger:hover {
  color: var(--primary);
}
.site-header .nav-dropdown-trigger.active {
  color: var(--primary);
}
.site-header .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 210px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 100;
  padding: 6px 0;
  animation: dropdownFadeIn 0.15s ease;
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.site-header .nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.15s, color 0.15s;
}
.site-header .nav-dropdown-menu a:hover {
  background: var(--surface-alt);
  color: var(--primary);
}

/* Mobile toggle */
.site-header .mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--text);
  padding: 4px;
}

/* Mobile drawer */
.header-mobile-drawer {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.nav-link-mobile {
  display: block;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
}
.nav-link-mobile.active {
  color: var(--primary);
}
.nav-dropdown-trigger-mobile {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
  font-family: inherit;
}
.nav-dropdown-menu-mobile {
  display: none;
  padding-left: 16px;
  margin: 4px 0 8px;
  border-left: 2px solid var(--primary);
}
.nav-dropdown-menu-mobile a {
  display: block;
  padding: 8px 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
}
.nav-dropdown-menu-mobile a:hover {
  color: var(--primary);
}

/* Sticky behavior */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Trip badge on heart */
#trip-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-header .header-nav {
    display: none;
  }
  .site-header .mobile-toggle {
    display: block !important;
  }
  .header-festival {
    font-size: 0.7rem;
  }
  .site-header .btn-sm {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-festival {
    display: none;
  }
  .header-top-bar .container {
    justify-content: space-between;
  }
}

/* Dark mode overrides */
[data-theme="dark"] .header-top-bar {
  background: #1A1722;
}
[data-theme="dark"] .header-main-bar {
  background: var(--surface);
  border-bottom-color: var(--border);
}
[data-theme="dark"] .nav-dropdown-menu {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="dark"] .header-mobile-drawer {
  background: var(--surface);
}

/* ===== Prominent Map Section (below hero) ===== */
.map-hero-section {
  border-top: 3px solid var(--primary);
}
.map-hero-section h2 {
  font-size: 1.6rem;
  margin: 0;
}
.map-hero-section .farm-map {
  height: 420px;
}
@media (max-width: 768px) {
  .map-hero-section .farm-map {
    height: 320px;
  }
  .map-hero-section h2 {
    font-size: 1.3rem;
  }
}

/* =============================================
   HERO CTA BUTTONS — Premium First Impression
   ============================================= */
.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.25s;
  cursor: pointer;
  line-height: 1.3;
}
.hero-cta-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 2px;
  letter-spacing: 0.03em;
}
.hero-cta-primary {
  background: rgba(255,255,255,0.95);
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.hero-cta-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.22);
}
.hero-cta-primary .hero-cta-sub {
  color: var(--text-secondary);
}
.hero-cta-gold {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(212,168,75,0.35);
}
.hero-cta-gold:hover {
  background: #c9a040;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212,168,75,0.45);
}
.hero-cta-gold .hero-cta-sub {
  opacity: 0.92;
}
@media (max-width: 480px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-cta {
    width: 280px;
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* =============================================
   MAP SIDEBAR — Clickable Farm/Attraction List
   ============================================= */
.map-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: start;
}
.map-sidebar {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 540px;
}
.map-sidebar-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.map-tab {
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.map-tab:hover {
  color: var(--primary);
  background: var(--surface-alt);
}
.map-tab.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.map-sidebar-search {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
.map-sidebar-search input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  font-family: inherit;
  background: var(--surface-alt);
  outline: none;
}
.map-sidebar-search input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(123,104,166,0.12);
}
.map-sidebar-list {
  overflow-y: auto;
  flex: 1;
  padding: 4px 0;
}
.map-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.map-list-item:hover {
  background: var(--surface-alt);
}
.map-list-item.active {
  background: rgba(123,104,166,0.08);
  border-left: 3px solid var(--primary);
}
.map-list-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.map-list-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.map-list-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.map-list-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-list-detail {
  font-size: 0.72rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-main {
  min-width: 0;
}
@media (max-width: 768px) {
  .map-layout {
    grid-template-columns: 1fr;
  }
  .map-sidebar {
    max-height: 200px;
    order: 2;
  }
  .map-main {
    order: 1;
  }
}
