/* ============================================
   MODERN STYLES FOR BAR RIVOLI
   ============================================ */

/* Import Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

/* Hero Section - Enhanced with modern overlay */
.hero-bg {
    background-image: linear-gradient(135deg, rgba(15, 58, 38, 0.85), rgba(45, 80, 22, 0.75)),
                      url('https://i.imgur.com/lgGHv6h.jpeg');
    background-attachment: fixed;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1.2s ease-out;
}

/* Smooth Fade In Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Premium CTA Button Styles */
.cta-primary {
    display: inline-block;
    background: linear-gradient(135deg, #e8b944 0%, #d4af37 100%);
    color: #0f3a26;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(232, 185, 68, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-primary:hover::before {
    width: 300px;
    height: 300px;
}

.cta-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(232, 185, 68, 0.5);
}

/* Immersive Full-Height Images (Sobre Nosotros) */
.immersive-image {
    height: 100%;
    min-height: 500px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.immersive-image:hover {
    transform: scale(1.03);
}

.immersive-container {
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

/* Enhanced Card Hover Effects */
.pincho-card,
.menu-category,
.review-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pincho-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Gallery Image Zoom Effect */
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Lightbox Modal Styles */
#lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#lightbox .close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#lightbox .close-lightbox:hover {
    transform: rotate(90deg) scale(1.2);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Section Fade In on Scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Navigation */
header {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Mobile Menu Smooth Transition */
#mobile-menu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .immersive-image {
        min-height: 300px;
    }
}

/* Subtle Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #e8b944 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
