/* ========================================
   Cliche Wine Co — Brand Styles
   Terracotta + Sand | Editorial Serif
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --terracotta-50: #fef7f4;
  --terracotta-100: #fdeede;
  --terracotta-200: #fad4c4;
  --terracotta-300: #f5b09a;
  --terracotta-400: #ee8268;
  --terracotta-500: #e0603e;
  --terracotta-600: #c94a28;
  --terracotta-700: #a83a1f;
  --terracotta-800: #8a311d;
  --terracotta-900: #712a1a;

  --sand-50: #fefcf8;
  --sand-100: #fdf6eb;
  --sand-200: #faedcf;
  --sand-300: #f4d9a8;
  --sand-400: #eabf78;
  --sand-500: #dfaa5a;
  --sand-600: #c9923e;
  --sand-700: #a87430;
  --sand-800: #8a5d2a;
  --sand-900: #714c25;

  --dark: #1a1209;
  --dark-750: #2d2014;
  --dark-800: #3d2e1e;
  --cream: #faf6f0;
  --cream-dark: #f0e8da;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--sand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(26, 18, 9, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
  padding: 0.6rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--sand-50);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo em {
  font-style: italic;
  font-weight: 400;
  opacity: 0.85;
}

.logo-light {
  color: var(--sand-50);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  color: rgba(254, 252, 248, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--terracotta-400);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--sand-50);
}

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

/* Nav CTA Button */
.btn-nav {
  background: var(--terracotta-500);
  color: var(--sand-50) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-nav::after {
  display: none;
}

.btn-nav:hover {
  background: var(--terracotta-600);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sand-50);
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--sand-50);
  left: 0;
  transition: transform 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(168, 58, 31, 0.82) 0%,
    rgba(139, 82, 42, 0.75) 40%,
    rgba(113, 76, 37, 0.70) 70%,
    rgba(45, 32, 20, 0.85) 100%
  );
  z-index: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 18, 9, 0.3) 0%,
    rgba(26, 18, 9, 0.1) 40%,
    rgba(26, 18, 9, 0.5) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-300);
  margin-bottom: var(--space-md);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--sand-50);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta-200);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(254, 252, 248, 0.8);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  line-height: 1.65;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--terracotta-500);
  color: var(--sand-50);
  box-shadow: 0 4px 20px rgba(224, 96, 62, 0.35);
}

.btn-primary:hover {
  background: var(--terracotta-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224, 96, 62, 0.4);
}

.btn-secondary {
  background: rgba(254, 252, 248, 0.12);
  color: var(--sand-50);
  border: 1.5px solid rgba(254, 252, 248, 0.35);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(254, 252, 248, 0.2);
  border-color: rgba(254, 252, 248, 0.6);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(254, 252, 248, 0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-item svg {
  opacity: 0.7;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(254, 252, 248, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(254,252,248,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

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

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-600);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--dark-750);
  max-width: 540px;
  line-height: 1.65;
  font-weight: 300;
}

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

.section-header .section-subtitle {
  margin: 0 auto;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--dark-750);
  font-weight: 300;
  margin-bottom: var(--space-md);
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  background: var(--sand-50);
}

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

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--terracotta-200);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.5;
}

.about-content .section-title {
  margin-bottom: var(--space-md);
}

.about-stats {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--sand-200);
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--terracotta-600);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-800);
  opacity: 0.7;
}

.stat-divider {
  width: 1px;
  background: var(--sand-300);
  align-self: stretch;
}

/* ========================================
   SELECTION CARDS
   ======================================== */
.selection {
  background: var(--cream);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.card {
  background: var(--sand-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26, 18, 9, 0.1);
}

.card-icon {
  padding: var(--space-lg) var(--space-lg) 0;
  color: var(--terracotta-600);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark);
  padding: 0 var(--space-lg);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--dark-750);
  line-height: 1.6;
  padding: 0 var(--space-lg);
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ========================================
   EXPERIENCE
   ======================================== */
.experience {
  background: var(--dark);
  color: var(--sand-50);
}

.experience .section-eyebrow {
  color: var(--terracotta-400);
}

.experience .section-title {
  color: var(--sand-50);
}

.experience-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(254, 252, 248, 0.1);
}

.feature:first-child {
  padding-top: 0;
}

.feature:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-number {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--terracotta-500);
  opacity: 0.6;
  line-height: 1;
  padding-top: 0.2rem;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sand-50);
  margin-bottom: 0.4rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: rgba(254, 252, 248, 0.6);
  line-height: 1.65;
  font-weight: 300;
}

.experience-images {
  position: relative;
  padding-top: var(--space-lg);
}

.exp-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.exp-img-2 {
  margin-top: var(--space-md);
  margin-left: var(--space-lg);
  width: 75%;
}

.exp-img-2 img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ========================================
   VISIT
   ======================================== */
.visit {
  background: var(--sand-50);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-details {
  list-style: none;
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item dt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-600);
  margin-bottom: 0.3rem;
}

.contact-item dd {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark);
}

.contact-item a {
  color: var(--dark);
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--terracotta-600);
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26, 18, 9, 0.1);
  min-height: 400px;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--dark);
  color: var(--sand-50);
  padding: var(--space-2xl) 0 var(--space-lg);
}

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

.footer-brand p {
  margin-top: var(--space-sm);
  font-size: 0.95rem;
  color: rgba(254, 252, 248, 0.55);
  line-height: 1.65;
  max-width: 280px;
  font-weight: 300;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sand-50);
  margin-bottom: var(--space-sm);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(254, 252, 248, 0.55);
  transition: color 0.3s ease;
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--terracotta-400);
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(254, 252, 248, 0.55);
  line-height: 1.7;
  font-weight: 300;
}

.footer-contact a {
  color: rgba(254, 252, 248, 0.7);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--terracotta-400);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(254, 252, 248, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(254, 252, 248, 0.3);
  font-weight: 300;
}

/* ========================================
   MOBILE NAV OVERLAY
   ======================================== */
.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(26, 18, 9, 0.97);
  backdrop-filter: blur(16px);
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  z-index: 999;
}

.nav-links.mobile-open a {
  font-size: 1.4rem;
  font-family: var(--font-serif);
  font-weight: 700;
}

/* ========================================
   SCROLL REVEAL (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

/* Default visible state for no-JS */
.reveal {
  opacity: 1;
  transform: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .about-grid,
  .experience-split,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-image-wrap {
    order: -1;
  }

  .about-image-wrap img {
    height: 350px;
  }

  .about-accent {
    display: none;
  }

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

  .exp-img-2 {
    margin-left: 0;
    width: 100%;
  }

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

  .hero-content {
    padding-top: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
  }

  .about-stats {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .stat-divider {
    display: none;
  }

  .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}
