/* ========================================
   CAVE 75 — Styles
   Deep Navy + Warm Gold Editorial
   ======================================== */

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

:root {
  --navy-950: #0a1023;
  --navy-900: #0f1c3f;
  --navy-800: #162544;
  --navy-700: #1e3256;
  --navy-600: #253d66;
  --gold-500: #c8a45a;
  --gold-400: #d4b76e;
  --gold-300: #e0c982;
  --gold-600: #a8873e;
  --cream-50: #faf8f4;
  --cream-100: #f5f0e8;
  --cream-200: #ede6d8;
  --text-dark: #0f1c3f;
  --text-light: #f5f0e8;
  --text-muted: #6b7a99;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

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

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

ul {
  list-style: none;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 16, 35, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 164, 90, 0.15);
  transition: background 0.4s var(--ease-out);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245, 240, 232, 0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a:hover {
  color: var(--gold-500);
}

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

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold-500);
  color: var(--gold-500) !important;
  padding: 0.55rem 1.4rem;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em;
  transition: background 0.3s ease, color 0.3s ease !important;
}

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

.nav-cta:hover {
  background: var(--gold-500);
  color: var(--navy-950) !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle-line {
  width: 24px;
  height: 2px;
  background: var(--gold-500);
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy-950);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold-500);
  padding: 4px;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream-100);
  padding: 0.75rem 1rem;
  transition: color 0.3s ease;
}

.mobile-menu-link:hover {
  color: var(--gold-500);
}

.mobile-menu-cta {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--gold-500);
  padding: 0.8rem 2.5rem;
  color: var(--gold-500) !important;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200, 164, 90, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(200, 164, 90, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--cream-100);
  margin-bottom: 1.75rem;
  max-width: 560px;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold-500);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.65);
  max-width: 460px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
}

.hero-meta-divider {
  color: rgba(200, 164, 90, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}

.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 164, 90, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--cream-100);
  border: 1px solid rgba(245, 240, 232, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--navy-900);
  border: 1px solid var(--navy-900);
}

.btn-outline-light:hover {
  background: var(--navy-900);
  color: var(--cream-100);
  transform: translateY(-2px);
}

/* Hero Image */
.hero-right {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold-500);
  border-radius: 8px;
  z-index: -1;
  opacity: 0.4;
}

/* ========================================
   Section Divider
   ======================================== */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  background: var(--cream-50);
}

/* ========================================
   Common Section Styles
   ======================================== */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1rem;
}

.section-eyebrow-light {
  color: var(--gold-500);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.section-title-light {
  color: var(--cream-100);
}

.text-gold {
  color: var(--gold-500);
}

/* ========================================
   About
   ======================================== */
.about {
  padding: 8rem 2rem;
  background: var(--cream-50);
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content {
  max-width: 520px;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-text:last-of-type {
  margin-bottom: 2.5rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--cream-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 28, 63, 0.12);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   Menu
   ======================================== */
.menu {
  padding: 8rem 2rem;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.menu-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(200, 164, 90, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.menu-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.menu-category {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 164, 90, 0.15);
  border-radius: 8px;
  padding: 2.5rem;
  transition: border-color 0.3s ease;
}

.menu-category:hover {
  border-color: rgba(200, 164, 90, 0.35);
}

.category-icon {
  margin-bottom: 1.25rem;
}

.category-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream-100);
  margin-bottom: 1.75rem;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.menu-items li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

.menu-items li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream-100);
}

.item-desc {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.45);
  text-align: right;
  flex-shrink: 0;
  max-width: 200px;
}

.menu-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.35);
  font-style: italic;
}

/* ========================================
   Gallery
   ======================================== */
.gallery {
  padding: 8rem 2rem;
  background: var(--cream-50);
}

.gallery-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 28, 63, 0.1);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 28, 63, 0.18);
}

.gallery-item--large {
  grid-row: span 2;
}

.gallery-item--large img {
  height: 100%;
  min-height: 500px;
}

.gallery-item--wide img {
  height: 100%;
  min-height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* ========================================
   Visit / Hours
   ======================================== */
.visit {
  padding: 8rem 2rem;
  background: var(--cream-100);
}

.visit-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.visit-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.visit-detail {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.visit-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visit-detail h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.visit-detail p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.visit-detail a {
  color: var(--gold-600);
  transition: color 0.3s ease;
}

.visit-detail a:hover {
  color: var(--gold-500);
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hours-table div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.9rem;
}

.hours-table span:first-child {
  font-weight: 500;
  color: var(--text-dark);
}

.hours-table span:last-child {
  color: var(--text-muted);
}

.visit-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 28, 63, 0.12);
  min-height: 450px;
}

/* ========================================
   CTA
   ======================================== */
.cta {
  padding: 7rem 2rem;
  background: var(--navy-900);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 50% 80% at 50% 50%, rgba(200, 164, 90, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
}

.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--cream-100);
  margin-bottom: 1.25rem;
}

.cta-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--navy-950);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(200, 164, 90, 0.1);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.45);
  font-style: italic;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
}

.footer-info a {
  color: var(--gold-500);
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.25);
}

/* ========================================
   Scroll Reveal (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 3rem;
  }

  .about-inner {
    gap: 3rem;
  }

  .menu-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 4rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-right {
    order: -1;
  }

  .hero-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  }

  .hero-image-wrapper img {
    height: 400px;
    object-fit: cover;
  }

  .hero-accent {
    display: none;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-meta-divider {
    display: none;
  }

  .about {
    padding: 5rem 1.5rem;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    order: -1;
  }

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

  .menu {
    padding: 5rem 1.5rem;
  }

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

  .gallery {
    padding: 5rem 1.5rem;
  }

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

  .gallery-item--large {
    grid-row: span 1;
  }

  .gallery-item--large img {
    min-height: 300px;
  }

  .gallery-item--wide img {
    min-height: 250px;
  }

  .visit {
    padding: 5rem 1.5rem;
  }

  .visit-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .visit-map {
    min-height: 300px;
  }

  .cta {
    padding: 5rem 1.5rem;
  }

  .cta-actions {
    flex-direction: column;
  }

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

  .about-stats {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 0 1.25rem;
  }

  .hero-inner {
    padding: 3rem 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .menu-category {
    padding: 1.75rem;
  }

  .item-desc {
    max-width: 150px;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}
