/* ============================================
   PALMYRA'S HAIR AND DAY SPA
   Shared Stylesheet
   ============================================ */

/* Fallback font size calibration — prevents layout shift during font swap */
@font-face {
  font-family: 'Cormorant Garamond Fallback';
  src: local('Georgia');
  size-adjust: 92%;
  ascent-override: 94%;
  descent-override: 24%;
  line-gap-override: 0%;
}


:root {
  --gold:        #c9a96e;
  --gold-light:  #e8d5b0;
  --gold-dark:   #9a7a4a;
  --cream:       #fdf8f0;
  --cream-dark:  #f5eddb;
  --warm-white:  #fffef9;
  --charcoal:    #2c2420;
  --brown:       #5a3e2b;
  --muted:       #8a7060;
  --border:      #e2d5bf;

  --font-serif:  'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  --font-sans:   'Jost', sans-serif;

  --shadow-soft: 0 4px 24px rgba(90,62,43,0.08);
  --shadow-med:  0 8px 40px rgba(90,62,43,0.14);
  --radius:      4px;
  --transition:  0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 300;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:active { transform: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a5e1a;
  display: block;
  margin-bottom: 0.75rem;
}

.italic { font-style: italic; }
.serif  { font-family: var(--font-serif); }

/* ── LAYOUT ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 6rem 0;
}
.section-sm {
  padding: 3.5rem 0;
}
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }

/* ── DIVIDER ── */
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}
.divider-left {
  margin-left: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: #b8892a;
  color: var(--warm-white);
  box-shadow: 0 2px 8px rgba(138,103,42,0.25);
}
.btn-gold:hover {
  background: #8a6720;
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.btn-outline {
  background: transparent;
  color: #7a5a20;
  border: 2px solid #b8892a;
  font-weight: 600;
}
.btn-outline:hover {
  background: #b8892a;
  color: var(--warm-white);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--warm-white);
}
.btn-dark:hover {
  background: var(--brown);
  transform: translateY(-1px);
}

/* ── NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253,248,240,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  -webkit-font-smoothing: antialiased;
}
.site-nav.scrolled {
  box-shadow: var(--shadow-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 80px;
}
.nav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  pointer-events: none;
  display: block;
  min-width: max-content;
}
.nav-logo-text em {
  font-style: normal;
  color: var(--gold);
}
.nav-logo-link { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.nav-links a:active { transform: none; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--charcoal);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-book {
  font-size: 0.72rem !important;
  padding: 0.55rem 1.4rem;
  background: #b8892a;
  color: var(--warm-white) !important;
  border-radius: var(--radius);
  letter-spacing: 0.15em !important;
  box-shadow: 0 2px 8px rgba(138,103,42,0.2);
}
.nav-book:hover {
  background: #8a6720 !important;
  color: var(--warm-white) !important;
  transform: translateY(-1px);
}
.nav-book::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 1.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
  margin-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(253,248,240,0.72) 0%, rgba(253,248,240,0.45) 60%, rgba(201,169,110,0.15) 100%),
    url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1600&q=80') center/cover no-repeat;
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.hero h1 em {
  font-style: italic;
  color: #8a5e1a;
}
.hero p {
  font-size: 1.1rem;
  color: #3a2a1e;
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.8;
}
.hero .eyebrow {
  color: #8a5e1a;
  font-weight: 600;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── SERVICE ICONS (La Rousse style) ── */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2.5rem;
  text-align: center;
}
.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: transform var(--transition);
  text-decoration: none;
  color: var(--charcoal);
}
.icon-card:hover { transform: translateY(-4px); }
.icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  overflow: hidden;
}
.icon-card:hover .icon-circle {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,169,110,0.12);
}
.icon-circle img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}
.icon-circle svg {
  width: 48px;
  height: 48px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
}
.icon-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── CARDS ── */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-med);
  transform: translateY(-2px);
}
.card-body { padding: 1.8rem; }

/* ── SERVICE TABLE ── */
.service-table {
  width: 100%;
  border-collapse: collapse;
}
.service-table th {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.75rem 0;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.service-table td {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.service-table tr:last-child td { border-bottom: none; }
.service-table .price {
  text-align: right;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold-dark);
  white-space: nowrap;
}
.service-note {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.3rem;
}

/* ── GALLERY GRID ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity var(--transition);
}
.gallery-grid img:hover { opacity: 0.88; }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .tall img { height: 576px; }

/* ── STYLIST CARDS ── */
.stylist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.stylist-card { text-align: center; }
.stylist-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(20%);
  transition: filter var(--transition);
}
.stylist-card:hover img { filter: grayscale(0%); }
.stylist-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 1rem 0 0.3rem;
}
.stylist-title {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── QUOTE / BANNER ── */
.quote-band {
  background: var(--charcoal);
  color: var(--cream);
  padding: 5rem 0;
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}
.quote-band cite {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 1.5rem;
  font-style: normal;
}

/* ── HOURS / INFO BOX ── */
.info-box {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { color: var(--muted); font-weight: 400; }
.hours-list .time { font-weight: 500; }

/* ── GOLD BAND ── */
.gold-band {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--warm-white);
  padding: 5rem 0;
  text-align: center;
}
.gold-band h2 { color: var(--warm-white); }
.gold-band p {
  color: rgba(255,254,249,0.85);
  max-width: 500px;
  margin: 1rem auto 2rem;
}

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0 4rem;
  margin-top: 80px;
  text-align: center;
}
.page-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 1rem auto 0;
}

/* ── TABS ── */
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 0.85rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: -1px;
}
.tab-btn.active, .tab-btn:hover {
  color: var(--charcoal);
  border-bottom-color: var(--gold);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── TWO COLUMNS ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--charcoal);
  color: var(--cream-dark);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--warm-white);
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--gold-light); }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--cream); }
.footer-col p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── CONTACT FORM ── */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--charcoal);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { height: 140px; resize: vertical; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeUp 0.7s ease both;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .tall { grid-row: span 1; }
  .gallery-grid .tall img { height: 280px; }
}
@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .icon-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .icon-circle { width: 90px; height: 90px; }
  .icon-circle svg { width: 38px; height: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .tab-nav { gap: 0; }
  .tab-btn { padding: 0.7rem 1rem; font-size: 0.72rem; }
}
