/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

:root {
    --primary-dark: #062c22;    /* Hijau Tua Elegan UI Talks */
    --primary-light: #0b4637;   /* Hijau sekunder untuk card/section beda */
    --accent-gold: #ff9f1c;     /* Gold/Orange untuk CTA utama */
    --text-white: #ffffff;
    --text-muted: #b3c7c2;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --navbar-height: 76px;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* GLOBAL SECTION LAYOUT */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.bg-light-section {
    background-color: #041f18; /* Sedikit lebih gelap dari primary-dark untuk kontras section */
    max-width: 100%;
    padding: 6rem 0;
}
.bg-light-section .section-header, 
.bg-light-section .speakers-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* NAVBAR & DRAWER MOBILE */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(6, 44, 34, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(6, 44, 34, 0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left; /* ini kuncinya, muncul dari kiri */
    transition: transform 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}


section[id], header[id] {
    scroll-margin-top: var(--navbar-height);
}

.btn-cta-nav {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: var(--navbar-height);
    left: -100%;
    width: 100%;
    height: calc(100dvh - var(--navbar-height));
    background-color: var(--primary-dark);
    z-index: 999;
    transition: var(--transition-fast);
    padding: 2rem;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.2);
}

.mobile-drawer.open {
    left: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
}

.mobile-nav-item {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
}

.mobile-nav-item.active {
    color: var(--accent-gold);
}

.mobile-btn-register {
    display: block;
    text-align: center;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 1rem;
    border-radius: 6px;
    font-weight: 700;
    margin-top: 1rem;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    background: url(../assets/images/hero.png) no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(6,44,34,0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin-top: 80px;
}

.hero-sub {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4.5rem;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
}

.info-item i {
    color: var(--accent-gold);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.9rem 2.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 159, 28, 0.4);
}

.btn-secondary {
    border: 2px solid var(--text-white);
    padding: 0.9rem 2.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.about-label {
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-muted);
}

.section-label-center {
    text-align: center;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.vm-card {
    background-color: var(--primary-light);
    border: 1px solid rgba(255,159,28,0.3);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.vm-card h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.vm-card p, .vm-card li {
    color: var(--text-white);
}

.vm-mission ul {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.vm-mission li::before {
    content: "• ";
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
}

/* SUB-EVENTS CARD SECTION */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 992px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .events-grid { grid-template-columns: 1fr; } }

.event-card {
    background-color: var(--primary-light);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
}
.event-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.35); }

.event-photo-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.event-photo-wrap img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.event-photo-wrap::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; height: 70%;
    background: linear-gradient(180deg, transparent 0%, var(--primary-light) 100%);
}

.event-body {
    padding: 0 1.5rem 1.8rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.event-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}
.event-body p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.event-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-white);
    background: none;
    padding: 0;
}
.event-badge i {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 0.75rem;
}
/* Modifikasi warna border per sub-event biar mirip mockup */
.event-card.accent-blue { border-top-color: #3a86ff; }
.event-card.accent-orange { border-top-color: #ff5a5f; }
.event-card.accent-green { border-top-color: #00b4d8; }

.event-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.event-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.event-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* SPEAKERS CARD SECTION (DARI GOOGLE SHEET) */
.speakers-grid { display: flex; flex-direction: column; gap: 1.8rem; }
.speaker-row { display: flex; justify-content: center; gap: 1.8rem; flex-wrap: wrap; }
.speaker-row .speaker-card { width: 240px; flex: 0 0 auto; }
.speaker-img-wrapper { height: 200px; }
.speaker-info { text-align: center; padding: 1rem; }
.speaker-info h3 { color: var(--accent-gold); font-size: 1.05rem; margin-bottom: 0.4rem; }
.speaker-info p { font-size: 0.85rem; line-height: 1.4; color: var(--text-white); opacity: 0.85; }

@media (max-width: 640px) {
    .speaker-row .speaker-card { width: 100%; max-width: 300px; }
}
.speaker-card {
    background-color: var(--primary-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: var(--transition-fast);
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.speaker-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.speaker-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}

.speaker-card:hover .speaker-img-wrapper img {
    transform: scale(1.05);
}

.speaker-info {
    padding: 1.5rem;
}

.speaker-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.speaker-info p {
    font-size: 0.9rem;
    font-weight: 500;
}

.loading-text {
    text-align: center;
    grid-column: 1 / -1;
    color: var(--text-muted);
    padding: 2rem;
}



/* PARTNERS / SPONSORS SECTION */
.partners-group {
    margin-bottom: 3rem;
}

.partners-group:last-child {
    margin-bottom: 0;
}

.partners-label {
    text-align: center;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.partners-grid img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%) brightness(1.8);
    opacity: 0.7;
    transition: var(--transition-fast);
}

.partners-grid img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .partners-grid { gap: 1.5rem; }
    .partners-grid img { max-height: 45px; }
}

/* RESPONSIVE DESIGN BREAKPOINTS */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .nav-links, .btn-cta-nav { display: none; }
    .menu-toggle { display: block; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-tagline { font-size: 1.1rem; }
    .hero-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* TIMELINE STYLES */
.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Garis vertikal di tengah */
.timeline-line {
    position: relative;
    padding-left: 3rem;
}

.timeline-line::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-light);
    border-radius: 2px;
}

/* Kotak tiap isi agenda */
.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Bullet point/lingkaran penanda di garis */
.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    border: 4px solid var(--primary-dark);
    z-index: 2;
}

/* Konten teks timeline */
.timeline-date {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content {
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FOOTER STYLES */
.main-footer {
    background-color: #031410; /* Warna hijau yang jauh lebih gelap untuk footer */
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-col h3.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px; /* Efek geser sedikit saat di-hover */
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0 auto;
    padding: 2rem 2rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-links a::after {
        transition: none;
    }
}

/* SCROLL REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}