/* Palet Warna Timnas Indonesia */
:root {
    --red-primary: #EE1D23; /* Merah Bendera Indonesia */
    --white-text: #FFFFFF;
    --blue-accent: #004D98; /* Biru Laut/Langit */
    --light-grey: #f4f4f4;
    --dark-text: #333;
}

/* Pengaturan Dasar */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-grey);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header & Navigasi */
.main-header {
    background-color: var(--red-primary);
    color: var(--white-text);
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8em;
    font-weight: 500;
    margin: 0;
}

.logo .garuda {
    font-size: 1.5em;
    margin-right: 10px;
}

.main-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-header nav ul li a {
    color: var(--white-text);
    text-decoration: none;
    font-weight: 700;
    padding: 10px 15px;
    margin-left: 5px;
    border-bottom: 3px solid transparent;
    transition: border-bottom 0.3s;
}

.main-header nav ul li a:hover,
.main-header nav ul li a.active {
    border-bottom: 3px solid var(--blue-accent);
}

/* Hero Section */
.hero-section {
    background: url('https://via.placeholder.com/1200x400/EE1D23/FFFFFF?text=MERAH+PUTIH+BERKIBAR') center center / cover no-repeat;
    color: var(--white-text);
    text-align: center;
    padding: 100px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 40px 20px;
    border-radius: 10px;
    display: inline-block;
}

.hero-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.tombol-utama {
    display: inline-block;
    background-color: var(--blue-accent);
    color: var(--white-text);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.tombol-utama:hover {
    background-color: #003e7a;
}

/* Berita Section */
.news-section {
    padding: 40px 0;
}

.news-section h2 {
    color: var(--red-primary);
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--red-primary);
    display: inline-block;
    padding-bottom: 5px;
}

.grid-berita {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.kartu-berita {
    background: var(--white-text);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.kartu-berita:hover {
    transform: translateY(-5px);
}

.kartu-berita img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.kartu-berita h3 {
    padding: 15px 20px 5px;
    color: var(--red-primary);
    margin: 0;
    font-size: 1.3em;
}

.kartu-berita p {
    padding: 0 20px 15px;
    font-size: 0.95em;
    color: #555;
}

/* Tombol Aksi JS */
.tombol-aksi-js {
    text-align: center;
    padding: 30px;
    margin-top: 30px;
    background-color: var(--white-text);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tombol-aksi-js button {
    background-color: var(--blue-accent);
    color: var(--white-text);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin: 0 10px;
    transition: opacity 0.3s;
}

.tombol-aksi-js button:hover {
    opacity: 0.8;
}

#pesan-dukungan {
    margin-top: 20px;
    font-weight: bold;
    color: var(--red-primary);
}

/* Footer */
footer {
    background-color: #333;
    color: var(--white-text);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}