/* ==================================
   PAI DIGITAL - GREEN/YELLOW THEME (REPLICA)
   ================================== */

/* 1. VARIABEL & PENGATURAN DASAR */
:root {
    --dark-green: #1A2421;     /* Latar belakang utama */
    --accent-yellow: #F0B80D;  /* Aksen utama: tulisan, tombol */
    --light-text: #F0F0F0;     /* Teks isi, putih gading */
    --secondary-text: #A3B3AD; /* Teks subjudul atau deskripsi */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-green);
    color: var(--light-text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 2. NAVBAR */
.navbar {
    position: fixed;
    width: 100%;
    padding: 20px 0;
    z-index: 50;
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(26, 36, 33, 0.85);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-yellow);
    text-decoration: none;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    margin: 0 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

/* 3. TOMBOL (BUTTONS) */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: #111;
    border-color: var(--accent-yellow);
}
.btn-primary:hover {
    background-color: #ffcc2e;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-color: rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--light-text);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* 4. HERO SECTION */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--accent-yellow); /* Sesuai gambar */
}
.hero-content h1 span {
    font-style: italic;
    font-family: serif; 
    color: var(--light-text); /* Sesuai gambar */
}

.hero-content .subtitle {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 24px;
    color: var(--secondary-text);
    font-size: 0.9rem;
}
.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary-text);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, 10px);
    }
    60% {
        transform: translate(-50%, 5px);
    }
}

/* 5. SECTIONS UMUM LAINNYA */
section {
    padding: 100px 0;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}
.features {
    background-color: #1E2B27; 
}

/* 6. FOOTER */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--secondary-text);
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 7. RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-image-container {
        grid-row: 1; /* Pindahkan gambar ke atas */
        margin-bottom: 40px;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content .subtitle {
        max-width: 100%;
    }
    .hero-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch; /* Tombol jadi full-width */
    }
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
}