/* CSS Variables for Serene Earth palette */
:root {
    --bg-primary: #FDFBF7; /* Warm sand */
    --bg-secondary: #EBECE8; /* Very light sage */
    --accent-sage: #859282; /* Soft olive green */
    --accent-forest: #2A3C24; /* Deep forest green */
    --accent-clay: #AF8B75; /* Calming clay/earth */
    --text-main: #2D2A26; /* Deep charcoal for readability */
    --text-light: #FDFBF7;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-primary);
    overflow: hidden; /* Hide main body scroll, handle scroll in main container */
}

/* Custom Webkit Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-sage);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-forest);
}

/* Scroll Snapping Container */
.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
}

.snap-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Glassmorphism Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(253, 251, 247, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-forest);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    position: relative;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding-bottom: 6px;
    position: relative;
    display: inline-block;
}

.nav-links a.special-booking {
    font-weight: 500;
    color: var(--accent-forest);
}

.nav-links a:hover {
    color: var(--accent-sage);
}

/* Sliding under-scrollbar indicator */
.nav-indicator {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-sage);
    transition: all 0.4s cubic-bezier(0.5, 0, 0.2, 1);
    border-radius: 2px;
    pointer-events: none;
}

/* Individual item semi-transparent bottom outline */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-sage);
    opacity: 0.3;
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

/* Buttons */
.btn-primary-small, .btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.btn-primary-small {
    background-color: var(--accent-forest);
    color: var(--text-light) !important;
    padding: 0.6rem 1.5rem;
}

.btn-primary-small:hover, .btn-primary:hover {
    background-color: var(--accent-clay);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(175, 139, 117, 0.3);
}

.btn-primary {
    background-color: var(--accent-forest);
    color: var(--text-light);
    margin-top: 2rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}
.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Background Utilities */
.bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
}

.hero-bg {
    background-image: url('img/hero-bg.jpg');
}
.survivor-bg {
    background-image: url('img/survivor-bg.jpg');
}
.contact-bg {
    background-image: url('img/contact-bg.jpg');
}
.hero-section .bg-overlay { background: linear-gradient(to right, rgba(253, 251, 247, 0.95) 0%, rgba(253, 251, 247, 0.5) 100%); }
.light-overlay { background: rgba(253, 251, 247, 0.85); }
.overlay-dark { background: rgba(42, 60, 36, 0.85); } /* Forest deep overlay */

/* Layout & Typography */
.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 6rem 0;
}

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

.subtitle {
    font-family: var(--font-body);
    color: var(--accent-clay);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--accent-forest);
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-main);
    max-width: 600px;
    font-weight: 300;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-forest);
    margin-bottom: 2rem;
}

.light-text { color: var(--text-light); }

.large-text {
    font-size: 1.4rem;
    line-height: 1.7;
    margin: 0 auto 4rem auto;
    max-width: 800px;
    font-weight: 300;
}

.body-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Split Layouts */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.split-layout.reverse .text-content { order: 2; }
.split-layout.reverse .image-content { order: 1; justify-content: center; display: flex; }

.manifesto {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.4;
    color: var(--accent-sage);
    font-style: italic;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-clay);
    padding-left: 2rem;
}

/* Images */
.ph-img1 {
    width: 100%;
    height: 600px;
    background-image: url('img/ph-img1.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.portrait-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    background-color: var(--bg-secondary);
}
.portrait-img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
}

/* Grid Sections */
.struggles-grid, .techniques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.struggle-card, .tech-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}
.tech-card { background: rgba(255, 255, 255, 0.9); }

.struggle-card:hover, .tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.struggle-card h3, .tech-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-forest);
    margin-bottom: 1rem;
}

.struggle-card p, .tech-card p {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--accent-clay);
    margin-bottom: 1rem;
}

/* Contact/Booking */
.fees-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 3rem;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto 3rem auto;
    color: var(--text-light);
}

.fees-box h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-clay);
}

.fees-box ul {
    list-style: none;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 2;
}

.fees-box .small-info { font-size: 0.9rem; opacity: 0.8; }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.cta-buttons .large { padding: 1.2rem 3rem; font-size: 1rem; }

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.social-links a:hover { color: var(--accent-clay); }


/* Scroll Indicator Animation */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--accent-forest);
    border-radius: 20px;
    display: block;
    position: relative;
}
.wheel {
    width: 3px;
    height: 6px;
    background: var(--accent-forest);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Intersection Observer Transitions */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- New Added Styles matching screenshots --- */

.bg-pale {
    background-color: #F8F7F4;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--accent-sage);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-badge::before {
    content: "";
    width: 24px;
    height: 1px;
    background-color: var(--accent-sage);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    line-height: 1.6;
    font-weight: 300;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    text-align: left;
}

.card-outline {
    background: #fff;
    border: 1px solid #efecec;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-outline:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.card-outline h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.card-outline p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    font-weight: 300;
}

.card-icon-box {
    width: 48px;
    height: 48px;
    background: #F6F5F2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-sage);
    margin-bottom: 2.5rem;
}

/* Fees Grid Specifics */
.fees-grid .fee-card {
    text-align: center;
}

.clickable-card {
    text-decoration: none;
    display: block;
    color: inherit;
    cursor: pointer;
}

.fee-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-sage);
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.fee-price .currency {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 400;
}

.fee-price .per {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #888;
    line-height: 1.3;
    text-align: left;
    text-transform: lowercase;
}

.fee-divider {
    border: none;
    border-top: 1px solid #F0F0F0;
    width: 60%;
    margin: 0 auto 1.5rem auto;
}

.card-outline.fee-card .fee-detail {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* Nav Underline Interaction Removed -> Handled globally via nav-indicator */

/* Footer layout inside snap section */
.flex-col-center {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-block {
    width: 100%;
    margin-top: auto;
}

/* Premium Footer CSS */
.custom-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 3rem 4rem 1.5rem 4rem;
    color: var(--text-main);
    width: 100%;
    font-family: var(--font-body);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-forest);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #888;
    max-width: 300px;
    line-height: 1.5;
}

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

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-sage);
    text-decoration: none;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.social-icon:hover {
    background: var(--accent-sage);
    color: #fff;
    border-color: var(--accent-sage);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(133, 146, 130, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: #999;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-forest);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .split-layout { grid-template-columns: 1fr; gap: 2rem; }
    .split-layout.reverse .text-content { order: 1; }
    .split-layout.reverse .image-content { order: 2; }
    .hero-title { font-size: 3.5rem; }
    .glass-header { padding: 1rem 2rem; flex-direction: column; gap: 1rem; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .content-wrapper { padding: 7rem 0 4rem 0; }
}

@media (max-width: 768px) {
    .struggles-grid, .techniques-grid, .cards-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .cta-buttons { flex-direction: column; }
    .fee-price { font-size: 2.2rem; }
    .card-outline { padding: 2rem 1.5rem; }
    
    /* Footer layout */
    .footer-content { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        gap: 2rem; 
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-bottom: 2rem;
    }
    .custom-footer { padding: 2rem 1rem 0 1rem; }
}

@media (max-height: 700px) {
    /* For smaller height screens, avoid section overflow snapping issues by just letting content dictate size */
    .snap-section { min-height: auto; padding: 4rem 0; }
    .content-wrapper { padding: 6rem 0 2rem 0; }
}
