/* Jims Burgers Wilmington — Custom Styles */

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

body {
    font-family: 'Lato', system-ui, sans-serif;
}

/* ===== Selection ===== */
::selection {
    background: #d95030;
    color: #FDF9F1;
}

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

/* ===== Smooth image rendering ===== */
img {
    -webkit-font-smoothing: antialiased;
}

/* ===== Navbar transitions ===== */
#navbar.scrolled {
    background: rgba(253, 249, 241, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(62, 15, 11, 0.08);
}

#navbar.scrolled .nav-text-color {
    color: #3a2312;
}

#navbar.scrolled .nav-link {
    color: #6c4829;
}

#navbar.scrolled .nav-link:hover {
    color: #d95030;
}

#navbar.scrolled .menu-bar {
    background: #3a2312;
}

/* ===== Mobile menu animations ===== */
#menuToggle[aria-expanded="true"] .menu-bar:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
#menuToggle[aria-expanded="true"] .menu-bar:nth-child(2) {
    opacity: 0;
}
#menuToggle[aria-expanded="true"] .menu-bar:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
    width: 1.5rem;
}

/* ===== Button interactions ===== */
.cta-btn {
    cursor: pointer;
    user-select: none;
}

/* ===== Card shadow on focus ===== */
.menu-card:focus-within {
    box-shadow: 0 0 0 3px rgba(217, 80, 48, 0.2), 0 8px 30px rgba(62, 15, 11, 0.08);
}

/* ===== Map hover ===== */
iframe:hover {
    filter: brightness(1.02);
}

/* ===== Print styles ===== */
@media print {
    #navbar, .cta-btn, button {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== 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;
    }
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
    .photo-zoom img {
        transition: none !important;
    }
    .photo-zoom:hover img {
        transform: none !important;
    }
    .deco-line {
        width: 80px !important;
    }
}

/* ===== Large screens ===== */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
    h1 {
        font-size: clamp(3.5rem, 5vw, 5rem);
    }
}

/* ===== Ultra-wide screens ===== */
@media (min-width: 2560px) {
    body {
        font-size: 18px;
    }
    .max-w-7xl {
        max-width: 90rem;
    }
}
