/* Custom styles for Gulf Coast Appliance Repair */

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

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

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

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

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

/* Selection color */
::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #ffffff;
}

/* Service card animations */
.service-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Brand card hover */
.brand-card {
    transition: all 0.3s ease;
}

.brand-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 107, 74, 0.1);
}

/* Mobile menu transitions */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(46, 46, 46, 0.5);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Form input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #ff6b4a !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1);
}

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

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    .font-serif {
        font-size: 2.5rem !important;
    }
}

/* Print styles */
@media print {
    nav,
    #contact,
    .service-card,
    .brand-card {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
