* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f6fa;
    color: #333;
}

/* NAVBAR */
.site-header {
    background: #1f2937;
    color: white;
    padding: 18px 0;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    width: 45px !important;
    height: 45px !important;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
}

.main-nav a:hover {
    opacity: 0.75;
}

/* HERO + SLIDESHOW */
.hero {
    min-height: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1 !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    padding: 70px 20px;
}

.hero-label {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 12px 20px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: bold;
}

.hero-btn.utama {
    background: white;
    color: #1f2937;
}

.hero-btn.kedua {
    border: 1px solid white;
    color: white;
}

.slide-nav {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
}

.slide-dot.active {
    background: white;
    box-shadow: 0 0 6px rgba(255,255,255,0.6);
}

/* KONTEN UTAMA */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    margin-bottom: 25px;
}

.berita-grid, .galeri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.berita-card, .galeri-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.berita-card img, .galeri-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.tanpa-gambar {
    height: 210px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.berita-content, .galeri-info {
    padding: 20px;
}

.tanggal {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.btn, .btn-outline {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
}

.btn {
    background: #2563eb;
    color: white;
}

.btn-outline {
    border: 1px solid #2563eb;
    color: #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

.lihat-semua {
    text-align: center;
    margin-top: 30px;
}

.tentang-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* FOOTER */
.site-footer {
    background-color: #0d1527; /* Warna latar gelap sesuai gambar */
    color: #94a3b8;
    padding: 25px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Lingkaran Ikon */
.social-icons a {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.08); /* Latar belakang bulat gelap transparan */
    color: #cbd5e1; /* Warna ikon */
    border-radius: 50%; /* Membuat bentuk lingkaran sempurna */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

/* Efek Hover saat kursor diarahkan ke ikon */
.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive Tampilan HP */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column-reverse;
        text-align: center;
    }
}

/* TOMBOL KEMBALI KE ATAS */
#backToTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #2563eb;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* TAMPILAN HP */
@media (max-width: 800px) {
    .berita-grid, .galeri-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero-buttons {
        flex-direction: column;
    }
}