/* style.css - CSS Utama untuk Public Site */
:root {
    --primary-color: #007bff; /* Biru cerah */
    --secondary-color: #28a745; /* Hijau untuk aksi */
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-color: #333;
    --bg-light-grey: #f4f4f4;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background: white;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

header {
    background: var(--dark-color);
    color: white;
    padding: 1rem 0;
    border-bottom: var(--primary-color) 3px solid;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 40px; /* Sesuaikan ukuran logo */
    margin-right: 10px;
}

header .logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: white;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header nav a:hover {
    color: var(--primary-color);
}

.btn-admin {
    background: var(--primary-color);
    padding: 8px 15px;
    border-radius: 5px;
}

/* Hero Section */
#hero {
    min-height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('manado-hero-bg.jpg') no-repeat center center/cover; /* Ganti dengan gambar Manado, simpan di assets/ */
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    color: white;
    background: var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    display: inline-block;
    color: white;
    background: var(--secondary-color);
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: #218838;
}


/* General Sections */
section {
    padding: 40px 0;
    text-align: center;
}

.section-bg {
    background: var(--bg-light-grey);
}

section h3 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 25px;
}

/* Episode List */
.episode-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.episode-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 300px;
    padding: 20px;
    text-align: left;
}

.episode-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.episode-card h4 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.episode-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

/* How to Play */
#cara-main ol {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 70%;
    margin: 20px auto;
    font-size: 1.1rem;
}

#cara-main ol li {
    background: white;
    margin-bottom: 10px;
    padding: 15px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 4px;
}


/* Sponsor Section */
.sponsor-logo-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.sponsor-logo-list img {
    max-width: 120px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sponsor-logo-list img:hover {
    opacity: 1;
}

/* Contact Form */
#kontak form {
    width: 60%;
    margin: 30px auto;
    text-align: left;
}

#kontak form input[type="text"],
#kontak form input[type="email"],
#kontak form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Untuk memastikan padding tidak menambah lebar */
}

#kontak form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer .social-media a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 5px;
}
footer .social-media a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    header nav ul li {
        margin: 0 10px;
        margin-top: 10px;
    }
    #hero h2 {
        font-size: 2.5rem;
    }
    .container {
        width: 90%;
    }
    #kontak form {
        width: 90%;
    }
    #cara-main ol {
        width: 90%;
    }
}
