/* --- Variables & Reset --- */
:root {
    /* Color Palette */
    --color-primary: #3d5a42;       /* Subdued Sage Green */
    --color-primary-light: #527558;
    --color-secondary: #c9b09a;     /* Soft Sandstone */
    --color-secondary-dark: #b59b84;
    --color-accent: #e5dace;        /* Warm Beige */
    
    --color-text-main: #333333;     /* Deep Charcoal */
    --color-text-muted: #666666;
    --color-bg-main: #f9f7f4;       /* Off-white shell */
    --color-bg-sand: #f0ebe1;
    --color-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    
    /* Spacing */
    --section-padding: 6rem 0;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.bg-sand {
    background-color: var(--color-bg-sand);
}

/* --- Components --- */
/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary::before {
    background-color: var(--color-primary-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-secondary::before {
    background-color: var(--color-white);
}
.btn-secondary:hover {
    color: var(--color-primary);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-primary);
    border-bottom: 1px solid transparent;
}

.link-arrow:hover {
    gap: 1rem;
    border-bottom-color: var(--color-primary);
}


/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
    /* Glassmorphism initial state - purely transparent until scrolled */
    background: transparent; 
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-link {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--color-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

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

.nav-cta {
    padding: 0.75rem 1.5rem;
}
.navbar:not(.scrolled) .btn-primary.nav-cta{
    background-color: var(--color-white);
    color: var(--color-primary);
}
.navbar:not(.scrolled) .btn-primary.nav-cta::before {
    background-color: var(--color-accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.8rem;
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn { color: var(--color-primary); }

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    height: auto;
    padding: 120px 0 80px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('../images/download (54).jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(20,30,20,0.7), rgba(20,30,20,0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--color-white);
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 600px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* --- Hero Features Cards --- */
.hero-features-cards {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
}

.hero-feature-card {
    background: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    flex: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
}

.hero-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.hero-feature-img {
    height: 180px;
    overflow: hidden;
}

.hero-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-feature-card:hover .hero-feature-img img {
    transform: scale(1.05);
}

.hero-feature-content {
    padding: 1.5rem;
    text-align: left;
}

.hero-feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.hero-feature-content h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-weight: 500;
    margin: 0;
}

/* --- Section Headers --- */
.section-subtitle {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-description {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}


/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 2rem;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(201,176,154,0.4);
    animation: float 6s ease-in-out infinite;
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-content .link-arrow {
    margin-top: 1rem;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}

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

.service-image {
    height: 240px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-content p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-bg-sand);
    font-family: var(--font-heading);
}

.service-footer .price {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.service-footer .duration {
    color: var(--color-secondary-dark);
    font-style: italic;
}


/* --- Testimonials Section --- */
.testimonials {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.testimonials .section-title,
.testimonials .section-subtitle {
    color: var(--color-white);
}
.testimonials .section-subtitle{
    opacity: 0.8;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: 4px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- Footer Section --- */
.footer {
    background-color: #1a241b; /* Very dark green almost black */
    color: rgba(255,255,255,0.7);
    padding: 6rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin: 1.5rem 0;
    max-width: 300px;
    font-size: 0.95rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer h3 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 1rem;
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}
.footer-contact i {
    margin-top: 4px;
    color: var(--color-secondary);
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.8rem 1rem;
    color: var(--color-white);
    border-radius: 2px 0 0 2px;
}
.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary-light);
}

.newsletter-form .btn {
    padding: 0.8rem 1.2rem;
    border-radius: 0 2px 2px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

.footer-legal a {
    margin-left: 2rem;
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* --- Animations & Utilities --- */

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Initial Hidden States for JS Reveal */
.fade-in-up, .reveal-up, .reveal-left, .reveal-right, .fade-element {
    opacity: 0;
    visibility: hidden;
}

.fade-in-up { transform: translateY(30px); }
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

/* Active Visible States applied by JS */
.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }


/* --- Responsive Design --- */
@media screen and (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        order: 2; /* Move image down on tablet */
        margin-top: 2rem;
    }
    .about-content {
        order: 1;
    }
    
    .experience-badge {
        bottom: 20px;
        right: 20px;
        width: 120px;
        height: 120px;
    }
    .experience-badge .years { font-size: 2rem; }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    .section-title { font-size: 2rem; }
    .hero h1 { font-size: 2.5rem; }

    /* Mobile Menu */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links, .nav-cta {
        display: none; /* Hidden by default on mobile */
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 1.5rem;
    }

    .nav-links.active .nav-link {
        color: var(--color-text-main);
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-features-cards {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-legal a {
        margin: 0 1rem;
    }
}

/* --- Internal Pages Styles --- */
.page-hero {
    padding-top: 150px;
    padding-bottom: 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.page-hero h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: var(--color-accent);
    font-size: 1.25rem;
}

.scrolled-default {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.scrolled-default .logo,
.scrolled-default .nav-link {
    color: var(--color-primary);
}

.scrolled-default .mobile-menu-btn {
    color: var(--color-primary);
}

.scrolled-default .btn-primary.nav-cta::before {
    background-color: var(--color-primary-light);
}

.nav-link.active-link {
    font-weight: 700;
}
.nav-link.active-link::after {
    width: 100%;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    list-style: none;
    margin-top: 2rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: var(--color-bg-sand);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
