/* Custom Styles for Escamilla Auto Group */

:root {
    --color-coral: #FF6B6B;
    --color-coral-light: #FF8E8E;
    --color-charcoal: #2D3436;
    --color-stone-50: #FAFAF9;
    --color-stone-100: #F5F5F4;
    --color-stone-200: #E7E5E4;
    --color-stone-400: #A8A29E;
    --color-stone-500: #78716C;
    --color-stone-600: #57534E;
    --color-stone-900: #1C1917;
}

/* Custom Color Definitions */
.bg-coral { background-color: var(--color-coral); }
.text-coral { color: var(--color-coral); }
.bg-charcoal { background-color: var(--color-charcoal); }
.text-charcoal { color: var(--color-charcoal); }

/* Typography */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

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

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

::-webkit-scrollbar-track {
    background: var(--color-stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--color-coral);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-coral-light);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

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

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: 2.5rem;
    }
    
    .lg\:text-8xl {
        font-size: 3.5rem;
    }
}

/* Print Styles */
@media print {
    nav, button, #contactForm {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
