/*
Theme Name: Oil Massage Spa Las Vegas
Theme URI: https://oilspalasvegas.com
Author: Oil Massage Spa Las Vegas
Author URI: https://oilspalasvegas.com
Description: Warm, sensual, professional WordPress theme for Oil Massage Spa Las Vegas — charcoal, blush/rose-gold, cream. Sticky header, mobile nav, contact bar. Storefront-focused for visitors near the Strip.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oil-massage-spa
Tags: spa, massage, custom-menu, sticky-header, one-column
*/

/* ========== Design tokens ========== */
:root {
  --charcoal: #2a2422;
  --charcoal-deep: #1a1614;
  --charcoal-soft: #3d3532;
  --blush: #d4a5a5;
  --blush-deep: #c48989;
  --rose-gold: #b76e79;
  --rose-gold-light: #e8c4c4;
  --cream: #f7f0e8;
  --cream-warm: #faf6f1;
  --ivory: #fffbf7;
  --text: #2a2422;
  --text-muted: #6b5f5a;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(42, 36, 34, 0.12);
  --shadow-lg: 0 12px 40px rgba(42, 36, 34, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --header-h: 72px;
  --contact-bar-h: 56px;
  --max: 1120px;
  --transition: 0.25s ease;
}

/* ========== Reset / base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream-warm);
  padding-bottom: var(--contact-bar-h);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blush-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--charcoal);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.35em; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ========== Sticky header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 22, 20, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(183, 110, 121, 0.25);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.site-branding a {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.site-branding .brand-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-gold-light);
  margin-top: 2px;
}
.site-branding a:hover { color: var(--rose-gold-light); }

/* Nav */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--blush);
  color: var(--cream);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-toggle:hover { background: rgba(212, 165, 165, 0.15); }
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.15rem 1.35rem;
  align-items: center;
  flex-wrap: wrap;
}
.primary-nav a {
  color: var(--cream);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--rose-gold-light);
  border-bottom-color: var(--rose-gold);
}
.nav-cta {
  background: linear-gradient(135deg, var(--rose-gold), var(--blush-deep));
  color: var(--white) !important;
  padding: 0.45rem 1rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  font-weight: 600;
}
.nav-cta:hover { filter: brightness(1.08); color: var(--white) !important; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
  .primary-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--charcoal-deep);
    border-bottom: 1px solid rgba(183, 110, 121, 0.3);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-lg);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-cta { text-align: center; margin-top: 0.5rem; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--charcoal-deep) 0%, var(--charcoal) 45%, #4a3538 100%);
  color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(183, 110, 121, 0.28), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(212, 165, 165, 0.15), transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-gold-light);
  margin-bottom: 1rem;
}
.hero h1 { color: var(--ivory); margin-bottom: 0.75em; max-width: 16ch; }
.hero-lead {
  font-size: 1.15rem;
  color: rgba(247, 240, 232, 0.88);
  max-width: 38rem;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--rose-gold), var(--blush-deep));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(183, 110, 121, 0.35);
}
.btn-primary:hover { color: var(--white); filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(232, 196, 196, 0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: var(--ivory); }
.btn-outline {
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid var(--blush-deep);
  font-weight: 700;
}
.btn-outline:hover {
  background: var(--blush-deep);
  color: var(--white);
}

/* ========== Sections ========== */
.section { padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--ivory); }
.section-dark {
  background: var(--charcoal);
  color: var(--cream);
}
.section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.section-head .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 0.5rem;
}
.section-head p { color: var(--text-muted); }

/* Cards / grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(42, 36, 34, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 1.35rem 1.4rem 1.5rem; }
.card h3 { margin-bottom: 0.4em; font-size: 1.15rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.85em; }
.card .card-link {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

/* Therapist placeholders */
.therapist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.1rem;
}
.therapist-card {
  text-align: center;
}
.therapist-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #3d3532 0%, #5c4548 40%, #b76e79 100%);
  position: relative;
  box-shadow: var(--shadow);
  margin-bottom: 0.65rem;
}
.therapist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.therapist-photo::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.5rem;
  background: linear-gradient(transparent, rgba(26,22,20,0.85));
  color: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.therapist-photo.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(232,196,196,0.35), transparent 45%),
    linear-gradient(160deg, #2a2422, #4a3538 60%, #b76e79);
}
.therapist-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* NAP / visit strip */
.visit-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.visit-strip h3 {
  color: var(--rose-gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  margin-bottom: 0.4em;
}
.visit-strip p, .visit-strip a { color: var(--cream); margin: 0; }
.visit-strip a:hover { color: var(--rose-gold-light); }

/* Page content */
.page-hero {
  background: linear-gradient(135deg, var(--charcoal-deep), var(--charcoal-soft));
  color: var(--cream);
  padding: 2.75rem 0 2.25rem;
}
.page-hero h1 { color: var(--ivory); }
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(247,240,232,0.65);
  margin-bottom: 0.75rem;
}
.page-hero .breadcrumb a { color: var(--rose-gold-light); }
.content-wrap {
  padding: 2.5rem 0 3.5rem;
}
.entry-content {
  max-width: 720px;
}
.entry-content.wide { max-width: none; }
.entry-content h2 { margin-top: 1.75em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.cta-box {
  background: linear-gradient(135deg, rgba(183,110,121,0.12), rgba(212,165,165,0.18));
  border: 1px solid rgba(183,110,121,0.25);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin: 2rem 0;
}
.cta-box h3 { margin-bottom: 0.35em; }
.cta-box .btn { margin-top: 0.75rem; }

/* Footer */
.site-footer {
  background: var(--charcoal-deep);
  color: rgba(247, 240, 232, 0.78);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h3 {
  color: var(--rose-gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  margin-bottom: 0.85em;
}
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--rose-gold-light); }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.45rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Bottom contact bar — sticky */
.contact-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--contact-bar-h);
  background: rgba(26, 22, 20, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(183, 110, 121, 0.35);
  display: flex;
}
.contact-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background var(--transition);
}
.contact-bar a:hover { color: var(--ivory); }
.contact-bar .bar-phone { background: transparent; }
.contact-bar .bar-phone:hover { background: rgba(183, 110, 121, 0.2); }
.contact-bar .bar-wa {
  background: linear-gradient(135deg, var(--rose-gold), var(--blush-deep));
  color: var(--white);
}
.contact-bar .bar-wa:hover { filter: brightness(1.05); color: var(--white); }
.contact-bar svg { width: 18px; height: 18px; fill: currentColor; }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--text-muted); }
.sr-only-phone { /* phone appears once — contact bar + one NAP block */ }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}


/* Google Map embed */
.map-embed-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(183, 110, 121, 0.25);
  background: var(--charcoal);
}
.map-embed {
  display: block;
  width: 100%;
  min-height: 360px;
  height: 420px;
}


/* Per-page therapist photos (engagement) */
.content-with-photos {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .content-with-photos {
    grid-template-columns: 1.4fr 0.8fr;
  }
}
.page-photos-grid {
  display: grid;
  gap: 1rem;
}
.page-photo-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--charcoal);
}
.page-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.page-photo-card figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: var(--cream);
  background: rgba(26,22,20,0.92);
}


/* Hero with above-the-fold therapist photo */
.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
  .hero h1 { max-width: none; }
}
.hero-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  border: 1px solid rgba(183, 110, 121, 0.35);
  max-height: min(72vh, 560px);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(72vh, 560px);
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 859px) {
  .hero-photo { max-height: 420px; order: -1; }
  .hero-photo img { max-height: 420px; }
}
