:root {
  --bg: #f7f3ec;
  --surface: #ffffff;
  --text: #1f1f1f;
  --muted: #5a5a5a;
  --accent: #b89f04;
  --accent-dark: #968202;
  --line: #e7ddd2;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
}

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

.container {
  width: min(100% - 2rem, 1000px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #121212;
  border-bottom: 1px solid #252525;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand img {
  height: 40px; /* Adjust as needed */
  width: auto;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  margin-left: 1rem;
}

.lang-switcher select {
  background: #121212;
  color: #fff;
  border: 1px solid #666;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  color: #e6e6e6;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: #fff;
}

.menu-btn {
  display: none;
  border: 1px solid #666;
  background: transparent;
  color: #fff;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./vineyard-wide.jpg") center/cover no-repeat;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.9rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 1.4rem;
  line-height: 1.6;
  color: #f1f1f1;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.62rem 0.95rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
}

.btn:hover {
  background: var(--accent-dark);
}

.section {
  padding: 3.8rem 0;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.95rem;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
}

.section p {
  line-height: 1.7;
  color: var(--muted);
}

.creative-section {
  background: #fff;
  overflow-x: hidden;
}

.creative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.creative-text h2 {
  margin: 0.3rem 0 0.8rem;
}

.creative-text p {
  margin-bottom: 1.2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

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

.creative-image-wrap::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--line);
  z-index: 0;
}

.creative-image {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.quote-section {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
}

.display-quote {
  margin: 0 auto;
  max-width: 860px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.4vw, 2.2rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #2c1a12;
  font-style: italic;
}

.wines-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wine-split {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 1.3rem;
  align-items: center;
  padding: 1rem;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfa;
}

.wine-split-image {
  width: 100%;
  max-height: 280px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #f7f3ec;
}

.wine-split-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.38rem;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
}

.wine-split-content p {
  margin: 0;
}

.wine-price {
  margin-top: 0.6rem;
  font-weight: 700;
  color: var(--accent);
}

.gallery-section {
  background: #fff;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.video-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.promo-video {
  width: 100%;
  margin-top: 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.alt {
  background: #fdfaf6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.card h3 {
  margin-top: 0;
}

.slideshow-section {
  background: #fff;
}

.slideshow-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f8f4ef;
}

.slideshow-track {
  display: flex;
  transition: transform 0.4s ease;
}

.slideshow-wrap {
  touch-action: pan-y;
}

.slide {
  min-width: 100%;
  width: 100%;
  height: 70vh;
  max-height: 650px;
  object-fit: cover;
  user-select: none;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  z-index: 2;
}

.slideshow-btn.prev {
  left: 1rem;
}

.slideshow-btn.next {
  right: 1rem;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  background: transparent;
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 760px) {
  .slide {
    height: 240px;
  }
}

.tips {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.tips li {
  margin: 0.5rem 0;
  line-height: 1.5;
}

.site-footer {
  background: #111;
  color: #ddd;
  padding: 2.2rem 0 1rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  max-height: 40px;
  width: auto;
  cursor: pointer;
}

.footer-text h3 {
  margin: 0;
  color: #fff;
}

.footer-text p {
  margin: 0.25rem 0 0;
  color: #ddd;
}

.site-footer a,
.site-footer a:link,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active {
  color: #ddd;
  text-decoration: none;
}

.copyright {
  text-align: center;
  margin-top: 1.5rem;
  color: #a7a7a7;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .menu-btn {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height, 64px);
    right: 1rem;
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 0.7rem;
    flex-direction: column;
    min-width: 170px;
    display: none;
  }

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

  .creative-grid,
  .wine-split,
  .image-grid,
  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .creative-image-wrap::after {
    inset: 10px -10px -10px 10px;
  }

  .wine-split-image {
    height: 220px;
  }
}

.image-grid-section {
  background: #fff;
  padding: 4rem 0;
  display: flex;
  align-items: center;
}

.custom-image-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.grid-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.grid-large,
.grid-small {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@media (min-width: 761px) {
  .image-grid-section {
    min-height: 80vh;
  }
  .custom-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: calc(80vh - 8rem);
  }
  .grid-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    height: 100%;
  }
  .grid-large,
  .grid-small {
    height: 100%;
    aspect-ratio: auto;
  }
}

/* ─── Wine Card "View Details" button ─────────────────────────── */
.wine-split-content .btn {
  display: inline-block;
  margin-top: 1rem;
}

/* ─── Wine Detail Pages ─────────────────────────────────────────── */
.wine-detail-hero {
  background: #121212;
  color: #fff;
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid #252525;
}

.wine-detail-hero .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.wine-detail-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.wine-detail-img-wrap::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid rgba(111, 29, 27, 0.4);
  border-radius: 12px;
  z-index: 0;
}

.wine-detail-bottle {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  max-height: 520px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}

.wine-detail-intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wine-detail-intro .eyebrow {
  color: var(--accent);
}

.wine-detail-intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
}

.wine-detail-intro .tagline {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #b0a090;
  margin: 0;
}

.wine-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2a2a2a;
}

.wine-spec {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.wine-spec dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
}

.wine-spec dd {
  margin: 0;
  font-size: 0.95rem;
  color: #ddd;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.wine-detail-body {
  background: var(--bg);
  padding: 4rem 0;
}

.wine-detail-body .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.wine-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.8rem 2rem;
}

.wine-detail-card h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
}

.wine-detail-card p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.wine-detail-card.full {
  grid-column: 1 / -1;
}

.wine-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.wine-back:hover {
  color: var(--accent-dark);
}

@media (max-width: 760px) {
  .wine-detail-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .wine-detail-img-wrap::before {
    display: none;
  }

  .wine-detail-bottle {
    max-height: 300px;
    max-width: 220px;
    margin: 0 auto;
  }

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

  .wine-detail-body .container {
    grid-template-columns: 1fr;
  }

  .wine-detail-card.full {
    grid-column: auto;
  }
}
