/* Additional custom styles */
:root {
    --forest-50: #f2f7f0;
    --forest-100: #e3eddf;
    --forest-200: #c5dbbe;
    --forest-300: #98be8d;
    --forest-400: #6a9c5c;
    --forest-500: #4a7c3d;
    --forest-600: #38602e;
    --forest-700: #2d4d25;
    --forest-800: #243e1f;
    --forest-900: #1f331a;
    --cream-50: #fefdf8;
    --cream-100: #fdfbf0;
    --cream-200: #faf5d9;
    --cream-300: #f5edba;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom selection color */
::selection {
    background-color: var(--forest-300);
    color: var(--forest-900);
}

/* Focus visible styles */
:focus-visible {
    outline: 3px solid var(--forest-400);
    outline-offset: 2px;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Geometric shape animations */
.geo-shape {
    animation: float 6s ease-in-out infinite;
}

.geo-circle:nth-child(2) {
    animation-delay: 1s;
}

.geo-circle:nth-child(3) {
    animation-delay: 2s;
}

/* Card hover effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(74, 124, 61, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

/* Button animations */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: rgba(0, 0, 0, 0.1);
    transition: height 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::after {
    height: 100%;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Image hover zoom */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Custom checkbox styling */
input[type="checkbox"] {
    accent-color: var(--forest-500);
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .hero-gradient {
        background: var(--forest-800) !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid currentColor;
    }
    
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Large screen optimizations */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}

/* Small screen optimizations */
@media (max-width: 360px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
