:root {
    --primary-bg-nufest: #0a5479;
    --primary-bg: #fff;
    --main-color: #120d37;
    --aqua-color: #00ccd3;
    --nff-primary-color: #3498db;
    --nff-secondary-color: #2c3e50;
    --nff-accent-color: #e74c3c;
    --nff-success-color: #2ecc71;
    --nff-light-color: #f5f7fa;
    --nff-dark-color: #333;
    --nff-gray-color: #7f8c8d;
    --nff-white: #fff;
    --nff-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --nff-border-radius: 10px;

}

.container {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
    z-index: 1;
}

.year {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #0a5479;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.year:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.year.active {
    background: #00ccd3;
    transform: scale(1.1);
}

.year.disabled {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
    cursor: not-allowed;
    opacity: 0.7;
}

.event-details {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    animation: fadeIn 0.5s ease;
}

.event-details.active {
    display: block;
}

.event2024 {
    backdrop-filter: blur(10px);
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
    animation: fadeIn 0.5s ease;
    background-size: cover;
    background-image: url(/assets/nufestvibe2024.png);
}

.event2025 {
    backdrop-filter: blur(10px);
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
    animation: fadeIn 0.5s ease;
    background-size: cover;
    background-image: url(/assets/panggung.png);
}

.event2023 {
    backdrop-filter: blur(10px);
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
    animation: fadeIn 0.5s ease;
    background-size: cover;
    background-image: url(/assets/nufestvibe2023.png);
}

.event-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.event-logo {
    width: 100px;
    height: 100px;
    margin-right: 1.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.event-logo #logo2023 {
    background-image: url(/assets/Nufest2023.png);
    background-size: 100%;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    overflow: hidden;
}

.event-logo #logo2024 {
    background-image: url(/assets/Nufest2024.jpg);
    background-size: cover;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    overflow: hidden;
}

.event-logo #logo2025 {
    background-image: url(/assets/logo2025.jpg);
    background-size: 100%;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    overflow: hidden;
}

.event-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.event-slogan {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

.event-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.info-card p {
    line-height: 1.6;
}

.info-card .item {
    display: flex;
}

.info-card .item .left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
}

.guest-list,
.maskot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.guest,
.maskot {
    background: rgba(52, 152, 219, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.maskot {
    background: rgba(231, 76, 60, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .timeline {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .timeline::before {
        display: none;
    }

    .event-header {
        flex-direction: column;
        text-align: center;
    }

    .event-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Container utama */
.nff-container {
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
}

/* Header */
.nff-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: var(--nff-border-radius);
    box-shadow: var(--nff-shadow);
}

.nff-header__title {
    color: var(--primary-bg);
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.nff-header__subtitle {
    color: var(--primary-bg);
    font-size: 1.2rem;
}

/* Wrapper konten utama */
.nff-content-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
}

/* Bagian timeline */
.nff-timeline-section {
    flex: 1;
    min-width: 300px;
}

.nff-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Garis vertikal timeline */
.nff-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-bg-nufest);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
}

/* Container untuk setiap acara */
.nff-event {
    position: relative;
    width: 50%;
    margin-bottom: 30px;
}

/* Acara di kiri */
.nff-event--left {
    left: 0;
}

/* Acara di kanan */
.nff-event--right {
    left: 50%;
}

/* Lingkaran pada timeline */
.nff-event::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: var(--nff-white);
    border: 4px solid var(--aqua-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.nff-event--left::after {
    right: -12px;
}

.nff-event--right::after {
    left: -12px;
}

/* Konten acara */
.nff-event__content {
    padding: 20px 30px;
    background-color: var(--nff-white);
    position: relative;
    border-radius: var(--nff-border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nff-event__content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.nff-event__time {
    font-weight: bold;
    color: var(--primary-bg-nufest);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.nff-event__title {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--nff-secondary-color);
    font-size: 1.2rem;
}

.nff-event__description {
    color: var(--nff-gray-color);
    font-size: 0.95rem;
}

/* Event highlight (istirahat) */
.nff-event--highlight {
    background-color: var(--nff-accent-color);
    color: var(--nff-white);
}

.nff-event--highlight .nff-event__content {
    background-color: var(--nff-accent-color);
    color: var(--nff-white);
}

.nff-event--highlight .nff-event__title,
.nff-event--highlight .nff-event__time {
    color: var(--nff-white);
}

.nff-event--highlight::after {
    background-color: var(--nff-accent-color);
    border-color: var(--nff-accent-color);
}

/* Panel Aturan dan Larangan */
.nff-rules-section {
    flex: 1;
    min-width: 300px;
    background: #ffffff36;
    border-radius: var(--nff-border-radius);
    backdrop-filter: blur(10px);
    box-shadow: var(--nff-shadow);
    padding: 25px;
    align-self: flex-start;
    position: sticky;
    top: 90px;
    margin-bottom: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

.nff-rules-panel h2 {
    color: var(--primary-bg);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--aqua-color);
    font-size: 1.5rem;
}

.nff-rules-group h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.nff-rules-list,
.nff-prohibitions-list {
    list-style-type: none;
    margin-bottom: 25px;
    color: var(--primary-bg);
}

.nff-rules-list li,
.nff-prohibitions-list li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.nff-rules-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-bg);
    font-weight: bold;
}

.nff-prohibitions-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--primary-bg);
    font-weight: bold;
}

.nff-rules-note {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--nff-gray-color);
    border-left: 4px solid var(--primary-bg-nufest);
    margin-top: 20px;
}

/* Responsif untuk tablet */
@media screen and (max-width: 768px) {
    .nff-timeline::after {
        left: 31px;
    }

    .nff-event {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .nff-event--right {
        left: 0;
    }

    .nff-event--left::after,
    .nff-event--right::after {
        left: 19px;
    }

    .nff-rules-section {
        position: relative;
        top: 0;
        max-height: none;
    }
}

/* Responsif untuk ponsel */
@media screen and (max-width: 480px) {
    .nff-header__title {
        font-size: 1.8rem;
    }

    .nff-event {
        padding-left: 50px;
        padding-right: 15px;
        max-width: 300px;
    }

    .nff-event__content {
        padding: 15px;
    }

    .nff-rules-section {
        padding: 15px;
    }
}