/* =====================================================
   EXHIBITION STAND SECTION
===================================================== */

.exhibition-section {
    position: relative;
    width: 100%;
    min-height: 760px;
    padding: 80px 0 90px;
    overflow: hidden;
    background: #02070d;
    isolation: isolate;
}


/* =====================================================
   BACKGROUND IMAGE
===================================================== */

.exhibition-bg {
    position: absolute;
    inset: 0;
    z-index: -3;

    background-image: url("../assets/images/exhibition/exhibition-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.03);
}


/* Main dark overlay */

.exhibition-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(0, 4, 9, 0.96) 0%,
            rgba(0, 7, 14, 0.86) 35%,
            rgba(0, 8, 16, 0.88) 65%,
            rgba(0, 3, 8, 0.97) 100%
        );
}


/* Bottom dark fade */

.exhibition-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(0, 132, 255, 0.08),
            transparent 38%
        ),
        linear-gradient(
            to bottom,
            transparent 60%,
            rgba(0, 3, 7, 0.96) 100%
        );

    pointer-events: none;
}


/* =====================================================
   CONTAINER
===================================================== */

.exhibition-container {
    width: min(1350px, calc(100% - 60px));
    margin: 0 auto;
}


/* =====================================================
   HEADER
===================================================== */

.exhibition-header {
    max-width: 850px;
    margin: 0 auto 35px;
    text-align: center;
}


/* Eyebrow */

.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    margin-bottom: 14px;

    color: #f2c94c;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}


.eyebrow-line {
    width: 42px;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        #3da9ff
    );
}


.eyebrow-line:last-child {
    background: linear-gradient(
        90deg,
        #3da9ff,
        transparent
    );
}


/* Heading */

.exhibition-header h2 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.5px;
}


.exhibition-header h2 span {
    color: #61bdff;

    font-style: italic;
}


/* Description */

.exhibition-header p {
    max-width: 760px;

    margin: 13px auto 0;

    color: rgba(255, 255, 255, 0.72);

    font-family: Arial, sans-serif;

    font-size: 13px;
    line-height: 1.7;
}


/* =====================================================
   GRID
===================================================== */

.exhibition-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        0.85fr
        0.85fr;

    grid-template-rows:
        300px
        250px;

    gap: 16px;
}


/* =====================================================
   CARD
===================================================== */

.exhibition-card {

    position: relative;

    overflow: hidden;

    border: 1px solid rgba(41, 145, 235, 0.48);

    border-radius: 9px;

    background: rgba(3, 13, 24, 0.78);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.025);

    transition:
        transform 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}


/* Featured card */

.exhibition-featured {
    grid-row: span 1;
}


/* Wide bottom card */

.exhibition-wide {
    grid-column: 2 / 4;
}


/* Hover */

.exhibition-card:hover {

    transform: translateY(-6px);

    border-color: rgba(64, 170, 255, 0.9);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.55),
        0 0 25px rgba(0, 130, 255, 0.12);
}


/* =====================================================
   CARD IMAGE
===================================================== */

.exhibition-card-image {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s cubic-bezier(.2,.7,.2,1),
        filter 0.5s ease;
}


.exhibition-card:hover .exhibition-card-image {

    transform: scale(1.08);

    filter: brightness(1.08);
}


/* =====================================================
   CARD GRADIENT
===================================================== */

.card-gradient {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(1, 7, 13, 0.25) 0%,
            rgba(1, 8, 16, 0.28) 35%,
            rgba(1, 8, 15, 0.94) 100%
        );

    z-index: 1;
}


/* Featured card gradient */

.exhibition-featured .card-gradient {

    background:
        linear-gradient(
            90deg,
            rgba(0, 6, 12, 0.92) 0%,
            rgba(0, 7, 13, 0.70) 35%,
            rgba(0, 7, 13, 0.10) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 6, 12, 0.90),
            transparent 65%
        );
}


/* =====================================================
   NUMBER
===================================================== */

.card-number {

    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 3;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 27px;

    border: 1px solid #168eff;

    border-radius: 5px;

    background: rgba(2, 15, 29, 0.82);

    color: #42aaff;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: 0.5px;

    box-shadow:
        0 0 14px rgba(0, 136, 255, 0.15);
}


/* =====================================================
   ICON
===================================================== */

.card-icon {

    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 3;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border: 1px solid rgba(255, 193, 7, 0.75);

    border-radius: 5px;

    background: rgba(5, 12, 19, 0.72);

    color: #f5c13b;

    font-size: 12px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.exhibition-card:hover .card-icon {

    background: #f5c13b;

    color: #07111b;

    transform: rotate(8deg);
}


/* =====================================================
   CONTENT
===================================================== */

.card-content {

    position: absolute;

    left: 17px;
    right: 17px;
    bottom: 16px;

    z-index: 3;
}


.card-small-title {

    display: block;

    margin-bottom: 5px;

    color: #50b4ff;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* Heading */

.card-content h3 {

    margin: 0 0 7px;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;
    line-height: 1.2;

    font-weight: 800;
}


/* Paragraph */

.card-content p {

    max-width: 310px;

    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 10.5px;
    line-height: 1.5;
}


/* =====================================================
   FEATURED CARD CONTENT
===================================================== */

.exhibition-featured .card-content {

    left: 17px;
    bottom: 17px;

    max-width: 285px;
}


.exhibition-featured .card-content h3 {

    font-size: 17px;

    line-height: 1.15;
}


.exhibition-featured .card-content p {

    max-width: 250px;

    font-size: 10px;
}


/* =====================================================
   EXPLORE LINK
===================================================== */

.explore-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 13px;

    color: #f4c43f;

    font-size: 9.5px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}


.explore-link i {

    font-size: 8px;

    transition: transform 0.3s ease;
}


.explore-link:hover {

    color: #ffffff;

    gap: 13px;
}


.explore-link:hover i {

    transform: translateX(3px);
}


/* =====================================================
   TOP BLUE GLOW
===================================================== */

.exhibition-card::before {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 1px;

    z-index: 5;

    background: linear-gradient(
        90deg,
        transparent,
        #3baaff,
        transparent
    );

    opacity: 0;

    transition: opacity 0.4s ease;
}


.exhibition-card:hover::before {

    opacity: 1;
}


/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 900px) {

    .exhibition-section {

        padding: 65px 0 70px;

    }

    .exhibition-grid {

        grid-template-columns:
            1fr
            1fr;

        grid-template-rows:
            280px
            240px
            240px;

    }

    .exhibition-featured {

        grid-column: 1 / 3;

    }

    .exhibition-wide {

        grid-column: 1 / 3;

    }

}


/* =====================================================
   RESPONSIVE - MOBILE
===================================================== */

@media (max-width: 600px) {

    .exhibition-section {

        padding: 55px 0 60px;

    }


    .exhibition-container {

        width: min(
            100% - 30px,
            500px
        );

    }


    .exhibition-header {

        margin-bottom: 25px;

    }


    .exhibition-header h2 {

        font-size: 28px;

    }


    .exhibition-header p {

        font-size: 11px;

        line-height: 1.6;

    }


    .eyebrow {

        font-size: 8px;

        letter-spacing: 1.5px;

    }


    .eyebrow-line {

        width: 25px;

    }


    .exhibition-grid {

        display: flex;

        flex-direction: column;

        gap: 12px;

    }


    .exhibition-card,
    .exhibition-featured,
    .exhibition-wide {

        width: 100%;

        height: 260px;

    }


    .exhibition-featured {

        height: 310px;

    }


    .card-content {

        left: 15px;
        right: 15px;
        bottom: 15px;

    }


    .exhibition-featured .card-content {

        max-width: 270px;

    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .exhibition-header h2 {

        font-size: 24px;

    }


    .exhibition-card {

        height: 245px;

    }


    .exhibition-featured {

        height: 290px;

    }

}