/* ========================= */
/* RESET */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    color: #222;
}

/* ========================= */
/* GLOBAL */
/* ========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

a {
    text-decoration: none;
    color: #6d0a0a;
    transition: 0.3s;
}

a:hover {
    color: #9b1c1c;
}

/* ========================= */
/* HEADER */
/* ========================= */
.site-header {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-weight: 700;
    font-size: 16px;
    color: #13294b;
}

/* ========================= */
/* NAV */
/* ========================= */
.main-nav ul {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    gap: 25px;
}

.main-nav ul li {
    position: relative;
}
.main-nav a {
    white-space: nowrap;
}

/* ========================= */
/* DROPDOWN DEFAULT */
/* ========================= */
.main-nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
}

.main-nav ul li ul li {
    display: block;
    width: 100%;
    position: relative;
}

.main-nav ul li ul li a {
    padding: 10px 15px;
    display: block;
    color: #333;
}

.main-nav ul li ul li a:hover {
    background: #f5f5f5;
    color: #9b1c1c;
}

/* ========================= */
/* SUBMENU LEVEL 2 */
/* ========================= */
.main-nav ul li ul li ul {
    display: none;
    flex-direction: column;
    position: relative;
    background: #f9f9f9;
}

/* ========================= */
/* CLICK-BASED DROPDOWN */
/* ========================= */

/* disable hover lama */
.main-nav ul li:hover > ul {
    display: none;
}

/* aktif pakai JS */
.menu-item.active > ul {
    display: flex !important;
}

/* ========================= */
/* ARROW MODERN */
/* ========================= */
.toggle-menu.has-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 🔥 ini kuncinya */
    gap: 20px; /* jarak minimum */
}

.arrow {
    width: 6px;
    height: 6px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(-45deg);
    transition: 0.3s;
    margin-left: auto; 
}

/* rotate saat aktif */
.menu-item.active > .toggle-menu .arrow {
    transform: rotate(45deg);
}

/* indent submenu dalam */
.submenu.inner {
    padding-left: 20px;
}

/* ========================= */
/* HERO */
/* ========================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 60px;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.3),
        transparent
    );
    z-index: 1;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-video-wrapper iframe {
    position: absolute;
    top: 60%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: brightness(0.75);
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-text p {
    color: #ddd;
    margin-bottom: 25px;
}

/* BUTTON */
.btn-primary {
    background: linear-gradient(135deg, #6d0a0a, #9b1c1c);
    color: #fff;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* ========================= */
/* SECTION */
/* ========================= */
section {
    padding: 80px 0;
}

.image-section {
    text-align: center;
}

.image-wrapper {
    margin: 100px 0;
}

.image-wrapper img {
    width: 100%;
    border-radius: 10px;
    transition: 0.4s;
}

.image-wrapper img:hover {
    transform: scale(1.05);
}

/* ========================= */
/* SCROLL ANIMATION */
/* ========================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================= */
/* FOOTER */
/* ========================= */
.site-footer {
    background: #002766;
    color: #fff;
    padding: 50px 0 30px;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column:first-child {
    text-align: left;
}

.footer-column:last-child {
    text-align: right;
}

.footer-column h3 {
    margin-bottom: 15px;
}

.footer-column p {
    color: #ccc;
    margin-bottom: 8px;
}

/* ========================= */
/* MOBILE */
/* ========================= */
@media (max-width: 768px) {

    .header-flex {
        flex-direction: column;
        height: auto;
        gap: 10px;
        padding: 10px 0;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 0 20px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
/* ========================= */
/* COOKIE CONSENT */
/* ========================= */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;   /* 🔥 pindah ke kanan */
    left: auto;    /* penting, biar gak ketarik ke kiri */
    display: none;
    z-index: 9999;
    text-align: left;
}

.cookie-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    max-width: 350px;
}

.cookie-box p {
    margin-bottom: 15px;
    color: #333;
    font-size: 14px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-actions button {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

#acceptCookies {
    background: #6d0a0a;
    color: #fff;
}

#rejectCookies {
    background: #ddd;
}   

