/* --- RESET & STANDARISASI --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-blue: #1e3a5f;
    --golden-yellow: #f1b434;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--white);
}

/* --- NAVIGATION --- */
nav {
    background: var(--navy-blue);
    height: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 10%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .logo {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1011;
}

nav .logo img {
    height: 110px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 30px; }
nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 0;
    background-color: var(--golden-yellow);
    transition: var(--transition);
}

nav ul li a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--white);
    font-size: 1.8rem;
    z-index: 1011;
}

/* --- HERO SECTION --- */
.hero {
   background: linear-gradient(rgba(30, 58, 95, 0.75), rgba(30, 58, 95, 0.75)), 
            url('assets/hero.jpg') no-repeat center center/cover;
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    animation: heroFade 1.2s ease-out;
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 { font-size: 2.8rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; }

/* --- GALLERY ENGINE --- */
.gallery-section { padding: 60px 0; }

.section-title {
    text-align: center;
    color: var(--navy-blue);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.marquee-track-left {
    display: flex;
    width: max-content;
    animation: scrollLeft 80s linear infinite;
}

.marquee-track-right {
    display: flex;
    width: max-content;
    animation: scrollRight 80s linear infinite;
}

.gallery-item {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    margin: 0 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover { transform: translateY(-10px) scale(1.05); }

@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.marquee-container:hover .marquee-track-left,
.marquee-container:hover .marquee-track-right {
    animation-play-state: paused;
}

/* --- FOOTER --- */
footer { background: #111; color: #a1a1a1; padding: 70px 10% 40px; font-size: 0.85rem; }

.footer-bottom {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 40px; 
    max-width: 1200px; 
    margin: 0 auto;
}

.footer-col { flex: 1; min-width: 250px; }
.footer-col.left { text-align: left; }
.footer-col.right { text-align: right; }

footer a { 
    color: #a1a1a1; 
    text-decoration: none; 
    transition: var(--transition); /* Membuat perubahan warna halus */
}

/* Efek Highlight saat Hover */
footer a:hover { 
    color: var(--golden-yellow); 
}

.permit-text { font-size: 0.75rem; color: #666; margin-top: 10px; }

/* --- RESPONSIVE MOBILE FIX (FULL SCREEN) --- */
@media (max-width: 768px) {
    nav { height: 70px; padding: 0 5%; justify-content: space-between; align-items: center; }
    nav .logo { position: static; transform: none; }
    nav .logo img { height: 50px; }
    .menu-toggle { display: block; }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--navy-blue);
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease-in-out;
        z-index: 1005;
    }

    nav ul.active { right: 0; }
    nav ul li { margin: 20px 0; }
    nav ul li a { font-size: 1.8rem; }

    .hero h1 { font-size: 1.8rem; }
    .gallery-item { width: 220px; height: 150px; margin: 0 10px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-col.left, .footer-col.right { text-align: center; }
}