/* Custom styles that extend beyond Tailwind */

/* Base typography refinements */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Smooth focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #f0f3f9;
}

/* 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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

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

/* Mobile menu active state */
body.menu-open {
    overflow: hidden;
}

/* Ensure images don't overflow cards */
img {
    max-width: 100%;
    height: auto;
}

/* Subtle gold shimmer on hover for interactive elements */
.menu-card {
    position: relative;
}

/* Nav transition states */
nav.scrolled {
    background: rgba(8, 18, 38, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(212, 160, 23, 0.1);
}

/* Custom focus ring for gold buttons */
.btn-shine:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

/* Ensure proper spacing for all screen sizes */
@media (max-width: 360px) {
    .font-serif {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
}
