/* Additional custom styles for The Hangar Lounge */

/* Ensure proper font loading */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* Smooth transitions for all interactive elements */
a, button {
    -webkit-tap-highlight-color: transparent;
}

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

/* Prevent layout shift on images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Custom selection color */
::selection {
    background-color: #9c1e3d;
    color: #fefdfb;
}

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

/* Reduce motion for accessibility */
@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;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    #mobile-menu-btn {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    .elegant-card {
        break-inside: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .elegant-card {
        border: 2px solid #9c1e3d;
    }
}

/* Ensure all text meets WCAG AA contrast ratios */
.text-burgundy-700 {
    color: #9c1e3d; /* 4.5:1 on cream backgrounds */
}

.text-burgundy-900 {
    color: #6e1b32; /* 12:1 on cream backgrounds */
}

.text-burgundy-950 {
    color: #3d0812; /* 15:1 on cream backgrounds */
}

.text-cream-200 {
    color: #faf0e0; /* 7:1 on burgundy backgrounds */
}

.text-cream-50 {
    color: #fefdfb; /* 15:1 on burgundy backgrounds */
}

.text-blush-300 {
    color: #f5c4b5; /* 7:1 on burgundy backgrounds */
}
