/* Custom styles for Carson Lee's Asphalt Seal Coating */

:root {
    --burgundy-50: #fdf2f2;
    --burgundy-100: #fce7e7;
    --burgundy-200: #f9d0d0;
    --burgundy-300: #f3a8a8;
    --burgundy-400: #ea7575;
    --burgundy-500: #dc4f4f;
    --burgundy-600: #b52d2d;
    --burgundy-700: #932020;
    --burgundy-800: #781b1b;
    --burgundy-900: #661818;
    --burgundy-950: #380808;
    --blush-400: #ff849a;
    --blush-500: #ff5277;
    --blush-600: #f22b5c;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Service card hover effects */
.service-card {
    transition: background-color 0.3s ease;
}

.service-card:hover {
    background-color: var(--burgundy-50);
}

.service-card:hover h3 {
    color: var(--burgundy-700);
}

/* Subtle line animations */
.w-12.h-px {
    transition: width 0.3s ease;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--burgundy-300);
    box-shadow: 0 0 0 3px rgba(243, 168, 168, 0.15);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 400px;
    opacity: 1;
}

/* Gallery hover */
.group img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Scroll-based reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Selection color */
::selection {
    background-color: var(--burgundy-200);
    color: var(--burgundy-900);
}

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

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

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

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