/* Custom styles for The Wyndgate Pool website */

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

/* Custom selection color */
::selection {
    background-color: #fbbf24;
    color: #102a43;
}

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

/* Print styles */
@media print {
    nav, .mobile-menu, button, form {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    .hero-gradient {
        background: #102a43 !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }
    
    .service-card {
        border: 1px solid ButtonText;
    }
}

/* Reduced motion for animations */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .service-icon,
    .service-card,
    .reveal {
        animation: none !important;
        transition: none !important;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .service-card:active {
        transform: scale(0.98);
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Dark mode support (optional future enhancement) */
@media (prefers-color-scheme: dark) {
    /* Could add dark mode styles here if needed */
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-gradient {
        min-height: auto;
        padding: 80px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 1600px;
    }
    
    body {
        font-size: 18px;
    }
}

/* Ultra-wide screens */
@media (min-width: 2560px) {
    .max-w-7xl {
        max-width: 2200px;
    }
    
    body {
        font-size: 20px;
    }
}
