/*
Theme Name: Life Map Therapy
Theme URI: https://example.com
Author: Fazal Abbas
Description: Custom theme for Life Map Therapy site.
Version: 1.0
Text Domain: Life Map Therapy
*/

:root {
    --bg-soft-beige: #f5f0e8;
    --hero-peach: #fbd9c4;
    --hero-peach-light: #fdeee2;
    --royal-blue: #1e3a8a;
    --teal: #0f766e;
    --dark-gray: #374151;
    --mid-gray: #6b7280;
    --light-gray: #e5e7eb;
    --white: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-soft-beige);
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 16px;
}

/* ================== LAYOUT ================== */

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.section {
    padding: 4.5rem 0;
}

.section-soft {
    background: var(--bg-soft-beige);
}

.section-contact {
    background: #f3f4ff;
}

.narrow{
    max-width: 1050px;
    margin: 0 auto;
}

.center {
    text-align: center;
}

/* ================== UPDATED HEADER (DESKTOP + MOBILE CTA ONLY) ================== */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 58px;
    width: auto;
}

/* Desktop Nav + Desktop Button */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.97rem;
    transition: 0.2s;
}

.desktop-nav a:hover {
    color: #1e3a8a; /* royal blue hover */
}

.header-actions .btn-primary {
    padding: 11px 24px;
}

/* MOBILE CTA BUTTON */
.mobile-consult-btn {
    display: none;
    background: #1e3a8a;
    color: #fff;
    padding: 11px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}

/* REMOVE mobile hamburger and side menu from old layout */
.mobile-menu-toggle,
.mobile-nav {
    display: none !important;
    visibility: hidden;
    opacity: 0;
}

/* ===== MOBILE BREAKPOINT ===== */
@media (max-width: 900px) {
    /* Hide full menu + desktop button */
    .desktop-nav,
    .header-actions {
        display: none !important;
    }

    /* Show mobile CTA only */
    .mobile-consult-btn {
        display: block;
        margin-left: auto;
    }

    .logo img {
        height: 48px;
    }

    .site-header {
        padding: 12px 0;
    }
}


/* ================== HERO ================== */

.hero-section {
    position: relative;
    padding-top: 5.5rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, #ffe1cc 0, #fcdcca 22%, #fbe6d7 45%, #f7eee3 70%, var(--bg-soft-beige) 100%);
    z-index: -1;
}

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

.hero-top-label span {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: #6b21a8;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    line-height: 1.2;
    color: var(--royal-blue);
    margin: 1.2rem 0 0.6rem;
}

.hero-accent {
    color: var(--royal-blue);
}

.hero-subtitle {
    max-width: 650px;
    margin: 0 auto 2.2rem;
    color: var(--mid-gray);
    font-size: 1.05rem;
}

.hero-video-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Allow bigger video card */
.hero-video-card {
    width: 100%;
    max-width: 900px;        /* increased from 540px */
    background: rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    padding: 1.2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}

/* Make placeholder dynamic height — not locked to 16:9 */
.hero-video-placeholder {
    position: relative;
    height: auto;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #e5e7eb;
}

/* Desktop large video */
.hero-video-placeholder iframe {
    width: 100%;
    height: 500px;    /* big desktop height */
    border: 0;
    border-radius: 16px;
}

/* MOBILE — reel style, full-height */
@media (max-width: 768px) {

    .hero-video-card {
        max-width: 100%;
        padding: 0.5rem;
        border-radius: 0;  
        box-shadow: none;  /* optional for reel look */
    }

    .hero-video-placeholder iframe {
        width: 100%;
        height: 85vh;        /* big like a reel */
        aspect-ratio: 9/16;  /* vertical style */
        border-radius: 0;
    }
}

/* ================== TITLES ================== */

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    line-height: 1.25;
    color: var(--royal-blue);
    text-align: center;
    margin-bottom: 0.6rem;
}

.section-accent {
    color: var(--royal-blue);
}

.section-subtitle {
    text-align: center;
    color: var(--teal);
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
}

.section-subheading {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2.5rem;
    color: var(--teal);
}

/* ================== BUTTONS ================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.12s ease, color 0.12s ease, transform 0.08s ease, box-shadow 0.12s ease;
}

.btn-primary {
    background: var(--royal-blue);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.35);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(30, 64, 175, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--royal-blue);
    border: 1px solid rgba(30, 58, 138, 0.35);
}

.btn-ghost:hover {
    background: rgba(30, 58, 138, 0.04);
}

.btn-large {
    padding: 1rem 2.2rem;
    font-size: 1rem;
}

.full-width {
    width: 100%;
}

/* ================== TEXT ELEMENTS ================== */

.quote-box {
    border-left: 3px solid var(--teal);
    background: rgba(15, 118, 110, 0.04);
    padding: 1.2rem 1.4rem;
    border-radius: 12px;
    font-style: italic;
    color: #111827;
    margin: 1.8rem 0;
}

.bullet-list {
    padding-left: 1.2rem;
    margin: 0.5rem 0 1.5rem;
}

.bullet-list li {
    margin-bottom: 0.35rem;
}

.section-bottom-text {
    margin-top: 0.6rem;
}

/* ================== IMAGES / CARDS ================== */

.image-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 1rem;
}

.image-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    padding: 0.9rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.image-card img {
    width: 100%;
    display: block;
    border-radius: 14px;
}

.image-caption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--mid-gray);
}

.long-text p {
    margin-bottom: 0.8rem;
}

/* ================== COMPARISON ================== */

.comparison-graphic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 1.5rem;
}

.comparison-card {
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
}

.comparison-left {
    background: #e5e7eb;
}

.comparison-right {
    background: #e0e9ff;
    border: 1px solid var(--royal-blue);
}

.comparison-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--royal-blue);
}

/* ================== CIRCLES GRID ================== */

.circles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
    margin-top: 1.8rem;
}

.circle-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.circle-card h4 {
    margin-top: 0;
    margin-bottom: 0.55rem;
    color: var(--royal-blue);
    font-size: 1.1rem;
}
.hero-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}
.btn-secondary {
    background-color: #31B8BA;
    color: #ffffff;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #279fa1;
    color: #ffffff;
}
/* Mobile: stack buttons */
@media (max-width: 768px) {
    .hero-cta-buttons {
        flex-direction: column;
    }

    .hero-cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
/* ================== INFO CARDS ================== */

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
    margin: 1.6rem 0 1.7rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.3rem 1.4rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.info-card h4 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    color: var(--royal-blue);
}

/* ================== TABLE ================== */

.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0 1.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 320px;
}

.comparison-table th,
.comparison-table td {
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
}

.comparison-table thead th {
    background: var(--royal-blue);
    color: var(--white);
    font-weight: 600;
    text-align: left;
}

.comparison-table tbody tr:nth-child(odd) {
    background: #f9fafb;
}

.comparison-table tbody tr:nth-child(even) {
    background: #eef2ff;
}

/* ================== TESTIMONIALS ================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
    margin: 2rem 0 1.5rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.3rem 1.4rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
    border-left: 4px solid var(--teal);
}

.testimonial-card h4 {
    margin: 0.3rem 0 0.4rem;
    color: var(--royal-blue);
    font-size: 1rem;
}

.stars {
    color: #facc15;
    font-size: 0.9rem;
}

.link-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

/* ================== CONTACT ================== */

.contact-card {
    max-width: 560px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border-radius: 18px;
    padding: 1.8rem 1.7rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
}

.contact-form .form-row {
    margin-bottom: 0.9rem;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #111827;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    font: inherit;
    padding: 0.6rem 0.7rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 1px rgba(30, 64, 175, 0.3);
    background: #ffffff;
}

.contact-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--mid-gray);
}

/* ================== BLOG ================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
    margin-top: 1.7rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 1.3rem 1.4rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.blog-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--royal-blue);
    font-size: 1.05rem;
}

.read-more {
    font-size: 0.9rem;
    color: var(--teal);
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* ================== FOOTER ================== */

.site-footer {
    background: var(--royal-blue);
    color: var(--white);
    padding: 2.8rem 0 1.6rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.6rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.footer-col h4 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.footer-col li {
    margin-bottom: 0.3rem;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #e5e7eb;
}

/* ================== RESPONSIVE ================== */

@media (max-width: 900px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .contact-card {
        padding: 1.4rem 1.3rem;
    }
}