@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

body {
    font-family: 'Lexend', sans-serif;
}

.hero-gradient {
    /* Using the image from code.html */
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9)), url('https://images.unsplash.com/photo-1526676037777-05a232554f77?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-glow {
    text-shadow: 0 0 15px rgba(228, 27, 33, 0.4);
}

/* Infinite Marquee Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

body.modal-open {
    overflow: hidden;
}

.modal-content {
    background: #121212;
    border: 1px solid rgba(228, 27, 33, 0.2);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 0 40px rgba(228, 27, 33, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active {
    display: flex;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #e41b21;
}

.animate-scroll {
    animation: scroll 20s linear infinite;
}

.pause-hover:hover .animate-scroll {
    animation-play-state: paused;
}

/* Activity Card Styles */
.activity-card {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px -10px rgba(228, 27, 33, 0.3);
}

.glass-overlay {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.category-tag {
    background: rgba(228, 27, 33, 0.9);
    box-shadow: 0 0 10px rgba(228, 27, 33, 0.4);
}

/* Hide scrollbar for carousel */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobile Carousel */
@media (max-width: 767px) {
    .mobile-carousel {
        display: flex !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .mobile-carousel>div {
        flex: 0 0 85vw !important;
        scroll-snap-align: center !important;
        height: 400px !important;
        /* Slightly taller for mobile visual impact */
    }
}