﻿/* =========================================
   EVENT DETAILS PAGE
========================================= */

.section-padding {
    padding: 90px 20px;
}

    .section-padding > .container {
        max-width: 1200px;
    }


/* =========================================
   INNER HERO
========================================= */

.inner-hero {
    position: relative;
    padding: 95px 20px 90px;
    background: linear-gradient(135deg, #0b3037, #134e5e);
    color: #fff;
    overflow: hidden;
}

    .inner-hero::before,
    .inner-hero::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .inner-hero::before {
        width: 350px;
        height: 350px;
        top: -190px;
        right: -100px;
        background: rgba(255, 255, 255, 0.06);
    }

    .inner-hero::after {
        width: 250px;
        height: 250px;
        bottom: -150px;
        left: -100px;
        background: rgba(255, 255, 255, 0.04);
    }

    .inner-hero .container {
        position: relative;
        z-index: 2;
    }

    .inner-hero span {
        display: inline-block;
        margin-bottom: 12px;
        color: #9ed8dc;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .inner-hero h1 {
        max-width: 850px;
        margin: 0;
        color: #fff;
        font-size: clamp(35px, 5vw, 58px);
        line-height: 1.12;
        font-weight: 800;
        word-break: break-word;
    }


/* =========================================
   EVENT IMAGE
========================================= */

.details-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 22px;
    background: #eef4f5;
    box-shadow: 0 18px 45px rgba(11, 48, 55, 0.10);
}

    .details-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.details-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eaf3f4, #dcebed);
    color: #7a969b;
    font-size: 70px;
}


/* =========================================
   EVENT INFORMATION
========================================= */

.event-category {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 14px;
    border-radius: 30px;
    background: #e9f5f6;
    color: #147080;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.details-title {
    margin: 0 0 28px;
    color: #123b43;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.2;
    font-weight: 800;
}


/* =========================================
   DETAILS INFO
========================================= */

.details-info {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 30px;
}

    .details-info > div {
        display: flex;
        align-items: center;
        gap: 15px;
    }

        .details-info > div > i {
            width: 43px;
            height: 43px;
            flex: 0 0 43px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 11px;
            background: #eef6f7;
            color: #147080;
            font-size: 17px;
        }

    .details-info span {
        display: flex;
        flex-direction: column;
        gap: 3px;
        color: #657579;
        font-size: 14px;
    }

    .details-info strong {
        color: #183f46;
        font-size: 14px;
        font-weight: 750;
    }


/* =========================================
   CAPACITY
========================================= */

.capacity-box {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #dfebed;
    border-radius: 15px;
    background: #f8fbfc;
}

.capacity-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
}

    .capacity-top span {
        color: #526a6e;
        font-size: 14px;
        font-weight: 600;
    }

    .capacity-top strong {
        color: #123f47;
        font-size: 15px;
    }

.capacity-box .progress {
    height: 9px;
    overflow: hidden;
    border-radius: 20px;
    background: #dce8ea;
}

.capacity-box .progress-bar {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #0b3037, #168094);
    transition: width 0.4s ease;
}


/* =========================================
   ACTION BUTTONS
========================================= */

.details-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.details-register,
.calendar-button {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.details-register {
    border: none;
    background: linear-gradient(135deg, #0b3037, #134e5e);
    color: #fff;
}

    .details-register:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(11, 48, 55, 0.20);
    }

    .details-register:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.calendar-button {
    border: 1px solid #cfe0e3;
    background: #fff;
    color: #174a53;
}

    .calendar-button:hover {
        border-color: #147080;
        background: #f0f8f9;
        color: #147080;
    }


/* =========================================
   SOCIAL SHARING
========================================= */

.share-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 22px;
    border-top: 1px solid #e2eaec;
}

    .share-area > span {
        color: #50676b;
        font-size: 14px;
        font-weight: 700;
    }

    .share-area > div {
        display: flex;
        align-items: center;
        gap: 8px;
    }

.share-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf4f5;
    color: #174b54;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
}

    .share-btn:hover {
        background: #0b3037;
        color: #fff;
        transform: translateY(-2px);
    }


/* =========================================
   DESCRIPTION
========================================= */

.details-description {
    margin-top: 80px;
    padding-top: 45px;
    border-top: 1px solid #e2eaec;
}

    .details-description .section-label {
        display: inline-block;
        margin-bottom: 10px;
        color: #147080;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .details-description h2 {
        margin: 0 0 18px;
        color: #123b43;
        font-size: 32px;
        font-weight: 800;
    }

    .details-description p {
        max-width: 950px;
        margin: 0;
        color: #657579;
        font-size: 16px;
        line-height: 1.9;
        white-space: pre-line;
    }


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .inner-hero {
        padding: 80px 20px 75px;
    }

    .section-padding {
        padding: 70px 20px;
    }

    .details-image {
        height: 430px;
    }

    .details-title {
        margin-top: 10px;
    }

    .details-description {
        margin-top: 60px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .inner-hero {
        padding: 65px 18px 60px;
    }

        .inner-hero span {
            font-size: 11px;
            letter-spacing: 1.5px;
        }

        .inner-hero h1 {
            font-size: 32px;
            line-height: 1.2;
        }

    .section-padding {
        padding: 50px 18px;
    }

    .details-image {
        height: 280px;
        border-radius: 17px;
    }

    .details-placeholder {
        font-size: 55px;
    }

    .event-category {
        margin-top: 5px;
        font-size: 11px;
    }

    .details-title {
        margin-bottom: 23px;
        font-size: 29px;
    }

    .details-info {
        gap: 14px;
        margin-bottom: 25px;
    }

        .details-info > div {
            gap: 12px;
        }

            .details-info > div > i {
                width: 40px;
                height: 40px;
                flex-basis: 40px;
                font-size: 15px;
            }

    .capacity-box {
        padding: 17px;
    }

    .details-actions {
        margin-bottom: 25px;
    }

    .details-register,
    .calendar-button {
        min-height: 50px;
    }

    .share-area {
        align-items: flex-start;
        flex-direction: column;
    }

    .details-description {
        margin-top: 50px;
        padding-top: 35px;
    }

        .details-description h2 {
            font-size: 27px;
        }

        .details-description p {
            font-size: 15px;
            line-height: 1.8;
        }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .inner-hero {
        padding: 55px 16px 50px;
    }

        .inner-hero h1 {
            font-size: 28px;
        }

    .section-padding {
        padding: 42px 16px;
    }

    .details-image {
        height: 230px;
    }

    .details-title {
        font-size: 26px;
    }

    .capacity-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .share-area > div {
        width: 100%;
        justify-content: flex-start;
    }

    .share-btn {
        width: 36px;
        height: 36px;
    }
}
