﻿/* =========================================================
   EVENTSPHERE — MEDIA GALLERY
   Premium / Attractive / Responsive
========================================================= */


/* =========================================================
   INNER HERO
========================================================= */

.inner-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 105px;
    background: radial-gradient( circle at 85% 20%, rgba(71, 190, 202, .17), transparent 28% ), radial-gradient( circle at 10% 90%, rgba(255,255,255,.06), transparent 25% ), linear-gradient( 125deg, #071f25 0%, #0b3037 50%, #134e5e 100% );
}

    .inner-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient( rgba(255,255,255,.035) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,.035) 1px, transparent 1px );
        background-size: 55px 55px;
        mask-image: linear-gradient( to bottom, black, transparent );
    }

    .inner-hero::after {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        right: -150px;
        top: -170px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 50%;
    }

    .inner-hero .container {
        position: relative;
        z-index: 2;
    }

    .inner-hero span {
        display: inline-block;
        margin-bottom: 13px;
        color: #83dce3;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 2.5px;
    }

    .inner-hero h1 {
        margin: 0 0 15px;
        color: #ffffff;
        font-size: clamp(38px, 5vw, 58px);
        line-height: 1.08;
        font-weight: 800;
        letter-spacing: -1.8px;
    }

    .inner-hero p {
        max-width: 620px;
        margin: 0;
        color: rgba(255,255,255,.70);
        font-size: 16px;
        line-height: 1.8;
    }


/* =========================================================
   SECTION
========================================================= */

.section-padding {
    padding: 90px 0;
    background: #ffffff;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #1f8a9e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin: 0 0 10px;
    color: #102a30;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-heading p {
    margin: 0 auto;
    color: #52666b;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   MEDIA CARD
========================================================= */

.event-card {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e3ecee;
    border-radius: 17px;
    box-shadow: 0 8px 30px rgba(11,48,55,.055);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

    .event-card:hover {
        transform: translateY(-8px);
        border-color: rgba(31,138,158,.28);
        box-shadow: 0 24px 55px rgba(11,48,55,.15);
    }


/* =========================================================
   MEDIA IMAGE / VIDEO
========================================================= */

.event-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: radial-gradient( circle, rgba(255,255,255,.12), transparent 45% ), linear-gradient( 135deg, #0b3037, #134e5e );
}

    .event-card-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .55s ease;
    }

.event-card:hover .event-card-image img {
    transform: scale(1.07);
}


/* =========================================================
   VIDEO
========================================================= */

.event-card-image video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #071f25;
}


/* =========================================================
   MEDIA TYPE BADGE
========================================================= */

.event-card-image::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    pointer-events: none;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.event-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient( circle, rgba(255,255,255,.12), transparent 45% ), linear-gradient( 135deg, #0b3037, #134e5e );
    color: rgba(255,255,255,.75);
    font-size: 48px;
}


/* =========================================================
   CARD BODY
========================================================= */

.event-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.event-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 9px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #e8f6f7;
    color: #1f8a9e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.event-card-body h3 {
    min-height: 54px;
    margin: 0 0 17px;
    color: #102a30;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: -.3px;
}


/* =========================================================
   EVENT INFO
========================================================= */

.event-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
}

    .event-info span {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #52666b;
        font-size: 12px;
    }

    .event-info i {
        width: 16px;
        color: #1f8a9e;
        font-size: 13px;
    }


/* =========================================================
   VIEW MEDIA BUTTON
========================================================= */

.event-card-body > div.mt-3 {
    margin-top: auto !important;
    padding-top: 17px;
    border-top: 1px solid #e3ecee;
}

.event-btn {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid #0b3037;
    border-radius: 9px;
    background: transparent;
    color: #0b3037;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: .3s ease;
}

    .event-btn:hover {
        background: linear-gradient( 135deg, #0b3037, #134e5e );
        color: #ffffff;
        border-color: #0b3037;
        transform: translateY(-2px);
        box-shadow: 0 9px 20px rgba(11,48,55,.16);
    }

    .event-btn i {
        transition: .3s ease;
    }

    .event-btn:hover i {
        transform: scale(1.08);
    }


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-registrations {
    padding: 75px 25px;
    text-align: center;
    background: #f5f9fa;
    border: 1px dashed #d7e3e5;
    border-radius: 18px;
}

.empty-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e8f6f7;
    color: #1f8a9e;
    font-size: 28px;
}

.empty-registrations h3 {
    margin: 0 0 8px;
    color: #102a30;
    font-size: 22px;
    font-weight: 750;
}

.empty-registrations p {
    margin: 0;
    color: #52666b;
    font-size: 13px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .section-padding {
        padding: 75px 0;
    }

    .inner-hero {
        padding: 80px 0 90px;
    }

    .event-card-image {
        height: 230px;
    }

    .event-card-body {
        padding: 22px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .section-padding {
        padding: 60px 0;
    }

    .inner-hero {
        padding: 65px 0 75px;
    }

        .inner-hero h1 {
            font-size: 40px;
            letter-spacing: -1.3px;
        }

        .inner-hero p {
            font-size: 14px;
            line-height: 1.7;
        }

    .section-heading {
        margin-bottom: 35px !important;
    }

        .section-heading h2 {
            font-size: 31px;
        }

        .section-heading p {
            font-size: 14px;
        }

    .event-card-image {
        height: 235px;
    }

    .event-card-body h3 {
        min-height: auto;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .section-padding {
        padding: 50px 0;
    }

    .inner-hero {
        padding: 55px 0 65px;
    }

        .inner-hero span {
            font-size: 10px;
            letter-spacing: 2px;
        }

        .inner-hero h1 {
            font-size: 34px;
        }

        .inner-hero p {
            font-size: 13px;
        }

    .section-heading h2 {
        font-size: 28px;
    }

    .event-card {
        border-radius: 15px;
    }

    .event-card-image {
        height: 220px;
    }

    .event-card-body {
        padding: 20px;
    }

        .event-card-body h3 {
            font-size: 18px;
        }

    .event-btn {
        min-height: 45px;
    }

    .empty-registrations {
        padding: 55px 18px;
    }
}
