/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cinzel', serif;
}

/* Navbar */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between; /* Memisahkan logo dan menu */
    align-items: center;
    z-index: 1000;
}

/* Logo tetap di kiri */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: gold;
}

/* Improved Slide Menu */
.slide-menu {
    position: fixed;
    top: 0;
    left: -100%; /* Start completely off-screen */
    width: 250px;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    transition: left 0.3s ease; /* Smooth transition */
    z-index: 1001;
    padding-top: 60px;
}

.slide-menu.active {
    left: 0; /* Slide into view */
}

.slide-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center; /* Center-align all menu items */
}

.slide-menu li {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Add a separator for better visibility */
}

.slide-menu a {
    display: flex; /* Use flexbox for consistent alignment */
    justify-content: center; /* Center-align text and icons */
    align-items: center; /* Vertically center items */
    width: 100%; /* Make the link take full width */
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.slide-menu a:hover {
    color: gold;
}

/* Dropdown Menu in Slide Menu */
.slide-menu .dropdown-menu {
    display: none; /* Hide dropdown by default */
    text-align: center; /* Center-align dropdown items */
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
}

.slide-menu .dropdown:hover .dropdown-menu {
    display: block; /* Show dropdown on hover */
}

.slide-menu .dropdown-menu li {
    padding: 10px;
}

.slide-menu .dropdown-menu li a {
    display: flex; /* Use flexbox for consistent alignment */
    justify-content: center; /* Center-align text and icons */
    align-items: center; /* Vertically center items */
    font-size: 16px;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.slide-menu .dropdown-menu li a:hover {
    color: gold;
}

/* Overlay (untuk menutup slide menu) */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: opacity 0.3s ease; /* Smooth fade-in/out */
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Hamburger Menu untuk mobile */
.hamburger {
    display: none; /* Di sembunyikan pada desktop */
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background: white;
    margin: 6px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Video */
#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

/* Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 10px black;
}

.hero-content h1 {
    font-size: 50px;
    color: gold;
}

.hero-content p {
    font-size: 20px;
}

/* Desktop Navbar */
.desktop-nav {
    display: block;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.desktop-nav li {
    position: relative;
}

.desktop-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.desktop-nav a:hover {
    background: rgba(255, 215, 0, 0.2);
    color: gold;
}

/* Dropdown Menu */
.desktop-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 5px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.desktop-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.desktop-nav .dropdown-menu li {
    padding: 10px 20px;
}

.desktop-nav .dropdown-menu li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
}

.desktop-nav .dropdown-menu li a:hover {
    background: rgba(255, 215, 0, 0.2);
    color: gold;
}

/* Dropdown Arrow */
.desktop-nav .dropdown > a i.fa-chevron-down {
    margin-left: auto;
    transition: transform 0.3s;
}

.desktop-nav .dropdown:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown for KvK Record */
.desktop-nav .dropdown .dropdown-menu {
    display: none; /* Menyembunyikan dropdown */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 200px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 1000;
}

.desktop-nav .dropdown:hover .dropdown-menu {
    display: block; /* Menampilkan dropdown saat hover */
}

.desktop-nav .dropdown-menu li {
    padding: 10px 15px;
}

.desktop-nav .dropdown-menu li a {
    color: white;
    text-decoration: none;
}

.desktop-nav .dropdown-menu li a:hover {
    color: gold; /* Menambahkan efek hover pada menu item */
}

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none; /* Menghindari interaksi dengan video */
}

/* Gaya untuk logo */
.logo {
    display: inline-block;
    width: 150px; /* Sesuaikan dengan lebar logo */
    height: 50px; /* Sesuaikan dengan tinggi logo */
    cursor: pointer; /* Memberikan pointer kursor pada elemen link */
}

.logo img {
    height: 50px; /* Sesuaikan dengan tinggi logo */
    width: auto;  /* Biarkan lebar menyesuaikan dengan rasio gambar */
    cursor: pointer; /* Menampilkan kursor berbentuk jari */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Animasi transisi halus */
}

/* Animasi ketika cursor diarahkan ke logo */
.logo img:hover {
    transform: scale(1.1); /* Membuat logo sedikit lebih besar */
    opacity: 0.8; /* Memberikan sedikit transparansi saat hover */
}

/* Pastikan kontrol video tidak terlihat */
#background-video::-webkit-media-controls {
    display: none !important;
}

#background-video::-moz-media-controls {
    display: none !important;
}

#background-video::-ms-media-controls {
    display: none !important;
}

/* Gaya untuk gambar latar belakang */
#background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

/* Footer */
footer.footer, .footer {
    position: relative;
    background: linear-gradient(120deg, #111 0%, #222 100%);
    background-size: 200% 200%;
    animation: footer-gradient-move 7s ease-in-out infinite;
    color: #e0e0e0;
    text-align: center;
    padding: 8px 0 3px 0;
    font-size: 13.5px;
    border-top: 1px solid #232a34;
    box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.18);
    backdrop-filter: blur(8px) saturate(1.2);
    -webkit-backdrop-filter: blur(8px) saturate(1.2);
    overflow: hidden;
    min-height: 38px;
    opacity: 0;
    transform: translateY(30px);
    animation: footer-fadein 1.1s cubic-bezier(.23,1.02,.57,.98) 0.2s forwards, footer-gradient-move 7s ease-in-out infinite;
}

@keyframes footer-gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes footer-fadein {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 10px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.footer-copyright {
    color: #ffd700;
    font-size: 1em;
    margin-bottom: 1px;
    letter-spacing: 0.3px;
}

.footer-author {
    color: #ffd700;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 13px;
    letter-spacing: 0.1px;
}
.footer-author:hover {
    color: #fff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.footer-links li {
    display: inline-block;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 12.5px;
    padding: 2px 8px;
    border-radius: 5px;
    background: rgba(0,0,0,0.12);
    transition: background 0.25s, color 0.2s, box-shadow 0.2s, transform 0.18s;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.10);
    backdrop-filter: blur(1.5px);
    will-change: background, color, box-shadow, transform;
}
.footer-links a:hover {
    color: #ffd700;
    background: rgba(30, 30, 30, 0.32);
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.18);
    transform: translateY(-2px) scale(1.06);
}

@media (max-width: 600px) {
    .footer-main {
        flex-direction: column;
        gap: 1px;
    }
    .footer-links {
        gap: 3px;
        flex-wrap: wrap;
    }
    .footer-content {
        padding: 0 2vw;
    }
}

/* Hero Text Animation */
.animated-text {
    font-size: 50px;
    color: gold;
    animation: text-glow 2s infinite alternate, fade-in 1.5s ease-in-out, move-text 5s infinite ease-in-out;
}

@keyframes text-glow {
    0% {
        text-shadow: 0 0 5px gold, 0 0 10px gold, 0 0 20px gold, 0 0 30px gold;
    }
    100% {
        text-shadow: 0 0 10px gold, 0 0 20px gold, 0 0 40px gold, 0 0 60px gold;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes move-text {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .desktop-nav {
        display: none; /* Hide desktop menu */
    }

    .hamburger {
        display: block; /* Show hamburger menu */
    }

    .slide-menu {
        width: 70%; /* Adjust slide menu width for mobile */
    }

    .slide-menu ul {
        padding: 0;
        margin: 0;
    }

    .slide-menu li {
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .slide-menu a {
        font-size: 16px;
    }

    .dropdown-menu {
        display: none; /* Hide dropdown menu by default */
        position: relative; /* Adjust for mobile */
        background: rgba(0, 0, 0, 0.9);
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .dropdown-menu li {
        padding: 10px;
    }

    .dropdown-menu li a {
        font-size: 14px;
    }

    .dropdown > a {
        display: flex;
        align-items: center;
    }

    .dropdown > a i.fa-chevron-down {
        transition: transform 0.3s;
    }

    .dropdown.open > a i.fa-chevron-down {
        transform: rotate(180deg);
    }
}

/* Footer Links Styling */
/*
.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 12px 0 0 0;
    padding: 0;
}

.footer-links li {
    display: inline-block;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s;
    padding: 4px 10px;
    border-radius: 4px;
}

.footer-links a:hover {
    color: gold;
    background: rgba(255, 215, 0, 0.08);
}
*/
/* Tidak ada perubahan pada file CSS untuk target="_blank" karena ini adalah atribut HTML. */

