/* ==========================================================================
   BAYSIDE NAIL LOUNGE — LUXURY BRAND DESIGN SYSTEM
   Art Direction: Modern Luxury × Editorial Beauty × Premium Hospitality
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Custom Properties & Color Tokens
   -------------------------------------------------------------------------- */
:root {
  --obsidian: #0E0E0E;
  --charcoal: #171717;
  --ivory: #F5F1E9;
  --warm-white: #FAF8F3;
  --champagne-gold: #B89A62;
  --soft-gold: #C8AE78;
  --gold-tint: rgba(184, 154, 98, 0.12);
  --gold-border: rgba(184, 154, 98, 0.28);
  --taupe: #9B9186;
  --dark-brown: #302A25;
  --body-text: #292723;
  --body-muted: #6B665E;
  --white: #FFFFFF;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Layout */
  --container-max: 1360px;
  --container-narrow: 1040px;
  --section-pad-y: clamp(70px, 9vw, 130px);
  --section-pad-x: clamp(20px, 4vw, 60px);

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-in-out;
}

/* --------------------------------------------------------------------------
   02. Global Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--warm-white);
  color: var(--body-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1.025rem;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   03. Luxury Typography Rhythm
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: inherit;
}

h1 { font-size: clamp(2.75rem, 5.5vw, 4.75rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
h4 { font-size: 1.25rem; font-family: var(--font-sans); font-weight: 500; letter-spacing: 0.04em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--champagne-gold);
  margin-bottom: 1.25rem;
}

.eyebrow-dark {
  color: var(--soft-gold);
}

p.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  color: var(--body-muted);
}

/* Gold Accents & Dividers */
.gold-line {
  width: 44px;
  height: 1px;
  background-color: var(--champagne-gold);
  margin: 1.5rem 0;
}

.gold-line-center {
  margin: 1.5rem auto;
}

/* --------------------------------------------------------------------------
   04. Layout System
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

/* Background Environments */
.bg-warm-white { background-color: var(--warm-white); color: var(--body-text); }
.bg-ivory { background-color: var(--ivory); color: var(--body-text); }
.bg-obsidian { background-color: var(--obsidian); color: var(--warm-white); }
.bg-charcoal { background-color: var(--charcoal); color: var(--warm-white); }

/* --------------------------------------------------------------------------
   05. Architectural Elements & Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  text-align: center;
}

.btn-gold {
  background-color: var(--champagne-gold);
  color: var(--obsidian);
  border-color: var(--champagne-gold);
}

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

.btn-outline-gold {
  background-color: transparent;
  color: var(--soft-gold);
  border-color: var(--gold-border);
}

.btn-outline-gold:hover {
  background-color: var(--champagne-gold);
  color: var(--obsidian);
  border-color: var(--champagne-gold);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--obsidian);
  border-color: rgba(14, 14, 14, 0.35);
}

.btn-outline-dark:hover {
  background-color: var(--obsidian);
  color: var(--warm-white);
  border-color: var(--obsidian);
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--champagne-gold);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gold-border);
}

.btn-text-link:hover {
  color: var(--soft-gold);
  border-bottom-color: var(--soft-gold);
  letter-spacing: 0.22em;
}

/* --------------------------------------------------------------------------
   06. Global Sticky Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.4rem var(--section-pad-x);
  transition: background-color 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  background-color: rgba(14, 14, 14, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.9rem var(--section-pad-x);
  border-bottom: 1px solid var(--gold-border);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  height: 44px;
}

.site-logo img {
  height: 100%;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--warm-white);
  opacity: 0.85;
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--soft-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--champagne-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1010;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--warm-white);
  position: absolute;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle span:nth-child(1) { top: 3px; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 19px; }

.mobile-toggle.is-active span:nth-child(1) { top: 11px; transform: rotate(45deg); background-color: var(--champagne-gold); }
.mobile-toggle.is-active span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-active span:nth-child(3) { top: 11px; transform: rotate(-45deg); background-color: var(--champagne-gold); }

/* --------------------------------------------------------------------------
   07. Hero Modules
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--section-pad-x) 60px;
  color: var(--warm-white);
  background-color: var(--obsidian);
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 3s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 14, 0.72) 0%,
    rgba(14, 14, 14, 0.45) 50%,
    rgba(14, 14, 14, 0.88) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  margin: 0.6rem 0 1.5rem;
  font-weight: 300;
}

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

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250, 248, 243, 0.88);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.hero-btn-group {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Banner Hero (Subpages) */
.page-hero {
  padding: 180px var(--section-pad-x) 90px;
  background-color: var(--obsidian);
  color: var(--warm-white);
  text-align: center;
  position: relative;
}

.page-hero-title {
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   08. Editorial Split & Content Sections
   -------------------------------------------------------------------------- */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.editorial-split.reversed {
  direction: rtl;
}

.editorial-split.reversed > * {
  direction: ltr;
}

.editorial-img-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.editorial-img-frame img {
  width: 100%;
  height: 520px;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-img-frame:hover img {
  transform: scale(1.03);
}

.editorial-caption {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* Editorial Arch Image Frame */
.arch-frame {
  border-top-left-radius: 180px;
  border-top-right-radius: 180px;
  border: 1px solid var(--gold-border);
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.03);
}

.arch-frame img {
  border-top-left-radius: 172px;
  border-top-right-radius: 172px;
}

/* --------------------------------------------------------------------------
   09. Signature Services Showcase
   -------------------------------------------------------------------------- */
.service-feature-block {
  padding: clamp(50px, 6vw, 90px) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.bg-obsidian .service-feature-block {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--champagne-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.service-items-list {
  margin: 1.8rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.service-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed rgba(184, 154, 98, 0.25);
  padding-bottom: 0.4rem;
}

.service-item-name {
  font-weight: 500;
  font-size: 1.05rem;
}

.service-item-price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--champagne-gold);
}

.price-placeholder-note {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--taupe);
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   10. Editorial Interior Gallery Grid
   -------------------------------------------------------------------------- */
.asymmetric-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  background-color: var(--charcoal);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 14, 14, 0.85) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  transition: opacity 0.35s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-title {
  color: var(--warm-white);
  font-size: 1.25rem;
  font-family: var(--font-serif);
}

.gallery-card-sub {
  color: var(--soft-gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* Staggered Grid Positions */
.col-span-7 { grid-column: span 7; height: 480px; }
.col-span-5 { grid-column: span 5; height: 480px; }
.col-span-4 { grid-column: span 4; height: 400px; }
.col-span-8 { grid-column: span 8; height: 400px; }
.col-span-6 { grid-column: span 6; height: 440px; }

/* --------------------------------------------------------------------------
   11. Visit & Information Grid
   -------------------------------------------------------------------------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.info-card {
  background-color: var(--ivory);
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid var(--gold-border);
}

.info-block {
  margin-bottom: 2rem;
}

.info-block:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--champagne-gold);
  margin-bottom: 0.4rem;
}

.info-value {
  font-size: 1.1rem;
  color: var(--body-text);
  line-height: 1.6;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background-color: #E7E3DC;
  border: 1px solid var(--gold-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder-icon {
  font-size: 2.2rem;
  color: var(--champagne-gold);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   12. Minimal Contact Form Demo
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
  color: var(--body-text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background-color: var(--white);
  border: 1px solid #D8D2C7;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--body-text);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--champagne-gold);
  box-shadow: 0 0 0 2px var(--gold-tint);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-notice {
  display: none;
  padding: 1rem 1.5rem;
  background-color: #E8EFE8;
  border-left: 3px solid #4A7C59;
  color: #2D5037;
  font-size: 0.9rem;
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   13. Global Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--obsidian);
  color: var(--warm-white);
  padding: clamp(60px, 8vw, 100px) 0 40px;
  border-top: 1px solid var(--gold-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: var(--taupe);
  font-size: 0.92rem;
  margin: 1.2rem 0 1.8rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--soft-gold);
  margin-bottom: 1.4rem;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: rgba(250, 248, 243, 0.75);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.footer-nav a:hover {
  color: var(--soft-gold);
  padding-left: 4px;
}

.footer-address {
  font-style: normal;
  color: rgba(250, 248, 243, 0.75);
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 0.78rem;
  color: var(--taupe);
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   14. Lightbox Modal
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 14, 14, 0.96);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--gold-border);
}

.lightbox-caption {
  color: var(--warm-white);
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  background: none;
  border: none;
  color: var(--warm-white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--champagne-gold);
}

/* --------------------------------------------------------------------------
   15. Scroll Reveal Animation Classes
   -------------------------------------------------------------------------- */
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --------------------------------------------------------------------------
   16. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .asymmetric-gallery {
    grid-template-columns: repeat(6, 1fr);
  }
  .col-span-7, .col-span-5, .col-span-8, .col-span-4, .col-span-6 {
    grid-column: span 3;
    height: 340px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .editorial-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .editorial-split.reversed {
    direction: ltr;
  }
  .visit-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile Navigation Drawer */
  .mobile-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background-color: var(--obsidian);
    border-left: 1px solid var(--gold-border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1005;
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  .nav-link {
    font-size: 1.1rem;
  }
  .header-cta {
    display: none;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad-y: 60px;
    --section-pad-x: 20px;
  }
  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-btn-group .btn {
    width: 100%;
  }
  .col-span-7, .col-span-5, .col-span-8, .col-span-4, .col-span-6 {
    grid-column: span 6;
    height: 280px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
