/* Event Program Page Styles */

/* Banner Section */
.event-banner {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/logo/summit-banner.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 50px 20px;
}

.event-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--ast-global-color-5) 100%);
    opacity: 0.7;
    z-index: 1;
}

.event-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.event-banner-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.event-banner-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* Content Section */
.event-content-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 500px;
    padding: 80px 0;
}

/* Event Header */
.event-header {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.event-photo-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.event-photo-wrapper:hover {
    transform: translateY(-5px);
}

.event-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.event-header-content {
    padding: 10px 0;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.event-dates {
    font-size: 1.05rem;
    color: #555;
}

.event-dates i {
    color: var(--primary-color);
}

/* Content Items */
.event-content-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.event-content-item:nth-child(1) {
    animation-delay: 0.1s;
}

.event-content-item:nth-child(2) {
    animation-delay: 0.2s;
}

.event-content-item:nth-child(3) {
    animation-delay: 0.3s;
}

.event-content-item:nth-child(4) {
    animation-delay: 0.4s;
}

.event-content-item:nth-child(5) {
    animation-delay: 0.5s;
}

/* Icon Circle */
.event-content-icon-circle {
    position: absolute;
    left: -15px;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(28, 65, 121, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.event-content-item:hover .event-content-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(28, 65, 121, 0.4);
}

.event-content-icon-circle i {
    color: #ffffff;
    font-size: 1.5rem;
}

.event-content-body {
    padding-left: 70px;
    position: relative;
}

/* Connecting Line */
.event-content-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 60px;
    bottom: -60px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(28, 65, 121, 0.3) 50%, rgba(28, 65, 121, 0.1) 100%);
    z-index: 1;
}

.event-content-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.event-content-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transition: width 0.6s ease;
}

.event-content-item:hover .event-content-title::after {
    width: 100%;
}

.event-content-text {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    max-width: 900px;
}

.event-content-text p {
    margin-bottom: 1.3rem;
    text-align: justify;
    transition: transform 0.3s ease;
}

.event-content-item:hover .event-content-text p {
    transform: translateX(5px);
}

.event-content-text p:last-child {
    margin-bottom: 0;
}

.event-content-text h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.event-content-text h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.event-content-text ul,
.event-content-text ol {
    margin-bottom: 1.3rem;
    padding-left: 2rem;
}

.event-content-text li {
    margin-bottom: 0.9rem;
    position: relative;
}

.event-content-text ul li::marker {
    color: var(--primary-color);
}

.event-content-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.event-content-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.event-content-text a:hover::after {
    width: 100%;
}

.event-content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-content-text img:hover {
    transform: scale(1.02);
}

/* Gallery Section */
.event-gallery-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.event-gallery-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.event-gallery-title i {
    color: var(--primary-color);
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.event-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.event-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-gallery-item a {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.event-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-gallery-item:hover .event-gallery-image {
    transform: scale(1.1);
}

.event-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 65, 121, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-gallery-item:hover .event-gallery-overlay {
    opacity: 1;
}

.event-gallery-overlay i {
    color: #ffffff;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.event-gallery-item:hover .event-gallery-overlay i {
    transform: scale(1);
}

.event-gallery-caption {
    padding: 10px 15px;
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    background: #f8f9fa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-banner {
        min-height: 200px;
        padding: 40px 20px;
    }

    .event-banner-title {
        font-size: 2rem;
    }

    .event-content-section {
        padding: 50px 0;
    }

    .event-header {
        padding: 20px;
    }

    .event-title {
        font-size: 1.8rem;
    }

    .event-content-item {
        margin-bottom: 50px;
    }

    .event-content-icon-circle {
        width: 50px;
        height: 50px;
        left: 0;
    }

    .event-content-icon-circle i {
        font-size: 1.3rem;
    }

    .event-content-body {
        padding-left: 65px;
    }

    .event-content-item:not(:last-child)::after {
        left: 24px;
    }

    .event-content-title {
        font-size: 1.6rem;
    }

    .event-content-text {
        font-size: 1rem;
    }

    .event-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .event-gallery-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .event-banner {
        min-height: 180px;
        padding: 30px 20px;
    }

    .event-banner-title {
        font-size: 1.75rem;
    }

    .event-content-section {
        padding: 40px 0;
    }

    .event-header {
        padding: 15px;
    }

    .event-title {
        font-size: 1.5rem;
    }

    .event-content-item {
        margin-bottom: 40px;
    }

    .event-content-icon-circle {
        width: 45px;
        height: 45px;
    }

    .event-content-icon-circle i {
        font-size: 1.1rem;
    }

    .event-content-body {
        padding-left: 55px;
    }

    .event-content-item:not(:last-child)::after {
        left: 21px;
    }

    .event-content-title {
        font-size: 1.4rem;
    }

    .event-content-text {
        font-size: 0.95rem;
        text-align: left;
    }

    .event-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .event-gallery-title {
        font-size: 1.4rem;
    }
}

