/* Additional custom styles beyond Tailwind */

/* Ensure smooth rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: #ff7d58;
    color: white;
}

/* Focus visible styles */
:focus-visible {
    outline: 3px solid #ff7d58;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Reduced motion preference */
@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;
    }
    
    .fade-up {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .card-lift:hover {
        transform: none;
    }
    
    .img-reveal:hover img {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, .wave-divider, .blob, #contact-form, .fade-up {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-overlay {
        display: none;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card-lift {
        border: 2px solid currentColor;
    }
    
    .nav-glass {
        border-bottom: 2px solid #000;
    }
}

/* Landscape phone fix for fixed nav */
@media (max-height: 500px) and (orientation: landscape) {
    nav {
        height: 60px;
    }
    
    nav > div > div:first-child {
        height: 60px;
    }
}
