/* Custom Styles for DCI Big Sky */

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

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

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

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

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

/* Selection Color */
::selection {
    background: #d4a526;
    color: #11162d;
}

/* Hero Animations */
.hero-badge {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.hero-title {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
}

.hero-trust {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 1s forwards;
}

.hero-image {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.5s forwards;
}

.hero-scroll {
    opacity: 0;
    animation: fadeIn 0.6s ease-out 1.2s forwards;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@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;
    }
    
    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .hero-trust,
    .hero-image,
    .hero-scroll {
        opacity: 1;
        animation: none;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Nav States */
.nav-scrolled .nav-text {
    color: #11162d;
}

.nav-scrolled .nav-border {
    border-color: #e3e6f0;
}

.nav-scrolled .nav-dot {
    background: #11162d;
}

/* Mobile Menu */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
}

.mobile-menu-open .mobile-link {
    animation: fadeInUp 0.4s ease-out forwards;
}

.mobile-menu-open .mobile-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu-open .mobile-link:nth-child(5) { animation-delay: 0.3s; }

/* Button Focus States */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d4a526;
    outline-offset: 2px;
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Image Loading */
img {
    background-color: #f6f7fb;
}

/* Print Styles */
@media print {
    nav,
    .hero-scroll,
    #contact-form,
    #form-success {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-navy-950,
    .bg-navy-900 {
        background: #fff !important;
        color: #000 !important;
    }
}
