:root {
    --primary: #1c4b43; /* Deep alpine green */
    --secondary: #90b4a4; /* Soft sage green */
    --accent: #d4a373; /* Warm earth tone */
    --bg-light: #f7f9f8;
    --text-dark: #2b2d2c;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    background: transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.navbar.scrolled .nav-brand {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
}

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

.nav-btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
}

.nav-btn:hover {
    transform: translateY(-2px);
    background: #c38f5c;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-light);
    border-radius: 3px;
}

.navbar.scrolled .mobile-menu-toggle .bar,
.navbar.menu-open .mobile-menu-toggle .bar {
    background-color: var(--primary);
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/forest_bg_v2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 75, 67, 0.8) 0%, rgba(28, 75, 67, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--text-light);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: var(--accent);
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: var(--text-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}

.about-image {
    position: relative;
    width: 80%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.portrait-illustration {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.stat-item h3 a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.stat-item h3 a:hover {
    opacity: 0.8;
}

/* Philosophy Section */
.philosophy-section {
    padding: 6rem 0;
    background: #fff;
}

.philosophy-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.philosophy-image {
    flex: 1;
    max-width: 500px;
}

.philosophy-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.philosophy-text {
    flex: 1.2;
}

.philosophy-text h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.philosophy-text p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .philosophy-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .philosophy-image {
        max-width: 400px;
    }
}

/* Services */
.services-section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 4rem;
}

.service-detail-block {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 6rem;
    padding: 3rem;
    background: var(--text-light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
}

.toggle-icon {
    display: none;
    font-size: 1.5rem;
    color: var(--accent);
    transition: none;
}

@media (max-width: 900px) {
    .service-header {
        cursor: pointer;
    }
    .toggle-icon {
        display: block;
    }
    .service-content {
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
        opacity: 0;
    }
    .service-detail-block.active .service-content {
        max-height: 3000px;
        opacity: 1;
        margin-top: 1.5rem;
    }
    .service-detail-block.active .toggle-icon {
        transform: rotate(45deg);
    }
}

@media (min-width: 900px) {
    .service-detail-block {
        flex-direction: row;
        align-items: center;
    }
    .service-detail-block.reverse {
        flex-direction: row-reverse;
    }
    .service-text {
        flex: 1;
        padding-right: 2rem;
    }
    .service-detail-block.reverse .service-text {
        padding-right: 0;
        padding-left: 2rem;
    }
    .service-images {
        flex: 1;
    }
}

.service-text h3 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.service-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.service-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

@media (max-width: 900px) {
    .service-images {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    background: url('./assets/vitruvian_diagram.jpg') center/cover fixed;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 75, 67, 0.85);
}

.contact-card {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: var(--text-light);
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: left;
}

.contact-info h3, .contact-hours h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 0.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 0.4rem 0;
    font-size: 1.1rem;
}

.hours-table td:nth-child(2) {
    text-align: right;
    font-weight: 500;
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hours-table td:nth-child(2) {
        text-align: left;
        padding-left: 2rem;
    }
}

/* Footer */
footer {
    background: #112d28;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 2rem 0;
}

footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

footer a:hover {
    color: var(--text-light);
}

/* Global Transitions Restored */
a, button, .cta-btn, .nav-links a, .mobile-menu-toggle .bar {
    transition: all 0.3s ease-in-out;
}

/* Atmospheric Forest Effects */
.forest-atmosphere {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

/* Sunrays Pulse */
.sunrays {
    position: absolute;
    width: 100%;
    height: 150%;
    top: -25%;
    opacity: 0.6;
}

.ray {
    transform-origin: top center;
    animation: raySway 12s ease-in-out infinite alternate;
}

.ray-2 { animation-delay: -3s; opacity: 0.7; }
.ray-3 { animation-delay: -7s; opacity: 0.5; }

@keyframes raySway {
    0% { transform: rotate(-5deg) scaleX(0.9); opacity: 0.4; }
    100% { transform: rotate(5deg) scaleX(1.1); opacity: 0.8; }
}

/* Water Glint / Fireflies */
.glint {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 10px #fff;
    opacity: 0;
    animation: glintPulse 4s ease-in-out infinite;
}

.g1 { bottom: 15%; left: 30%; animation-delay: 0s; }
.g2 { bottom: 20%; left: 45%; animation-delay: 1.5s; }
.g3 { bottom: 12%; left: 60%; animation-delay: 0.8s; }
.g4 { bottom: 25%; left: 25%; animation-delay: 2.2s; }
.g5 { bottom: 18%; left: 70%; animation-delay: 3s; }

@keyframes glintPulse {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* Swaying Leaves */
.leaves {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.leaf {
    transform-origin: center;
    animation: leafSway 8s ease-in-out infinite alternate;
}

.l2 { animation-delay: -2s; }
.l3 { animation-delay: -5s; }

@keyframes leafSway {
    0% { transform: translate(0, 0) rotate(-10deg) skew(5deg); }
    100% { transform: translate(15px, 10px) rotate(10deg) skew(-5deg); }
}

/* Animations Removed Area Updated */
.hero-content {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s ease;
        padding: 2rem;
        z-index: 999;
    }
    
    .nav-right.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        width: 100%;
    }
    
    .nav-links a {
        color: var(--text-dark);
        font-size: 1.5rem;
    }
    
    .navbar .nav-btn {
        display: inline-block;
        width: auto;
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 2rem;
    }
    .service-detail-block {
        padding: 2rem;
    }
}

