/* --- CSS VARIABLES (Color Palette) --- */
:root {
    /* Colors */
    --clr-pine: #0f2b1d; /* Deep forest green */
    --clr-pine-light: #163d28;
    --clr-gold: #d4af37; /* Muted gold accent */
    --clr-gold-light: #f3d46f;
    --clr-cream: #fdfbf7; /* Warm cream */
    --clr-cream-dark: #f0ebe1;
    --clr-text-dark: #1f1f1f;
    --clr-text-light: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-cream);
    color: var(--clr-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-pine);
    line-height: 1.2;
}

.accent {
    color: var(--clr-gold);
    font-style: italic;
}
.accent.text-light {
    color: var(--clr-gold-light);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--clr-gold);
    color: var(--clr-pine);
    border: 1px solid var(--clr-gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    background-color: #fff;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-primary:hover {
    color: var(--clr-pine);
    border-color: var(--clr-gold-light);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-cream);
    border: 1px solid var(--clr-cream);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--clr-cream);
    color: var(--clr-pine);
}

.w-100 { width: 100%; }

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-slow);
    padding: 24px 0;
}

header.scrolled {
    padding: 12px 0;
    background: rgba(15, 43, 29, 0.85); /* Dark pine semi-transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Animated Logo */
.logo-wrapper {
    display: flex;
    align-items: baseline;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--clr-cream);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.logo-wrapper .char {
    display: inline-block;
}
.logo-wrapper .fw-bold { 
    font-weight: 700;
}
.logo-dot {
    width: 6px;
    height: 6px;
    background-color: var(--clr-gold);
    border-radius: 50%;
    margin-left: 4px;
    transform: scale(0);
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: var(--clr-cream);
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--clr-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-slow);
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Nav hiding */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .nav-container .btn-primary { display: none; }
    /* We'd add a hamburger menu in a real build, but floating CTA satisfies mobile constraints */
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -10%; left: -10%;
    width: 120%; height: 120%;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(15,43,29,0.95) 0%, rgba(15,43,29,0.7) 60%, rgba(15,43,29,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-text-block {
    max-width: 650px;
    color: var(--clr-cream);
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--clr-gold);
    margin-bottom: 20px;
    display: inline-block;
}

.scramble-heading {
    font-size: clamp(3rem, 6vw, 5rem); /* Responsive typography */
    color: var(--clr-cream);
    margin-bottom: 24px;
    line-height: 1.1;
    min-height: 1.1em; /* Prevent layout jump */
}

.hero-text-block .desc {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 40px;
    opacity: 1;
    max-width: 500px;
}

.btn-group {
    display: flex;
    gap: 16px;
}

/* --- ABOUT SECTION --- */
.about {
    background-color: var(--clr-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 24px;
}

.location-text {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--clr-cream-dark);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--clr-gold);
    font-size: 0.95rem !important;
}

.location-text svg { stroke: var(--clr-pine); }

.about-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 20px 40px rgba(15,43,29,0.1);
}

.about-image-wrapper img {
    width: 100%;
    height: 120%; /* Extra height for parallax */
    object-fit: cover;
}

/* --- SERVICES SECTION --- */
.services {
    background-color: var(--clr-pine-light);
    color: var(--clr-cream);
}

.services .section-title { color: var(--clr-cream); }
.services .services-header { text-align: center; margin-bottom: 60px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    perspective: 1000px; /* For potential 3D rot */
}

.card-inner {
    background-color: var(--clr-pine);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-slow);
    border: 1px solid rgba(212, 175, 55, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover .card-inner {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: rgba(212, 175, 55, 0.4);
}

.card-img {
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .card-img img {
    transform: scale(1.08); /* Hover Expansion */
}

.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    color: var(--clr-gold);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 16px;
    font-weight: 500;
}

.card-footer .price {
    font-size: 1.2rem;
    color: var(--clr-cream);
}
.card-footer .duration {
    font-size: 0.85rem;
    color: var(--clr-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- REVIEWS SECTION STACKED CARDS --- */
.bg-cream-dark { background-color: var(--clr-cream-dark); }
.text-center { text-align: center; }
.reviews-header { margin-bottom: 60px; }
.reviews-header p { font-size: 1.1rem; opacity: 0.8; }

.reviews-stack-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 50px; 
}

.review-card {
    position: sticky;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
}

/* Stacking effect specific margins */
.review-card:nth-child(1) { top: 120px; z-index: 10; margin-bottom: 250px; }
.review-card:nth-child(2) { top: 140px; z-index: 20; margin-bottom: 250px; }
.review-card:nth-child(3) { top: 160px; z-index: 30; margin-bottom: 0px; }

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 16px;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #4a4a4a;
    font-size: 0.95rem;
}

.stars {
    color: #fbbc04; /* Google gold */
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--clr-pine);
    font-family: var(--font-heading);
    margin-bottom: 30px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--clr-gold);
    color: var(--clr-pine);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    margin: 0;
    font-family: var(--font-body);
}

.reviewer-info span {
    font-size: 0.85rem;
    color: #777;
}

@media (max-width: 768px) {
    .review-card {
        padding: 24px;
    }
    .review-card:nth-child(1) { top: 100px; margin-bottom: 250px; }
    .review-card:nth-child(2) { top: 115px; margin-bottom: 250px; }
    .review-card:nth-child(3) { top: 130px; margin-bottom: 0; }
    
    .review-text { font-size: 1.1rem; }
}

/* --- MAP SECTION --- */
.map-section {
    background-color: var(--clr-cream);
    overflow: hidden;
}

.map-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.map-text {
    flex: 1;
}

.contact-details-box {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
}

.detail-item .icon-gold {
    color: var(--clr-gold);
    flex-shrink: 0;
    margin-top: 4px;
}

.detail-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--clr-pine);
    margin-bottom: 4px;
}

.detail-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #4a4a4a;
}

.mt-4 { margin-top: 32px; }

.map-frame {
    flex: 1.2;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(15, 43, 29, 0.1);
    border: 8px solid white;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(10%) sepia(20%) hue-rotate(15deg);
}

/* --- CTA SECTION (Liquid Gradient) --- */
.cta-section {
    background: linear-gradient(135deg, var(--clr-pine) 0%, #08160f 100%);
    color: var(--clr-cream);
    position: relative;
    overflow: hidden;
}

.liquid-shape {
    position: absolute;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 100%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.shape1 { width: 40vw; height: 40vw; top: -10vw; right: -10vw; animation: float 12s infinite cubic-bezier(0.4, 0, 0.2, 1); }
.shape2 { width: 30vw; height: 30vw; bottom: -5vw; left: -10vw; animation: float 15s infinite cubic-bezier(0.4, 0, 0.2, 1) reverse; }

@keyframes float {
    0%, 100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(30px, 50px) scale(1.1); }
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 { color: var(--clr-cream); font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 20px;}
.cta-content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 40px; }

.contact-list { list-style: none; }
.contact-list li {
    display: flex; align-items: center; gap: 16px;
    font-size: 1.2rem; margin-bottom: 16px;
    font-family: var(--font-heading);
}
.contact-list svg { color: var(--clr-gold); }

.glass-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 16px;
}

.form-title { color: var(--clr-gold); margin-bottom: 24px; font-size: 1.8rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; opacity: 0.8; }
.form-group input, .form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--clr-cream);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--clr-gold);
    background: rgba(255, 255, 255, 0.1);
}
.form-group select option { background: var(--clr-pine); color: var(--clr-cream); }

/* --- FOOTER --- */
.footer {
    background-color: #050e09;
    color: var(--clr-cream);
    padding: 80px 0 30px;
    text-align: center;
}

.footer-content {
    display: flex; justify-content: space-between; align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 40px; margin-bottom: 30px;
    text-align: left;
}

.footer-brand h3 { color: var(--clr-cream); font-size: 2rem; margin-bottom: 12px; }
.footer-brand p { opacity: 0.6; max-width: 300px; }

.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { opacity: 0.7; }
.footer-links a:hover { opacity: 1; color: var(--clr-gold); }
.footer-contact a { color: var(--clr-gold); }

.footer-bottom p { opacity: 0.4; font-size: 0.9rem; }

/* Responsive adjustments */
@media (max-width: 900px) {
    .about-grid, .map-wrapper, .cta-grid, .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .map-frame {
        width: 100%;
        order: 2; 
        height: 350px; 
    }
    .map-text { 
        order: 1; 
        text-align: left; 
    }
    .footer-content { gap: 40px; text-align: center; align-items: center; }
    .footer-brand p { margin: 0 auto; }
}

/* --- MOBILE ACTION BAR --- */
.mobile-action-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 56px; /* Offset for floating action bar */
    }

    .mobile-action-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .action-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 16px 0;
        color: var(--clr-cream);
        font-weight: 600;
        font-size: 1rem;
        letter-spacing: 0.5px;
        transition: background-color 0.2s ease;
    }
    
    .action-btn.call-btn {
        background-color: #1a73e8; /* Blue */
    }
    .action-btn.call-btn:hover, .action-btn.call-btn:active {
        background-color: #1557b0;
    }
    
    .action-btn.whatsapp-btn {
        background-color: #25D366; /* WhatsApp Green */
        color: white;
    }
    .action-btn.whatsapp-btn:hover, .action-btn.whatsapp-btn:active {
        background-color: #1ebe57;
    }
}
