/* ==========================================================================
   Studio 53 Salon & Day Spa — Pembroke, MA
   ========================================================================== */

:root {
  --noir: #1B1116;
  --noir-2: #150D11;
  --fuchsia: #A62A63;
  --fuchsia-dark: #7E1F4C;
  --fuchsia-light: #D65C93;
  --ivory: #FBF6F2;
  --ivory-2: #F4E9EE;
  --blush: #F3E1E8;
  --gold: #C9A24B;
  --gold-dark: #A9843A;
  --text-dark: #2B1D24;
  --text-muted: #6B5A62;

  --font-display: 'Prata', serif;
  --font-body: 'Outfit', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.3px;
}

a { text-decoration: none; }

.section-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fuchsia);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--noir);
  margin-bottom: 1rem;
}

.section-pad { padding: 6rem 0; }

@media (max-width: 767.98px) {
  .section-pad { padding: 4rem 0; }
}

.btn-fuchsia {
  background: var(--fuchsia);
  border: 1px solid var(--fuchsia);
  color: var(--ivory);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.9rem 2.1rem;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn-fuchsia:hover {
  background: transparent;
  color: var(--fuchsia);
  border-color: var(--fuchsia);
  transform: translateY(-2px);
}

.btn-outline-light-custom {
  background: transparent;
  border: 1px solid rgba(251,246,242,0.7);
  color: var(--ivory);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.9rem 2.1rem;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.btn-outline-light-custom:hover {
  background: var(--ivory);
  color: var(--noir);
  border-color: var(--ivory);
}

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(27, 17, 22, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.6rem 0;
  transition: padding 0.25s ease;
}

.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex-shrink: 1;
}

.navbar-brand {
  min-width: 0;
  flex-shrink: 1;
  margin-right: 0.5rem;
}

.navbar-brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 420px) {
  .navbar-brand-text { font-size: 1rem; max-width: 150px; }
}

@media (max-width: 360px) {
  .navbar-brand-text { display: none; }
}

.navbar-logo-chip {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.navbar-logo-chip img {
  height: 40px;
  width: auto;
  display: block;
}

.navbar-brand-text {
  font-family: var(--font-display);
  color: var(--ivory);
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.navbar .nav-link {
  color: var(--ivory) !important;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--fuchsia-light) !important;
}

.navbar .btn-fuchsia {
  padding: 0.55rem 1.4rem;
  font-size: 0.78rem;
}

.navbar-toggler {
  border: none;
  color: var(--ivory);
}
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.webp') center 30%/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(20,10,15,0.55) 0%, rgba(20,10,15,0.18) 100%),
    linear-gradient(to bottom, rgba(20,10,15,0.55) 0%, rgba(20,10,15,0.35) 45%, rgba(20,10,15,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 3rem 2.5rem;
  margin: 0 auto;
  background: rgba(20,10,15,0.28);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 4px;
}

.hero-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin: 0.75rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  color: #fff;
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 1.5rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.9);
  animation: bounce 2.2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* ---------- About ---------- */
.about-section {
  background: var(--ivory);
}

.about-badge {
  display: inline-block;
  background: var(--blush);
  color: var(--fuchsia-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  margin-bottom: 0.75rem;
}

.about-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.25rem 0 1.5rem;
}

.credential-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.credential-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
}
.credential-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 9px;
  height: 9px;
  background: var(--fuchsia);
  border-radius: 50%;
}

/* ---------- Offers ---------- */
.offers-section {
  background: var(--noir);
  color: var(--ivory);
}

.offers-section .section-title { color: var(--ivory); }

.offer-card {
  background: var(--noir-2);
  border: 1px solid rgba(251,246,242,0.08);
  border-radius: 6px;
  padding: 2.2rem 1.6rem;
  text-align: center;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.offer-card:hover {
  transform: translateY(-6px);
  border-color: var(--fuchsia);
}

.offer-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(166,42,99,0.15);
  color: var(--fuchsia-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.2rem;
}

.offer-card h3 {
  font-size: 1.15rem;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}

.offer-card p {
  color: rgba(251,246,242,0.65);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Menu / Pricing ---------- */
.menu-section { background: var(--ivory-2); }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(43,29,36,0.18);
}
.price-row:last-child { border-bottom: none; }

.price-row .item-name {
  font-weight: 500;
  color: var(--text-dark);
}
.price-row .item-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.15rem;
}

.price-row .item-price {
  font-family: var(--font-display);
  color: var(--fuchsia-dark);
  font-size: 1.15rem;
  white-space: nowrap;
}

.menu-col-title {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

/* Spa services nav-pills */
#spaTabs {
  border: none;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
#spaTabs .nav-link {
  color: var(--text-dark);
  background: var(--ivory);
  border: 1px solid rgba(43,29,36,0.15);
  border-radius: 30px;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
#spaTabs .nav-link.active {
  background: var(--fuchsia);
  border-color: var(--fuchsia);
  color: #fff;
}

/* ---------- Gallery ---------- */
.gallery-section { background: var(--ivory); }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item .gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(27,17,22,0.85), rgba(27,17,22,0));
  color: var(--ivory);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 1.5rem 1rem 0.8rem;
}

.gallery-quote {
  background: linear-gradient(145deg, var(--fuchsia-dark), var(--noir));
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-quote-icon {
  color: var(--gold);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 1rem;
}
.gallery-quote-text {
  font-family: var(--font-display);
  color: var(--ivory);
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Team ---------- */
.team-section { background: var(--blush); }

.team-card {
  text-align: center;
  background: var(--ivory);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  height: 100%;
}

.team-monogram {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--noir);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.team-card h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.team-card .role { color: var(--fuchsia-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 0.9rem; }
.team-card .team-contact { color: var(--text-muted); font-size: 0.9rem; }
.team-card .team-contact a { color: var(--text-muted); }
.team-card .team-contact a:hover { color: var(--fuchsia); }

/* ---------- Location ---------- */
.location-section { background: var(--noir); color: var(--ivory); }
.location-section .section-title { color: var(--ivory); }
.location-section .section-eyebrow { color: var(--fuchsia-light); }

.info-block { margin-bottom: 2rem; }
.info-block h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.info-block p, .info-block a {
  color: rgba(251,246,242,0.8);
  margin-bottom: 0.3rem;
}
.info-block a:hover { color: var(--fuchsia-light); }

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(251,246,242,0.1);
  color: rgba(251,246,242,0.8);
  font-size: 0.95rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 600; color: var(--ivory); }

.map-frame {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(251,246,242,0.15);
  height: 100%;
  min-height: 360px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.payment-icons {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.payment-icons span {
  background: rgba(251,246,242,0.08);
  border: 1px solid rgba(251,246,242,0.15);
  color: rgba(251,246,242,0.75);
  font-size: 0.78rem;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--noir-2);
  color: rgba(251,246,242,0.6);
  padding: 3.5rem 0 1.5rem;
}

.footer-logo-chip {
  display: inline-flex;
  margin-bottom: 1.2rem;
}
.footer-logo-chip img { height: 42px; width: auto; display: block; }

.site-footer h5 {
  font-family: var(--font-body);
  color: var(--ivory);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.6rem; }
.site-footer a { color: rgba(251,246,242,0.6); }
.site-footer a:hover { color: var(--fuchsia-light); }

.footer-bottom {
  border-top: 1px solid rgba(251,246,242,0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: space-between;
  align-items: center;
}

.powered-by {
  color: rgba(251,246,242,0.6);
}
.powered-by a {
  color: var(--gold);
  font-weight: 600;
}
.powered-by a:hover { color: var(--fuchsia-light); }

/* ---------- Utility ---------- */
.text-fuchsia { color: var(--fuchsia); }
