/* Scuba Scrubbers — Custom Styles */

/* Base resets */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    line-height: 1.6;
}

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #532e3c;
}

/* Smooth image rendering */
img {
    -webkit-font-smoothing: antialiased;
}

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

/* Mobile menu transitions */
.mobile-menu {
    will-change: transform;
}

/* Reduced motion support */
@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;
    }
    
    .float-anim, .float-anim-delay {
        animation: none;
    }
    
    .btn-pulse {
        animation: none;
    }
    
    .service-card {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menu-overlay, .float-anim, .float-anim-delay {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .nav-glass {
        padding: 0 1rem;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .reveal-section {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #7f465b;
    }
    
    .bg-white\/5 {
        border: 2px solid rgba(255,255,255,0.3);
    }
}

/* Landscape phones */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
}
