/* ============================================================
   UP IN THE HAIR — style.css
   Palette: cream / blush / espresso / gold / rose
   Fonts: Fraunces (display) + DM Sans (body)
   ============================================================ */

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --cream:       #FAF8F5;
  --blush:       #F2E7E0;
  --espresso:    #2B1F1B;
  --gold:        #C4975A;
  --gold-dark:   #A87C45;
  --rose:        #C4817A;
  --mid:         #7A6057;
  --white:       #FFFFFF;
  --shadow-sm:   0 4px 16px rgba(43,31,27,0.08);
  --shadow-md:   0 8px 32px rgba(43,31,27,0.12);
  --shadow-lg:   0 16px 56px rgba(43,31,27,0.16);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--espresso);
  background-color: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---- UTILITY ---- */
.bg-cream    { background-color: var(--cream); }
.bg-blush    { background-color: var(--blush); }
.bg-espresso { background-color: var(--espresso); }

.py-section { padding-top: 6rem; padding-bottom: 6rem; }

.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-heading {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--espresso);
}

/* ---- BUTTONS ---- */
.btn-book {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  padding: 0.5rem 1.4rem;
  border-radius: 2px;
  transition: background 0.22s, color 0.22s;
}
.btn-book:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }

.btn-hero-primary {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  padding: 0.85rem 2.4rem;
  border-radius: 2px;
  transition: background 0.22s, border-color 0.22s;
}
.btn-hero-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }

.btn-hero-outline {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.65);
  padding: 0.85rem 2.4rem;
  border-radius: 2px;
  transition: all 0.22s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.14); border-color: var(--white); color: var(--white); }

.btn-espresso {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--espresso);
  color: var(--white);
  border: 2px solid var(--espresso);
  padding: 0.7rem 2rem;
  border-radius: 2px;
  transition: all 0.22s;
}
.btn-espresso:hover { background: transparent; color: var(--espresso); }

.btn-outline-espresso {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--espresso);
  border: 2px solid var(--espresso);
  padding: 0.7rem 2rem;
  border-radius: 2px;
  transition: all 0.22s;
}
.btn-outline-espresso:hover { background: var(--espresso); color: var(--white); }

.btn-gold-solid {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  padding: 0.7rem 2rem;
  border-radius: 2px;
  transition: all 0.22s;
}
.btn-gold-solid:hover { background: transparent; color: var(--gold); }

/* ---- NAVBAR ---- */
#mainNav {
  background-color: rgba(250,248,245,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

#mainNav.scrolled {
  border-bottom-color: rgba(43,31,27,0.09);
  box-shadow: 0 2px 20px rgba(43,31,27,0.07);
}

.brand-serif {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--espresso) !important;
  letter-spacing: -0.01em;
}

#mainNav .nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 0.5rem 0.9rem;
  transition: color 0.2s;
}
#mainNav .nav-link:hover, #mainNav .nav-link:focus { color: var(--espresso); }

.navbar-toggler { border: none; padding: 0.4rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2843,31,27,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 1rem;
}

.hero-content {
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 3px;
  padding: 3rem 4rem;
  max-width: 680px;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  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 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 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 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0;
  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);
}

/* ---- HIGHLIGHTS STRIP ---- */
.highlights-strip { }

.highlight-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.25rem;
  min-height: 165px;
}

.highlight-tile i {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
  display: block;
}

.tile-stat {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.tile-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.80;
  margin-bottom: 0;
}

.tile-espresso { background-color: var(--espresso); color: var(--white); }
.tile-gold     { background-color: var(--gold);     color: var(--white); }
.tile-rose     { background-color: var(--rose);     color: var(--white); }
.tile-blush    { background-color: var(--blush);    color: var(--espresso); }
.tile-blush i, .tile-blush .tile-stat, .tile-blush .tile-label { color: var(--espresso); }

/* ---- ABOUT ---- */
.about-img-wrap {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  transition: transform 0.45s ease;
}
.about-img-wrap:hover { transform: rotate(0deg); }

.lead-body {
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--mid);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.body-text { color: var(--mid); font-size: 0.95rem; }

/* ---- SERVICES ---- */
.services-tabs {
  gap: 0.4rem;
  flex-wrap: wrap;
  border: none;
}

.services-tabs .nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso);
  background: transparent;
  border: 1px solid rgba(43,31,27,0.28) !important;
  border-radius: 2px !important;
  padding: 0.6rem 1.5rem;
  transition: all 0.2s;
}
.services-tabs .nav-link:hover { background: var(--blush); }
.services-tabs .nav-link.active {
  background: var(--espresso) !important;
  color: var(--white) !important;
  border-color: var(--espresso) !important;
}

.service-item {
  display: flex;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(43,31,27,0.08);
}

.service-name {
  font-size: 0.93rem;
  color: var(--espresso);
  flex-shrink: 0;
  line-height: 1.4;
}

.service-leader {
  flex: 1;
  border-bottom: 1px dotted rgba(43,31,27,0.22);
  margin: 0 0.75rem;
  align-self: center;
}

.service-price {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--gold);
  flex-shrink: 0;
  white-space: nowrap;
}
.service-price.free { color: var(--rose); }

.service-note {
  font-size: 0.78rem;
  color: var(--mid);
  font-style: italic;
  margin-top: -0.2rem;
  margin-bottom: 0.4rem;
}

.services-intro {
  text-align: center;
  font-style: italic;
  color: var(--mid);
  font-size: 0.92rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* ---- TEAM ---- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 calc(20% - 1.5rem);
  min-width: 190px;
  max-width: 240px;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-photo-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo { transform: scale(1.05); }

.team-info { padding: 1.2rem; }

.team-name {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: var(--espresso);
}

.team-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.team-bio {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ---- GALLERY ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 3 / 4;
  background: var(--blush);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ---- TANNING ---- */
.tanning-section {
  background-color: var(--espresso);
}

.tanning-img-wrap {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  max-height: 560px;
}

.tanning-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.eyebrow-gold  { color: var(--gold); }
.heading-white { color: var(--white); }

.tanning-price {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  line-height: 1;
}

.tanning-body {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.tanning-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255,255,255,0.07);
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1rem;
  border-radius: 0 3px 3px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.80);
  margin-top: 1.25rem;
}
.tanning-tip i { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.tanning-tip strong { color: var(--white); }

/* ---- CONTACT ---- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-block > i {
  font-size: 1.15rem;
  color: var(--gold);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.2rem;
}

.contact-block p {
  font-size: 0.93rem;
  color: var(--espresso);
  margin-bottom: 0;
}

.contact-block a { color: var(--espresso); transition: color 0.2s; }
.contact-block a:hover { color: var(--gold); }
.contact-note { font-size: 0.77rem; color: var(--mid); font-style: italic; margin-top: 0.2rem; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}
.hours-table td { padding: 0.22rem 0.5rem 0.22rem 0; vertical-align: top; }
.hours-table td:first-child { color: var(--mid); font-weight: 600; min-width: 110px; }
.hours-table td:last-child { color: var(--espresso); }
.hours-table td.closed { color: var(--mid); font-style: italic; }

.map-wrap {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { display: block; }

/* ---- FOOTER ---- */
.site-footer {
  background-color: var(--espresso);
  padding: 4.5rem 0 2rem;
  color: rgba(255,255,255,0.6);
}

.footer-brand {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.footer-addr {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
  line-height: 1.6;
}

.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.60);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.60);
  transition: color 0.2s;
}
.social-link:hover { color: var(--white); }
.social-link i { font-size: 1.05rem; }

.footer-divider { border-color: rgba(255,255,255,0.10); margin: 2.5rem 0 1.5rem; }

.footer-bottom { }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-bottom: 0; }
.powered-by { font-size: 0.78rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.powered-by:hover { color: var(--white); }
.powered-by strong { color: var(--gold); }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .py-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .hero-content { padding: 2.25rem 2.5rem; }

  .team-card {
    flex: 0 0 calc(33.33% - 1.5rem);
    max-width: none;
  }
}

@media (max-width: 767px) {
  .py-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hero-content { padding: 2rem 1.75rem; }

  .highlight-tile { min-height: 140px; padding: 1.75rem 0.75rem; }
  .highlight-tile i { font-size: 1.4rem; }
  .tile-stat { font-size: 1.05rem; }

  .team-card {
    flex: 0 0 calc(50% - 1.5rem);
    min-width: 160px;
  }

  .gallery-grid { gap: 0.5rem; }

  .about-img-wrap { transform: none; }
  .about-img-wrap:hover { transform: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .hero-content { padding: 1.75rem 1.25rem; }

  .services-tabs { justify-content: center; }
  .services-tabs .nav-link { font-size: 0.7rem; padding: 0.5rem 1rem; }

  .team-card {
    flex: 0 0 calc(100% - 1rem);
    max-width: 360px;
  }

  .tanning-img-wrap { max-height: 360px; }
}
