/* --- Variabel Warna & Reset Dasar --- */
:root {
    --brown-dark: #331c16;
    --brown-light: #6a2c0f;
    --text-dark: #343a40;
    --text-light: #f8f9fa;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background: url('../images/backgroundd.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Quattrocento', serif; 
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 80px;
    justify-content: center;

    cursor: url('../images/cursor.png') 16 16, auto;
}

a, button, .card, .section-title-img {
    cursor: url('../images/cursor-hover.png') 16 16, pointer;
}

main {
    flex: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 600;
}

/* ================= HEADER CLEAN MODERN (GRID) ================= */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    background: transparent;
    padding: 12px 0;
}

/* NAVBAR CAPSULE */
.nav-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6px 20px;

    display: grid;
    grid-template-columns: 1fr auto 1fr; /* KUNCI GRID */

    align-items: center;

    background: linear-gradient(
        145deg,
        #f2e6d9,
        #e4d2b8
    );
    border-radius: 35px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* NAV KIRI */
.nav-left {
    display: flex;
    gap: 25px;
    justify-content: flex-start;
}

/* NAV KANAN */
.nav-right {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}
.nav-left,
.nav-right {
    gap: 18px; /* dari 25 → lebih rapet */
}

/* LINK STYLE */
.nav-wrapper a {
    text-decoration: none;
    color: #5c4033;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: 0.3s ease;

    display: inline-block;
    min-width: auto;
    text-align: center;
}

/* HOVER */
.nav-wrapper a:not(.logo-center):hover {
    color: #c08a3e;
}

/* UNDERLINE ANIMATION */
.nav-wrapper a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1.5px;
    background: #c08a3e;
    transition: 0.3s;
}

.nav-wrapper a:not(.logo-center):hover::after {
    width: 100%;
}

/* ACTIVE LINK */
.nav-wrapper a.active {
    color: #c08a3e;
    font-weight: 600;
}

/* LOGO TENGAH (GRID CENTER) */
.logo-center {
    justify-self: center; /* KUNCI CENTER */
    pointer-events: auto;
}

.logo-center img {
    height: 38px;
    display: block;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .nav-wrapper {
        grid-template-columns: 1fr;
        padding: 10px 15px;
        border-radius: 20px;
        gap: 8px;
    }

    /* LOGO DI ATAS */
    .logo-center {
        order: -1;
        justify-self: center;
    }

    .logo-center img {
        height: 40px;
    }

    /* MENU JADI 1 BAR */
    .nav-left,
    .nav-right {
        display: flex;
        justify-content: flex-start;
        gap: 15px;

        overflow-x: auto; /* bisa scroll */
        scrollbar-width: none; /* firefox */
    }

    .nav-left::-webkit-scrollbar,
    .nav-right::-webkit-scrollbar {
        display: none; /* chrome */
    }

    /* GABUNGIN RASA JADI SATU BAR */
    .nav-left {
        grid-row: 2;
    }

    .nav-right {
        grid-row: 3;
    }

    /* LINK LEBIH KECIL */
    .nav-wrapper a {
        font-size: 14px;
        white-space: nowrap;
    }
}
/* ================= NAVBAR DESKTOP (BRASS CAPSULE) ================= */

.nav-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 8px 20px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    background: linear-gradient(
        145deg,
        rgba(58, 36, 24, 0.95),
        rgba(43, 29, 20, 0.95)
    );

    border-radius: 35px;

    border: 1px solid rgba(192, 138, 62, 0.4);

    backdrop-filter: blur(8px);

    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* NAV LEFT & RIGHT */
.nav-left,
.nav-right {
    display: flex;
    gap: 18px;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

/* LINK STYLE */
.nav-wrapper a {
    text-decoration: none;
    color: #e6d3b3; /* FIX BIAR NGGAK NYARU */
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: 0.3s ease;
}

/* HOVER */
.nav-wrapper a:not(.logo-center):hover {
    color: #c08a3e;
}

/* UNDERLINE */
.nav-wrapper a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1.5px;
    background: #c08a3e;
    transition: 0.3s;
}

.nav-wrapper a:not(.logo-center):hover::after {
    width: 100%;
}

/* ACTIVE */
.nav-wrapper a.active {
    color: #c08a3e;
    font-weight: 600;
}

/* LOGO */
.logo-center {
    justify-self: center;
}

.logo-center img {
    height: 38px;
    display: block;
}

/* ================= BOTTOM NAV (MOBILE) ================= */

.bottom-nav {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;

    display: none;

    background: linear-gradient(
        180deg,
        rgba(45, 28, 18, 0.97),
        rgba(30, 18, 12, 0.98)
    );

    padding: 10px 15px;
    border-radius: 30px;

    border-top: 2px solid rgba(192, 138, 62, 0.25);

    backdrop-filter: blur(10px);

    box-shadow: 0 -6px 18px rgba(0,0,0,0.35);

    gap: 10px;
}

/* ITEM */
.bottom-nav a {
    text-decoration: none;
    color: #e6d3b3; /* FIX WARNA */
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 15px;
    transition: 0.3s;
}

/* HOVER */
.bottom-nav a:hover {
    background: rgba(192, 138, 62, 0.2);
    color: #c08a3e;
}

/* ACTIVE */
.bottom-nav a.active {
    background: #c08a3e;
    color: white;
    font-weight: 600;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    /* SEMBUNYIKAN NAVBAR ATAS */
    .nav-wrapper {
        display: none;
    }

    /* TAMPILKAN BOTTOM NAV */
    .bottom-nav {
        display: flex;
        justify-content: space-between;
        width: 90%;
        max-width: 400px;
    }
}
/* --- Hero Section (Slider) --- */
.hero {
    position: relative; /* Diperlukan untuk menumpuk elemen */
    height: 500px;
    width: 100%;
    overflow: visible;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0; /* Semua slide disembunyikan awalnya */
    animation: fadeEffect 18s infinite; /* Durasi total animasi (6s per foto * 3 foto) */
    transition: opacity 1.5s ease-in-out;
}

/* Memberi jeda animasi untuk setiap slide agar tidak bersamaan */
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
/* Tambahkan jika ada slide ke-4 atau ke-5 */
.hero-slide:nth-child(4) { animation-delay: 18s; } 
.hero-slide:nth-child(5) { animation-delay: 24s; }

@keyframes fadeEffect {
  0% { opacity: 0; }
  15% { opacity: 1; } /* Muncul */
  85% { opacity: 1; } /* Bertahan */
  100% { opacity: 0; } /* Menghilang */
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    gap: 10px;

    text-align: center;
    z-index: 2;

    background: transparent;
    backdrop-filter: none;
    width: 100%;
    max-width: none;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px auto;   opacity: 0.9;
}

/* --- Main Content --- */
.page-section {
    padding: 80px 0;
}
.page-section10 {
    padding: 10px;
}
.page-section180 {
    padding: 180px;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
}
.section-title-img {
    display: block;
    margin: -40px auto 20px;
    max-width: none;
    width: 900px;

    opacity: 0.95;

    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;

    position: relative;
    z-index: 2; /* penting biar di atas */
    cursor: url('../images/cursor-hover.png') 16 16, pointer;
}
@media (max-width: 768px) {
    .section-title-img {
        width: 80%; /* biar menyesuaikan layar HP */
    }
}

/* HOVER EFFECT */
.section-title-img:hover {
    opacity: 1;
    transform: scale(1.05) translateY(-5px);

    filter: 
        drop-shadow(0 10px 20px rgba(0,0,0,0.25))
        drop-shadow(0 0 15px rgba(212,163,115,0.5)); /* glow cokelat */
}

/* --- CONTAINER CARD --- */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}
/* --- CARD --- */
.card {
    width: 250px;
    background: #fefae0;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s ease;
    width: 250px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    
    position: relative;
    overflow: hidden;
}

/* --- HOVER --- */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- ICON --- */
.card-icon {
    width: 100px;
    margin-bottom: 15px;
    border-radius: 50%;
    transition: 0.3s;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(3deg);
}

/* --- JUDUL --- */
.card h3 {
    font-size: 22px;
    color: #ab1615;
    margin-bottom: 8px;
}

/* --- DESKRIPSI --- */
.card p {
    font-size: 14px;
    color: #7a6a58;
}

/* ================= BUTTON BASE ================= */
.btn {
    display: inline-block;
    padding: 12px 28px;

    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;

    transition: all 0.3s ease;
}

/* ================= HERO BUTTON (STEAMPUNK) ================= */
.hero-btn {
    position: relative; /* WAJIB buat ::before */

    padding: 14px 36px;
    font-size: 16px;
    letter-spacing: 1px;

    color: #fff;

    background: linear-gradient(145deg, #c69c6d, #8b5e34);
    border: 2px solid #5a3b1e;
    border-radius: 40px;

    box-shadow:
        inset 0 2px 5px rgba(255,255,255,0.3),
        0 8px 20px rgba(0,0,0,0.4);

    transition: all 0.3s ease;
}

/* hover utama */
.hero-btn:hover {
    transform: translateY(-4px) scale(1.05);

    background: linear-gradient(145deg, #e0b37a, #a06b3b);

    box-shadow:
        inset 0 2px 8px rgba(255,255,255,0.4),
        0 12px 25px rgba(0,0,0,0.5);
}

/* ⚙️ efek gear / industrial */
.hero-btn::before {
    content: "";
    position: absolute;
    inset: -4px;

    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 50px;

    pointer-events: none;
}

/* ================= VARIASI BUTTON ================= */
.hero-btn.secondary {
    background: linear-gradient(145deg, #7a5a3a, #4a2f1a);
}

/* ================= WRAPPER (BIAR GA KETABRAK) ================= */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: none;

    margin-top: -80px;
    position: relative;
    z-index: 3;
}
.hero-btn:active {
    transform: translateY(2px) scale(0.98);
}

/* GRID */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* CARD */
.post-card {
    background: linear-gradient(145deg, #2b1d14, #1a110c);
    border-radius: 14px;
    overflow: hidden;

    border: 1px solid rgba(192, 138, 62, 0.25);

    transition: 0.35s ease;
    position: relative;
}

/* HOVER */
.post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(192, 138, 62, 0.6);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* IMAGE */
.post-image-wrap {
    position: relative;
    overflow: hidden;
}

.post-image-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.4s ease;
}

.post-card:hover img {
    transform: scale(1.05);
}
/* BASE BADGE */
.post-badge {
    position: absolute;
    top: 12px;
    left: 12px;

    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;

    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(192, 138, 62, 0.4);

    color: #e6d3b3;
}

/* CATEGORY COLORS */

/* EVENT */
.post-badge.event {
    color: #c08a3e;
    border-color: rgba(192, 138, 62, 0.6);
}

/* NEWS */
.post-badge.news {
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.6);
}

/* ANNOUNCEMENT */
.post-badge.announcement {
    color: #e67e22;
    border-color: rgba(230, 126, 34, 0.6);
}

/* CONTENT */
.post-content {
    padding: 18px;
}

/* TITLE */
.post-title a {
    text-decoration: none;
    color: #f3e6d3;
    font-size: 17px;
    font-weight: 600;

    transition: 0.3s;
}

.post-title a:hover {
    color: #c08a3e;
}

/* TEXT */
.post-excerpt {
    font-size: 13px;
    color: #b8a58a;
    margin: 10px 0 15px;
    line-height: 1.5;
}

/* META */
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* DATE */
.post-date {
    font-size: 11px;
    color: rgba(243, 230, 211, 0.6);
}

/* READ MORE */
.read-more {
    text-decoration: none;
    font-size: 12px;
    color: #c08a3e;

    transition: 0.3s;
}

.read-more:hover {
    transform: translateX(4px);
}
@media (max-width: 768px) {
    .post-image-wrap img {
        height: 180px;
    }

    .post-content {
        padding: 15px;
    }

    .post-title a {
        font-size: 15px;
    }
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }
}
/* --- Halaman Header (untuk semua halaman internal) --- */
.page-header {
    padding: 60px 20px;
    background: var(--text-dark);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
}


/* --- Layout Halaman Profil --- */
.profile-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start; /* Membuat sidebar dan konten sejajar di atas */
}

.profile-sidebar {
    flex: 0 0 250px; /* Lebar sidebar tetap 250px */
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 15px;
    position: sticky; /* Membuat sidebar 'mengikuti' saat di-scroll */
    top: 100px; /* Jarak dari atas (setelah header utama) */
}

.profile-sidebar ul {
    list-style: none;
}

.profile-sidebar li a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.profile-sidebar li a:hover {
    background-color: var(--bg-light);
}

.profile-sidebar li a.active {
    background-color: var(--brown-light);
    color: white;
}

.profile-content {
    flex: 1; /* Konten utama mengisi sisa ruang */
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.profile-content h2 {
    margin-top: 0;
    font-size: 28px;
    color: var(--text-dark);
    border-bottom: 2px solid var(--brown-light);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.profile-content h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 10px;
}

/* --- Responsive untuk Halaman Profil --- */
@media (max-width: 992px) {
    .profile-layout {
        flex-direction: column;
    }
    .profile-sidebar {
        width: 100%;
        position: static; /* Hapus 'sticky' di mobile */
    }
}
/* --- FORM WRAPPER (GLOBAL - UPGRADED) --- */
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;

    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);

    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);

    transition: 0.3s;
}
.form-wrapper h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--brown-light);
    border-bottom: none;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}
.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="email"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;

    border: 1px solid #ddd;
    border-radius: 12px;

    transition: all 0.25s ease;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--brown-light);
    box-shadow: 0 0 0 2px rgba(165, 123, 91, 0.2);
}

/* ================= GRID UTAMA ================= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* ================= POSISI ================= */

/* SEND MESSAGE */
.contact-form {
    grid-column: span 2;
}

/* STAY CONNECTED */
.newsletter {
    grid-column: span 1;
}

/* MAP FULL WIDTH */
.map {
    grid-column: span 3;
    overflow: hidden;
}

/* ================= FORM ================= */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;

    border-radius: 10px;
    border: none;
    outline: none;
}

.form-row {
    display: flex;
    gap: 15px;
}

/* ================= INFO CARD ================= */
.info-card {
    text-align: center;
    padding: 20px;
}

/* ================= SOCIAL ICON ================= */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icons .icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(0,0,0,0.05);

    transition: 0.3s;
}

.social-icons .icon:hover {
    transform: translateY(-3px);
    background: rgba(0,0,0,0.1);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .newsletter,
    .info-card,
    .map {
        grid-column: span 1;
    }

    .form-row {
        flex-direction: column;
    }
}
.footer {
    width: 100%;
    margin: 0;
    padding: 40px 0 20px;

    background: linear-gradient(180deg, #2b1d14, #1a110c);

    border-top: 2px solid #c08a3e;
    margin-top: 60px;
    padding-top: 50px;
}

.footer-inner {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* MAIN GRID */
.footer-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr 1.8fr;
    gap: 25px;
    align-items: start;
}

/* TEXT STYLE */
.footer h4 {
    color: #c08a3e;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.footer p,
.footer a {
    color: #e6d3b3;
    font-size: 13px;
    text-decoration: none;
    transition: 0.25s ease;
}
.footer a:hover {
    color: #c08a3e;
    transform: translateX(4px); /* geser dikit biar hidup */
}

/* NAV LIST */
.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 6px;
}

.footer ul li a:hover {
    color: #c08a3e;
}

/* LOGO (NO FRAME) */
.footer-logo-1 {
    display: flex;
    justify-content: center;
}

.footer-logo-1 img {
    width: 80px;
    object-fit: contain;
}

/* CONTACT STACK */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(192, 138, 62, 0.12);
    border: 1px solid rgba(192, 138, 62, 0.3);

    color: #f3e6d3;

    transition: 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(192, 138, 62, 0.25);
    box-shadow: 0 0 12px rgba(192, 138, 62, 0.25);
}

/* BOTTOM */
.footer-bottom {
    margin-top: 25px;
    padding-top: 15px;
    text-align: center;

    border-top: 1px solid rgba(192, 138, 62, 0.2);

    font-size: 12px;
    color: rgba(243, 230, 211, 0.7);
}
@media (max-width: 768px) {

    .footer-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-logo-1 {
        justify-content: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer ul li a:hover {
        padding-left: 0;
    }
}
.custom-banner {
    width: 100%;
    height: 480px;
    overflow: hidden;

    opacity: 0;
    transform: translateY(-30px);
    animation: fadeDown 0.8s ease forwards;
    
    border-radius: 0 0 20px 20px;
}
.custom-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

@keyframes fadeDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* GLASS CARD */
.card-glass {
    background: rgba(92, 60, 40, 0.35); /* coklat tembaga transparan */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    padding: 25px;
    border-radius: 20px;

    border: 1px solid rgba(192, 138, 62, 0.35); /* gold/brass line */

    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.25),
        inset 0 0 15px rgba(192, 138, 62, 0.08);

    color: #f3e6d3; /* teks warm cream */

    transition: all 0.3s ease;
}
.card-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

/* JUDUL */
.contact-info h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--brown-light);
}

/* DESKRIPSI */
.contact-info .desc {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ITEM (ICON + TEXT) */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.info-item span {
    font-size: 18px;
}

.info-item p {
    margin: 0;
    color: #333;
}

/* MAP */
.map {
    margin-top: 15px;
}
.contact-info {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.welcome-img {
    width: 900px;
    max-width: 95%;
    display: block;
    margin: 0 auto 15px;

    animation: floatWave 6s ease-in-out infinite,
               glowPulse 4s ease-in-out infinite;

    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.35));
}
@keyframes floatWave {
    0% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) scale(1.01) rotate(-0.5deg);
    }
    50% {
        transform: translateY(-16px) scale(1.02) rotate(0.5deg);
    }
    75% {
        transform: translateY(-8px) scale(1.01) rotate(-0.5deg);
    }
    100% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }
}
@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
    }
    50% {
        filter: drop-shadow(0 20px 50px rgba(255,255,255,0.15));
    }
}
/* ================= GRID ================= */
.lomba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px;
}

/* ================= CARD ================= */
.lomba-card {
    position: relative;
    text-align: center;
    cursor: pointer;
    cursor: url('../images/cursor-hover.png') 16 16, pointer;
}

/* ICON */
.lomba-card > img {
    width: 130px;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;

    pointer-events: none;
}

/* HOVER ICON + GLOW */
.lomba-card:hover > img {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 0 12px rgba(212,163,115,0.7));
}

/* ================= ASAP ================= */
.lomba-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;

    width: 120px;
    height: 120px;

    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);

    transform: translateX(-50%) translateY(20px);
    opacity: 0;

    pointer-events: none;
}

.lomba-card:hover::after {
    animation: smokeLoop 2s ease-out infinite;
}

@keyframes smokeLoop {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0.6);
    }
    30% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-50px) scale(1.2);
    }
}

/* ================= BUTTON ================= */
.lomba-hover {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: center;
    gap: 10px;

    opacity: 0;
    transition: all 0.3s ease;

    z-index: 10;
}

/* MUNCUL PAS HOVER */
.lomba-card:hover .lomba-hover {
    opacity: 1;
    bottom: -35px;
}

/* BUTTON STYLE */
.btn-daftar,
.btn-juknis {
    padding: 6px 14px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 20px;

    background: linear-gradient(145deg, #c69c6d, #8b5e34);
    color: white;
    border: 1px solid #5a3b1e;

    box-shadow: 0 4px 10px rgba(0,0,0,0.3);

    transition: 0.2s;
}

.btn-daftar:hover,
.btn-juknis:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #e0b37a, #a06b3b);
}


/* BUTTON STYLE */
.btn-daftar,
.btn-juknis {
    padding: 6px 14px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 20px;

    background: linear-gradient(145deg, #c69c6d, #8b5e34);
    color: white;
    border: 1px solid #5a3b1e;

    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-daftar:hover,
.btn-juknis:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #e0b37a, #a06b3b);
}
.card-wrapper {
    position: relative;
    width: 250px;
}
/* ================= DEFAULT (DESKTOP) ================= */
.lomba-hover {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.lomba-card:hover .lomba-hover {
    opacity: 1;
    transform: translateY(0);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .lomba-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }

    /* tombol disembunyiin dulu */
    .lomba-hover {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: translateY(10px);

        position: static;
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* kalau aktif (diklik) */
    .lomba-card.active .lomba-hover {
        opacity: 1;
        max-height: 200px;
        transform: translateY(0);
    }

    /* size mobile */
    .lomba-card img {
        width: 90px;
    }

    .lomba-card h3 {
        font-size: 14px;
    }

    .btn-daftar,
    .btn-juknis {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* CARD */
.card {
    position: relative;
    z-index: 2;
}

/* PAPER (di belakang card) */
.paper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.5s ease;
    z-index: 1;
}

/* gambar */
.paper-bg {
    width: 100%;
    display: block;
}

/* text */
.paper-text {
    position: absolute;
    top: 75px;
    left: 40px;
    right: 40px;
    font-size: 12px;
    line-height: 1.4;
    color: #3b2b1f;
}

/* HOVER (trigger dari wrapper) */
.card-wrapper:hover .paper {
    transform: translateY(180px);
}
@media (max-width: 768px) {
    .card-wrapper:active .paper {
        transform: translateY(180px);
    }
}
@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 768px) {

    .whatsnew-card {
        overflow: hidden;
        transition: 0.4s;
    }

    .paper-content {
        max-height: 0;
        opacity: 0;
        transition: 0.4s;
    }

    .whatsnew-card.active .paper-content {
        max-height: 300px;
        opacity: 1;
        margin-top: 10px;
    }
}
/* ================= FOLLOW SECTION (GRID FRIENDLY) ================= */

.follow-section {
    padding: 30px 20px;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TITLE */
.follow-section h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

/* DESC */
.follow-section p {
    font-size: 13px;
    color: #6b5b4d;
    margin-bottom: 20px;
}

/* ICON WRAPPER */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* ICON BASE */
.social-icons .icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    text-decoration: none;

    background: #f2e6d9;
    color: #5c4033;

    transition: 0.3s ease;
}

/* SVG SIZE */
.social-icons svg {
    width: 18px;
    height: 18px;
}

/* HOVER */
.social-icons .icon:hover {
    transform: translateY(-4px) scale(1.08);
    background: #c08a3e;
    color: white;
    box-shadow: 0 6px 15px rgba(192, 138, 62, 0.4);
}
.video-section {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 1 / -1;
}

.video-section h2 {
    margin-bottom: 20px;
}

/* WRAPPER BIAR RESPONSIVE */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;

    aspect-ratio: 16 / 9;
}

/* VIDEO */
.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;

    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* ================= ARTICLE CONTAINER ================= */
.article-container {
    max-width: 720px;
    margin: 50px auto;
    padding: 25px;

    background: #e6d3b3;
    border-radius: 12px;

    box-shadow: 
        0 15px 40px rgba(0,0,0,0.3),
        inset 0 0 25px rgba(0,0,0,0.08);
}

/* ================= IMAGE ================= */
.article-image {
    width: 100%;
    display: block;

    border-radius: 10px;
    margin-bottom: 20px;

    border: 4px solid #d6c3a3;

    filter: sepia(50%) contrast(95%);
}

/* ================= TITLE ================= */
.article-content h1 {
    font-family: 'Rye', serif;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 10px;
}

/* ================= META ================= */
.article-meta {
    font-size: 12px;
    color: #7a5c3e;
    margin-bottom: 20px;
}

/* ================= TEXT ================= */
.article-text {
    font-size: 15px;
    line-height: 1.8;
    color: #3b2f2f;
}

/* ================= HOVER ================= */
.article-container:hover {
    transform: rotate(-0.2deg);
    transition: 0.3s ease;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .article-container {
        margin: 25px 10px;
        padding: 18px;
    }

    .article-content h1 {
        font-size: 22px;
    }

    .article-meta {
        font-size: 11px;
    }

    .article-text {
        font-size: 14px;
    }

    .article-image {
        border-width: 3px;
    }
}
.brass-panel {
    background: linear-gradient(
        145deg,
        rgba(58, 36, 24, 0.95),
        rgba(43, 29, 20, 0.95)
    );

    border: 1px solid rgba(192, 138, 62, 0.35);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    color: #f3e6d3;

    border-radius: 18px;

    transition: all 0.3s ease;
}
.brass-panel:hover {
    border-color: rgba(192, 138, 62, 0.7);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.45),
        0 0 10px rgba(192, 138, 62, 0.15);
    transform: translateY(-3px);
}