/* Final Visual Enhancements */

/* Enhanced gradient overlay for hero section with better visibility - Dark theme */
.modern-hero::after {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.5) 3px, transparent 3px),
        radial-gradient(circle at 80% 20%, rgba(156, 163, 175, 0.6) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, rgba(209, 213, 219, 0.5) 2.5px, transparent 2.5px),
        radial-gradient(circle at 60% 70%, rgba(229, 231, 235, 0.55) 2px, transparent 2px),
        radial-gradient(circle at 90% 90%, rgba(243, 244, 246, 0.45) 3px, transparent 3px),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 70% 10%, rgba(107, 114, 128, 0.5) 1.5px, transparent 1.5px);
    background-size: 200px 200px, 150px 150px, 300px 300px, 250px 250px, 180px 180px, 120px 120px, 220px 220px;
    animation: floatParticles 25s linear infinite;
    mix-blend-mode: screen;
    opacity: 0.9;
}

/* Enhanced mobile menu styling */
@media (max-width: 991.98px) {
    .navbar-collapse {
        animation: slideDown 0.4s ease-out;
        transform-origin: top;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px) scaleY(0.8);
        }
        to {
            opacity: 1;
            transform: translateY(0) scaleY(1);
        }
    }
    
    .navbar-nav .nav-link {
        animation: fadeInLeft 0.5s ease-out forwards;
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .navbar-nav .nav-item:nth-child(1) .nav-link { animation-delay: 0.1s; }
    .navbar-nav .nav-item:nth-child(2) .nav-link { animation-delay: 0.2s; }
    .navbar-nav .nav-item:nth-child(3) .nav-link { animation-delay: 0.3s; }
    .navbar-nav .nav-item:nth-child(4) .nav-link { animation-delay: 0.4s; }
    .navbar-nav .nav-item:nth-child(5) .nav-link { animation-delay: 0.5s; }
    
    @keyframes fadeInLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

/* Enhanced floating buttons positioning */
.floating-modern {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn-modern {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.floating-btn-phone {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.floating-btn-phone:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    transform: scale(1.1) rotate(5deg);
    color: white;
    text-decoration: none;
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .floating-modern {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .floating-btn-modern {
        width: 55px;
        height: 55px;
    }
    
    .mobile-whatsapp-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .mobile-whatsapp-icon i {
        font-size: 1.2rem !important;
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Enhanced button hover effects */
.package-btn-whatsapp:hover,
.hotel-btn-whatsapp:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Loading spinner enhancement */
.loading::after {
    border-width: 3px;
    border-top-color: rgba(255, 255, 255, 0.8);
    border-right-color: rgba(255, 255, 255, 0.3);
    border-bottom-color: rgba(255, 255, 255, 0.3);
    border-left-color: rgba(255, 255, 255, 0.3);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .mobile-whatsapp-icon,
    .floating-btn-whatsapp-enhanced {
        animation: none !important;
    }
    
    .navbar-nav .nav-link {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mobile-whatsapp-icon,
    .floating-btn-whatsapp-enhanced {
        border: 2px solid white;
    }
    
    .navbar-nav .nav-link {
        border: 1px solid currentColor;
    }
}