/* Custom Styles for Creole Nest Vi */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4f7552;
}

/* Selection Color */
::selection {
    background-color: #c5d9c8;
    color: #1f3022;
}

/* Input Placeholder Styling */
input::placeholder,
textarea::placeholder {
    color: #9bb99e;
    opacity: 1;
}

/* Focus Styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Hover Effects for Links */
a {
    transition: all 0.2s ease-in-out;
}

/* Image Loading Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-fade-in-up {
        opacity: 1;
        animation: none;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
