/* Custom Styles for Max Auto Sales */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-lato {
    font-family: 'Lato', sans-serif;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-slide-in {
    animation: slideIn 1s ease-out forwards;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

/* Gold Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, #d4af37, #f4e4ba, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Glow Effects */
.glow-red {
    box-shadow: 0 0 20px rgba(128, 0, 32, 0.3);
}

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

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

/* Input Autofill Styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0a0a0a inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Selection Color */
::selection {
    background-color: #800020;
    color: #d4af37;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-cinzel {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Print Styles */
@media print {
    nav, #backToTop, button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
