/* ===================================
   JP's Massage Therapy Center
   Therapeutic Story Design
   =================================== */

/* CSS Variables */
:root {
    --primary: #2c4a6e;
    --primary-dark: #1a3250;
    --accent: #c27c4e;
    --accent-light: #d9a07a;
    --warm-beige: #f5f0e8;
    --text-dark: #2a2a2a;
    --text-light: #ffffff;
    --text-muted: #666666;
    --border-light: #e0ddd4;
    --success-green: #2e7d32;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Story-Driven Hero
   =================================== */

.story-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 50, 80, 0.7), rgba(44, 74, 110, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.tagline {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--accent-light);
}

.founder-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 2rem 0;
    padding: 2rem;
    border-left: 4px solid var(--accent);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.founder-quote cite {
    display: block;
    font-style: normal;
    font-size: 1rem;
    margin-top: 1rem;
    color: var(--accent-light);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 400;
}

.stat {
    font-weight: 600;
}

.stat-divider {
    color: var(--accent-light);
}

/* ===================================
   Special Banner
   =================================== */

.special-banner {
    background: var(--accent);
    color: var(--text-light);
    padding: 1.5rem 0;
    text-align: center;
}

.special-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.special-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.cta-button {
    display: inline-block;
    background: var(--text-light);
    color: var(--accent);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* ===================================
   Our Story Section (Image-Text Split)
   =================================== */

.story-section {
    padding: 6rem 0;
    background: #ffffff;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.story-text h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.story-intro {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===================================
   Services Section (Alternating Rows)
   =================================== */

.services-section {
    padding: 6rem 0;
    background: var(--warm-beige);
}

.section-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 4rem;
}

.service-row {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.service-content h3:first-child {
    margin-top: 0;
}

.service-subhead {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.service-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.pricing-list {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1rem;
}

.pricing-list li:last-child {
    border-bottom: none;
}

.duration {
    color: var(--text-dark);
    font-weight: 400;
}

.price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Promo Badge Styles */
.promo-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.promo-badge {
    display: inline-block;
    background: var(--success-green);
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* ===================================
   Signature "Melt It Away" Feature
   =================================== */

.signature-feature {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.signature-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.signature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 50, 80, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.signature-card {
    background: var(--text-light);
    padding: 3rem;
    border-radius: 8px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.signature-card h2 {
    color: var(--primary);
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.signature-subtitle {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.signature-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.signature-price {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    color: var(--accent);
    font-weight: 700;
    margin: 1.5rem 0;
}

.signature-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.signature-cta {
    display: inline-block;
    background: var(--primary);
    color: var(--text-light);
    padding: 1rem 3rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.signature-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 74, 110, 0.3);
}

/* ===================================
   Specialty Services
   =================================== */

.specialty-section {
    padding: 6rem 0;
    background: #ffffff;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.specialty-card {
    background: var(--warm-beige);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.specialty-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.specialty-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* ===================================
   Membership & Packages
   =================================== */

.membership-section {
    padding: 6rem 0;
    background: var(--warm-beige);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.membership-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.membership-card.featured {
    border: 3px solid var(--accent);
    position: relative;
}

.membership-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.membership-subtitle {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.membership-savings {
    color: var(--success-green);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.membership-benefits {
    list-style: none;
    margin: 1rem 0 2rem;
}

.membership-benefits li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.membership-benefits li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

.membership-cta {
    display: inline-block;
    background: var(--primary);
    color: var(--text-light);
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.membership-cta:hover {
    background: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 74, 110, 0.3);
}

.package-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.package-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
}

.package-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
    font-size: 1rem;
}

.package-table td:nth-child(2),
.package-table td:nth-child(3) {
    color: var(--accent);
    font-weight: 700;
}

.package-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===================================
   Team / Therapists Section
   =================================== */

.team-section {
    padding: 6rem 0;
    background: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--warm-beige);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-placeholder {
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo-placeholder span {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.team-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.team-certs {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
}

/* ===================================
   Reviews / Social Proof (Yelp CTA)
   =================================== */

.warm-testimonials {
    padding: 6rem 0;
    background: var(--warm-beige);
}

.testimonial-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.reviews-cta-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--accent);
}

.reviews-count {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.reviews-note {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.reviews-link {
    display: inline-block;
    background: #d32323;
    color: var(--text-light);
    padding: 0.85rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.reviews-link:hover {
    background: #af1d1d;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 35, 35, 0.3);
}

/* ===================================
   Locations Section (Single Location)
   =================================== */

.locations-section {
    padding: 6rem 0;
    background: #ffffff;
}

.location-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.location-photo img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.location-card {
    background: var(--warm-beige);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.location-card h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.location-address {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.location-hours {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.location-phone {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 1rem;
}

.location-phone:hover {
    color: var(--accent-light);
}

.location-email {
    margin-top: 0.75rem;
    font-size: 1rem;
}

.location-email a {
    color: var(--accent);
    font-weight: 600;
}

.location-social {
    margin-top: 0.5rem;
    font-size: 1rem;
}

.location-social a {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   Footer
   =================================== */

.site-footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.9;
}

.footer-contact p,
.footer-locations p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--accent-light);
}

.footer-contact a:hover {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
    margin: 0;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .founder-quote {
        font-size: 1.25rem;
        padding: 1.5rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-row,
    .service-row.reverse {
        flex-direction: column;
    }

    .service-image img {
        height: 300px;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .location-single {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .signature-card {
        padding: 2rem;
    }

    .signature-card h2 {
        font-size: 2rem;
    }

    .signature-price {
        font-size: 2.75rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .founder-quote {
        font-size: 1.1rem;
        padding: 1.25rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stat-divider {
        display: none;
    }

    .special-banner .container {
        flex-direction: column;
        gap: 1rem;
    }

    .special-text {
        font-size: 1.1rem;
    }

    .story-section,
    .services-section,
    .specialty-section,
    .warm-testimonials,
    .locations-section,
    .membership-section,
    .team-section {
        padding: 4rem 0;
    }

    .signature-feature {
        height: auto;
        min-height: 500px;
    }

    .signature-card {
        padding: 1.5rem;
    }

    .service-image img {
        height: 250px;
    }

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

    .location-card,
    .specialty-card,
    .membership-card {
        padding: 2rem;
    }

    .team-card {
        padding: 2rem;
    }

    .reviews-cta-box {
        padding: 2rem;
    }

    .reviews-count {
        font-size: 1.5rem;
    }

    .location-photo img {
        height: 250px;
    }
}
