/* Reset dan Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #111;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Preloader */
#preloader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader {
    width: 60px;
    height: 60px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #f5d142;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
    background-color: transparent !important;
    transition: background-color 0.4s;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 10;
}
.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar img.logo {
    height: 50px;
}
.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.navbar nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    transition: color 0.3s;
}
.navbar nav ul li a:hover {
    color: #f5d142;
}
.navbar.scrolled nav ul li a {
    color: #111;
}
.navbar.scrolled nav ul li a:hover {
    color: #f5d142;
}

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: none;
}

/* Curtain / overlay transisi */
.hero-slideshow::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: black;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.hero-text {
    text-align: center;
    color: #fff;
    padding: 20px;
}
.hero-text h1 {
    font-size: 3em;
    margin-bottom: 10px;
}
.hero-text p {
    font-size: 1.5em;
}

.hero-slideshow.transitioning::before {
    opacity: 1;
}

.hero-overlay {
    position: relative;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.scroll-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 30px;
    background-color: #ffffff;
    color: #111;
    font-weight: bold;
    text-decoration: none;
    border-radius: 40px;
    font-size: 16px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
.scroll-btn:hover {
    background-color: #f5f5f5;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
.scroll-btn .arrow {
    margin-left: 10px;
    animation: bounce 1.5s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Panah bawah animasi naik-turun */
.scroll-btn .arrow {
    display: inline-block;
    margin-left: 10px;
    animation: bounceArrow 1.5s infinite ease-in-out;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px); /* Gerakan turun lalu naik */
    }
}

.scroll-btn .arrow-right {
    display: inline-block;
    margin-left: 8px;
    animation: slideArrow 1.5s infinite ease-in-out;
}

@keyframes slideArrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px); /* Maju ke kanan lalu balik */
    }
}

/* About Section */
.about-section {
    padding: 100px 20px;
    background-color: #fff;
}
.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.about-item {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.about-item.reverse {
    flex-direction: row-reverse;
}
.about-img {
    flex: 1 1 400px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.about-text {
    flex: 1 1 500px;
}
.about-text h2 {
    font-size: 24px;
    margin-bottom: 15px;
}
.about-text p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px;
}

.subtext {
    font-size: 16px;
    color: #555;
    margin: 20px 0 40px;
    line-height: 1.6;
}

/* Tiket Section */
.tiket-section {
    padding: 120px 20px 80px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.tiket-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.tiket-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}
.tiket-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}
.tiket-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}
.harga {
    font-size: 26px;
    color: #d35400;
    font-weight: bold;
    margin: 0;
}
.note {
    font-size: 15px;
    color: #222;
    margin: 10px 0 10px;
}

/* Loket Image */
.loket-gambar {
    margin-top: 50px;
}

.loket-gambar h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.loket-gambar img {
    width: 100%;
    max-width: 600px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    padding: 10px 0 50px;
}

.payment-methods img {
    height: 45px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.payment-methods img:hover {
    transform: scale(1.1);
}
.cash-label {
    font-weight: bold;
    font-size: 18px;
    background-color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
}

/* Lokasi Section */
.lokasi-section {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.lokasi-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.lokasi-section .subtext {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}
.maps-container iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 25px 20px;
    font-size: 14px;
    margin-top: auto;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.kontak-section {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.kontak-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.kontak-section .subtext {
    font-size: 16px;
    color: #555;
    margin-bottom: 50px;
}

.kontak-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.kontak-card {
    background-color: #f9f9f9;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: transform 0.3s ease;
}

.kontak-card:hover {
    transform: translateY(-5px);
}

.kontak-icon {
    height: 60px;
    margin-bottom: 15px;
}

.kontak-card p {
    font-size: 16px;
    line-height: 1.5;
}

.kontak-card a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.kontak-card a:hover {
    text-decoration: underline;
}

.galeri-section {
    padding: 100px 20px;
    text-align: center;
}

.galeri-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.galeri-section .subtext {
    font-size: 16px;
    color: #555;
    margin-bottom: 50px;
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.galeri-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.galeri-card img {
    width: 100%;
    height: auto;
    display: block;
}

.galeri-card p {
    padding: 15px;
    font-size: 14px;
    color: #333;
    text-align: left;
}

.galeri-card:hover {
    transform: translateY(-5px);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Kontainer gambar */
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

/* Gambar di dalam lightbox */
.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    display: block;
}

/* Tombol tutup sekarang menempel di pojok kanan atas gambar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    color: white;
    background: #111;
    padding: 6px 12px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    transition: background 0.3s;
}

.close-btn:hover {
    background: #f44336;
}
