

/* =====================================================
   GLOBAL RESET & BASE
===================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: #222;
    line-height: 1.7;
    background: #ffffff;
}

/* =====================================================
   CONTAINER
===================================================== */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 28px 16px;
}

/* =====================================================
   STICKY BREADCRUMB
===================================================== */
.breadcrumb {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 16px;
    font-size: 14px;
}

/* =====================================================
   HERO SECTION (REDUCED TOP SPACE)
===================================================== */
.hero-section {
    min-height: 72vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.65);
    width: 100%;
    padding: 16px 16px 20px; /* reduced top padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-overlay h1 {
    font-size: clamp(26px, 5vw, 50px);
    font-weight: 800;
    margin: 0 0 8px; /* reduced top margin */
    color: #ffffff;
}

.hero-overlay p {
    max-width: 720px;
    font-size: clamp(14px, 2.5vw, 18px);
    color: #e5e7eb;
    margin: 0;
}

/* Reduce gap after hero */
.hero-section + .event-section {
    padding-top: 18px;
}

/* =====================================================
   EVENT SECTIONS (COMPACT SPACING)
===================================================== */
.event-section {
    padding: 34px 0;
}

.light-bg {
    background: #f7f8fa;
}

/* =====================================================
   HEADINGS (CENTER + DIVIDER)
===================================================== */
.event-section h2 {
    text-align: center;
    font-weight: 700;
    font-size: clamp(22px, 4vw, 32px);
    margin: 0 0 8px;
    position: relative;
}

.event-section h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: #2563eb;
    margin: 8px auto 0;
    border-radius: 2px;
}

.event-section p {
    max-width: 920px;
    margin: 12px auto 0;
    text-align: center;
    font-size: 16px;
    color: #374151;
}

/* =====================================================
   IMAGE GRID (TRUE CENTERING – MOBILE FIX)
===================================================== */
.image-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
    place-items: center; /* key fix */
}

.grid-3,
.grid-4 {
    grid-template-columns: 1fr;
}

.image-grid img {
    width: 100%;
    max-width: 360px; /* prevents left-heavy feel */
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    margin-inline: auto; /* hard center */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =====================================================
   VIDEO GRID
===================================================== */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 26px;
    place-items: center;
}

.video-grid iframe {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: none;
}

/* =====================================================
   TABLET (≥600px)
===================================================== */
@media (min-width: 600px) {

    .container {
        padding: 36px 24px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-grid img {
        max-width: 100%;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   LAPTOP (≥992px)
===================================================== */
@media (min-width: 992px) {

    .event-section {
        padding: 46px 0;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   LARGE DESKTOP (≥1200px)
===================================================== */
@media (min-width: 1200px) {
    .hero-section {
        min-height: 82vh;
    }
}

/* =====================================================
   ULTRA-SMALL DEVICES (≤360px)
===================================================== */
@media (max-width: 360px) {

    .hero-overlay h1 {
        font-size: 23px;
    }

    .hero-overlay p {
        font-size: 13.5px;
    }

    .event-section h2 {
        font-size: 20px;
    }

    .event-section p {
        font-size: 14px;
    }

    .image-grid img {
        max-width: 92%;
    }
}

/* =====================================================
   MEDIA SAFETY
===================================================== */
img,
iframe {
    max-width: 100%;
    display: block;
}

/* =====================================================
   SELF-HOSTED VIDEO (CLICK TO LOAD – SPEED SAFE)
===================================================== */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 42px;
    padding: 14px 20px;
    border-radius: 50%;
    pointer-events: none;
}

