/* --- CSS RESET & VARIABLES --- */
:root {
    /* Color Palette */
    --bg-cream: #F8F5EE;
    /* Warm light cream to reduce eye strain */
    --bg-secondary: #F3EFE4;
    /* Slightly deeper for alternating sections */
    --accent-seafoam: #C6E2E2;
    /* Primary soft pastel seafoam */
    --accent-seafoam-dark: #A5CACA;
    /* Hover state for seafoam */
    --accent-purple: #DCAADF;
    /* Secondary logo pastel purple */
    --accent-pink: #F8B3CB;
    /* Secondary logo pastel pink */
    --accent-yellow: #FBEF9A;
    /* Secondary logo pastel yellow */

    /* Typography */
    --text-main: #2A2A2A;
    --text-light: #5A5A5A;
    --font-heading: 'Great Vibes', cursive;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --nav-height: 80px;
    --transition: all 0.4s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography elements */
h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-heading);
    font-weight: 400;
}

h1 {
    font-size: 5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

h2.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

h2.centered {
    text-align: center;
}

h3.accent-title {
    font-size: 2.5rem;
    color: var(--accent-seafoam-dark);
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.centered {
    text-align: center;
}

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

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

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

.section-padding {
    padding: 6rem 0;
}

.custom-bg {
    background-color: var(--bg-secondary);
}

/* --- HEADER & NAVIGATION --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(252, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

#main-header.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.logo-link {
    flex-shrink: 0;
}

.logo-img {
    height: 45px;
    /* Adjust based on actual logo proportion */
    width: auto;
}

.nav-links ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.25rem;
}

.nav-item {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

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

.nav-item:hover::after {
    width: 100%;
}

.cta-nav {
    background-color: var(--accent-seafoam);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
}

.cta-nav::after {
    display: none;
}

.cta-nav:hover {
    background-color: var(--accent-seafoam-dark);
    color: #fff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-main);
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--nav-height);
    /* Offset for sticky header */
}

.hero-content {
    z-index: 2;
    padding: 2rem;
}

.hero-logo {
    max-width: 280px;
    width: 90%;
    margin: 0 auto 2rem auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.05));
}

.hero-section .subtitle {
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-section .sub-headline {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-seafoam-dark);
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: var(--accent-seafoam);
    color: var(--text-main);
    box-shadow: 0 10px 20px rgba(198, 226, 226, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: var(--accent-seafoam-dark);
    color: white;
    box-shadow: 0 15px 25px rgba(165, 202, 202, 0.5);
}

.hero-bg-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-yellow) 0%, transparent 70%);
    opacity: 0.15;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

/* --- ABOUT REIKI --- */
.text-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-seafoam-dark);
    border-bottom: 1px solid var(--accent-seafoam-dark);
    padding-bottom: 2px;
}

.text-link:hover {
    color: var(--text-main);
    border-bottom-color: var(--text-main);
}

/* --- MY STORY (Split Layout) --- */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-layout .image-col,
.split-layout .text-col {
    flex: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--accent-pink);
    border-radius: 20px;
    z-index: -1;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* --- SERVICES & PRICING --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-top: 4px solid var(--accent-seafoam);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(198, 226, 226, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-card .duration {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.service-card .price {
    font-size: 1.8rem;
    color: var(--accent-seafoam-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card .details {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
    flex-grow: 1;
}

.service-card .details li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.4;
}

.service-card .details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-seafoam-dark);
    font-weight: bold;
}

.promo-tag {
    display: inline-block;
    background-color: var(--accent-yellow);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(251, 239, 154, 0.3);
}

/* --- DISCOUNTS & REFERRAL --- */
.discounts-container {
    margin-top: 5rem;
    padding: 4rem 2rem;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    border: 2px dashed var(--accent-seafoam);
}

.discounts-container h3 {
    font-family: var(--font-body);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.referral-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.referral-content {
    text-align: left;
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--bg-cream);
    border-radius: 20px;
}

.referral-content h4 {
    font-family: var(--font-body);
    color: var(--accent-seafoam-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.referral-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #E8E2D6;
    /* Placeholder greyish cream */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.placeholder-text {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--accent-purple);
    /* Soften the purple heavily */
    background: linear-gradient(135deg, rgba(220, 170, 223, 0.15) 0%, rgba(248, 179, 203, 0.1) 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--accent-purple);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-card .quote {
    font-style: italic;
    color: var(--text-main);
    position: relative;
    z-index: 1;
}

.testimonial-card .author {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 0;
}

/* --- FOOTER & CONTACT --- */
.site-footer {
    background-color: #fff;
    padding: 6rem 2rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.newsletter-form input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: var(--bg-cream);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-seafoam-dark);
    box-shadow: 0 0 0 3px rgba(198, 226, 226, 0.3);
}

.submit-button,
.subscribe-btn {
    padding: 1rem 2rem;
    background-color: var(--accent-seafoam);
    color: var(--text-main);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover,
.subscribe-btn:hover {
    background-color: var(--accent-seafoam-dark);
    color: white;
}

#turnstile-container {
    min-height: 0px; 
    margin: 0;
    display: flex;
    justify-content: flex-start;
    transition: margin 0.3s ease;
}

/* Optional: add a little space only when the widget is visible */
#turnstile-container:not(:empty) {
    margin: 15px 0;
}

.newsletter-section .footer-logo img {
    max-width: 150px;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    color: var(--text-main);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- ANIMATIONS (Intersection Observer) --- */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
}

.fade-in-up {
    transform: translateY(30px);
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-right {
    transform: translateX(50px);
}

.is-visible {
    opacity: 1;
    transform: translate(0, 0) !important;
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- MODALS & TOASTS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content.glass {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 3rem 4rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-content.glass h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-seafoam-dark);
    margin-bottom: 0.5rem;
}

.modal-content.glass p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.namaste-btn {
    padding: 0.8rem 2.5rem;
    background-color: var(--accent-seafoam);
    color: var(--text-main);
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(198, 226, 226, 0.4);
}

.namaste-btn:hover {
    background-color: var(--accent-seafoam-dark);
    color: white;
    transform: translateY(-2px);
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background-color: rgba(255, 230, 230, 0.9);
    backdrop-filter: blur(5px);
    color: #cc0000;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.1);
    border: 1px solid rgba(204, 0, 0, 0.2);
    z-index: 2000;
    font-weight: 500;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease;
}

.toast.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.modal-overlay.hidden .modal-content {
    transform: scale(0.9);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

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

    h2.section-title {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1.25rem; /* Reduced padding on mobile */
    }

    .services-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .header-container {
        justify-content: center; /* Center the logo */
        position: relative;
        padding: 0 1.25rem;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: rgba(252, 250, 247, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.4s;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Ensure no horizontal scroll from animations */
    .section-padding, .hero-section {
        overflow-x: hidden;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 2rem;
    }

    /* Hamburger Animation */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .newsletter-form {
        flex-direction: column;
    }
}