/* Custom styles for Ideal Drivers School */

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

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

::-webkit-scrollbar-track {
    background: #022c22;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 5px;
}

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

/* Reveal animations - only for below-fold content */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Gold gradient text effect */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a8 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle glow effect */
.glow-gold {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Hover effects for cards */
.group:hover .group-hover\\:bg-gold-400\\/20 {
    background-color: rgba(212, 175, 55, 0.2);
}

/* Ensure all text is readable */
.text-offwhite {
    color: #f8fafc;
}

.text-offwhite\\/60 {
    color: rgba(248, 250, 252, 0.6);
}

.text-offwhite\\/70 {
    color: rgba(248, 250, 252, 0.7);
}

.text-offwhite\\/50 {
    color: rgba(248, 250, 252, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 1.875rem;
    }
    
    .font-serif.text-3xl {
        font-size: 1.75rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2rem;
    }
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.6);
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.2s ease-in-out;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
