:root {
    --forest-green: #2D5A3D;
    --forest-dark: #1F4229;
    --forest-light: #3D7A52;
    --stone-50: #FAFAF9;
    --stone-100: #F5F5F4;
    --stone-200: #E7E5E4;
    --stone-600: #57534E;
    --stone-800: #292524;
    --stone-900: #1C1917;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--stone-800);
    background-color: var(--stone-50);
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Lato', sans-serif;
}

/* Custom Colors */
.text-forest-green {
    color: var(--forest-green);
}

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

.text-forest-dark {
    color: var(--forest-dark);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.reveal-text {
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-text:nth-child(2) {
    animation-delay: 0.2s;
}

.reveal-text:nth-child(3) {
    animation-delay: 0.4s;
}

.reveal-text:nth-child(4) {
    animation-delay: 0.6s;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--forest-green) !important;
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

/* Service Card Hover */
.group:hover .group-hover\:text-white {
    color: white;
}

.group:hover .group-hover\:bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.group:hover .group-hover\:text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

/* Image Hover */
img {
    transition: transform 0.5s ease;
}

/* Smooth Scroll Offset for Fixed Navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 300px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--forest-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--forest-dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2.5rem;
    }
    
    .font-serif.text-5xl {
        font-size: 3rem;
    }
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}
