/* Custom styles that extend beyond Tailwind */

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

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

/* Selection color */
::selection {
    background: rgba(200, 164, 94, 0.3);
    color: #0a1628;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #c8a45e;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-overlay,
    .cta-overlay {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* 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;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .service-card {
        border-width: 2px;
    }
    
    .btn-outline {
        border-width: 3px;
    }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: auto;
        padding: 6rem 0;
    }
    
    .hero-overlay {
        background: linear-gradient(90deg, rgba(10, 22, 40, 0.92) 0%, rgba(19, 34, 56, 0.72) 100%);
    }
}

/* Tablet landscape */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
    #hero {
        min-height: auto;
        padding: 4rem 0;
    }
}
