/* Import elegant spa-like fonts from Google */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Lato:wght@300;400&display=swap');

/* ==========================================================================
   1. VARIABLES & ROOT PALETTE
   ========================================================================== */
:root {
    --bg-color: #FDFBF7;       /* Sandy Off-white */
    --text-color: #1A3E3E;     /* Darker Teal for all body text */
    --primary-color: #2C5E5E;  /* Classic Teal for headings and buttons */
    --accent-color: #E8E3D9;   /* Darker sand for subtle borders/nav */
}

/* ==========================================================================
   2. GLOBAL RESETS & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* ==========================================================================
   3. TYPOGRAPHY & LINKS
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}


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

/* --- TEXT LINK ACCENT LINE (UPDATED) --- */
#intro a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: var(--accent-color); /* The sandy accent color */
    text-decoration-thickness: 2px;             /* Makes the line visible and deliberate */
    text-underline-offset: 6px;                 /* Pushes the line down for breathing room */
    font-weight: 500;
    transition: all 0.3s ease;
}

#intro a:hover {
    color: var(--text-color);
    text-decoration-color: var(--primary-color); /* Shifts to the dark teal on hover */
}
/* ==========================================================================
   4. LAYOUT STRUCTURE (SECTIONS, GRIDS, CARDS)
   ========================================================================== */
section {
    padding: 4rem 5%;
}

section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}
/* --- 1. DEFAULT CARD (For darker backgrounds like the Homepage) --- */
.card {
    background-color: var(--bg-color); /* Your sandy off-white (#FDFBF7) */
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(44, 94, 94, 0.06);
    border: 1px solid var(--accent-color);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- 2. ALT CARD (For light backgrounds like the Services page) --- */
.card-alt {
    background-color: #F2EBE1; /* The warm oatmeal color */
}
.card-alt p {
    line-height: 1.8; /* This adds premium, editorial spacing between your lines of text */
}
/* --- THE HOVER LIFT (Applies to both) --- */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 94, 94, 0.12);
}
/* --- 3. TEAL CARD (For high contrast color blocking) --- */
.card-teal {
    background-color: var(--primary-color); /* Deep Teal background */
    border: none;
}

/* Bulletproof rule to force ALL text inside the teal card to be Sand-white */
.card.card-teal h3,
.card.card-teal p {
    color: var(--bg-color) !important;
}
.workshop-card {
    background: #FFFFFF; /* Pure white for a crisp contrast */
    padding: 3rem;
    border-radius: 20px; /* Softer, more modern rounded corners */
    box-shadow: 0 10px 40px rgba(44, 94, 94, 0.08); /* A soft, diffused teal shadow */
    border: 1px solid #F0EBE1;
    margin: 2rem auto;
    max-width: 800px;
}
.workshop-card ul {
    list-style: none; /* Removes the ugly default dots */
    padding: 0;
}

.workshop-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #4A4A4A;
}

/* Adds a beautiful little teal dot as a custom bullet */
.workshop-card ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}
/* Keep your existing heading and paragraph styles below this! */
.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.card p {
    color: #7A706B;
    margin-bottom: 1.5rem;
}

#intro {
    padding-top: 1.5rem;
}

/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* --- HEADER & NAVIGATION --- */
header {
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: #FDFBF7;
    box-shadow: 0 15px 35px rgba(44, 94, 94, 0.16);
}

body.home {
    --home-header-height: 82px;
}

body.home header {
    background-color: rgba(253, 251, 247, 0.32);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: none;
    box-shadow: none;
}

body.home header.scrolled {
    background-color: #FDFBF7;
    box-shadow: 0 15px 35px rgba(44, 94, 94, 0.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

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

nav {
    display: flex;
    gap: 2rem;
    font-size: 1.25rem;
}

nav a:hover {
    color: var(--primary-color);
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- MOBILE RESPONSIVE NAV --- */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav.mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgba(253, 251, 247, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        gap: 0;
        padding: 1.5rem 0;
        border-top: 1px solid var(--accent-color);
        z-index: 999;
    }

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

    nav.mobile-nav a {
        display: block;
        padding: 1rem 5%;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--accent-color);
    }

    nav.mobile-nav a:last-child {
        border-bottom: none;
    }

    nav.mobile-nav a:hover {
        background-color: var(--accent-color);
    }

    header {
        flex-wrap: wrap;
    }
}

/* --- BUTTONS --- */
.btn {
    background-color: var(--primary-color);
    color: #FDFBF7;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}
.btn-hero {
    background-color: var(--primary-color);
    color: #FDFBF7;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn:hover {
    background-color: #1A3E3E;
    color: #FDFBF7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 94, 94, 0.4);
}
.btn-hero:hover {
    background-color: #1A3E3E;
    color: #FDFBF7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 94, 94, 0.4);
}

.btn-services {
    background-color: #E8E3D9;
    color: #1A3E3E;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn-services:hover {
    background-color: #1A3E3E;
    color: #FDFBF7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 94, 94, 0.4);
}

/* --- HERO SECTION & GLASS PANEL --- */
.hero {
    background: url('hero-bg.jpg') center bottom/cover no-repeat;
    height: 70vh;
    padding: 0;
}

body.home .hero {
    margin-top: calc(var(--home-header-height) * -1);
    padding-top: var(--home-header-height);
}

/* --- FULL-SCREEN LIQUID GLASS (SANDY CREAM) --- */
.glass-panel {
    background: rgba(253, 251, 247, 0.3); /* Reverted to the Sandy Off-white HEX: #FDFBF7 */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
    padding: 0 5%;
}

/* Make sure the text is visible against the cream again! */
.glass-panel h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color); /* Back to primary teal */
}

.glass-panel p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color); /* Back to dark teal */
    max-width: 800px;
}

/* --- TRUST BANNER & LOGOS --- */
.trust-banner {
    background-color: var(--bg-color);
    padding: 4rem 5% 1rem;
    text-align: center;
}

.trust-banner p {
    color: #9E928B;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: bold;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    flex-wrap: wrap;
}

.trust-logos img {
    width: auto;
    display: block;
}

/* Balancing the three different logo shapes */
.logo-retreat {
    max-height: 120px;
}

.logo-katie {
    max-height: 130px;
    mix-blend-mode: multiply;
    position: relative;
    left: 10px;
}

.logo-tropic {
    max-height: 35px;
    margin-bottom: 35px;
}

/* --- THE FOOTER --- */
/* Footer Container */
.site-footer {
    background-color: var(--text-color); /* Your dark spa teal */
    color: #F2EBE1; /* Your sand/cream background color for contrast */
    padding: 5rem 2rem 3rem; /* Generous breathing room */
}

/* Three-Column Grid */
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Brand column is slightly wider */
    gap: 4rem;
    border-bottom: 1px solid rgba(242, 235, 225, 0.2); /* Delicate divider line */
    padding-bottom: 3rem;
    margin-bottom: 1rem;
}

/* Typography & Links */
.footer-column p {
    font-size: 0.9rem;
    color: rgba(242, 235, 225, 0.7); /* Slightly muted text */
    margin-bottom: 0.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #F2EBE1;
}

.footer-eyebrow {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(242, 235, 225, 0.5);
    margin-bottom: 1.5rem;
}

.footer-column a {
    display: block;
    color: #F2EBE1;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 0.6; /* Soft fade effect on hover */
}

/* Mobile Responsiveness (Stacking Technique) */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stacks into a single vertical column on phones */
        gap: 3rem;
    }
}
/* ==========================================================================
   6. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
    body.home {
        --home-header-height: 70px;
    }

    header {
        padding: 0.75rem 5%;
    }

    .logo {
        gap: 8px;
        font-size: 0.9rem;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .hero {
        height: 520px;
        padding: 0;
        margin-top: 1.5rem;
        overflow: hidden;
    }

    .glass-panel {
        padding: 2rem 5% 3rem;
        height: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .glass-panel .eyebrow {
        font-size: 0.7rem !important;
        margin-bottom: 1rem !important;
    }

    .glass-panel h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .glass-panel p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn-hero {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .trust-logos {
        gap: 3rem;
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    body.home {
        --home-header-height: 70px;
    }

    .logo {
        font-size: 0.75rem;
        gap: 6px;
    }

    .logo img {
        height: 35px;
    }

    .hero {
        min-height: 350px;
        height: auto;
        padding: 2.5rem 0;
    }

    .glass-panel h1 {
        font-size: 1.5rem;
    }

    .glass-panel p {
        font-size: 0.95rem;
    }
}
/* ==========================================================================
   7. CONTACT FORM
   ========================================================================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

/* 1. Target only text inputs, explicitly ignore the submit button */
.contact-form input:not([type="submit"]),
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #D1C9C4;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

/* 2. Glow effect only for text fields */
.contact-form input:not([type="submit"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(44, 94, 94, 0.15);
}

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

/* 3. Force the submit button to keep its teal branding */
.contact-form .btn,
.contact-form input[type="submit"] {
    background-color: var(--primary-color) !important; /* Forces the teal to stay */
    color: #FDFBF7 !important; /* Keeps the text off-white */
    width: 100%;
    margin-top: 1rem;
    padding: 16px;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.contact-form .btn:hover,
.contact-form input[type="submit"]:hover {
    background-color: #1A3E3E !important; /* The darker teal hover state */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 94, 94, 0.4);
}

/* --- REFINED TEAL CARDS --- */
.card-teal {
    background: linear-gradient(145deg, var(--primary-color) 0%, #1f4444 100%) !important;
    border-radius: 16px !important; /* Smooth, clean corners */
    padding: rem 2.5rem !important; /* Slightly taller padding to give it a luxurious, airy feel */
    text-align: center !important; /* Centers the text for a boutique menu vibe */
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
    box-shadow: 0 5px 30px rgba(175, 243, 243, 0.457) !important;
}

/* Make sure the text inherits the centering nicely */
.card-teal h3 {
    margin-bottom: 1.25rem !important;

}

/* Smooth floating hover effect for the cards */
.card-teal:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(44, 94, 94, 0.3) !important;
}
