/* Custom styles for Whit's Laundry Sales */

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

/* Mobile menu animation */
.mobile-menu-slide {
    transition: max-height 0.3s ease-in-out;
}

/* Button hover effects */
.btn-hover {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

/* Gradient backgrounds */
.gradient-blue {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.gradient-overlay {
    background: linear-gradient(45deg, rgba(30, 64, 175, 0.9) 0%, rgba(30, 58, 138, 0.8) 100%);
}

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

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

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

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

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Loading animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Cookie banner styles */
.cookie-consent-banner {
    animation: slideUp 0.5s ease-out;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .cookie-consent-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-repair-blue {
        background-color: #000080;
    }
    
    .text-repair-slate {
        color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .cookie-consent-banner,
    nav,
    footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}