/* ==========================================================================
   De Vins en Vins — base stylesheet
   Palette: bg #131f2c / #0b1219 / #0e1620 / #263a54, gold #d8a302, cream #f4ecdd
   Fonts: Cormorant Garamond (display/serif), Jost (body), Space Mono (labels)
   ========================================================================== */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #0b1219;
}

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

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

.dvv {
  background: #131f2c;
  overflow: hidden;
  color: #f4ecdd;
  font-family: 'Jost', system-ui, sans-serif;
}

@keyframes dvv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dvv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- NAV ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 60px;
}
.nav--bar {
  border-bottom: 1px solid rgba(244, 236, 221, 0.09);
}
.nav--overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-link { transition: color .3s; cursor: pointer; }
.nav-link:hover, .nav-link--active { color: #d8a302; }

.nav-cta {
  color: #d8a302;
  border: 1px solid rgba(216, 163, 2, 0.5);
  padding: 8px 16px;
  cursor: pointer;
  transition: all .3s;
}
.nav-cta:hover, .nav-cta--active {
  background: #d8a302;
  color: #131f2c;
  border-color: #d8a302;
}

.sp-drop { position: relative; }
.sp-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 16px; z-index: 60; }
.sp-drop:hover .sp-menu { display: block; }
.sp-menu__panel {
  background: #0e1620;
  border: 1px solid rgba(244, 236, 221, 0.14);
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.sp-menu__item {
  display: block;
  padding: 12px 24px;
  color: #f4ecdd;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all .2s;
}
.sp-menu__item:hover, .sp-menu__item--active {
  background: rgba(216, 163, 2, 0.14);
  color: #d8a302;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0b1219;
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid rgba(244, 236, 221, 0.06);
}
.footer__social { display: flex; gap: 14px; }
.social-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(244, 236, 221, 0.18);
  color: #f4ecdd;
  transition: all .3s;
}
.social-icon:hover { background: #d8a302; border-color: #d8a302; color: #131f2c; }
.footer__addr {
  text-align: right;
  font-family: 'Space Mono', monospace;
  color: #8a97a6;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.5px;
}
.footer__handle { color: #d8a302; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.footer__tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 16px; color: #c9d2dc; }

/* ---------- Shared hover / interaction utilities ---------- */
.btn-gold {
  display: inline-block;
  background: #d8a302;
  color: #131f2c;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 17px 30px;
  cursor: pointer;
  transition: transform .3s, background .3s;
  border: none;
}
.btn-gold:hover { transform: translateY(-3px); }

.btn-outline-gold {
  display: inline-block;
  background: transparent;
  color: #d8a302;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid rgba(216, 163, 2, 0.5);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn-outline-gold:hover { background: #d8a302; color: #131f2c; border-color: #d8a302; }

.link-underline {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f4ecdd;
  border-bottom: 1px solid rgba(244, 236, 221, 0.35);
  padding-bottom: 5px;
  cursor: pointer;
  transition: all .3s;
}
.link-underline:hover { color: #d8a302; border-color: #d8a302; }

.link-gold {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #d8a302;
  border-bottom: 1px solid #d8a302;
  padding-bottom: 5px;
  cursor: pointer;
}

.zoom-img { overflow: hidden; display: block; }
.zoom-img img { transition: transform 1.3s ease; }
.zoom-img:hover img { transform: scale(1.05); }

.row-hover { transition: all .35s; cursor: pointer; }
.row-hover:hover { padding-left: 14px; border-color: #d8a302 !important; }

.tag-pill {
  font-family: 'Space Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: #e7ecf1;
  border: 1px solid rgba(244, 236, 221, 0.16);
  padding: 11px 18px;
  transition: all .3s;
  display: inline-block;
}
.tag-pill:hover { border-color: #d8a302; color: #d8a302; }

.chip-btn {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #131f2c;
  background: #d8a302;
  padding: 11px 16px;
  cursor: pointer;
  transition: background .2s;
}
.chip-btn:hover { background: #f4ecdd; }

.x-btn { transition: color .3s; cursor: pointer; }
.x-btn:hover { color: #d8a302; }

.border-hover { transition: border-color .3s; }
.border-hover:hover { border-color: #d8a302; }

/* ---------- Mobile nav toggle (small screens) ---------- */
.nav__burger { display: none; }

@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: 84%; max-width: 360px;
    background: #0e1620; flex-direction: column; align-items: flex-start;
    gap: 22px; padding: 100px 32px 40px; transform: translateX(100%);
    transition: transform .35s ease; z-index: 50; overflow-y: auto;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px; z-index: 55;
    background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav__burger span { width: 24px; height: 2px; background: #f4ecdd; display: block; }
  .sp-drop { width: 100%; }
  .sp-menu { display: none; position: static; padding-top: 10px; transform: none; }
  .sp-drop.is-open .sp-menu { display: block; }
  .sp-menu__panel { box-shadow: none; border: none; background: transparent; padding: 0 0 0 14px; }
}

/* ==========================================================================
   Responsive overhaul — the page content below the nav is built with inline
   styles (grid layouts, large fixed font-sizes, 60px gutters) sized for
   desktop. Rather than rewrite every inline style on every page, these rules
   use !important + broad selectors to override them site-wide at narrower
   widths — one file fixes every page at once.
   ========================================================================== */
html, body { overflow-x: hidden; }
.dvv { max-width: 100vw; }
.dvv img, .dvv iframe { max-width: 100%; }

@media (max-width: 900px) {
  /* Any inline CSS-grid (hero splits, feature grids, galleries, forms,
     opening-hours lists) collapses to one column instead of overflowing. */
  .dvv [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .dvv [style*="grid-column:span"] { grid-column: auto !important; }
  .dvv [style*="grid-row:span"] { grid-row: auto !important; }

  /* Purely decorative oversized watermark numbers/symbols and the floating
     circle badge — all authored with pointer-events:none or a perfect
     circle — just clutter and overflow on a phone, so they're hidden. */
  .dvv [style*="pointer-events:none"],
  .dvv [style*="border-radius:50%"] { display: none !important; }

  /* Headings were sized in px for a 1400px+ desktop layout (up to 118px).
     clamp() keeps them proportionate from phone to tablet without a wall
     of per-page breakpoints. */
  .dvv h1 { font-size: clamp(2.1rem, 9vw, 3.4rem) !important; line-height: 1.08 !important; letter-spacing: normal !important; }
  .dvv h2 { font-size: clamp(1.6rem, 7vw, 2.3rem) !important; line-height: 1.12 !important; }
  .dvv h3 { font-size: clamp(1.25rem, 6vw, 1.7rem) !important; }

  /* 60px was used throughout as the single desktop side-gutter (section
     padding, grid gaps). Narrowing just the horizontal padding keeps each
     section's own top/bottom spacing intact. */
  .dvv [style*="60px"] { padding-left: 20px !important; padding-right: 20px !important; }
  .nav, .footer { padding-left: 20px !important; padding-right: 20px !important; }

  /* Large section/paragraph text that isn't a heading (hero subcopy, pull
     quotes, intro paragraphs) — same clamp approach, floor stays readable. */
  .dvv [style*="font-size:2"],
  .dvv [style*="font-size:3"],
  .dvv [style*="font-size:4"],
  .dvv [style*="font-size:5"] { font-size: clamp(1rem, 4.2vw, 1.3rem) !important; line-height: 1.5 !important; }

  /* Fixed min-heights authored for desktop hero/section proportions. */
  .dvv [style*="min-height"] { min-height: 0 !important; }
}

@media (max-width: 480px) {
  .dvv h1 { font-size: clamp(1.9rem, 10vw, 2.6rem) !important; }
  .dvv [style*="60px"] { padding-left: 16px !important; padding-right: 16px !important; }
}
