/* Archive Page Styles */

/* Banner Section */
.archive-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;
}

.archive-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;
}

.archive-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;
}

.archive-banner-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.archive-banner-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.archive-banner-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.event-banner-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    margin-bottom: 0;
}

.event-banner-subtitle a {
    transition: opacity 0.3s ease;
}

.event-banner-subtitle a:hover {
    opacity: 0.8;
}

/* Content Section */
.archive-content-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 500px;
    padding: 80px 0;
}

.archive-content-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Years Grid */
.archive-years-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.archive-year-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.archive-year-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.archive-year-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(28, 65, 121, 0.3);
}

.archive-year-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.archive-year-content {
    flex: 1;
}

.archive-year-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.archive-year-name {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.archive-year-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

.archive-year-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.archive-year-card:hover .archive-year-arrow {
    transform: translateX(5px);
}

/* Events Grid */
.archive-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.archive-event-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.archive-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.archive-event-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.archive-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-event-card:hover .archive-event-image img {
    transform: scale(1.1);
}

.archive-event-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;
}

.archive-event-card:hover .archive-event-overlay {
    opacity: 1;
}

.archive-event-overlay i {
    color: #ffffff;
    font-size: 2.5rem;
}

.archive-event-content {
    padding: 25px;
}

.archive-event-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.archive-event-dates {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.archive-event-date {
    font-size: 0.95rem;
    color: #666;
    display: flex;
    align-items: center;
}

.archive-event-date i {
    color: var(--primary-color);
    margin-right: 8px;
}

.archive-event-location {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.archive-event-location i {
    color: var(--primary-color);
    margin-right: 8px;
}

.archive-event-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Event Detail - Schedule */
.event-schedule-list {
    margin-top: 20px;
}

.event-schedule-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-schedule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-schedule-time {
    min-width: 120px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.event-schedule-content {
    flex: 1;
}

.event-schedule-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.event-schedule-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Event Detail - Speakers Grid */
.event-speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.event-speaker-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-speaker-photo-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.event-speaker-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.event-speaker-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
}

.event-speaker-photo-placeholder i {
    font-size: 3rem;
    color: #ffffff;
    opacity: 0.7;
}

.event-speaker-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.event-speaker-profession {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.event-speaker-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    font-style: italic;
}

.event-speaker-time {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    padding: 5px 10px;
    background: #ffffff;
    border-radius: 15px;
    display: inline-block;
}

.event-speaker-time i {
    color: var(--primary-color);
}

.event-speaker-biography {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    text-align: left;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

/* Event Detail - Sponsors Grid */
.event-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.event-sponsor-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.event-sponsor-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.event-sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.event-sponsor-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.event-sponsor-level {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    background: #f0f8ff;
    padding: 5px 12px;
    border-radius: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.event-sponsor-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: left;
}

/* 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) {
    .archive-banner {
        min-height: 200px;
        padding: 40px 20px;
    }

    .archive-banner-title {
        font-size: 2rem;
    }

    .archive-content-section {
        padding: 50px 0;
    }

    .archive-years-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .archive-events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .event-speakers-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .event-sponsors-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .event-schedule-item {
        flex-direction: column;
        gap: 10px;
    }

    .event-schedule-time {
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .archive-banner {
        min-height: 180px;
        padding: 30px 20px;
    }

    .archive-banner-title {
        font-size: 1.75rem;
    }

    .archive-content-section {
        padding: 40px 0;
    }

    .archive-year-card {
        padding: 20px;
    }

    .archive-year-icon {
        width: 60px;
        height: 60px;
    }

    .archive-year-icon i {
        font-size: 1.5rem;
    }

    .archive-year-title {
        font-size: 1.6rem;
    }

    .archive-event-image {
        height: 200px;
    }

    .event-speakers-grid {
        grid-template-columns: 1fr;
    }

    .event-sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

