/*
Theme Name: Taverna u Čierneho krkavca
Theme URI:
Author: Taverna
Author URI:
Description: Medieval tavern restaurant theme - Stredoveká taverna u Čierneho krkavca
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: taverna
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
    --gold: rgba(204, 183, 160, 0.83);
    --gold-solid: #ccb7a0;
    --brown: #9e8c6c;
    --footer-brown: #ae9c89;
    --dark: #1a1a1a;
    --adhesive-nr-seven: 'Adhesive Nr Seven', sans-serif;
}

@font-face {
    font-family: 'Adhesive Nr Seven';
    src: url('assets/fonts/AdhesiveNrSeven.eot');
    src: local('Adhesive Nr Seven'), local('AdhesiveNrSeven'),
    url('assets/fonts/AdhesiveNrSeven.eot?#iefix') format('embedded-opentype'),
    url('assets/fonts/AdhesiveNrSeven.woff2') format('woff2'),
    url('assets/fonts/AdhesiveNrSeven.woff') format('woff'),
    url('assets/fonts/AdhesiveNrSeven.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* ===== FONTS ===== */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* ===== NAVBAR ===== */
.navbar-tavern {
    background: rgba(0, 0, 0, 0.65);
    padding: 0;
    min-height: 110px;
    transition: background 0.3s, min-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1050;
}

.navbar-tavern .navbar-brand img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar-tavern .nav-link {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #fff !important;
    padding: 0.5rem 0.75rem;
    transition: color 0.3s;
}

.navbar-tavern .nav-link:hover {
    color: var(--gold-solid) !important;
}

.navbar-tavern .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-tavern .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.lang-selector {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-selector img {
    width: 8px;
    height: 5px;
}

/* ===== GOLDEN BUTTON ===== */
.btn-gold {
    background: var(--gold);
    color: #000;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 40px 13px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    transition: background 0.3s;
    line-height: 1;
}

.btn-gold:hover {
    background: var(--gold-solid);
    color: #000;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.9rem);
    font-weight: 400;
    color: #fff;
}

/* ===== HERO / O NÁS ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 425px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.51);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 200px 0 120px;
}

.hero-content h1 {
    font-family: var(--adhesive-nr-seven);
    font-size: clamp(2.5rem, 5vw, 3.9rem);
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.3;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--gold);
    text-decoration: none;
}

.hero-scroll-down svg {
    width: 36px;
    height: 36px;
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ===== RESERVATION ===== */
.reservation {
    position: relative;
    width: 100%;
    min-height: 514px;
}

.reservation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.reservation .raven-img {
    position: absolute;
    left: -200px;
    top: 25%;
    transform: translateY(-30%);
    width: 600px;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

.reservation .container {
    position: relative;
    z-index: 3;
}

.reservation-content {
    padding: 100px 0;
}

.reservation-content h2 {
    font-family: var(--adhesive-nr-seven);
    font-size: clamp(2.5rem, 5vw, 3.9rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.reservation-content p {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 2.5rem;
}

/* ===== EVENTS ===== */
.events {
    position: relative;
    width: 100%;
    padding: 80px 0 100px;
    overflow: hidden;
}

.events h2 {
    font-family: var(--adhesive-nr-seven);
}

.events-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.events-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.51);
}

.events .container {
    position: relative;
    z-index: 2;
}

/* Events Carousel */
.events-carousel {
    position: relative;
}

.events-track-viewport {
    overflow: hidden;
}

.events-track {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
}

/* Not enough events to scroll — keep them centered */
.events-track.is-static {
    justify-content: center;
    transform: none !important;
}

.event-slide {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.event-card {
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.event-card .event-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
}

@media (min-width: 768px) {
    .event-card .event-img {
        width: 235px;
        height: 235px;
    }
}

.event-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.event-card .event-date {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.event-card .event-desc {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 2.5rem;
}

.events-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    opacity: 0.5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s;
}

.events-nav-btn:hover {
    opacity: 1;
}

.events-nav-prev {
    left: -10px;
}

.events-nav-next {
    right: -10px;
}

@media (min-width: 992px) {
    .events-nav-prev {
        left: -50px;
    }

    .events-nav-next {
        right: -50px;
    }
}

.events-nav-btn .carousel-control-prev-icon,
.events-nav-btn .carousel-control-next-icon {
    width: 20px;
    height: 28px;
}

/* ===== MENU ===== */
.menu-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 80px 0;
}

.menu-section h2 {
    font-family: var(--adhesive-nr-seven);
}

.menu-section .menu-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.menu-section .menu-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-section .menu-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.51);
}

.menu-section .container {
    position: relative;
    z-index: 2;
}

.menu-card {
    text-align: center;
    margin-bottom: 2rem;
}

.menu-card .menu-card-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0 auto 2rem;
    display: block;
    border-radius: 50%;
}

.menu-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.menu-card a {
    color: #fff;
    text-decoration: none;
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--dark);
    padding: 80px 0;
    position: relative;
}

.gallery .gallery-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gallery .gallery-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery .container {
    position: relative;
    z-index: 2;
}

.gallery h2 {
    font-family: var(--adhesive-nr-seven);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.gallery-grid .gallery-item {
    overflow: hidden;
}

.gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
    aspect-ratio: auto;
}

.gallery-grid .gallery-item img:hover {
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
}

/* ===== CONTACT ===== */
.contact {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 0;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.51);
}

.contact .raven-decoration {
    position: absolute;
    right: 0;
    bottom: 50px;
    max-width: 60%;
    height: auto;
    opacity: 0.30;
    z-index: 1;
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 3;
}

.contact-left h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-left .address {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.contact-left .contact-phone {
    margin-bottom: 2.5rem;
    margin-top: 2rem;
}

.contact-left .contact-phone a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-solid);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.contact-left .contact-phone a svg {
    flex-shrink: 0;
    padding: 7px;
    width: 24px;
    height: 24px;
    box-sizing: content-box;
    border-radius: 50%;
    background: var(--gold-solid);
    color: #000;
    transition: background 0.3s, transform 0.3s;
}

.contact-left .contact-phone a:hover {
    color: #fff;
    transform: translateX(3px);
}

.contact-left .contact-phone a:hover svg {
    transform: scale(1.08);
}

.contact-left h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0;
}

.hours-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 20px;
}

@media (max-width: 991.98px) {
    .hours-grid {
        gap: 5px;
    }
}

.hours-col {
    font-size: 1rem;
    line-height: 1.3;
    gap: 5px;
    display: flex;
    flex-direction: column;
}

.hours-col p {
    margin: 0;
}

.hours-col span {
    font-weight: 700;
    display: inline-block;
    width: 95px;
}

/* ===== CONTACT FORM ===== */
.contact-form .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0;
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.contact-form .form-control:focus {
    background: transparent;
    box-shadow: none;
    border-bottom-color: var(--gold-solid);
    color: #fff;
}

.contact-form .form-control::placeholder {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.contact-form textarea.form-control {
    resize: none;
    height: 120px;
}

.contact-form .wpcf7-list-item {
    margin: 0;
}

.wpcf7-not-valid-tip {
    padding: 5px 0;
}

.wpcf7 form .wpcf7-response-output {
    margin: 20px 0;
    text-align: center;
}

.form-check-label-custom,
.form-required {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #fff;
}

/* ===== NAVIGATE BUTTON (contact section) ===== */
.navigate-tagline {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.btn-navigate {
    font-size: 1rem;
    padding: 14px 48px;
    letter-spacing: 0.12em;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-brown);
    min-height: 43px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
}

.footer p {
    font-size: 0.8rem;
    color: #000;
    margin: 0;
}

.footer a {
    color: #000;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #000;
    color: var(--footer-brown);
    line-height: 0;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: var(--gold-solid);
    color: #000;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .navbar-tavern .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 4px;
        position: absolute;
        left: 0;
        width: 100%;
        top: 100px;
    }

    .reservation .raven-img {
        display: none;
    }

    .reservation-content {
        text-align: center;
    }

    .reservation-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        padding: 160px 0 80px;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .reservation-content {
        padding: 60px 0;
    }

    .contact .raven-decoration {
        display: none;
    }

    .hours-grid {
        flex-direction: column;
        gap: 5px;
    }
}

/* ===== MASONRY GRID ===== */
.masonry {
    column-count: 4;
    column-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.masonry-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.08);
}

.masonry-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.5) 0%,
            transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.masonry-item:hover::after {
    opacity: 1;
}

.masonry-item:nth-child(1) { transition-delay: 0.0s; }
.masonry-item:nth-child(2) { transition-delay: 0.1s; }
.masonry-item:nth-child(3) { transition-delay: 0.2s; }
.masonry-item:nth-child(4) { transition-delay: 0.15s; }
.masonry-item:nth-child(5) { transition-delay: 0.25s; }
.masonry-item:nth-child(6) { transition-delay: 0.35s; }
.masonry-item:nth-child(7) { transition-delay: 0.2s; }
.masonry-item:nth-child(8) { transition-delay: 0.3s; }
.masonry-item:nth-child(9) { transition-delay: 0.4s; }
.masonry-item:nth-child(10) { transition-delay: 0.25s; }
.masonry-item:nth-child(11) { transition-delay: 0.35s; }
.masonry-item:nth-child(12) { transition-delay: 0.45s; }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    cursor: pointer;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox.open img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    background: none;
    border: none;
    font-family: inherit;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 4rem;
    line-height: 1;
    opacity: 0.6;
    cursor: pointer;
    padding: 0 20px;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 1;
    user-select: none;
}

.lightbox-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 575px) {
    .lightbox-nav {
        font-size: 2.8rem;
        padding: 0 10px;
    }
    .lightbox-prev { left: 4px; }
    .lightbox-next { right: 4px; }
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    pointer-events: none;
}

@media (max-width: 991px) {
    .masonry {
        column-count: 3;
    }
}

/* ===== MOBILE GALLERY — jedná fotka + swipe ===== */
.gallery-mobile-nav {
    display: none;
}

@media (max-width: 767px) {
    .masonry {
        column-count: 1;
        column-gap: 0;
        padding: 0 0 20px;
    }

    .masonry-item {
        display: none;
        margin-bottom: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .masonry-item.gallery-active {
        display: block;
        animation: galleryItemIn 0.35s ease both;
    }

    @keyframes galleryItemIn {
        from { opacity: 0; transform: scale(0.97); }
        to   { opacity: 1; transform: scale(1); }
    }

    .gallery-mobile-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 14px 0 4px;
    }

    .gallery-mobile-btn {
        background: none;
        border: none;
        color: #cbb7a0;
        font-size: 1.3rem;
        line-height: 1;
        cursor: pointer;
        opacity: 0.75;
        padding: 0 8px;
        transition: opacity 0.2s;
        user-select: none;
    }

    .gallery-mobile-btn:hover {
        opacity: 1;
    }

    .gallery-mobile-counter {
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.9rem;
        min-width: 52px;
        text-align: center;
        letter-spacing: 0.05em;
    }
}

.wpcf7-form p {
    margin: 0;
    width: 100%;
}

/* ===== RESERVATION MODAL ===== */
.taverna-modal .modal-content {
    border-radius: 30px;
    color: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(204, 183, 160, 0.08);
    background-image: url('/wp-content/themes/taverna-theme/assets/images/menu-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.taverna-modal .modal-header {
    padding: 1.5rem 2rem;
    justify-content: center;
    border-bottom: 0;
}

.taverna-modal .modal-title {
    font-family: var(--adhesive-nr-seven);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    text-align: center;
}

.modal-menu-pdf-bar {
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: center;
}

.btn-menu-pdf {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-solid);
    border: 1px solid var(--gold-solid);
    padding: 0.35rem 0.9rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-menu-pdf:hover {
    background: var(--gold-solid);
    color: #000;
}

.taverna-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 20px;
    top: 20px;
}

.taverna-modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.taverna-modal .modal-body {
    padding: 2rem;
}

/* ===== EVENT MODAL — INFO BLOCK ===== */
.event-modal-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 0;
}

.event-modal-info-text {
    flex: 1;
    min-width: 0;
}

.event-modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

.event-modal-datetime {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.event-modal-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.2rem;
}

.event-modal-desc p {
    margin-bottom: 0.5rem;
}

.event-modal-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.95rem;
    color: #fff;
}

.event-modal-meta strong {
    color: var(--gold-solid);
}

.event-modal-info-img {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
}

.event-modal-info-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Locked date/time fields */
.event-reservation-form .res-top-cell input[readonly] {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 575.98px) {
    .event-modal-info {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .event-modal-info-img {
        width: 140px;
        height: 140px;
    }

    .event-modal-meta {
        justify-content: center;
    }
}

.taverna-modal .modal-backdrop,
.modal-backdrop {
    backdrop-filter: blur(4px);
}

/* ===== MENU PDF MODAL ===== */
.taverna-menu-pdf-modal .modal-body {
    padding: 0 1.5rem 1.5rem;
}

.menu-pdf-embed {
    position: relative;
    width: 100%;
    height: 80vh;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

.menu-pdf-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.menu-pdf-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.menu-pdf-embed.is-loading .menu-pdf-loader {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.menu-pdf-loader-bar {
    position: relative;
    width: 60%;
    max-width: 280px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.menu-pdf-loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: var(--gold-solid);
    border-radius: 2px;
    animation: menu-pdf-loader-slide 1.2s ease-in-out infinite;
}

@keyframes menu-pdf-loader-slide {
    0%   { left: -35%; }
    100% { left: 100%; }
}

.menu-pdf-loader-text {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 575.98px) {
    .menu-pdf-embed {
        height: 70vh;
    }
}

/* ===== RESERVATION CF7 FORM INSIDE MODAL ===== */

/* Top row: 3-column grid for guests / date / time */
.taverna-reservation-form .res-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 2rem;
}

.taverna-reservation-form .res-top-cell {
    padding: 1rem 1.2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.taverna-reservation-form .res-top-cell:last-child {
    border-right: none;
}

.taverna-reservation-form .res-top-cell label,
.taverna-reservation-form .res-top-cell .res-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.4rem;
}

/* All CF7 inputs inside the modal */
.taverna-reservation-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 0.6rem 0;
    width: 100%;
    outline: none;
    transition: border-bottom-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.taverna-reservation-form .wpcf7-form-control:not(.wpcf7-submit):focus {
    border-bottom-color: var(--gold-solid);
}

.taverna-reservation-form .wpcf7-form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Top row inputs — no bottom border, they sit inside bordered cells */
.taverna-reservation-form .res-top-cell .wpcf7-form-control {
    border-bottom: none;
    padding: 0.3rem 0;
}

/* Select dropdown styling */
.taverna-reservation-form select.wpcf7-form-control {
    background: transparent;
    color: #fff;
    cursor: pointer;
}

/* Uzamknutý čas pri rezervácii na podujatie (hodnota je predvyplnená) */
.taverna-reservation-form select.tav-locked-select {
    cursor: default;
    opacity: 0.7;
}

.taverna-reservation-form select.wpcf7-form-control option {
    background: #1a1a1a;
    color: #fff;
}

/* Date and time inputs — dark color scheme for native pickers */
.taverna-reservation-form input[type="date"],
.taverna-reservation-form input[type="time"] {
    color-scheme: dark;
}

/* Text rows below — label + input inline */
.taverna-reservation-form .res-field-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.taverna-reservation-form .res-field-row label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Klik na text labelu aktivuje pole */
.taverna-reservation-form label,
.taverna-reservation-form .tav-clickable-label {
    cursor: pointer;
}

.taverna-reservation-form .res-field-row .wpcf7-form-control-wrap {
    flex: 1;
}

/* Per-person food fields */
.food-per-person-container .food-person-group {
    margin-top: 1.5rem;
}

.food-per-person-container .food-person-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.25rem;
    cursor: pointer;
}

.food-per-person-container .food-person-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 0.5rem 0;
    resize: none;
    height: 80px;
    outline: none;
    transition: border-bottom-color 0.3s;
}

.food-per-person-container .food-person-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.food-per-person-container .food-person-group textarea:focus {
    border-bottom-color: var(--gold-solid);
}

/* Food choice section */
.taverna-reservation-form .res-food-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

/* Textarea */
.taverna-reservation-form textarea.wpcf7-form-control {
    resize: none;
    height: 100px;
}

/* Submit button */
.taverna-reservation-form .wpcf7-submit,
.taverna-reservation-form input[type="submit"] {
    background: var(--gold);
    color: #000;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 40px 13px;
    border-radius: 12px;
    border: none;
    display: block;
    margin: 2rem auto 0;
    min-width: 280px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    line-height: 1;
    text-transform: uppercase;
}

.taverna-reservation-form .wpcf7-submit:hover,
.taverna-reservation-form input[type="submit"]:hover {
    background: var(--gold-solid);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 183, 160, 0.4);
}

/* CF7 validation messages */
.taverna-reservation-form .wpcf7-not-valid-tip {
    color: #e57373;
    font-size: 0.8rem;
    margin-top: 4px;
}

.taverna-reservation-form .wpcf7-response-output {
    border-color: var(--gold-solid) !important;
    color: #fff;
    text-align: center;
    margin: 1rem 0 0;
    border-radius: 8px;
}

/* CF7 spinner */
.taverna-reservation-form .wpcf7-spinner {
    display: block;
    margin: 0.5rem auto;
}

/* Responsive: stack top row on mobile */
@media (max-width: 575.98px) {
    .taverna-reservation-form .res-top-row {
        grid-template-columns: 1fr;
    }

    .taverna-reservation-form .res-top-cell {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding: 1rem 0;
    }

    .taverna-reservation-form .res-top-cell:last-child {
        border-bottom: none;
    }

    .taverna-reservation-form .res-field-row {
        flex-direction: column;
        gap: 0;
    }
}

html {
    scroll-behavior: smooth;
}

/* ===== ADMIN BAR FIX ===== */
.admin-bar .navbar-tavern {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .navbar-tavern {
        top: 46px;
    }
}

/* ===== CONTACT FORM SUCCESS/ERROR ===== */
.taverna-form-message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.taverna-form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #81c784;
}

.taverna-form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #e57373;
}

/* ==============================================
   FUNKY ANIMATIONS
   ============================================== */

/* ===== KEYFRAMES ===== */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideLeft {
    from { opacity: 0; transform: translateX(-80px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideRight {
    from { opacity: 0; transform: translateX(80px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

@keyframes emberFloat {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0);
    }
    15% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-400px) translateX(var(--drift, 30px)) scale(0.3);
    }
}

@keyframes flickerGlow {
    0%, 100% { opacity: 0.8; box-shadow: 0 0 4px 1px rgba(255, 160, 50, 0.6); }
    25% { opacity: 0.5; box-shadow: 0 0 2px 1px rgba(255, 120, 30, 0.4); }
    50% { opacity: 1; box-shadow: 0 0 8px 2px rgba(255, 180, 60, 0.8); }
    75% { opacity: 0.6; box-shadow: 0 0 3px 1px rgba(255, 140, 40, 0.5); }
}

@keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes textRevealClip {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0% 0 0); }
}

@keyframes borderDraw {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-15deg) scale(0.8); }
    to { opacity: 1; transform: rotate(0) scale(1); }
}

/* ===== HERO CINEMATIC ENTRANCE ===== */
.hero-bg {
    animation: slowZoom 20s ease-in-out infinite alternate;
    transform-origin: center center;
}

.hero-content h1 {
    opacity: 0;
    animation: fadeSlideLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-content p {
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero-scroll-down {
    opacity: 0;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards,
               heroScrollBounce 2s ease-in-out 2s infinite;
}

/* ===== NAVBAR ENTRANCE ===== */
.navbar-tavern {
    animation: navSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* ===== NAV LINKS — UNDERLINE SLIDE ===== */
.navbar-tavern .nav-link {
    position: relative;
    overflow: hidden;
}

.navbar-tavern .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--gold-solid);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar-tavern .nav-link:hover::after {
    width: 100%;
}

/* ===== GOLDEN BUTTON — SHIMMER + LIFT ===== */
.btn-gold {
    position: relative;
    overflow: hidden;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 100%
    );
    transition: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 183, 160, 0.4);
}

.btn-gold:hover::before {
    animation: shimmer 0.8s ease forwards;
}

.btn-gold:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(204, 183, 160, 0.3);
}

/* ===== SECTION SCROLL REVEAL ===== */
.anim-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-reveal.anim-visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-reveal-left.anim-visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-reveal-right.anim-visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.anim-scale.anim-visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays via data-delay or nth-child */
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }

/* ===== SECTION TITLES — GOLD GLOW ON REVEAL ===== */
.section-title.anim-visible {
    animation: goldGlow 3s ease-in-out 0.5s infinite;
}

.section-title::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-solid), transparent);
    margin: 12px auto 0;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title.anim-visible::after {
    width: 120px;
}

/* ===== RESERVATION — RAVEN FLOAT ===== */
.reservation .raven-img {
    animation: floatY 4s ease-in-out infinite;
}

/* ===== EVENT CARDS — 3D TILT + GLOW ===== */
.event-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
    transform-style: preserve-3d;
    perspective: 800px;
}

.event-card:hover {
    transform: translateY(-8px) rotateX(2deg);
}

.event-card .event-img-link {
    display: block;
    cursor: pointer;
    outline: none;
    position: relative;
}

.event-card .event-img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.event-card:hover .event-img {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(204, 183, 160, 0.3);
}

/* ===== SOLD-OUT EVENTS ===== */
.event-card.event-sold-out .event-img-link {
    cursor: default;
}

.event-card.event-sold-out .event-img {
    filter: grayscale(65%) brightness(0.65);
}

.event-card.event-sold-out:hover .event-img {
    transform: none;
    box-shadow: none;
}

.event-soldout-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(179, 45, 46, 0.92);
    color: #fff;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1rem;
    padding: 8px 18px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
}

.btn-gold.btn-sold-out {
    background: #6b6b6b;
    color: #e0e0e0;
    cursor: not-allowed;
    pointer-events: none;
}

.event-soldout-notice {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.event-soldout-notice h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold-solid);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.event-soldout-notice p {
    color: #ddd;
    margin: 0;
}

/* ===== MENU CARDS — HOVER SPIN IMAGE + LIFT ===== */
.menu-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-card:hover {
    transform: translateY(-10px);
}

.menu-card .menu-card-img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s ease,
                filter 0.5s ease;
}

.menu-card:hover .menu-card-img {
    transform: rotate(5deg) scale(1.08);
    box-shadow: 0 15px 40px rgba(204, 183, 160, 0.25);
}

.menu-card h3 {
    transition: color 0.3s, text-shadow 0.3s;
}

.menu-card:hover h3 {
    color: var(--gold-solid);
    text-shadow: 0 0 15px rgba(204, 183, 160, 0.4);
}

/* ===== CONTACT FORM — ANIMATED FOCUS BORDER ===== */
.contact-form .form-control {
    transition: border-bottom-color 0.4s, box-shadow 0.4s, padding-left 0.3s;
}

.contact-form .form-control:focus {
    padding-left: 8px;
    box-shadow: 0 4px 12px -4px rgba(204, 183, 160, 0.3);
}

/* ===== FLOATING EMBERS / PARTICLES ===== */
.taverna-embers {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.ember {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 160, 50, 0.9), rgba(255, 100, 20, 0.4));
    animation: emberFloat var(--duration, 6s) var(--ember-delay, 0s) infinite ease-out,
               flickerGlow var(--flicker, 2s) infinite ease-in-out;
}

/* 12 embers with varied positions and timing */
.ember:nth-child(1)  { left: 5%;  --duration: 5s; --ember-delay: 0s;   --drift: 20px; --flicker: 1.8s; }
.ember:nth-child(2)  { left: 15%; --duration: 7s; --ember-delay: 1.2s; --drift: -25px; --flicker: 2.2s; }
.ember:nth-child(3)  { left: 25%; --duration: 6s; --ember-delay: 0.5s; --drift: 35px; --flicker: 1.5s; }
.ember:nth-child(4)  { left: 35%; --duration: 8s; --ember-delay: 2s;   --drift: -15px; --flicker: 2.5s; }
.ember:nth-child(5)  { left: 45%; --duration: 5.5s; --ember-delay: 0.8s; --drift: 40px; --flicker: 1.9s; }
.ember:nth-child(6)  { left: 55%; --duration: 7.5s; --ember-delay: 1.5s; --drift: -30px; --flicker: 2.1s; }
.ember:nth-child(7)  { left: 65%; --duration: 6.5s; --ember-delay: 0.3s; --drift: 25px; --flicker: 1.7s; }
.ember:nth-child(8)  { left: 75%; --duration: 5s; --ember-delay: 2.5s; --drift: -20px; --flicker: 2.3s; }
.ember:nth-child(9)  { left: 82%; --duration: 8s; --ember-delay: 1s;   --drift: 15px; --flicker: 1.6s; }
.ember:nth-child(10) { left: 90%; --duration: 6s; --ember-delay: 1.8s; --drift: -35px; --flicker: 2.4s; }
.ember:nth-child(11) { left: 10%; --duration: 9s; --ember-delay: 3s;   --drift: 45px; --flicker: 2s; width: 3px; height: 3px; }
.ember:nth-child(12) { left: 50%; --duration: 7s; --ember-delay: 0.7s; --drift: -40px; --flicker: 1.4s; width: 5px; height: 5px; }

/* ===== LOGO HOVER ===== */
.navbar-brand img {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.4s ease;
}

.navbar-brand:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(204, 183, 160, 0.5));
}

/* ===== GALLERY ITEM — REVEAL BADGE ===== */
.masonry-item::before {
    content: '\f002';
    font-family: inherit;
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    font-size: 2rem;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease;
    pointer-events: none;
    filter: grayscale(1) brightness(2);
}

.masonry-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
}

/* ===== BURGER MENU — LOCATION BLOCK ===== */
.nav-location {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 1rem;
    padding: 1.25rem 0 0.5rem;
    text-align: center;
}

.nav-location-text {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.btn-nav-location {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--gold-solid);
    border: 1px solid var(--gold-solid);
    padding: 8px 28px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.btn-nav-location:hover {
    background: var(--gold-solid);
    color: #1a0e00;
}

/* ===== FOOTER — SUBTLE SLIDE UP ON LOAD ===== */
.footer {
    opacity: 0;
    animation: fadeSlideUp 0.6s ease 0.5s forwards;
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-bg {
        animation: none;
    }

    .anim-reveal,
    .anim-reveal-left,
    .anim-reveal-right,
    .anim-scale {
        opacity: 1;
        transform: none;
    }

    .ember {
        display: none;
    }
}
