/*
Theme Name: Rooted Wellness Suites
Theme URI: https://rootedsuitesmedford.com
Author: Rooted Wellness Suites
Author URI: https://rootedsuitesmedford.com
Description: A boutique salon and wellness suite theme for Rooted Wellness Suites in Medford, NJ. Fully customizable via the WordPress Customizer and Theme Options panel.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rooted-wellness
Tags: one-page, business, wellness, salon, customizable, full-site-editing
*/

/* ===================================================
   CSS CUSTOM PROPERTIES (set via Customizer)
   =================================================== */
:root {
  --color-primary:     #2f4f78;
  --color-primary-dark:#243d5d;
  --color-secondary:   #6f7f95;
  --color-bg:          #ffffff;
  --color-bg-alt:      #f5f7fa;
  --color-text:        #1f1f1f;
  --color-muted:       #4b5563;
  --color-line:        rgba(47,79,120,0.12);
  --shadow:            0 20px 60px rgba(47,79,120,0.12);

  --font-heading: "Open Sans", Arial, sans-serif;
  --font-body:    "Open Sans", Arial, sans-serif;
}

/* ===================================================
   RESET & BASE
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Open Sans", Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.08;
  color: var(--color-text);
}
p { color: var(--color-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===================================================
   NAVIGATION
   =================================================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-line);
}
.site-nav {
  max-width: 1180px;

  padding: 4px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo img { width: 120px; height: auto; }
.site-logo .logo-text {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1rem;
  color: var(--color-primary);
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  font-weight: 600;
}
.nav-menu a:hover { opacity: 0.7; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: .25s;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--color-primary);
  font-weight: 700;
  cursor: pointer;
  transition: 0.22s ease;
  font-size: 0.95rem;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-secondary {
  background: rgba(255,255,255,0.8);
  color: var(--color-primary);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(31,31,31,0.15);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-section {
  min-height: 90vh;
  display: grid;
  align-items: center;
  padding: 96px 22px;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.94),
      rgba(255,255,255,0.78),
      rgba(255,255,255,0.42)
    ),
    var(--hero-bg-url, url('https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1900&q=80')) center/cover no-repeat;
}
.hero-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}
.eyebrow {
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(3.4rem, 9vw, 8rem);
  max-width: 920px;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
  color: var(--color-primary);
}
.hero-text {
  max-width: 720px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  margin-bottom: 34px;
  color: var(--color-muted);
}
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===================================================
   SECTIONS / LAYOUT
   =================================================== */
.rws-section { padding: 96px 22px; }
.rws-section--alt { background: var(--color-bg-alt); }
.container { max-width: 1180px; margin: 0 auto; }
.section-heading { max-width: 830px; margin-bottom: 42px; }

.section-eyebrow { /* reuse .eyebrow */ }

h2.section-title {
  font-size: clamp(2.25rem, 5.6vw, 4.8rem);
  letter-spacing: -0.045em;
  margin-bottom: 20px;
  color: var(--color-primary);
}
h3.card-title {
  font-size: 1.45rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}
.split p + p { margin-top: 16px; }

/* Image card */
.image-card {
  min-height: 560px;
  border-radius: 42px;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

/* Chips grid */
.chips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
}
.chip-item {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--color-muted);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  text-align: center;
}

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 34px;
  padding: 32px;
  box-shadow: var(--shadow);
}

/* Suites grid */
.suite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.suite-list, .location-list, .search-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin-top: 20px;
}
.suite-list li, .location-list li, .search-list li {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--color-line);
  border-radius: 20px;
  padding: 12px 16px;
  color: var(--color-muted);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.panel {
  background: #f8fafc;
  border: 1px solid var(--color-line);
  border-radius: 34px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.panel h3 { margin-bottom: 8px; }
.panel p + p { margin-top: 14px; }

/* Location grid */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-wrap { padding: 96px 22px; }
.cta-banner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 28px;
  border-radius: 46px;
  text-align: center;
  background:
    linear-gradient(rgba(31,31,31,0.72), rgba(31,31,31,0.72)),
    var(--cta-bg-url, url('https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1800&q=80')) center/cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-banner h2, .cta-banner p { color: #fff; }
.cta-banner p { max-width: 680px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-banner .eyebrow { color: rgba(255,255,255,0.75); }

/* ===================================================
   CONTACT FORM
   =================================================== */
.contact-section .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.contact-address { font-size: 1.15rem; margin-top: 18px; color: var(--color-muted); }
.contact-address strong { color: var(--color-primary); }
.contact-form { display: grid; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--color-line);
  background: rgba(255,255,255,0.9);
  color: var(--color-text);
  font: inherit;
}
.contact-form textarea { min-height: 145px; resize: vertical; }
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 18px;
  padding: 18px 20px;
  color: #2e7d32;
  font-weight: 600;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  padding: 34px 22px;
  text-align: center;
  border-top: 1px solid var(--color-line);
  background: #fff;
}
.site-footer p { font-size: 0.92rem; color: #7b8794; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-top: 10px; font-size: 0.85rem; }
.footer-links a { color: var(--color-primary); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    padding: 20px 22px;
    gap: 16px;
  }
  .site-nav { flex-wrap: wrap; position: relative; }

  .split, .suite-grid, .location-grid, .contact-section .contact-grid { grid-template-columns: 1fr; }
  .chips-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .image-card { min-height: 360px; }
  .rws-section, .cta-wrap { padding: 74px 20px; }
}
@media (max-width: 560px) {
  .hero-section { min-height: 82vh; padding: 72px 20px; }
  .button-row { flex-direction: column; }
  .btn { width: 100%; }
  .chips-grid, .why-grid { grid-template-columns: 1fr; }
  .panel, .why-card { padding: 26px; }
}

/* ===================================================
   WORDPRESS ALIGNMENT HELPERS
   =================================================== */
.alignleft  { float: left;  margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--color-muted); }


.rws-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rws-gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

@media (max-width: 900px) {
    .rws-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rws-gallery-grid {
        grid-template-columns: 1fr;
    }
}



.availability-section {
  padding: 80px 20px;
  background: #f8f8f8;
  text-align: center;
}

.availability-content {
  max-width: 950px;
  margin: 0 auto;
}

.availability-badge {
  display: inline-block;
  background: #0f766e;
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.availability-section h2 {
  font-size: 42px;
  color: #222;
  margin-bottom: 18px;
}

.availability-text {
  font-size: 18px;
  line-height: 1.7;
  color: #666;
  max-width: 700px;
  margin: 0 auto 45px;
}

.pricing-wrapper {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.pricing-box {
  background: #fff;
  padding: 35px 30px;
  border-radius: 18px;
  width: 300px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.pricing-box.featured {
  border: 2px solid #0f766e;
}

.pricing-box h3 {
  font-size: 26px;
  margin-bottom: 18px;
  color: #222;
}

.price {
  font-size: 42px;
  font-weight: 700;
  color: #0f766e;
}

.price span {
  font-size: 18px;
  color: #666;
}

.contact-text {
  font-size: 17px;
  color: #555;
  margin-bottom: 25px;
}

.availability-btn {
  display: inline-block;
  background: #0f766e;
  color: #fff;
  padding: 15px 34px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.availability-btn:hover {
  background: #115e59;
}

.seo-text {
  margin-top: 45px;
  font-size: 14px;
  line-height: 1.8;
  color: #777;
}
