/* =========================================================
   Reviva Spa & Recovery — consolidated stylesheet
   All values sourced from extracted-css.md and the wget mirror CSS.
   ========================================================= */

/* ---------- 1. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

:root {
  /* from generate-style-inline-css :root */
  --contrast: #222222;        /* body text */
  --contrast-2: #575760;
  --contrast-3: #b2b2be;
  --base: #f0f0f0;
  --base-2: #f7f8f9;          /* body background */
  --base-3: #ffffff;
  --accent: #1e73be;
  /* brand tokens (from extracted button colors) */
  --gold: #ba903b;            /* rgb(186,144,59) — button style 1 */
  --gold-2: #caa456;          /* rgb(202,164,86) — button style 2/3 (hover/lighter) */
  --dark: #010101;            /* section dark bg rgb(1,1,1) */
  --black: #000000;
  --dark-2: #080808;          /* rgb(8,8,8) package sub-section */
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* body: Montserrat 18px / line-height 27px, color #222, bg #f7f8f9 */
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: var(--contrast);
  background-color: var(--base-2);
}

img { max-width: 100%; height: auto; display: block; }

/* headings: Spectral serif, weight 200 (from generate-style-inline-css) */
h1, h2, h3, h4, h5, h6 {
  font-family: Spectral, serif;
  font-weight: 200;
  margin: 0;
  line-height: 1.1;
}
h1 { font-size: 56px; color: #fff; text-align: center; }
h2 { font-size: 48px; text-align: center; }
h3 { font-size: 36px; }
h4 { font-family: Montserrat, sans-serif; font-size: 19px; font-weight: 500; }
h5 { font-size: 20px; text-align: center; }

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 2. Layout ---------- */
.container {
  max-width: 1200px;       /* from .wp-block-group__inner-container max-width */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section { padding: 90px 0; }

/* ---------- 3. Buttons ---------- */
/* Button: bg gold rgb(186,144,59), white text, padding 17px 25px, radius 0, 15px */
.btn {
  display: inline-block;
  background-color: var(--gold);
  color: #fff;
  padding: 17px 25px;
  border-radius: 0;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 400;
  border: 0;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  transition: background-color .25s ease;
}
.btn:hover { background-color: var(--gold-2); color: #fff; }

/* ---------- 4. Header (transparent, overlays hero) ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background-color: transparent;   /* extracted header bg rgba(0,0,0,0) */
  padding: 22px 0;
}
.site-header.scrolled {
  position: fixed;
  background-color: rgba(1, 1, 1, .92);
  padding: 12px 0;
  box-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-group { display: flex; align-items: center; gap: 0; flex: 1; }
.nav-group.left { justify-content: flex-start; }
.nav-group.right { justify-content: flex-end; }

/* nav links: Montserrat 17px, white, padding 13px 5px, margin-right 20px */
.main-nav a {
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  padding: 13px 5px;
  margin: 0 20px 0 0;
  display: inline-block;
  text-decoration: none;
  transition: color .2s ease;
}
.nav-group.right .main-nav a:last-child { margin-right: 0; }
.main-nav a:hover,
.main-nav a.active { color: var(--gold-2); }

/* center logo */
.brand { flex: 0 0 auto; text-align: center; }
.brand img { height: 64px; width: auto; margin: 0 auto; }

/* mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero.hero-sub { min-height: 70vh; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);   /* dark overlay; section bg rgba(0,0,0,.1)+texture */
}
.hero-content { position: relative; z-index: 2; padding: 0 20px; max-width: 900px; }
.hero-content h1 {
  font-size: 61px;       /* extracted hero h1 61px / line 61px / weight 200 */
  line-height: 61px;
  font-weight: 200;
  color: #fff;
  margin-bottom: 28px;
}
.hero-content .btn { margin-top: 8px; }

.hero-home { background-image: url("/images/hero/hero-home.webp"); }
.hero-about { background-image: url("/images/hero/hero-about.webp"); }
.hero-gallery { background-image: url("/images/hero/hero-gallery.webp"); }
.hero-contact { background-image: url("/images/hero/hero-contact.webp"); }

/* ---------- 6. Sections ---------- */
.section-dark {
  background-color: var(--dark);
  color: #fff;
  background-image: url("/images/general/papyrus-dark.webp");
  background-repeat: repeat;
}
.section-dark h2, .section-dark h3, .section-dark h5 { color: #fff; }
.section-light { background-color: #fff; color: var(--contrast); }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { margin-bottom: 10px; }

/* intro quote block (dark) */
.quote-block {
  background-color: var(--dark);
  color: #fff;
  text-align: center;
  padding: 90px 0;
  background-image: url("/images/general/papyrus-dark.webp");
}
.quote-mark { font-family: Spectral, serif; font-size: 70px; color: var(--gold-2); line-height: 1; }
.quote-block p { max-width: 820px; margin: 18px auto 0; color: #ddd; }

/* ---------- 6a. Intro / about split (dark) ---------- */
.intro-dark {
  background-color: var(--dark);
  color: #ddd;
  background-image: url("/images/general/papyrus-dark.webp");
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.intro-grid h2 { text-align: left; color: #fff; margin-bottom: 20px; }
.intro-grid p { color: #cfcfcf; }

/* ---------- 7. Packages (text column + 2x2 cards, on dark) ---------- */
.packages { background-color: var(--dark-2); color: #fff; background-image: url("/images/general/papyrus-dark.webp"); }
.packages-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
}
.packages-intro .pkg-eyebrow { color: var(--gold-2); font-size: 16px; font-style: italic; font-family: Spectral, serif; margin-bottom: 14px; }
.packages-intro h2 { text-align: left; color: #fff; margin-bottom: 22px; }
.packages-intro .packages-text { color: #cfcfcf; font-size: 16px; line-height: 1.7; }
.pkg-list { margin: 24px 0 28px; }
.pkg-list li { color: #e6e6e6; font-size: 16px; line-height: 2; }
.pkg-list i { color: var(--gold-2); margin-right: 10px; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.pkg-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(202,164,86,.30);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
}
.pkg-card .pkg-label { color: #cfcfcf; font-size: 15px; letter-spacing: .5px; display: block; margin-bottom: 4px; font-family: Spectral, serif; }
.pkg-card h2 { color: #fff; font-size: 40px; margin-bottom: 18px; }
.pkg-card ul { margin: 0 0 18px; }
.pkg-card ul li { color: #dcdcdc; font-size: 16px; line-height: 1.9; }
.pkg-card ul li em { font-style: italic; color: #bdbdbd; }
.pkg-card .pkg-price { color: var(--gold-2); font-family: Spectral, serif; font-size: 40px; font-weight: 300; }
.pkg-card .pkg-fit { color: #cfcfcf; font-size: 15px; margin: 12px 0 0; }
.pkg-card .btn { margin-top: 10px; }

/* ---------- 8. Feature photo row ---------- */
.photo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.photo-row img { width: 100%; height: 180px; object-fit: cover; }

/* ---------- 9. Steps (numbered 1/2/3 on light) ---------- */
.steps { background-color: #fff; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.step-num { font-family: Spectral, serif; font-size: 52px; font-weight: 200; color: var(--contrast); margin-bottom: 14px; }
.step-card p { color: var(--contrast-2); font-size: 16px; }
.steps-image { margin-top: 60px; }
.steps-image img { width: 100%; max-height: 460px; object-fit: cover; }

/* ---------- 10. Pricing list ---------- */
.pricing-cards { /* reuse packages-grid look on light */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 30px;
}
.price-card {
  background: var(--base-2);
  border: 1px solid #e6e2d8;
  padding: 36px 28px;
  text-align: center;
}
.price-card .pkg-label { color: var(--gold); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 8px; }
.price-card h3 { font-size: 32px; margin-bottom: 16px; }
.price-card ul li { color: var(--contrast-2); font-size: 15px; line-height: 1.9; }
.price-card .pkg-price { color: var(--gold); font-family: Spectral, serif; font-size: 30px; margin-top: 14px; display: block; }

.price-table { max-width: 900px; margin: 0 auto; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
}
.price-row .pr-name { font-size: 16px; color: var(--contrast); }
.price-row .pr-dots { flex: 1; border-bottom: 1px dotted #c9c9c9; transform: translateY(-4px); }
.price-row .pr-price { font-family: Spectral, serif; font-size: 20px; color: var(--contrast); white-space: nowrap; }
.price-row .pr-fit { font-size: 13px; color: var(--gold); white-space: nowrap; margin-left: 8px; }

/* ---------- 11. Gallery grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid a { display: block; overflow: hidden; }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

/* ---------- 12. Contact / forms ---------- */
.contact { background-color: #fff; }
.contact .section-title p { max-width: 720px; margin: 0 auto; color: var(--contrast-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  margin-top: 40px;
  align-items: start;
}
.contact-info li { margin-bottom: 18px; line-height: 1.6; }
.contact-info .ci-label { color: var(--gold); font-weight: 600; display: block; }
.contact-info i { color: var(--gold); margin-right: 8px; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--base-2);
  border: 1px solid var(--base);
  color: var(--contrast);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  border-radius: 0;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form .btn { justify-self: start; }

/* dark contact variant (homepage) */
.contact-dark { background-color: var(--dark); color: #fff; background-image: url("/images/general/papyrus-dark.webp"); }
.contact-dark h2 { color: #fff; }
.contact-dark .section-title p,
.contact-dark .contact-info li { color: #cfcfcf; }
.contact-dark .contact-form input,
.contact-dark .contact-form textarea {
  background-color: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}

/* ---------- 13. Footer (dark) ---------- */
.site-footer {
  background-color: var(--black);
  color: #b9b9b9;
  padding: 70px 0 30px;
  background-image: url("/images/general/papyrus-dark.webp");
}
.footer-brand { text-align: center; margin-bottom: 50px; }
.footer-brand img { height: 70px; margin: 0 auto 8px; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-cols h4 { color: #fff; margin-bottom: 18px; font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: .5px; }
.footer-cols li { margin-bottom: 10px; font-size: 14px; line-height: 1.6; }
.footer-cols a { color: #b9b9b9; }
.footer-cols a:hover { color: var(--gold-2); }
.footer-cols i { color: var(--gold-2); width: 18px; margin-right: 8px; }
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  color: #777;
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 48px; }
  h2 { font-size: 46px; }
  h3 { font-size: 32px; }
  .hero-content h1 { font-size: 48px; line-height: 1.1; }
}

@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-row { grid-template-columns: repeat(3, 1fr); }
  .packages-layout { grid-template-columns: 1fr; gap: 36px; }
  .packages-intro h2 { text-align: center; }
}

@media (max-width: 767px) {
  /* wp-custom-css mobile font sizes */
  h1, .hero-content h1 { font-size: 36px !important; line-height: 1.2; }
  h2 { font-size: 28px !important; line-height: 1.25; }
  h3 { font-size: 24px !important; line-height: 1.3; }

  .section { padding: 56px 0; }

  /* mobile nav */
  .menu-toggle { display: block; order: 3; }
  .header-inner { flex-wrap: wrap; }
  .brand { order: 2; flex: 1; text-align: center; }
  .nav-group { order: 4; flex-basis: 100%; }
  .nav-group.left, .nav-group.right { justify-content: center; }
  .main-nav {
    display: none;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 14px 0;
  }
  .site-header.menu-open { background-color: rgba(1,1,1,.96); position: fixed; }
  .site-header.menu-open .main-nav { display: flex; }
  .main-nav a { margin: 0; padding: 12px 0; }

  .intro-grid,
  .contact-grid,
  .packages-layout { grid-template-columns: 1fr; }
  .packages-intro h2 { text-align: center; }
  .packages-grid,
  .pricing-cards,
  .steps-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-row { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr; text-align: center; }
}
