:root {
    --primary-bg: #0b0b0b;
    --highlight: #5f5f5f;
    --accent: #3a3a3a;
    --soft-glow: rgba(100, 100, 100, 0.4);
    --text-color: #d8d8d8;
    --hover-bg: #2c2c2c;
    --hover-text: #f0f0f0;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: background 0.3s;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 2px 5px var(--soft-glow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-title {
    display: flex;
    align-items: center;
}

.logo {
    width: clamp(100px, 15vw, 150px);
    height: clamp(40px, 8vw, 50px);
    max-width: 150px;
    max-height: 50px;
    object-fit: contain;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--highlight);
    transition: all 0.3s ease;
}

.nav-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
nav {
    display: flex;
    gap: 10px;
}

/* Nav Button - Fully White */
.nav-button {
    background: white;
    border: 2px solid white;
    color: black;
    padding: 8px 16px;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 10px white;
}

.nav-button:hover {
    background: var(--hover-bg);
    color: var(--hover-text);
    box-shadow: 0 0 20px white;
}

/* Download Button - Fully Red */
.download-button {
    background: red;
    border: 2px solid red;
    color: white;
    padding: 8px 16px;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 10px red;
}

.download-button:hover {
    background: darkred;
    box-shadow: 0 0 20px red;
}

.nav-download {
    display: flex;
    align-items: center;
}

/* Hero Section (home.php) */
.hero {
    background: url('WhatsApp Image 2025-04-15 at 17.45.49.jpeg') no-repeat center / cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 70px;
}

.hero .overlay-content {
    background: rgba(20, 20, 20, 0.7);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--soft-glow);
}

.hero .logo {
    height: 120px;
    margin-bottom: 15px;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    max-width: 600px;
}

/* Section Styles (used in home.php) */
section {
    padding: 80px 15px;
    text-align: center;
}

section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--highlight);
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 0 5px var(--soft-glow);
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto;
    box-shadow: 0 0 5px var(--soft-glow);
}

/* General About Section (for home.php) */
.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.about-read-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border: 2px solid var(--accent);
    background: none;
    color: var(--highlight);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.about-read-more:hover {
    background: var(--hover-bg);
    color: var(--hover-text);
    box-shadow: 0 0 8px var(--soft-glow);
}

/* News Section (home.php) */
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.news-box {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.news-box:hover {
    transform: translateY(-5px);
}

.news-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-box h3 {
    font-size: 1.2rem;
    margin: 15px;
}

.news-date {
    font-size: 0.8rem;
    color: #aaa;
    margin: 0 15px 10px;
    font-style: italic;
}

.news-box p {
    font-size: 0.9rem;
    margin: 0 15px 15px;
}

.read-more {
    display: block;
    margin: 0 15px 15px;
    padding: 10px;
    background: var(--accent);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.read-more:hover {
    background: var(--hover-bg);
}

/* Store Section (home.php) */
.merchandise-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.merchandise-box {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.merchandise-box:hover {
    transform: translateY(-5px);
}

.merchandise-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.merchandise-box h3 {
    font-size: 1.2rem;
    margin: 15px;
}

.merchandise-box p {
    font-size: 0.9rem;
    margin: 0 15px 15px;
}

.price {
    font-weight: 600;
    color: #ccc;
    margin: 0 15px 10px;
}

.buy-button {
    display: block;
    margin: 0 15px 15px;
    padding: 10px;
    background: var(--accent);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    text-align: center;
}

.buy-button:hover {
    background: var(--hover-bg);
}

/* Komentar Section (home.php) */
.komentar-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.komentar-form {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.komentar-form input,
.komentar-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid var(--accent);
    border-radius: 5px;
    background: #121212;
    color: var(--text-color);
    font-size: 0.9rem;
}

.submit-button {
    width: 100%;
    padding: 10px;
    background: var(--accent);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.submit-button:hover {
    background: var(--hover-bg);
}

.daftar-komentar {
    flex: 2;
    min-width: 280px;
    max-width: 600px;
}

.komentar-box {
    background: #121212;
    border: 2px solid var(--accent);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 0 8px var(--soft-glow);
}

.komentar-box.hidden {
    display: none;
}

.komentar-box strong {
    font-size: 1rem;
}

.komentar-box em {
    font-size: 0.8rem;
    color: #aaa;
    margin-left: 10px;
}

.see-all-button {
    display: block;
    margin: 15px auto;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.see-all-button:hover {
    background: var(--hover-bg);
}

/* Footer */
footer {
    background: #000;
    color: var(--text-color);
    text-align: center;
    padding: 20px;
    border-top: 3px solid var(--accent);
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    overflow-y: auto;
}

.modal-content {
    background: #1b1b1b;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--hover-text);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: clamp(60px, 10vw, 70px);
        left: 0;
        background: rgba(10, 10, 10, 0.95);
        padding: 20px;
    }

    .nav-toggle:checked ~ nav {
        display: flex;
    }

    .nav-button {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    .nav-download {
        width: 100%;
        justify-content: center;
    }

    .download-button {
        width: 100%;
        margin-top: 0.5rem;
    }

    .logo {
        width: clamp(80px, 12vw, 120px);
        height: clamp(30px, 6vw, 40px);
        max-width: 120px;
        max-height: 40px;
    }

    .hero {
        margin-top: 60px;
    }

    .hero .logo {
        height: 100px;
    }

    .komentar-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo {
        width: clamp(60px, 10vw, 100px);
        height: clamp(25px, 5vw, 35px);
        max-width: 100px;
        max-height: 35px;
    }

    .nav-button, .download-button {
        font-size: clamp(0.7rem, 2.5vw, 0.8rem);
    }

    .hero .logo {
        height: 80px;
    }

    .hero p {
        font-size: 0.9rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .news-box img, .merchandise-box img {
        height: 120px;
    }
}