/* Custom Styles for Key City Builders */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #c9a84c, #d4b95f);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #d4b95f, #dfca72);
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #dfca72 0%, #c9a84c 50%, #d4b95f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Animation Delays */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

/* Focus Styles */
button:focus,
a:focus {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

/* 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;
    }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .border-gold-500\\/10 {
        border-color: rgba(201, 168, 76, 0.5);
    }
}

/* Large Screen Optimizations */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Mobile Touch Improvements */
@media (hover: none) {
    .group:hover .group-hover\\:scale-105 {
        transform: none;
    }
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Selection Color */
::selection {
    background-color: rgba(201, 168, 76, 0.3);
    color: white;
}

::-moz-selection {
    background-color: rgba(201, 168, 76, 0.3);
    color: white;
}
