/* ============================================================
   DOMAINE NOIR — Page-Specific Styles
   ============================================================ */

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

.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(114,47,55,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 30%, rgba(74,30,36,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(184,134,11,0.04) 0%, transparent 40%);
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to top, var(--color-bg), transparent); pointer-events: none;
}

.hero__content { position: relative; z-index: 1; text-align: center; max-width: 860px; }

.hero__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: var(--fw-medium);
  letter-spacing: var(--ls-ultra); text-transform: uppercase; color: var(--color-gold);
  margin-bottom: var(--space-md); padding: 8px 20px;
  border: 1px solid rgba(184, 134, 11, 0.25); border-radius: var(--radius-full);
  background: rgba(184, 134, 11, 0.06);
}
.hero__label-dot {
  width: 6px; height: 6px; border-radius: var(--radius-full);
  background: var(--color-gold); animation: pulse-dot 2.4s ease infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero__title {
  font-size: var(--fs-hero); font-weight: var(--fw-regular); font-style: italic;
  color: var(--color-cream); line-height: 1.08; margin-bottom: var(--space-sm);
  letter-spacing: var(--ls-tight);
}
.hero__title em { color: var(--color-wine-light); font-style: italic; }

.hero__subtitle {
  font-size: var(--fs-md); color: var(--color-rose-muted); line-height: var(--lh-relaxed);
  max-width: 560px; margin: 0 auto var(--space-lg);
}

.hero__actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: var(--space-lg); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 1;
}
.hero__scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line { 0% { opacity:1; transform:scaleY(1); } 50% { opacity:0.3; transform:scaleY(0.5); } 100% { opacity:1; transform:scaleY(1); } }
.hero__scroll span { font-size: var(--fs-xs); color: var(--color-text-dim); letter-spacing: var(--ls-wide); text-transform: uppercase; }

.hero__deco { position: absolute; pointer-events: none; }
.hero__deco--1 {
  top: 15%; left: 5%; width: 1px; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-wine), transparent); opacity: 0.12;
}
.hero__deco--2 {
  bottom: 25%; right: 8%; width: 1px; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--color-gold), transparent); opacity: 0.1;
}

/* ==========================================================================
   HOMEPAGE — FEATURED WINES
   ========================================================================== */
.featured-wines { padding: var(--section-pad) 0; }
.featured-wines__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-top: var(--space-lg);
}
@media (max-width: 900px) { .featured-wines__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .featured-wines__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   HOMEPAGE — STORY TEASER
   ========================================================================== */
.story-teaser {
  padding: var(--space-xl) 0; border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.story-teaser__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center;
}
.story-teaser__image {
  height: 400px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--color-wine-deep), var(--color-burgundy), var(--color-wine-dark));
  position: relative;
}
.story-teaser__image::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(184,134,11,0.08) 0%, transparent 60%);
}
.story-teaser__content .section-heading { margin-bottom: var(--space-xs); }
.story-teaser__text {
  font-size: var(--fs-base); color: var(--color-text-muted); line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .story-teaser__inner { grid-template-columns: 1fr; }
  .story-teaser__image { height: 280px; }
}

/* ==========================================================================
   HOMEPAGE — AWARDS
   ========================================================================== */
.awards { padding: var(--section-pad) 0; }
.awards__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); margin-top: var(--space-lg);
}
@media (max-width: 900px) { .awards__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .awards__grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; } }

/* ==========================================================================
   HOMEPAGE — CTA
   ========================================================================== */
.cta-section { padding: 0 0 var(--section-pad); }

/* ==========================================================================
   WINES PAGE — COLLECTION GRID
   ========================================================================== */
.wines-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md);
  padding-bottom: var(--section-pad);
}
@media (max-width: 900px) { .wines-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wines-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   STORY PAGE
   ========================================================================== */
.story-hero {
  padding: var(--space-xl) 0; border-bottom: 1px solid var(--color-border);
}
.story-hero__text {
  font-family: var(--font-display); font-size: var(--fs-xl); font-style: italic;
  color: var(--color-cream); line-height: var(--lh-snug); max-width: var(--max-narrow);
}
.story-section { padding: var(--section-pad) 0; }
.story-text {
  font-size: var(--fs-base); color: var(--color-text-muted); line-height: var(--lh-relaxed);
  max-width: var(--max-narrow);
}
.story-text + .story-text { margin-top: var(--space-sm); }

/* ==========================================================================
   VISIT PAGE
   ========================================================================== */
.visit-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-lg);
  padding-bottom: var(--section-pad);
}
.visit-form-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-lg);
}
.visit-form-card__title {
  font-family: var(--font-display); font-size: var(--fs-xl); font-style: italic;
  color: var(--color-cream); margin-bottom: var(--space-md);
}
.visit-sidebar { display: flex; flex-direction: column; gap: var(--space-md); }

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

/* ==========================================================================
   RESPONSIVE HERO
   ========================================================================== */
@media (max-width: 768px) {
  .hero { min-height: 90vh; padding-top: calc(72px + var(--space-xl)); }
  .hero__title { font-size: clamp(2.2rem, 1.5rem + 4vw, 3.5rem); }
  .hero__deco--1, .hero__deco--2 { display: none; }
}
