/* ===== NARY Beauty Center — Custom Styles ===== */

:root {
  --nary-cream: #faefe3;
  --nary-beige: #e9dcc9;
  --nary-taupe: #cbb89a;
  --nary-brown: #8a6f52;
  --nary-dark: #3c3128;
  --nary-olive: #6e6a52;
  --nary-gold: #b8925a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--nary-cream);
  color: var(--nary-dark);
}

h1, h2, h3, h4, .font-display {
  font-family: 'Playfair Display', serif;
}

/* Logo wordmark fallback styling */
.nary-wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Logo fade mask
   ---------------
   The logo source file is a JPEG (lossy compression), so its "flat"
   background always has tiny per-pixel color variation baked in by
   compression — this creates a visible hard edge/seam next to a
   mathematically perfect CSS background color, no matter how closely
   the hex values are matched. A soft edge fade (mask-image gradient)
   removes the hard boundary entirely so the eye has nothing to catch
   on, which is the standard fix for this exact problem. */
.logo-fade {
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 68% 78% at center, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 68% 78% at center, #000 62%, transparent 100%);
}

/* Section reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40,32,22,0.55) 0%, rgba(40,32,22,0.65) 55%, rgba(40,32,22,0.85) 100%);
}

/* Arch shape used for decorative frames */
.arch-frame {
  border-radius: 50% 50% 0 0 / 35% 35% 0 0;
  overflow: hidden;
}

/* Navbar */
.site-header {
  /* Solid, fully opaque background — intentionally no blur/opacity here
     so it renders as an exact, seamless color match with the logo's
     own background patch (no visible seam). */
}

/* Nav link underline animation */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background-color: var(--nary-gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Service tab buttons */
.service-tab {
  transition: all 0.3s ease;
}
.service-tab.active {
  background-color: var(--nary-dark);
  color: var(--nary-cream);
}

/* Price card */
.price-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.price-card:hover {
  box-shadow: 0 12px 30px rgba(60, 49, 40, 0.12);
  transform: translateY(-3px);
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(60,49,40,0.15);
  font-size: 0.95rem;
}
.price-row:last-child {
  border-bottom: none;
}
.price-row span:last-child {
  font-weight: 600;
  color: var(--nary-brown);
  white-space: nowrap;
}

/* Gallery */
.gallery-item {
  overflow: hidden;
  position: relative;
  border-radius: 0.75rem;
}
.gallery-item img {
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}

/* Testimonial stars */
.stars {
  color: var(--nary-gold);
  letter-spacing: 2px;
}

/* Booking form inputs */
.nary-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(60,49,40,0.25);
  border-radius: 0.6rem;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
  color: var(--nary-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nary-input:focus {
  border-color: var(--nary-gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 90, 0.15);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--nary-dark);
  color: var(--nary-cream);
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
  background-color: var(--nary-brown);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid var(--nary-cream);
  color: var(--nary-cream);
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background-color: var(--nary-cream);
  color: var(--nary-dark);
}

/* Toast notification */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}
#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile menu */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
#mobile-menu.open {
  max-height: 500px;
}

::selection {
  background: var(--nary-taupe);
}

.section-eyebrow {
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--nary-brown);
  font-weight: 600;
}
