/* --- Global Utilities & Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.grayscale-hover {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.grayscale-hover:hover {
    transform: scale(1.03);
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 160, 89, 0.2);
}


p {
    line-height: 1.8;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F9F7F2;
}

::-webkit-scrollbar-thumb {
    background: #C5A059;
    border-radius: 10px;
}

/* --- Modal & Overlays --- */
#modal-booking,
#lightbox {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#modal-booking.active,
#lightbox.active {
    display: flex;
    opacity: 1;
}

.submenu {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.group:hover .submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Opacité renforcée pour la lisibilité des sous-menus au survol */
.submenu .glass {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}


/* --- Navigation & Scrolling Sections --- */
.gallery-img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* Spécifique à la page Dining (Tabs) */
.tab-btn.active {
    background-color: #C5A059;
    color: white;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

/* Spécifique à la page Menu */
.nav-link.active {
    color: #C5A059;
    font-weight: 700;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #C5A059;
}

.main-tab-btn {
    opacity: 0.4;
}

.main-tab-btn:hover {
    opacity: 1;
}

.main-tab-btn.active {
    opacity: 1;
    color: #C5A059;
}

/* --- Scrollbar Utilities --- */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Nav Item States */
.category-link.active-scroll {
    color: #C5A059;
    font-weight: 700;
}

/* --- Page Transition Overlay --- */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #F9F7F2;
    z-index: 999999;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}


.page-transition-overlay.hide {
    opacity: 0;
}