/* Custom styles that complement Tailwind and inline styles */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 75, 0.3);
    color: #f5f0e8;
}

/* Focus visible styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #d4a84b;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card:hover {
        transform: none;
    }
    img:hover {
        transform: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    .nav-glass, .mobile-menu, #menu-overlay {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}

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

/* Very small screens */
@media (max-width: 360px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .service-card {
        padding: 1.5rem;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100svh;
    }
}
