:root {
    --primary: #f39c12;
    --bg-dark: #1a1a1a; /* lebih terang */
    --bg-black: #0d0d0d;
    --card: #242424; /* ikut dinaikin biar seimbang */
    --text: #f5f5f5; /* sedikit lebih soft dari putih */
}

/* GLOBAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
}

/* NAVBAR */
nav {
    background: rgba(0,0,0,0.8);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 100;
}

nav a {
    color: var(--text);
    margin-right: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

/* HEADER */
header {
    position: relative;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('assets/images/background.webp') no-repeat center/cover;
    filter: blur(4px);
    transform: scale(1.1);
    z-index: -2;
}

header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: -1;
}

/* Paksa teks di paling depan */
header h1,
header p {
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 3em;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 15px 25px;
    border-radius: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

header p {
    margin-top: 10px;
    color: #fff;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* SECTION */
section {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
}

/* TITLE */
h2 {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

/* CARD */
.card {
    background: var(--card);
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: var(--primary);
    color: #000;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #fff;
    color: #000;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: var(--bg-black);
    font-size: 0.9em;
    color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
        padding: 10px 15px;
    }

    nav a {
        display: inline-block;
        margin: 10px 10px 0 0;
    }

    section {
        padding: 30px 15px;
    }
}


/* PROMO */
.promo-slider {
    position: relative;
    max-width: 700px;          /* ukuran sedang */
    margin: 40px auto;         /* tengah */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* container */
.slides {
    position: relative;
    height: 350px;             /* tinggi fix biar gak loncat */
}

/* slide */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* slide */
/* slide */
.slide {
    position: absolute;
    width: 100%;
    height: 70%; /* penting full */
    opacity: 0;
    transition: opacity 0.8s ease-in-out;

    display: flex;
    flex-direction: column;           /* 🔥 kunci */
    justify-content: space-between;   /* isi atas & bawah */
    align-items: center;

    padding: 15px;
    background: linear-gradient(to top, #000, #1a1a1a);
}

/* aktif */
.slide.active {
    opacity: 1;
    z-index: 1;
}
/* gambar (dibikin kecil & rapi) */
.slide img {
    width: 60%;                     /* 2 logo dalam 1 baris */
    max-height: 200px;
    object-fit: contain;
}

/* DOTS */
.dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

/* judul atas */
.title {
   color: #FFD700; /* kuning gold (lebih enak dilihat) */
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

/* tengah (logo tetap) */
.logo-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.logo-row img {
    width: 45%;
    max-height: 180px;
    object-fit: contain;
}

/* tulisan bawah */
.caption {
    color: #ccc;
    font-size: 20px;
    text-align: center;
}
