/* 
 * SS Auto Sales Miami - Custom Styles
 * Editorial Design System
 */

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

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    background-color: #f9f7f4;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    line-height: 1.1;
}

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

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

::-webkit-scrollbar-thumb {
    background: #c4a498;
    border-radius: 4px;
}

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

/* Animation Utilities */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Form Styles */
input:focus,
textarea:focus {
    outline: none;
    border-color: #b08980;
    box-shadow: 0 0 0 3px rgba(176, 137, 128, 0.1);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Navigation Active State */
.nav-link.active {
    color: #977065;
}

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

/* Print Styles */
@media print {
    header, 
    footer,
    .mobile-menu-btn,
    #mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

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