/* O'Blehar's Irish Pub — Custom Styles */

/* Base resets and typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling is handled in HTML */

/* Selection color */
::selection {
    background-color: rgba(20, 184, 166, 0.3);
    color: #f8fafc;
}

/* Image reveal animation - progressive enhancement */
.img-reveal::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #0f172a;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-reveal.revealed::after {
    transform: scaleX(0);
}

/* Grid fix for all sections */
.grid {
    display: grid;
}

/* Ensure proper gap handling */
.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-20 {
    gap: 5rem;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menuBtn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-split {
        grid-template-columns: 1fr !important;
    }
}
