/* ========================================================================= */
/* PREMIUM ANIMATIONS & EFFECTS */
/* ========================================================================= */

/* Page Loader Fade Out */
.page-loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #050505;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: #fdfdfd;
    text-align: center;
    padding: 0 20px;
    animation: loaderPulse 1.5s infinite ease-in-out;
}
.loader-logo span { color: #d4af37; }

@keyframes loaderPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

/* Gradient Background Animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Elements */
@keyframes floating {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.floating-text {
    animation: floating 6s ease-in-out infinite;
}

/* Button & Card Premium Hover Effects */
.hover-glow:hover {
    background-color: var(--color-gold-hover, #b5952f);
    color: #000 !important;
    border-color: var(--color-gold-hover, #b5952f);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    transform: translateY(-3px);
}

.btn-secondary.hover-glow:hover, .btn-outline.hover-glow:hover {
    background-color: rgba(212, 175, 55, 0.15);
    color: #d4af37 !important;
}

.glass-card:hover, .menu-card:hover, .gallery-item:hover, .glass-card-solid:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.menu-card:hover .menu-img img, .gallery-item:hover .gallery-img {
    transform: scale(1.1) rotate(2deg);
}
.gallery-item:hover::before { opacity: 1; }

/* Dynamic WhatsApp Bounce */
@keyframes glowingBounce {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8); }
    50%  { transform: scale(1.05); box-shadow: 0 0 25px 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.glowing-bounce {
    animation: glowingBounce 2.5s infinite ease-in-out;
}

.glowing-bounce:hover {
    animation: none;
    background-color: #1ebe5d;
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

/* Lightbox Premium Transition */
.lightbox {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto; background-color: rgba(0,0,0,0.95); opacity: 0; backdrop-filter: blur(5px);
    transition: opacity 0.4s ease;
}
.lightbox.active { display: flex; justify-content: center; align-items: center; opacity: 1; }
.lightbox-content {
    margin: auto; display: block; max-width: 90%; max-height: 85vh; border-radius: 8px;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2); transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lightbox.active .lightbox-content { transform: scale(1); }
.lightbox-close { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 50px; font-weight: 300; transition: 0.3s; cursor: pointer; z-index: 2001; }
.lightbox-close:hover { color: #d4af37; transform: rotate(90deg); }
