/* Custom styles and overrides */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #F5F2EB;
    color: #2C2C2C;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Hero overlay gradient */
.hero-overlay {
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.85) 0%, rgba(45, 90, 61, 0.65) 50%, rgba(44, 44, 44, 0.75) 100%);
}

/* Primary button */
.btn-primary {
    background-color: #2D5A3D;
    color: #F5F2EB;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3A734E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 90, 61, 0.3);
}

/* Secondary button */
.btn-secondary {
    background-color: transparent;
    color: #F5F2EB;
    border: 2px solid #F5F2EB;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #F5F2EB;
    color: #2D5A3D;
}

/* Service card hover effect */
.service-card {
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(45, 90, 61, 0.15);
}

/* Navigation link underline effect */
.nav-link {
    position: relative;
}

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

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

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
}

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

::-webkit-scrollbar-track {
    background: #F5F2EB;
}

::-webkit-scrollbar-thumb {
    background: #2D5A3D;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3A734E;
}

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

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

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}
