/* ============================================================
   SONORA HAIRAPY — SHARED STYLESHEET
   sonorahairapy.com
   Google Fonts used as placeholders — swap for Adobe Fonts
   ============================================================ */

/* === CSS VARIABLES === */
:root {
  --teal:          #1BBFB8;
  --teal-dark:     #0D9490;
  --teal-deeper:   #0A6E6B;
  --teal-grad:     linear-gradient(135deg, #1BBFB8 0%, #0D9490 100%);
  --cream:         #F8F3E8;
  --cream-dark:    #EDE8D5;
  --sunflower:     #E8C140;
  --sunflower-dk:  #C9A020;
  --charcoal:      #2A2A2A;
  --text-mid:      #555555;
  --text-light:    #888888;
  --white:         #FFFFFF;
  --shadow-sm:     0 2px 10px rgba(0,0,0,0.09);
  --shadow-md:     0 4px 22px rgba(0,0,0,0.13);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.18);
  --radius-sm:     6px;
  --radius-md:     14px;
  --radius-lg:     28px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
  line-height: 1.25;
}
h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }

.script { font-family: 'Dancing Script', cursive; }

/* === NAVIGATION === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--teal-grad);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 70px;
}

.nav-logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.25rem;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { border-color: var(--sunflower); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--teal-grad);
  color: var(--white);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--teal-dark);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--teal);
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-sunflower {
  display: inline-block;
  background: var(--sunflower);
  color: var(--charcoal);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-sunflower:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* === HERO (HOME PAGE) === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  background:
    linear-gradient(rgba(248,243,232,0.62), rgba(248,243,232,0.78)),
    url('images/sunflower-bg.jpg') center/cover no-repeat;
  background-color: var(--cream);
}

.hero-content { max-width: 780px; position: relative; z-index: 1; }

.hero-eyebrow {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.hero h1 { color: var(--charcoal); margin-bottom: 0.75rem; }

.floral-divider {
  font-size: 1.4rem;
  color: var(--sunflower-dk);
  letter-spacing: 0.6rem;
  margin: 0.75rem 0 1.25rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto 1rem;
  line-height: 1.75;
}

.hero-address {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deeper);
  margin-bottom: 2.25rem;
}

/* === PAGE BANNER (interior pages) === */
.page-banner {
  background: var(--teal-grad);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '✦ ❀ ✦';
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.6rem;
}

.page-banner h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-banner p { color: rgba(255,255,255,0.82); font-size: 1.05rem; }

/* === SECTIONS === */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-alt { background-color: var(--cream-dark); }
.section-teal { background: var(--teal-grad); color: var(--white); }
.section-white { background-color: var(--white); }

.section-title { text-align: center; margin-bottom: 0.5rem; }
.section-eyebrow {
  text-align: center;
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  color: var(--teal-dark);
  margin-bottom: 0.25rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-mid);
  margin-bottom: 3rem;
  font-size: 1.02rem;
}
.section-teal .section-title,
.section-teal .section-subtitle,
.section-teal .section-eyebrow { color: var(--white); }

/* === FEATURE CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.75rem;
  border-top: 4px solid var(--teal);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.card h3 { color: var(--teal-dark); margin-bottom: 0.65rem; }
.card p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.68; }

/* === SERVICES PAGE === */
.services-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}

.service-category { margin-bottom: 0.5rem; }

.service-category-title {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--sunflower);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--cream-dark);
  gap: 1rem;
}

.service-info { flex: 1; }
.service-name { font-weight: 700; color: var(--charcoal); font-size: 0.95rem; }
.service-desc { font-size: 0.84rem; color: var(--text-mid); margin-top: 0.2rem; line-height: 1.5; }

.service-price {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--teal-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.services-note {
  text-align: center;
  color: var(--text-mid);
  font-size: 0.88rem;
  margin-top: 2.5rem;
  font-style: italic;
}

/* === GALLERY PAGE === */
.gallery-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}
.gallery-intro p { color: var(--text-mid); font-size: 1rem; line-height: 1.75; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}

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

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.82rem;
  text-align: center;
  padding: 1rem;
  gap: 0.5rem;
}

.gallery-placeholder span { font-size: 1.75rem; }

/* === COMMISSION BOX === */
.commission-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--sunflower);
  max-width: 680px;
  margin: 3rem auto 0;
}
.commission-box h3 { font-family: 'Cinzel', serif; color: var(--teal-dark); margin-bottom: 1rem; font-size: 1.35rem; }
.commission-box p { color: var(--text-mid); margin-bottom: 1.5rem; line-height: 1.75; }
.commission-email {
  display: inline-block;
  font-family: 'Cinzel', serif;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--sunflower);
  padding-bottom: 2px;
}

/* === OUR STORY PAGE === */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--cream-dark);
  box-shadow: var(--shadow-md);
}

.story-image img { width: 100%; height: 100%; object-fit: cover; }

.story-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  gap: 0.75rem;
  font-size: 0.88rem;
}

.story-body h2 { margin-bottom: 1rem; }
.story-body p { color: var(--text-mid); margin-bottom: 1.25rem; font-size: 0.98rem; line-height: 1.8; }

.story-values {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.story-value {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.story-value-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.story-value h4 { font-family: 'Cinzel', serif; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 0.5rem; }
.story-value p { font-size: 0.87rem; color: var(--text-mid); line-height: 1.6; }

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-block { margin-bottom: 2rem; }
.contact-block-title {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--sunflower);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.contact-item { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.2rem; margin-top: 0.1rem; flex-shrink: 0; }
.contact-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.15rem;
}
.contact-value { color: var(--charcoal); font-size: 0.95rem; line-height: 1.55; }
.contact-placeholder { color: var(--text-light); font-style: italic; font-size: 0.9rem; }

.map-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  gap: 0.5rem;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

/* === BOOKING SECTION === */
.booking-section {
  background: var(--teal-grad);
  padding: 5rem 2rem;
  text-align: center;
  color: var(--white);
}
.booking-section h2 { color: var(--white); margin-bottom: 0.5rem; }
.booking-section .section-subtitle { color: rgba(255,255,255,0.82); margin-bottom: 2rem; }

.booking-embed-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 2px dashed rgba(255,255,255,0.38);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.booking-note { color: rgba(255,255,255,0.75); font-size: 0.85rem; }

/* === FOOTER === */
.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
}

.footer-inner { max-width: 900px; margin: 0 auto; }

.footer-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 1.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  list-style: none;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--sunflower); }

.footer-social { margin-bottom: 1.75rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--white);
  margin: 0 0.35rem;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--teal); }

.footer-address {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .services-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-values { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: var(--teal-dark);
    padding: 0.5rem 0 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 0.8rem 2rem; border-bottom: none; }
  .nav-toggle { display: flex; }
  .section { padding: 3.5rem 1.25rem; }
  .page-banner { padding: 3rem 1.25rem; }
  .card-grid { grid-template-columns: 1fr; }
  .hero { min-height: 75vh; }
  .commission-box { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .story-values { grid-template-columns: 1fr; }
  .booking-embed-wrapper { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
