:root {
    --primary-color: hsl(217.5, 11.4%, 13.7%);
    --secondary-color: #ffd500;
    --font-color: #4b535f;
}

body {
    background-color: var(--primary-color);
    font-family: "Cairo", sans-serif;
    color: #fff;
    overflow: hidden;
}

/* Make logo height consistent with icons */
.logo {
    height: 32px;
    /* adjust until aligned with icons */
    width: auto;
    display: block;
}

.event-card img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.font-gray {
    color: var(--font-color);
}

.event-card {
    background: #222;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 1rem;
}

.section-title {
    margin: 30px 0 15px;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-icons {
    color: var(--secondary-color) !important;
    text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    /* width of vertical scrollbar */
    height: 8px;
    /* height of horizontal scrollbar */
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
    /* scrollbar track color */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    /* scrollbar handle color */
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    /* space effect */
}

::-webkit-scrollbar-thumb:hover {
    background: #ffcc00;
    /* brighter on hover */
}

/* Fix slide sizing */
.swiper {
    padding: 10px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

.event-card {
    width: 100%;
    max-width: 300px;
    height: 280px;
}

/* ===== Modal Background Blur ===== */
.event-modal-wrapper {
    position: relative;
    overflow: hidden;
}

.event-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px) brightness(0.4);
    z-index: 0;
}

.event-modal-wrapper>*:not(.event-bg-blur) {
    position: relative;
    z-index: 1;
}

/* Description + Terms styles */
.event-extra {
    max-width: 1200px;
    margin: 0 auto;
}
.event-extra ul {
    list-style: disc;
}

/* Background separator like screenshot */
.event-sep {
    height: 1px;
    margin: 24px 0;
    background: linear-gradient(90deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.12) 20%,
            rgba(255,255,255,0.2) 50%,
            rgba(255,255,255,0.12) 80%,
            rgba(255,255,255,0) 100%);
}