/* Custom styles and overrides */

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

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

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

::-webkit-scrollbar-thumb {
    background: #c5dfcc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #97c5a3;
}

/* Selection color */
::selection {
    background-color: #c5dfcc;
    color: #1c3123;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hover\\:scale-105:hover {
        transform: none;
    }
}

/* Fade-in animations for scroll reveal */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-in-up:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-in-up:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .fade-in-up:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .fade-in-up:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .fade-in-up:nth-child(6) { transition-delay: 0.3s; }

/* Pulse animation for hero badge */
@keyframes soft-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-pulse {
    animation: soft-pulse 2s ease-in-out infinite;
}

/* Image hover container */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(44, 78, 53, 0.08);
}
