/* Custom styles for White Box Chicken IV */

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

/* Navbar transitions */
.nav-text-color {
    color: #0a1628;
    transition: color 0.3s ease;
}

.nav-subtext-color {
    color: #1c3050;
    transition: color 0.3s ease;
}

.nav-border-color {
    border-color: rgba(10, 22, 40, 0.15);
    transition: border-color 0.3s ease;
}

.nav-icon-color {
    color: #0a1628;
    transition: color 0.3s ease;
}

/* Dark navbar state */
nav.scrolled .nav-text-color {
    color: #ffffff;
}

nav.scrolled .nav-subtext-color {
    color: #94a3b8;
}

nav.scrolled .nav-border-color {
    border-color: rgba(255, 255, 255, 0.1);
}

nav.scrolled .nav-icon-color {
    color: #ffffff;
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 24px rgba(0, 0, 0, 0.04);
}

/* Mobile nav links */
.mobile-nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.mobile-nav-link:hover {
    border-bottom-color: #4ade80;
}

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

/* Card hover effects */
.group:hover {
    transform: translateY(-2px);
}

/* Button focus styles */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #132238;
}

/* Reduced motion */
@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;
    }
    
    .animate-bounce {
        animation: none;
    }
    
    .animate-pulse {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav,
    #contact,
    .absolute.bottom-8 {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
