/* Custom Styles for Kuttin Korners */

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

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDelay {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fadeInDelay 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.animate-spin-slow {
    animation: spinSlow 20s linear infinite;
}

/* Gold Gradient Text */
.text-transparent {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

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

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #d4a017 !important;
    box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.3) !important;
}

/* Button Hover Effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

/* Navigation Active State */
nav a.active {
    color: #d4a017;
}

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

/* Responsive Typography */
@media (max-width: 640px) {
    .font-display {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .font-display {
        font-size: 3rem;
        line-height: 1.1;
    }
}

@media (min-width: 769px) {
    .font-display {
        font-size: 3.5rem;
        line-height: 1.1;
    }
}

/* Print Styles */
@media print {
    .no-print {
        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;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .bg-dark-900 {
        background-color: #000;
    }
    
    .text-gray-400 {
        color: #ccc;
    }
}

/* Selection Color */
::selection {
    background-color: rgba(212, 160, 23, 0.3);
    color: #fff;
}

::-moz-selection {
    background-color: rgba(212, 160, 23, 0.3);
    color: #fff;
}
