/* Greystone Restaurant — Custom Styles */

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

/* Custom selection color */
::selection {
    background: #a03030;
    color: #fefcf6;
}

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

/* Navbar transition states */
.nav-scrolled {
    background: rgba(254, 252, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(129, 36, 36, 0.08);
}

.nav-scrolled .menu-line {
    background: #812424;
}

/* Parallax-like hero image */
.hero-img {
    will-change: transform;
}

/* Hover lift for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(129, 36, 36, 0.12);
}

/* Input focus transitions */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(160, 48, 48, 0.1);
}

/* Button ripple effect */
button,
a[role="button"] {
    position: relative;
    overflow: hidden;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f9e2e2 0%, #fdf2f2 100%);
}

/* Print styles */
@media print {
    nav,
    #mobile-menu,
    .reveal {
        display: none !important;
    }

    body {
        color: #1c1917;
        background: white;
    }

    section {
        page-break-inside: avoid;
    }
}
