/* General Body & Container Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
    background-color: #f4f7f6; /* Warna latar belakang umum */
    scroll-behavior: smooth; /* Smooth scroll for anchor links */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Tambahkan padding horizontal */
}

/* Header Styles */
header {
    background-color: #0056b3; /* Biru Gelap - Warna utama */
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Ukuran logo */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #28a745; /* Hijau - Aksen */
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Sembunyikan secara default untuk desktop */
    background: none;
    border: none;
    color: white;
    font-size: 1.8em;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 86, 179, 0.7), rgba(0, 86, 179, 0.7)), url('../img/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimal tinggi hero section */
}

.hero-section h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white; /* Pastikan teks putih */
}

.hero-section p {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Utility Classes */
.section-padding {
    padding: 80px 0;
}

.section-alt-bg {
    background-color: #eef4f7; /* Latar belakang alternatif */
}

.section-cta-bg {
    background: linear-gradient(rgba(40, 167, 69, 0.85), rgba(40, 167, 69, 0.85)), url('../img/cta-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 60px;
    color: #0056b3; /* Biru Gelap - Judul */
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #28a745; /* Hijau - Aksen */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-cta-bg .section-title {
    color: white;
}

.section-cta-bg .section-title::after {
    background-color: white;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px; /* Bentuk kapsul */
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.1em;
}

.btn-primary {
    background-color: #28a745; /* Hijau - Aksen */
    color: white;
}

.btn-primary:hover {
    background-color: #218838; /* Hijau sedikit lebih gelap */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #28a745; /* Hijau - Aksen */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary i {
    margin-right: 8px;
}

/* Grid Layouts */
.features-grid,
.users-grid,
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Card Styles */
.feature-item,
.user-item,
.menu-item {
    background-color: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Konten dimulai dari atas */
    align-items: center;
}

.feature-item:hover,
.user-item:hover,
.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.feature-item h3,
.user-item h3,
.menu-item h3 {
    color: #0056b3; /* Biru Gelap - Judul Card */
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.6em;
}

.feature-item p,
.user-item p,
.menu-item p {
    font-size: 1.05em;
    color: #555;
}

/* Icons in Cards */
.icon-feature, .icon-user, .icon-menu {
    font-size: 3.5em;
    color: #28a745; /* Hijau - Aksen */
    margin-bottom: 15px;
}

/* CTA Section specific styles */
.cta-text {
    font-size: 1.3em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-highlight {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff; /* Pastikan teks tetap putih */
}

.cta-phone {
    font-size: 1.3em;
    margin-top: 30px;
    font-weight: 600;
    color: #fff;
}

.cta-phone a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-phone a:hover {
    color: #c9f0d1; /* Warna sedikit terang saat hover */
}

/* Social Icons */
.social-icons {
    margin-top: 40px;
}

.social-icons a {
    color: white;
    font-size: 1.8em;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #28a745; /* Hijau - Aksen */
    transform: translateY(-5px);
}

/* Footer Styles */
footer {
    background-color: #343a40; /* Abu-abu gelap */
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    font-size: 0.95em;
}

footer p {
    margin: 5px 0;
}

/* Scroll Reveal Animations */
.reveal {
    position: relative;
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.fade-bottom {
    transform: translateY(50px);
}
.reveal.fade-top {
    transform: translateY(-50px);
}
/* Anda bisa menambahkan lebih banyak jenis animasi di sini (fade-left, fade-right) */


/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h2 {
        font-size: 2.8em;
    }
    .hero-section p {
        font-size: 1.2em;
    }
    .section-title {
        font-size: 2.2em;
    }
    nav ul {
        display: none; /* Sembunyikan navigasi di mobile */
        flex-direction: column;
        width: 100%;
        background-color: #0056b3;
        position: absolute;
        top: 80px; /* Di bawah header */
        left: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    nav ul.active {
        display: flex; /* Tampilkan saat aktif */
    }
    nav ul li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    nav ul li a {
        display: block;
        padding: 15px 0;
    }
    .menu-toggle {
        display: block; /* Tampilkan tombol hamburger */
    }
    header .container {
        padding: 0 20px; /* Tambahkan padding di sisi */
    }
    .logo img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px;
    }
    .hero-section h2 {
        font-size: 2.2em;
    }
    .hero-section p {
        font-size: 1em;
    }
    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .section-padding {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .features-grid, .users-grid, .menu-grid {
        grid-template-columns: 1fr; /* Satu kolom untuk mobile */
    }
    .feature-item, .user-item, .menu-item {
        padding: 25px;
    }
    .icon-feature, .icon-user, .icon-menu {
        font-size: 3em;
    }
    .cta-highlight {
        font-size: 1.4em;
    }
    .social-icons a {
        font-size: 1.5em;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-section h2 {
        font-size: 1.8em;
    }
    .hero-section p {
        font-size: 0.9em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .section-title {
        font-size: 1.6em;
    }
}

/* Responsive Adjustments for Video Section */
@media (max-width: 768px) {
    .video-embed-container {
        padding-bottom: 75%; /* Untuk rasio 4:3 agar video vertikal tidak terlalu kecil */
        /* Atau bisa juga 177.77% (9:16) jika memang video Anda didominasi vertikal */
    }
}

@media (max-width: 480px) {
    .video-embed-container {
        padding-bottom: 150%; /* Lebih mendekati rasio vertikal TikTok pada mobile */
        /* Sesuaikan lebih lanjut jika diperlukan */
    }
    .video-intro-text, .tiktok-cta {
        font-size: 1em;
    }
}

/* --- YouTube Live Section Styles (Menggunakan gaya yang mirip dengan TikTok) --- */
/* Anda bisa mendefinisikan gaya yang benar-benar baru jika ingin tampilan yang berbeda */

.youtube-cta {
    margin-top: 20px;
    font-size: 1.1em;
    color: #555;
}

.youtube-cta a {
    color: #cc0000; /* Warna merah YouTube */
    text-decoration: none;
    font-weight: 600;
}

.youtube-cta a:hover {
    text-decoration: underline;
}

/* Update Social Icons in Footer/CTA section for YouTube */
.social-icons .fab.fa-youtube {
    color: #ff0000; /* Warna ikon YouTube asli */
}

.social-icons a:hover .fab.fa-youtube {
    color: #28a745; /* Ganti warna saat hover jika Anda mau */
}

/* Catatan: Karena video YouTube cenderung horizontal (16:9),
   video-embed-container yang sudah ada dengan padding-bottom: 56.25%
   akan cocok untuk iframe YouTube. Jika Anda ingin rasio berbeda,
   Anda bisa membuat class baru seperti .youtube-embed-container
   dengan padding-bottom yang berbeda. */
   
   
   
/* --- Link Pembelian Section Styles --- */
.lynk-info {
    margin-top: 15px;
    font-size: 0.95em;
    color: #777;
}

/* Style untuk tombol pembelian khusus */
.btn-purchase {
    background-color: #ff5722; /* Warna oranye atau warna yang menonjol untuk pembelian */
    color: white;
    border-color: #ff5722;
    padding: 18px 40px; /* Lebih besar dari tombol lainnya */
    font-size: 1.25em; /* Ukuran font lebih besar */
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.btn-purchase:hover {
    background-color: #e64a19; /* Oranye lebih gelap saat hover */
    border-color: #e64a19;
    transform: translateY(-5px); /* Efek naik lebih jauh */
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.6);
}

.btn-purchase i {
    margin-right: 12px;
    font-size: 1.1em; /* Ukuran ikon sedikit lebih besar */
}

/* Responsive Adjustments for Purchase Button */
@media (max-width: 768px) {
    .btn-purchase {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}