/* Additional custom styles for Town Baltimore */

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

/* Selection color */
::selection {
    background-color: rgba(212, 168, 67, 0.3);
    color: #fdfbf7;
}

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

/* Loading animation for images */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .btn-primary,
    .btn-secondary {
        background: #d4a843;
        color: #0d0d0d;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .gold-gradient {
        color: Highlight;
        -webkit-text-fill-color: Highlight;
    }
}

/* Reduced motion */
@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;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .menu-card:hover {
        transform: none;
    }
    
    .menu-card:active {
        transform: translateY(-4px);
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    #hero {
        min-height: auto;
        padding: 4rem 0;
    }
}
