/* ─────────────────────────────────────
   Onyx Lounge — Styles
   Emerald + Cream · Fresh & Airy
   ───────────────────────────────────── */

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

:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;

  --cream-50:  #fefdf8;
  --cream-100: #fefce8;
  --cream-200: #fef9c3;
  --cream-300: #f5f0e1;
  --cream-400: #e8e0cc;

  --text-primary:   #1a2e23;
  --text-secondary: #3d5a47;
  --text-muted:     #6b8f78;
  --text-light:     #95b8a5;

  --white: #ffffff;
  --black: #0a0f0d;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(6,78,59,.06), 0 1px 2px rgba(6,78,59,.04);
  --shadow-md:  0 4px 16px rgba(6,78,59,.08), 0 2px 6px rgba(6,78,59,.05);
  --shadow-lg:  0 12px 40px rgba(6,78,59,.10), 0 4px 12px rgba(6,78,59,.06);
  --shadow-xl:  0 24px 60px rgba(6,78,59,.12), 0 8px 20px rgba(6,78,59,.07);

  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--cream-50);
  line-height: 1.65;
  -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 24px;
}

/* ─── Typography ─── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-800);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--emerald-800);
  border: 1.5px solid var(--emerald-300, var(--cream-400));
}
.btn-secondary:hover {
  border-color: var(--emerald-600);
  background: var(--emerald-50);
}

.btn-full { width: 100%; }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 248, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 95, 70, .07);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(254, 253, 248, .95);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--emerald-800);
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--emerald-800);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 100px;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--emerald-700);
  background: var(--emerald-50);
}

.btn-nav {
  background: var(--emerald-800) !important;
  color: var(--white) !important;
}
.btn-nav:hover {
  background: var(--emerald-700) !important;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--emerald-800);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6, 78, 59, .5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-overlay-inner {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--cream-50);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.mobile-overlay.open .mobile-overlay-inner {
  transform: translateX(0);
}
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-300);
  transition: var(--transition);
}
.mobile-nav-link:hover {
  color: var(--emerald-700);
  padding-left: 8px;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--cream-50) 0%, var(--emerald-50) 50%, var(--cream-100) 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 600px 600px at 80% 20%, rgba(16, 185, 129, .08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 10% 80%, rgba(6, 95, 70, .06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 540px;
}

.hero-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--emerald-500);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--emerald-100);
  border-radius: 50%;
  z-index: -1;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--emerald-300, var(--cream-400));
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-indicator span {
  width: 3px;
  height: 8px;
  background: var(--emerald-600);
  border-radius: 100px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: .4; }
}

/* ─── About ─── */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  min-height: 640px;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
}
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--emerald-800);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.badge-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .8;
  margin-top: 4px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-300);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald-700);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ─── Menu ─── */
.menu {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--emerald-50) 100%);
}

.section-header {
  margin-bottom: 64px;
}
.section-header .section-title {
  margin-bottom: 16px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.menu-card-img {
  overflow: hidden;
  height: 220px;
}
.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
.menu-card:hover .menu-card-img img {
  transform: scale(1.05);
}

.menu-card-body {
  padding: 28px 32px 32px;
}
.menu-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.menu-card-body p {
  color: var(--text-muted);
  font-size: .925rem;
  line-height: 1.7;
}

/* ─── Quote Divider ─── */
.quote-divider {
  padding: 80px 0;
  background: var(--emerald-800);
  text-align: center;
}
.quote-divider blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--emerald-100);
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.4;
}
.quote-attr {
  font-size: .85rem;
  color: var(--emerald-500);
  letter-spacing: .05em;
}

/* ─── Gallery ─── */
.gallery {
  padding: 120px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item.wide {
  grid-column: span 8;
  height: 300px;
}
.gallery-item.tall {
  grid-column: span 4;
  height: 620px;
}
.gallery-item:not(.wide):not(.tall) {
  grid-column: span 4;
  height: 260px;
}

/* ─── Visit ─── */
.visit {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--emerald-50) 0%, var(--cream-50) 100%);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.visit-info .section-title {
  margin-bottom: 40px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.visit-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.visit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--emerald-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
}

.visit-detail strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.visit-detail p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.visit-detail a {
  color: var(--emerald-700);
  transition: var(--transition);
}
.visit-detail a:hover {
  color: var(--emerald-500);
  text-decoration: underline;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 480px;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
}

/* ─── Contact ─── */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-title {
  margin-bottom: 20px;
}
.contact-text > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-300);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--emerald-700);
  transition: var(--transition);
}
.contact-link:hover {
  color: var(--emerald-500);
  transform: translateX(4px);
}
.contact-link svg {
  color: var(--emerald-600);
}

/* Form */
.contact-form-wrapper {
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-300);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--cream-400);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200, var(--emerald-100));
  border-radius: var(--radius-sm);
  color: var(--emerald-800);
  font-size: .9rem;
  font-weight: 500;
  margin-top: 16px;
}
.form-success.show {
  display: flex;
}
.form-success svg {
  color: var(--emerald-600);
  min-width: 24px;
}

/* ─── Footer ─── */
.footer {
  background: var(--emerald-900);
  color: var(--emerald-100);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand .logo-mark {
  background: var(--white);
  color: var(--emerald-800);
}
.footer-brand p {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--emerald-500);
  max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--emerald-400);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  font-size: .9rem;
  color: var(--emerald-500);
  transition: var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer-bottom p {
  font-size: .8rem;
  color: var(--emerald-600);
  text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-container {
    gap: 40px;
  }
  .about-grid,
  .visit-grid,
  .contact-grid {
    gap: 48px;
  }
  .gallery-item.tall {
    height: 400px;
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-images {
    min-height: 420px;
    max-width: 480px;
    margin: 0 auto;
  }
  .about-img-secondary {
    right: -20px;
    bottom: -20px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item.wide { grid-column: span 2; height: 260px; }
  .gallery-item.tall { grid-column: span 1; height: 300px; }
  .gallery-item:not(.wide):not(.tall) { grid-column: span 1; height: 240px; }

  .visit-grid {
    grid-template-columns: 1fr;
  }
  .visit-map {
    height: 360px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  .hero-headline {
    font-size: clamp(1.75rem, 6vw, 2.4rem);
  }

  .about, .menu, .gallery, .visit, .contact {
    padding: 80px 0;
  }

  .about-stats {
    gap: 24px;
  }
  .stat-number {
    font-size: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
  }

  .about-images {
    min-height: 320px;
  }
  .about-badge {
    top: -12px;
    left: -12px;
    padding: 14px 18px;
  }
  .badge-number { font-size: 1.4rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item:not(.wide):not(.tall) {
    grid-column: span 1;
    height: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 1;
  }
}
