/* Custom CSS for All-Pro Asphalt Company */

:root {
    --burgundy: #800020;
    --burgundy-dark: #5c0017;
    --blush-50: #fdf2f4;
    --blush-100: #fce7eb;
    --blush-200: #f9d0d9;
    --blush-300: #f4a8b5;
    --blush-400: #ed7a8a;
}

/* Custom Font Classes */
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.font-open-sans {
    font-family: 'Open Sans', sans-serif;
}

/* Custom Colors */
.text-burgundy {
    color: var(--burgundy);
}

.text-burgundy-dark {
    color: var(--burgundy-dark);
}

.text-blush-300 {
    color: var(--blush-300);
}

.bg-burgundy {
    background-color: var(--burgundy);
}

.bg-burgundy-dark {
    background-color: var(--burgundy-dark);
}

.bg-blush-50 {
    background-color: var(--blush-50);
}

.bg-blush-100 {
    background-color: var(--blush-100);
}

.bg-blush-400 {
    background-color: var(--blush-400);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

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

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

::-webkit-scrollbar-track {
    background: var(--blush-50);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-dark);
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Mobile Menu Transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

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

/* Card Hover Effects */
.group:hover .group-hover\\:bg-white {
    background-color: white;
}

.group:hover .group-hover\\:text-burgundy {
    color: var(--burgundy);
}

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

/* Print Styles */
@media print {
    nav,
    #back-to-top,
    .animate-bounce {
        display: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .bg-stone-50 {
        background-color: white;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
