/* Reset Dasar */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* SECTION 1: HERO */
.mils-hero-section {
    position: relative;
    width: 100vw;
    height: 100vh; /* Kunci layar penuh */
    overflow: hidden;
    display: flex;
    align-items: center; /* Teks di tengah vertikal */
    justify-content: center; /* Teks di tengah horizontal */
}

.hero-media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Di belakang teks */
}

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar/Video akan otomatis terpotong proporsional memenuhi layar */
}

.hero-content {
    position: relative;
    z-index: 2; /* Di atas gambar */
    text-align: center;
    color: #ffffff; /* Asumsi teks putih di atas gambar gelap */
}

/* Styling Tombol 'View More' */
.btn-view-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background-color: #ffffff;
    color: #000000;
}

/* -----------------------------------------
   HEADER & NAVIGATION STYLES
----------------------------------------- */
.mils-global-header {
    position: absolute; /* Membuat header melayang di atas gambar/video */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* Pastikan selalu di posisi paling atas */
    padding: 30px 50px; /* Jarak aman dari tepi layar */
    box-sizing: border-box;
}

.header-container {
    display: flex;
    justify-content: space-between; /* Logo di kiri, Menu di kanan (bisa disesuaikan) */
    align-items: center;
}

.site-logo a {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
}

/* -----------------------------------------
   DROPDOWN MENU HOVER LOGIC (Versi WordPress Dinamis)
----------------------------------------- */
.mils-menu {
    display: flex;
    gap: 40px; 
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Area sentuh (hover trigger) */
.mils-menu > li {
    position: relative; 
    padding: 10px 0; 
}

.mils-menu a {
    text-decoration: none;
    color: #ffffff; 
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mils-menu > li > a:hover {
    color: #cccccc; 
}

/* Sembunyikan Dropdown bawaan WordPress */
.mils-menu .sub-menu {
    position: absolute;
    top: 100%; 
    left: -20px; 
    background-color: rgba(10, 10, 10, 0.95); 
    min-width: 220px;
    border-radius: 8px;
    padding: 15px 0;
    list-style: none;
    
    /* Animasi Transisi Halus */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); 
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* MUNCULKAN DROPDOWN SAAT DI-HOVER! */
.mils-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
}

/* Styling isi sub-menu */
.mils-menu .sub-menu li a {
    display: block;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 400;
    color: #eeeeee;
}

.mils-menu .sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1); 
    color: #ffffff;
}