/*
Theme Name: As You Are Suite Salon
Theme URI: https://asyouaresuitesalon.com
Author: Built for Amanda
Description: A boutique, single-page theme for As You Are Suite Salon. All content is editable from Appearance → Customize — no code needed.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: as-you-are
Tags: one-page, salon, custom-colors, custom-logo, custom-menu
*/

/* ---------- Brand tokens (pulled from the logo) ---------- */
:root {
  --cream:        #FAF4EB;
  --cream-deep:   #F1E8D8;
  --coral:        #E8956F;
  --coral-soft:   #F4B89C;
  --coral-deep:   #D86B4C;
  --sage:         #9CAF88;
  --forest:       #2D4F3A;
  --forest-deep:  #1F3A29;
  --gold:         #C8965A;
  --gold-soft:    #E0B884;
  --ink:          #2D3A33;
  --muted:        #6B7568;

  --serif:  'Cormorant Garamond', Georgia, serif;
  --script: 'Dancing Script', cursive;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 4px 12px rgba(45, 79, 58, 0.08);
  --shadow-md: 0 10px 30px rgba(45, 79, 58, 0.12);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--forest); }

h1, h2, h3 { font-family: var(--serif); color: var(--forest); font-weight: 600; line-height: 1.2; }
.script { font-family: var(--script); color: var(--coral-deep); font-weight: 600; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
  text-align: center;
}
.btn-primary {
  background: var(--coral-deep);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-ghost:hover {
  background: var(--forest);
  color: var(--cream);
}

/* ---------- Nav ---------- */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 244, 235, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 79, 58, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--coral-deep); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  margin: 5px 0;
  transition: .3s;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-sm);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(244, 184, 156, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(156, 175, 136, 0.2) 0%, transparent 50%),
    var(--cream);
  overflow: hidden;
}
.hero-logo {
  width: 280px;
  height: 280px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow-md);
  object-fit: contain;
  padding: 0;
}
.logo-fallback {
  width: 280px;
  height: 280px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--forest);
  text-align: center;
  padding: 30px;
  border: 2px solid var(--gold-soft);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  margin-bottom: 16px;
  color: var(--forest);
}
.hero .tagline {
  font-family: var(--script);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--coral-deep);
  margin-bottom: 24px;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
section {
  padding: 100px 0;
}
section.alt {
  background: var(--cream-deep);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .eyebrow {
  font-family: var(--script);
  color: var(--coral-deep);
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.section-header p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-text p {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-text .signature {
  font-family: var(--script);
  font-size: 1.75rem;
  color: var(--coral-deep);
  margin-top: 24px;
}
.about-visual {
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--coral-soft) 0%, var(--coral) 60%, var(--coral-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(250, 244, 235, 0.5);
  border-radius: 50%;
}
.about-visual .quote {
  position: relative;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  text-align: center;
  padding: 0 40px;
  line-height: 1.4;
}
.about-visual .quote::before {
  content: '"';
  font-size: 4rem;
  display: block;
  line-height: 0.5;
  margin-bottom: 16px;
  font-family: var(--serif);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid rgba(200, 150, 90, 0.15);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--forest);
}
.service-card .price-range {
  color: var(--coral-deep);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.service-card ul {
  list-style: none;
}
.service-card li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(45, 79, 58, 0.08);
  color: var(--ink);
  font-size: 0.95rem;
}
.service-card li:last-child { border-bottom: none; }
.service-card li span:last-child {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.services-note {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
}

/* ---------- Hours & Location ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .info-grid { grid-template-columns: 1fr; }
}
.info-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-card h3 .icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
}
.hours-list {
  list-style: none;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(45, 79, 58, 0.08);
  font-size: 1rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { font-weight: 500; color: var(--forest); }
.hours-list .time { color: var(--muted); font-variant-numeric: tabular-nums; }
.hours-list .closed { color: var(--coral-deep); font-style: italic; }

.contact-info {
  list-style: none;
}
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--ink);
}
.contact-info .label {
  font-weight: 600;
  color: var(--forest);
  min-width: 80px;
}

/* ---------- Booking CTA ---------- */
.booking-cta {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--cream);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.booking-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(200, 150, 90, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.booking-cta .container { position: relative; }
.booking-cta h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.booking-cta .eyebrow {
  font-family: var(--script);
  color: var(--gold-soft);
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.booking-cta p {
  max-width: 540px;
  margin: 0 auto 36px;
  color: rgba(250, 244, 235, 0.85);
  font-size: 1.1rem;
}
.booking-cta .btn-primary {
  background: var(--coral-deep);
  color: var(--cream);
}
.booking-cta .btn-primary:hover {
  background: var(--cream);
  color: var(--forest-deep);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--cream-deep);
  padding: 60px 0 30px;
  text-align: center;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 8px;
}
.footer-tagline {
  font-family: var(--script);
  color: var(--coral-deep);
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 32px;
  list-style: none;
}
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  transition: all .2s ease;
  box-shadow: var(--shadow-sm);
}
.footer-social a:hover {
  background: var(--coral-deep);
  color: var(--cream);
  transform: translateY(-2px);
}
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(45, 79, 58, 0.1);
  color: var(--muted);
  font-size: 0.875rem;
}
.footer-bottom .paw {
  color: var(--gold);
  margin: 0 6px;
}

/* ---------- Scroll-in animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- WordPress core hooks ---------- */
.admin-bar nav.site-nav { top: 32px; }
@media (max-width: 782px) {
  .admin-bar nav.site-nav { top: 46px; }
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
