/* ============================================================
   COMPONENTS — Navigation, hamburger, mobile menu, mobile bar,
   footer, social links, contact block, map, preloader
   Extracted from index.html <style> block
   ============================================================ */

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(13, 5, 8, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.nav.visible { transform: translateY(0); opacity: 1; }
.nav.hidden { transform: translateY(-100%); opacity: 0; }
.nav-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--cream);
  white-space: nowrap;
}
.nav-logo em { font-style: italic; color: var(--gold); font-weight: 400; }
.nav-links {
  display: flex;
  gap: 40px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav-links a {
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.4s var(--ease), background 0.4s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 101;
}
.hamburger span {
  position: absolute;
  left: 8px;
  width: 20px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease), opacity 0.3s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger.open span:nth-child(1) { top: 17px; transform: rotate(45deg); background: var(--gold); }
.hamburger.open span:nth-child(2) { top: 17px; transform: rotate(-45deg); background: var(--gold); }

/* ============================================================
   MOBILE OVERLAY MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  color: var(--cream);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.3s; }

/* ============================================================
   FOOTER / LOCATION
   ============================================================ */
.footer {
  padding: var(--section-pad) 0 60px;
  background: #08030500;
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}
.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ---- Map ---- */
.map-wrap {
  aspect-ratio: 5 / 4;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.88) hue-rotate(175deg) saturate(0.35) brightness(0.95);
  transition: filter 0.6s;
}
.map-wrap:hover iframe {
  filter: invert(0.88) hue-rotate(175deg) saturate(0.5) brightness(1);
}
.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 2;
  color: var(--gold);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.8));
}

/* ---- Contact block ---- */
.contact-block .eyebrow { margin-bottom: 32px; display: block; }
.contact-block h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}
.contact-block h2 em { font-style: italic; color: var(--gold); }
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.contact-item:last-of-type {
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.contact-item .label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-item .value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream);
  line-height: 1.3;
}
.contact-item a.value { transition: color 0.3s; }
.contact-item a.value:hover { color: var(--gold); }

/* ---- Footer bar ---- */
.footer-bar {
  margin-top: 100px;
  padding-top: 40px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.footer-logo em { font-style: italic; color: var(--gold); font-weight: 400; }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--text-muted);
}
.footer-copy {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---- Social links ---- */
.social-links {
  display: flex;
  gap: 14px;
}
.social-links a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream-muted);
  transition: all 0.4s var(--ease);
}
.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  background: rgba(212, 175, 55, 0.05);
}

/* ============================================================
   MOBILE BOTTOM BAR
   ============================================================ */
.mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(13, 5, 8, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  gap: 10px;
}
.mobile-bar a {
  flex: 1;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-bar a svg { width: 16px; height: 16px; }
.mobile-bar .call {
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--cream);
}
.mobile-bar .book {
  background: var(--gold);
  color: var(--bg-deep);
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.preloader-logo {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-align: center;
}
.preloader-logo .preloader-vina {
  color: #d4af37;
  font-style: italic;
}
.preloader-bar-track {
  width: 120px;
  height: 1px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 1px;
  overflow: hidden;
}
.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: #d4af37;
  border-radius: 1px;
}

/* ============================================================
   RESPONSIVE — Components (nav, mobile bar, footer)
   ============================================================ */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .nav-links { display: none; }
  .hamburger { display: block; }
  /* Mobile/tablet: nav always visible so hamburger is reachable on hero */
  .nav {
    transform: translateY(0);
    opacity: 1;
  }
  .nav.hidden {
    transform: translateY(-100%);
    opacity: 0;
  }
}
@media (max-width: 768px) {
  body { padding-bottom: 80px; }
  .mobile-bar { display: flex; }
  .nav { padding: 16px 0; }
  .nav-logo { font-size: 18px; }
  .nav-cta { display: none; }
  .footer-bar { flex-direction: column; text-align: center; gap: 20px; }
  .contact-block h2 { font-size: 40px; }
}
@media (max-width: 480px) {
  .contact-block h2 { font-size: 40px; }
}
