/*
Theme Name: Massage Therapy Pro
Theme URI: https://example.com/massage-therapy-pro
Author: Vonroflo
Author URI: https://example.com
Description: A premium WordPress theme designed for massage therapy studios and spas. Fully customizable with elegant design, booking integration, and GHL-ready structure.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: massage-therapy-pro
Tags: massage, spa, wellness, booking, one-page, custom-menu, featured-images, theme-options
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --color-primary: #8BA888;
    --color-primary-dark: #6E8E6B;
    --color-primary-light: #A8C5A5;
    --color-accent: #C4956A;
    --color-accent-dark: #A87B52;
    --color-accent-light: #D4B08E;
    --color-cream: #FAF6F1;
    --color-warm-white: #FFFCF8;
    --color-text: #3D3D3D;
    --color-text-light: #6B6B6B;
    --color-text-muted: #999999;
    --color-border: #E8E0D8;
    --color-white: #FFFFFF;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --radius: 30px;
    --radius-lg: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-warm-white);
    line-height: 1.7;
}

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

a {
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section--cream {
    background-color: var(--color-cream);
}

.section--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section--primary h2,
.section--primary h3,
.section--primary p {
    color: var(--color-white);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 12px;
    font-weight: 400;
}

.section-title {
    margin-bottom: 20px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 48px;
    text-align: center;
}

.text-center { text-align: center; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn--primary:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn--outline:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--white {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    border-color: var(--color-white);
}

.btn--white:hover {
    background-color: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn--lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--color-white);
}

.header-top a:hover {
    opacity: 0.85;
}

.header-main {
    padding: 16px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-primary-dark);
    font-weight: 700;
}

.site-logo span {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    margin: 5px 0;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(61,61,61,0.65) 0%, rgba(61,61,61,0.3) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    color: var(--color-white);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero__title {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero__desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   TRUST / WHY CHOOSE US
   ============================================ */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.trust-card {
    text-align: center;
    padding: 40px 24px;
}

.trust-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
}

.trust-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.trust-card__desc {
    font-size: 0.95rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card__body {
    padding: 28px;
}

.service-card__name {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.service-card__desc {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.service-card__duration {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.service-card__price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    font-weight: 700;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: var(--color-border);
}

.step {
    text-align: center;
    position: relative;
}

.step__number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step__title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.step__desc {
    font-size: 0.95rem;
}

/* ============================================
   REVIEWS / TESTIMONIALS
   ============================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.review-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

.review-card__stars {
    color: #F5A623;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-card__text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--color-text-light);
}

.review-card__author {
    font-weight: 700;
    color: var(--color-text);
}

.review-card__date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ============================================
   THERAPIST BIO
   ============================================ */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bio__image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.bio__name {
    font-size: 2rem;
    margin-bottom: 8px;
}

.bio__title {
    font-size: 1rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.bio__text {
    margin-bottom: 24px;
    line-height: 1.8;
}

.bio__certs {
    list-style: none;
    margin-bottom: 24px;
}

.bio__certs li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--color-text-light);
}

.bio__certs li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background-color: var(--color-primary);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text);
    text-align: left;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '\2212';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 20px;
}

/* ============================================
   BOOKING / CALENDAR EMBED
   ============================================ */
.booking-embed {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.booking-embed iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: var(--radius);
}

.booking-info {
    max-width: 700px;
    margin: 48px auto 0;
}

.booking-info h3 {
    margin-bottom: 16px;
}

.booking-info ul {
    list-style: none;
    margin-bottom: 32px;
}

.booking-info ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--color-text-light);
}

.booking-info ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info__item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info__text h4 {
    margin-bottom: 4px;
}

.contact-info__text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--color-white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139,168,136,0.15);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 48px;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #2C2C2C;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--color-accent-light);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ============================================
   PAGE HEADERS (Inner Pages)
   ============================================ */
.page-header {
    background-color: var(--color-cream);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES PAGE - DETAILED
   ============================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px 0;
    border-bottom: 1px solid var(--color-border);
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail__image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.service-detail__name {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.service-detail__desc {
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-detail__options {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.service-option {
    background-color: var(--color-cream);
    border-radius: var(--radius);
    padding: 12px 20px;
    text-align: center;
}

.service-option__duration {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.service-option__price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    font-weight: 700;
}

/* ============================================
   STAR RATING SUMMARY
   ============================================ */
.rating-summary {
    text-align: center;
    padding: 40px;
    background-color: var(--color-cream);
    border-radius: var(--radius-lg);
    margin-bottom: 48px;
}

.rating-summary__score {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1;
}

.rating-summary__stars {
    color: #F5A623;
    font-size: 1.5rem;
    margin: 12px 0;
    letter-spacing: 4px;
}

.rating-summary__count {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ============================================
   VALUES
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--color-cream);
    border-radius: var(--radius-lg);
}

.value-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.value-card__title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.85rem; }
    .hero__title { font-size: 2.75rem; }

    .bio-grid,
    .contact-grid,
    .service-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    h1 { font-size: 2rem; }
    .hero { min-height: 70vh; }
    .hero__title { font-size: 2.25rem; }

    .trust-grid,
    .steps-grid,
    .values-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .steps-grid::before { display: none; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-top { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__title { font-size: 1.85rem; }
    .hero__buttons { flex-direction: column; }
    .btn--lg { padding: 14px 32px; font-size: 1rem; }
}


/* Service page image consistency */
.service-img-cover img {
  object-fit: cover !important;
  height: 350px !important;
  width: 100% !important;
}


/* Nav CTA button - last menu item */
.nav-menu > .menu-item:last-child > a {
  background-color: var(--color-accent, #C4956A);
  color: var(--color-white, #FFFFFF) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius, 8px);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-menu > .menu-item:last-child > a:hover {
  background-color: #b8845c;
  transform: translateY(-1px);
  opacity: 1;
}


/* Consistent pill-shaped button radius across all buttons */
.elementor-button,
.elementor-button-link,
a[style*="border-radius: 8px"],
a[style*="border-radius:8px"] {
  border-radius: 30px !important;
}
