/* Custom styles and overrides */

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

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

::-webkit-scrollbar-track {
    background: #1a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a84b, #b08530);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e8c97a, #d4a84b);
}

/* Selection color */
::selection {
    background-color: rgba(212, 168, 75, 0.3);
    color: #fff;
}

/* Focus styles */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #d4a84b;
    outline-offset: 2px;
}

/* Animation delays for staggered fade-ins */
.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(5) {
    animation-delay: 0.5s;
}

.fade-in:nth-child(6) {
    animation-delay: 0.6s;
}

/* Mobile menu transition */
@media (max-width: 767px) {
    .mobile-menu {
        transition: transform 0.3s ease-in-out;
    }
}

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

/* Prevent layout shift */
img, video, canvas, svg {
    display: block;
    max-width: 100%;
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .gold-gradient,
    .shimmer-text {
        color: #333 !important;
        -webkit-text-fill-color: #333 !important;
    }
}
