/* Custom styles for Free Clear Window Washing */

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

/* Selection color */
::selection {
    background-color: #34a859;
    color: white;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #34a859;
    outline-offset: 2px;
}

/* Button ripple effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

/* Image hover effects */
img {
    max-width: 100%;
    height: auto;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #34a859, #112040);
    border-radius: 6px;
    border: 3px solid #f2fcf5;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1e7d3f, #234570);
}

/* Print styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    nav, .blob, button {
        display: none;
    }
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    .card-hover {
        border: 2px solid #112040;
    }
}

/* Large screen optimizations */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(135deg, #f2fcf5 0%, #e1f7e8 60%, #f0f4f8 100%);
    }
    
    .font-serif {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .blob {
        display: none;
    }
}
