/* Comet Espresso — Custom Styles */

/* Base styles already handled by Tailwind + inline styles in HTML */
/* This file adds additional custom touches */

/* Smooth focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: #0d9488;
    color: white;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Reduced motion - ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    .service-card:hover {
        transform: none;
    }
    img:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, #contact, .gallery-section {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary,
    button[type="submit"] {
        border: 2px solid ButtonText;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Small phone adjustments */
@media (max-width: 360px) {
    .hero-grid {
        padding: 1rem;
    }
    h1 {
        font-size: 2rem !important;
    }
}
