/* Eternal Wellness Space - Styles */

/* CSS Custom Properties & Design System */


:root {
    /* Brand Colors */
    --brand-600: #245D5C;
    --ink-800: #314545;
    --paper: #FDFEFF;
    --accent: #B66F62;
    --sand: #EEE9E3;
    
    /* Theme Colors (Light) */
    --bg-primary: var(--paper);
    --bg-secondary: var(--sand);
    --text-primary: var(--ink-800);
    --text-secondary: #666;
    --text-inverse: var(--paper);
    --border-color: var(--sand);
    --shadow-color: rgba(52, 69, 69, 0.1);
    
    /* Typography */
    --font-heading: 'Gilda Display', serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-caption: 'Lato', var(--font-body);
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: clamp(56px, 8vw, 96px);
    --card-radius: 16px;
    --card-radius-lg: 24px;
    --gap-sm: 16px;
    --gap-md: 24px;
    --gap-lg: 32px;
    
    /* Shadows */
    --shadow-soft: 0 4px 16px var(--shadow-color);
    --shadow-medium: 0 8px 32px var(--shadow-color);
    --shadow-large: 0 16px 64px var(--shadow-color);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --text-primary: var(--paper);
    --text-secondary: #ccc;
    --text-inverse: var(--ink-800);
    --border-color: #444;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: var(--transition);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--brand-600);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Focus Styles */
*:focus {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
}

button:focus, a:focus {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
}

/* Utility Classes */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: var(--section-padding) 0;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--gap-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1279px) {
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .grid-5, .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 479px) {
    .grid-5, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 2rem;
    border: 2px solid var(--brand-600);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--brand-600);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-inverse);
}

.btn-secondary {
    background-color: transparent;
    color: var(--brand-600);
}

.btn-secondary:hover {
    background-color: var(--brand-600);
    color: var(--text-inverse);
}

.btn-small {
    height: 40px;
    padding: 0 1.5rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-caption);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

/* Cards */
.card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Theme Floater */
.theme-floater {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 0.5rem;
    box-shadow: var(--shadow-medium);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background-color: var(--brand-600);
}

.theme-icon {
    font-size: 1.2rem;
}

.color-picker-wrapper {
    position: relative;
}

.color-picker {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    appearance: none;
    background: none;
}

.color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
    border: none;
    border-radius: 50%;
}

.color-picker::-webkit-color-swatch {
    border: 2px solid var(--border-color);
    border-radius: 50%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 254, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 900;
    transition: var(--transition);
    transform: translateY(-100%);
}

.header.visible {
    transform: translateY(0);
}

[data-theme="dark"] .header {
    background-color: rgba(26, 26, 26, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--brand-600);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 2px 0;
    transition: var(--transition);
}

@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scrim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(36, 93, 92, 0.3), rgba(49, 69, 69, 0.2));
}

[data-theme="dark"] .hero-scrim {
    background: linear-gradient(135deg, rgba(36, 93, 92, 0.6), rgba(49, 69, 69, 0.4));
}

.video-pause-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-inverse);
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

@media (min-width: 768px) {
    .hero-text {
        text-align: left;
    }
}

.hero-title {
    color: var(--text-inverse);
    margin-bottom: 1.5rem;
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(253, 254, 255, 0.9);
    margin-bottom: 2rem;
    animation-delay: 0.4s;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation-delay: 0.6s;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.8s;
}

.scroll-arrow {
    font-size: 2rem;
    color: rgba(253, 254, 255, 0.8);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 767px) {
    .hero-video {
        display: none;
    }
    
    .hero {
        background: linear-gradient(135deg, var(--brand-600), var(--ink-800)),
                    url('./assets/video/hero-poster.jpg');
        background-size: cover;
        background-position: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
}

/* What We Do Section */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--gap-md);
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.pillar-title {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.pillar-description {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Our Method Section */
.our-method {
    background-color: var(--bg-secondary);
}

.method-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--brand-600);
    color: var(--text-inverse);
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
}

.method-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.method-step {
    flex: 1;
    min-width: 220px;
    text-align: center;
    background-color: var(--bg-primary);
    border-radius: var(--card-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.method-connector {
    width: 40px;
    height: 2px;
    background-color: var(--brand-600);
    flex-shrink: 0;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.step-title {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-description {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .method-steps {
        flex-direction: column;
    }
    
    .method-connector {
        width: 2px;
        height: 40px;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--gap-md);
    margin-top: 2rem;
}

.about-card {
    background-color: var(--bg-primary);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.about-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.about-card p {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Upcoming Retreats Section */
.upcoming-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.calendar-link {
    color: var(--brand-600);
    font-weight: 500;
    white-space: nowrap;
}

.retreats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--gap-lg);
}

.retreat-card {
    background-color: var(--bg-primary);
    border-radius: var(--card-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.retreat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-large);
}

.retreat-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.retreat-content {
    padding: 1.5rem;
}

.retreat-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.retreat-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.retreat-dates, .retreat-location {
    font-family: var(--font-caption);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand-600);
}

.retreat-theme {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.retreat-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.retreat-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Who It's For Section */
.who-its-for {
    background-color: var(--bg-secondary);
}

.who-its-for-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.who-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.who-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.who-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand-600);
    font-size: 1.5rem;
    line-height: 1;
}

.reassurance {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--brand-600);
    margin-bottom: 0;
}

/* Facilitators Section */
.facilitators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-lg);
    margin-bottom: 3rem;
}

.facilitator-card {
    display: flex;
    gap: 1.5rem;
    background-color: var(--bg-primary);
    border-radius: var(--card-radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    align-items: flex-start;
}

.facilitator-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.facilitator-content {
    flex: 1;
}

.facilitator-name {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.facilitator-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.facilitator-bio {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.team-link {
    color: var(--brand-600);
    font-weight: 500;
}

@media (max-width: 767px) {
    .facilitator-card {
        flex-direction: column;
        text-align: center;
    }
    
    .facilitator-photo {
        margin: 0 auto;
    }
}

/* Social Proof Section */
.social-proof {
    background-color: var(--bg-secondary);
}

.press-strip {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.press-label {
    font-family: var(--font-caption);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.press-logos img {
    height: 32px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition-fast);
}

.press-logos img:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

.testimonial-featured {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.testimonial-quote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-family: var(--font-caption);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: block;
}

.testimonials-link {
    color: var(--brand-600);
    font-weight: 500;
}

.mini-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--gap-sm);
    margin-top: 2rem;
}

.mini-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--card-radius);
    cursor: pointer;
    transition: var(--transition);
}

.mini-gallery img:hover {
    transform: scale(1.05);
}

/* FAQs Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--brand-600);
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.open {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    margin-bottom: 0;
}

/* Final CTA Section */
.final-cta {
    background-color: var(--bg-secondary);
}

.final-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.final-cta-title {
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Gallery Section */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--gap-sm);
    margin-top: 2rem;
}

.gallery-masonry img {
    width: 100%;
    border-radius: var(--card-radius);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-masonry img:hover {
    transform: scale(1.02);
}

@media (min-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (min-width: 1024px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

/* Footer */
.footer {
    background-color: var(--ink-800);
    color: var(--text-inverse);
    padding: var(--section-padding) 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--gap-lg);
    margin-bottom: 2rem;
}

.footer-title {
    color: var(--text-inverse);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(253, 254, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-inverse);
}

.newsletter-signup {
    margin-top: 2rem;
}

.newsletter-label {
    display: block;
    color: var(--text-inverse);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--brand-600);
    color: var(--text-inverse);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    background-color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(253, 254, 255, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(253, 254, 255, 0.7);
    margin-bottom: 0;
    font-size: 0.9rem;
}

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

.social-links a {
    color: rgba(253, 254, 255, 0.8);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--text-inverse);
}

/* Mobile CTA */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 1rem;
    z-index: 800;
    transform: translateY(100%);
    transition: var(--transition);
    box-shadow: 0 -4px 16px var(--shadow-color);
}

.mobile-cta.visible {
    transform: translateY(0);
}

.mobile-cta-btn {
    width: 100%;
    height: 56px;
    background-color: var(--brand-600);
    color: var(--text-inverse);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-cta-btn:hover {
    background-color: var(--accent);
}

@media (min-width: 768px) {
    .mobile-cta {
        display: none;
    }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 1rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-primary);
    border-radius: var(--card-radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    color: var(--text-primary);
    margin-bottom: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Forms */
.enquiry-form {
    padding: 2rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--brand-600);
}

.form-error {
    display: block;
    margin-top: 0.5rem;
    color: #e74c3c;
    font-size: 0.9rem;
}

.form-actions {
    margin-top: 2rem;
}

.privacy-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

.privacy-note a {
    color: var(--brand-600);
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.active {
    display: block;
}

.form-success .enquiry-form {
    display: none;
}

.success-icon {
    font-size: 3rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.form-success h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.whatsapp-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #25d366;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.whatsapp-link:hover {
    background-color: #128c7e;
    color: white;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition-fast);
    z-index: 1101;
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
}

.lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 479px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .retreat-actions {
        flex-direction: column;
    }
    
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .theme-floater, .mobile-cta, .modal, .lightbox {
        display: none !important;
    }
    
    .hero-video-container {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
        background: white;
        color: black;
    }
}

/* ===== Experiences v2 (Filmstrip) ===== */
.experiences-v2 { background: var(--paper); padding-block: var(--pad); }
.experiences-v2 .container { max-width: var(--container); margin: 0 auto; padding-inline: 20px; }

.xpv2-header {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  gap: var(--gap-lg); margin-bottom: var(--gap-lg);
}
.xpv2-titles .eyebrow{ letter-spacing:.08em; text-transform:uppercase; color:var(--ink-500); font:600 12px/1.2 Roboto,system-ui; margin:0 0 8px; }
.xpv2-titles .section-title{ font-family:"Gilda Display",serif; font-weight:400; font-size:clamp(28px,4vw,40px); color:var(--ink-900); margin:0; }
.xpv2-titles .section-lead{ color:var(--ink-700); margin:6px 0 0; }

.xpv2-controls { display:flex; gap:10px; }
.xpv2-btn {
  width:44px; height:44px; border-radius:12px; border:1px solid var(--sand);
  background:#fff; color:var(--ink-900); font-size:20px; line-height:1;
  display:grid; place-items:center; cursor:pointer;
}
.xpv2-btn:hover{ background:var(--sand); }
.xpv2-btn:focus-visible{ outline:2px solid var(--brand-600); outline-offset:2px; }

/* Rail (horizontal scroll-snap) */
.xpv2-rail{
  display:grid; grid-auto-flow:column; grid-auto-columns:min(82vw, 560px);
  gap: clamp(16px, 3vw, 28px);
  overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch; padding: 6px 2px 6px 2px;
}
.xpv2-rail::-webkit-scrollbar{ height:10px; }
.xpv2-rail::-webkit-scrollbar-thumb{ background:var(--sand); border-radius:999px; }

/* Card */
.xpv2-card{
  position:relative; scroll-snap-align:center; border-radius:24px; overflow:hidden;
  aspect-ratio: 4/5; background: #000 center/cover no-repeat;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  /* set bg via inline --img */
  background-image: var(--img);
}
.xpv2-card::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45));
}
.xpv2-overlay{
  position:absolute; left:18px; right:18px; bottom:16px; color:#fff;
  background: color-mix(in oklab, #000 55%, transparent); backdrop-filter: blur(4px);
  padding:12px 14px; border-radius:14px;
}
.xpv2-overlay h3{ margin:0 0 4px; font:600 clamp(18px,2.2vw,22px)/1.25 Roboto,system-ui; }
.xpv2-overlay p{ margin:0; font:400 14px/1.45 Lato,Roboto,system-ui; }

/* Progress bar */
.xpv2-progress { height:4px; background:var(--sand); border-radius:999px; overflow:hidden; margin-top:16px; }
.xpv2-bar { display:block; height:100%; width:0%; background:var(--brand-600); transform-origin:0 0; }

/* Mobile tweaks */
@media (max-width: 680px){
  .xpv2-rail{ grid-auto-columns: 88vw; }
  .xpv2-overlay p{ font-size:13px; }
}

/* Centered header + extra top padding for Experiences v2 */
.experiences-v2 .xpv2-header{
    /* collapse to one column and center everything */
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    text-align: center;
  
    /* padding above the header */
    padding-top: clamp(24px, 6vw, 72px);
  
    /* optional: a bit tighter bottom spacing */
    margin-bottom: clamp(16px, 3vw, 28px);
  }
  
  .experiences-v2 .xpv2-titles{ text-align: center; }
  
  .experiences-v2 .xpv2-controls{
    display: flex;
    gap: 10px;
    justify-content: center;   /* center the prev/next buttons under the title */
    margin-top: 8px;           /* small space below the titles */
  }

  /* Centered header + extra top padding (keeps your earlier ask) */
.experiences-v2 .xpv2-header{
    display:grid; grid-template-columns:1fr; place-items:center; text-align:center;
    padding-top:clamp(24px,6vw,72px);
    margin-bottom:clamp(16px,3vw,28px);
  }
  .experiences-v2 .xpv2-controls{ display:flex; gap:10px; justify-content:center; margin-top:8px; }
  
  /* Button-only slider: NO horizontal scroll from user */
  .xpv2-rail{
    overflow:hidden;                    /* hide scrollbars & block native scroll */
    /* allow normal page scrolling over the rail on touch devices */
    touch-action: pan-y;                /* vertical only */
  }
  .xpv2-rail::-webkit-scrollbar{ display:none; } /* extra tidy */
  
  /* The moving track */
  .xpv2-track{
    display:flex;
    gap: clamp(16px, 3vw, 28px);
    will-change: transform;
    transform: translateX(0);
    transition: transform .55s cubic-bezier(.22,.61,.36,1);
  }
  
  /* Each card keeps a fixed “page” width */
  .xpv2-card{
    flex: 0 0 min(82vw, 560px);  /* same visual size as before */
  }
  
  /* Progress bar animation feels nicer when driven by buttons */
  .xpv2-bar{ transition: transform .35s ease; }
  
  /* Disable grab/pan cursor feedback since it’s button-only */
  .xpv2-rail, .xpv2-track, .xpv2-card { cursor: default; }


  /* ==== Filmstrip: theme + brand aware cards ==== */

/* Base (light) */
:root{
    /* fallback if an image is missing / slow to load */
    --xpv2-card-fallback: color-mix(in oklab, var(--brand-600) 18%, var(--bg-primary));
    /* overlay tint over photos */
    --xpv2-overlay-top:    color-mix(in oklab, black 10%, transparent);
    --xpv2-overlay-bottom: color-mix(in oklab, black 45%, transparent);
  }
  
  /* Dark theme overrides */
  [data-theme="dark"]{
    --xpv2-card-fallback: color-mix(in oklab, var(--brand-600) 30%, var(--bg-secondary));
    --xpv2-overlay-top:    color-mix(in oklab, black 25%, transparent);
    --xpv2-overlay-bottom: color-mix(in oklab, black 65%, transparent);
  }
  
  /* Apply to filmstrip cards */
  .xpv2-card{
    /* before: background: #000 center/cover no-repeat; */
    background: var(--xpv2-card-fallback) center/cover no-repeat;
    background-image: var(--img); /* uses your inline --img:url('...') */
  }
  
  /* Use theme/brand-aware overlay instead of fixed rgba black */
  .xpv2-card::before{
    background: linear-gradient(180deg, var(--xpv2-overlay-top), var(--xpv2-overlay-bottom));
  }
  
  /* Optional: make overlay’s caption chip match brand in dark mode slightly */
  [data-theme="dark"] .xpv2-overlay{
    box-shadow: 0 8px 24px var(--shadow-color);
  }
  
  /* Progress bar already uses --brand-600; keep it responsive to the picker */
  .xpv2-bar{ background: var(--brand-600); }

  /* Footer social icons — white glyphs in round buttons */
.footer .social-links{
    display: flex;
    gap: 10px;
    align-items: center;
  }
  
  /* button container */
  .footer .social-links .icon-btn{
    --btn-bg: rgba(0,0,0,.75);
    --btn-bg-hover: var(--brand-600);
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 999px;
    background: var(--btn-bg);
    color: #fff;                 /* makes SVG paths/lines white via currentColor */
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.18);
    transition: background .25s ease, transform .15s ease, border-color .25s ease;
  }
  .footer .social-links .icon-btn:hover{
    background: var(--btn-bg-hover);
    transform: translateY(-1px);
    border-color: transparent;
  }
  .footer .social-links .icon-btn:focus-visible{
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
  
  /* scale SVG neatly */
  .footer .social-links svg{
    display: block;
  }
  
  /* Dark theme tweak (keep icons white, soften bg) */
  [data-theme="dark"] .footer .social-links .icon-btn{
    --btn-bg: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.22);
  }
/* Smooth scroll everywhere */
html { scroll-behavior: smooth; }

/* Make anchors land below sticky header */
.section, #contact, #hero {
  scroll-margin-top: var(--site-header-offset, 76px);
}