:root {
    --bg-color: #FAF9F6;
    --surface-color: #FFFFFF;
    --text-main: #4A4F4C;
    --text-light: #6C726E; /* slightly deeper grey so body text passes the 4.5:1 readability guideline */
    --accent-sage: #8BA896;
    --accent-sage-hover: #799583;
    --accent-sand: #D4C4B7;
    --accent-ethereal: #E2E4EB;
    --focus-ring: #567662; /* visible keyboard focus outline (passes 3:1 against the background) */

    --font-heading: 'Lora', serif;
    --font-body: 'Nunito', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Accessibility: Respect system settings for reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 4px;
}

/* Hidden from view but still read by screen readers (e.g. which service a "Book Now" button is for) */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Netlify Forms spam trap: hidden from people, bots fill it in */
.honeypot {
    display: none;
}

/* Visually Hidden "Skip to Main Content" Link for Screen Readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-sage);
    color: white;
    padding: 8px;
    z-index: 999;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* --- Header / Navigation --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #38423B;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: font-size 0.3s ease;
    z-index: 101;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-sage);
}

/* Desktop specific styling for Contact button */
@media (min-width: 769px) {
    .main-nav a.nav-btn {
        background-color: var(--accent-sage);
        color: #FFF;
        padding: 0.6rem 1.5rem;
        border-radius: 30px;
        box-shadow: 0 4px 15px rgba(139, 168, 150, 0.2);
        border: 1px solid var(--accent-sage);
        margin-left: 0.5rem;
    }

    .main-nav a.nav-btn:hover {
        background-color: var(--accent-sage-hover);
        color: #FFF;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(139, 168, 150, 0.3);
    }
}

.mobile-actions {
    display: none;
    z-index: 101;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    background-color: #F2F4F2;
}

#aura-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    color: #38423B;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-sage);
    margin-bottom: 2rem;
}

/* Circular portrait between the subheading and the intro text */
.hero-photo {
    display: block;
    width: 180px;
    height: 180px;
    margin: -0.5rem auto 1.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 10px rgba(139, 168, 150, 0.15), 0 12px 30px rgba(56, 66, 59, 0.15);
}

.hero-intro {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-solid {
    background-color: var(--accent-sage);
    color: #FFF;
    border: 1px solid var(--accent-sage);
    box-shadow: 0 4px 15px rgba(139, 168, 150, 0.3);
}

.btn-solid:hover {
    background-color: var(--accent-sage-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 168, 150, 0.4);
    color: #FFF;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent-sand);
}

.btn-outline:hover {
    background-color: var(--accent-sand);
    color: #FFF;
    transform: translateY(-2px);
}

/* "Book Now" buttons (Neon section + each service card) */
.btn-book {
    padding: 0.6rem 2rem;
}

/* --- Main Content --- */
main {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

section {
    scroll-margin-top: 100px; 
    margin-bottom: 6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: #38423B;
    margin-bottom: 1rem;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent-sand);
    margin: 0 auto;
}

/* --- Spotlight / Neon Section --- */
.spotlight-card {
    background-color: var(--surface-color);
    padding: 4rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-sage), var(--accent-ethereal), var(--accent-sand));
}

.letter-content {
    font-size: 1.1rem;
    color: var(--text-main);
}

.letter-content p {
    margin-bottom: 1.5rem;
}

.letter-greeting, .letter-signoff {
    font-family: var(--font-heading);
    font-style: italic;
    color: #38423B;
}

.letter-greeting { font-size: 1.4rem; }
.letter-signoff { font-size: 1.3rem; color: var(--accent-sage); margin-top: 3rem; }

.spotlight-pricing {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background-color: var(--bg-color);
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.05);
}

.spotlight-cta {
    margin-top: 1.5rem;
}

.spotlight-note {
    margin-top: 2rem;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    /* min() stops cards spilling off the edge on small (320px) phones */
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--surface-color);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-sand);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #38423B;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card ul {
    list-style: none;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: left;
    padding: 0 1rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.service-card ul li::before {
    content: '•';
    color: var(--accent-sage);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-card .duration {
    font-size: 0.85rem;
}

.price-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-sage);
    font-style: italic;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: auto;
}

/* Book Now sits under the price, lined up along the bottom of every card */
.card-book-btn {
    margin-top: 1.5rem;
    align-self: center;
}

/* --- Contact Form Section --- */
.section-intro {
    margin-top: 1rem;
    color: var(--text-light);
}

.contact-form-wrapper {
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0,0,0,0.02);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #38423B;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #E2E4EB;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-sage);
    box-shadow: 0 0 0 3px rgba(139, 168, 150, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Services checkboxes are grouped in a fieldset so screen readers announce the question */
.checkbox-fieldset {
    border: 0;
    padding: 0;
    min-width: 0;
}

.checkbox-fieldset legend {
    display: block;
    padding: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #38423B;
    font-size: 0.95rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400 !important;
    cursor: pointer;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-sage);
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    width: 100%;
    max-width: 300px;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.form-error {
    margin-top: 1.5rem;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    background-color: #FDF2F2;
    border: 1px solid #F3C9C9;
    color: #9B2C2C;
    text-align: center;
}

.form-error a {
    color: inherit;
    font-weight: 600;
}

/* AJAX Success Message Styling */
#form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

#form-success:focus {
    outline: none;
}

.form-success-icon {
    font-size: 3.5rem;
    color: var(--accent-sage);
    margin-bottom: 1rem;
}

.form-success-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #38423B;
    margin-bottom: 0.5rem;
}

.form-success-text {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- Footer --- */
footer {
    background-color: #38423B;
    color: #FFFFFF;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.social-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #FFF;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background-color: var(--accent-sage);
    transform: scale(1.1);
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* --- Scroll To Top Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-sage);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--accent-sage-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* --- Responsive View & Mobile Navigation --- */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem 1.5rem;
    }

    .hero h1 { font-size: 2.5rem; }
    .hero-photo { width: 140px; height: 140px; }
    .form-row { grid-template-columns: 1fr; }
    .spotlight-card, .contact-form-wrapper { padding: 2.5rem 1.5rem; }
    .btn { width: 100%; justify-content: center; }
    
    /* Mobile Nav Header Styling - Left Aligned with Buffer */
    .header-container {
        justify-content: space-between; 
        min-height: 40px; 
    }

    .logo {
        position: relative;
        left: 0;
        transform: none;
        flex: 1; 
        font-size: clamp(0.95rem, 4vw, 1.2rem); 
        white-space: normal;
        line-height: 1.2;
        padding-right: 15px;
    }

    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        flex-shrink: 0; 
    }

    .mobile-action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: var(--accent-sage);
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
        transition: background 0.3s ease;
    }

    .mobile-action-btn:hover {
        background-color: var(--accent-sage-hover);
    }

    /* Lightweight Pure CSS Animated Hamburger */
    .hamburger-btn {
        background: none;
        border: none;
        width: 36px;
        height: 36px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 0;
    }

    .hamburger-line {
        width: 22px;
        height: 2px;
        background-color: #38423B;
        border-radius: 2px;
        position: absolute;
        transition: background-color 0.3s ease-in-out;
    }

    .hamburger-line::before, .hamburger-line::after {
        content: '';
        position: absolute;
        width: 22px;
        height: 2px;
        background-color: #38423B;
        border-radius: 2px;
        left: 0;
        transition: all 0.3s ease-in-out;
    }

    .hamburger-line::before { top: -7px; }
    .hamburger-line::after { top: 7px; }

    /* Hamburger Active (X) State */
    .hamburger-btn.is-active .hamburger-line {
        background-color: transparent;
    }
    .hamburger-btn.is-active .hamburger-line::before {
        top: 0;
        transform: rotate(45deg);
    }
    .hamburger-btn.is-active .hamburger-line::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(250, 249, 246, 0.98);
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        border-top: 1px solid rgba(0,0,0,0.05);
        z-index: 100;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        text-align: center;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    /* Contact stands out in the mobile menu as the same green pill used on desktop */
    .main-nav a.nav-btn {
        max-width: 260px;
        margin: 1rem auto 0.5rem;
        padding: 0.8rem 1.5rem;
        background-color: var(--accent-sage);
        color: #FFF;
        border: 1px solid var(--accent-sage);
        border-radius: 30px;
        box-shadow: 0 4px 15px rgba(139, 168, 150, 0.3);
    }

    .main-nav a.nav-btn:hover,
    .main-nav a.nav-btn:focus-visible {
        background-color: var(--accent-sage-hover);
        color: #FFF;
    }

    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}