/* --- CSS Variables & Design System --- */
:root {
    --primary-color: #0A192F;
    --secondary-color: #112240;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #F1C40F;
    --text-main: #E6F1FF;
    --text-muted: #8892B0;
    --bg-main: #020C1B;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease-in-out;
    --glass-bg: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(212, 175, 55, 0.2);
    --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* --- Global Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.relative { position: relative; }
.z-10 { z-index: 10; }
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-4 { margin-bottom: 4rem; }

/* --- UI Components --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: transparent;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-main);
    box-shadow: var(--shadow-gold);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--bg-main);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-huge {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
}

/* Glassmorphism Effect */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* --- Navbar / Header --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(2, 12, 27, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after, .nav-links li a.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    gap: 0.5rem;
    color: var(--text-muted);
}

.lang-switch span.active {
    color: var(--accent-gold);
}

.lang-switch span:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--accent-gold);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 700px;
    background: url('assets/images/gates.png') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2, 12, 27, 0.4), rgba(2, 12, 27, 0.9));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.9;
}

.hero-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 2.5rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0,0,0,0.4);
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* --- General Sections --- */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.separator {
    height: 3px;
    width: 60px;
    background: var(--accent-gold);
    margin: 0 auto;
    border-radius: 2px;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* --- Tour Highlights --- */
.highlights-section {
    background-color: var(--bg-main);
}

.highlight-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.highlight-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 1) 0%, rgba(10, 25, 47, 0) 100%);
}

.card-content {
    padding: 1.5rem;
    position: relative;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Details Section (Included/Excluded) --- */
.details-section {
    background: radial-gradient(circle at center, var(--secondary-color) 0%, var(--bg-main) 100%);
}

.detail-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.detail-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1rem;
}

.box-header i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.box-header h3 {
    margin: 0;
    color: white;
}

.detail-box ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-box li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-muted);
}

.detail-box li i {
    margin-top: 4px;
}

.box-included li i { color: #2ecc71; }
.box-excluded li i { color: #e74c3c; }
.box-bring li i { color: var(--accent-gold); }

.gift-box {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border: 1px dashed var(--accent-gold);
}

.gift-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Notes List */
.notes-box {
    background: rgba(0,0,0,0.3);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-gold);
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: var(--text-muted);
}

.notes-list li {
    display: flex;
    align-items: center;
}

.notes-list li::before {
    content: '•';
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-right: 10px;
    line-height: 1;
}

/* --- Booking Section --- */
.booking-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.booking-bg {
    position: absolute;
    inset: 0;
    background: url('assets/images/water temple 1.png') center/cover no-repeat;
    filter: blur(5px) brightness(0.3);
}

.booking-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.pricing-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.price-idr {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

.price-usd {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.booking-terms p {
    color: var(--text-main);
    opacity: 0.9;
}

.booking-terms i {
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

/* Pulse Animation for Booking Button */
.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- Footer --- */
footer {
    background-color: #010610;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-col i {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--text-main);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--bg-main);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

/* --- Telegram Float Button --- */
.telegram-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-gold);
    color: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-gold);
    z-index: 1000;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.telegram-float:hover {
    background-color: var(--accent-gold-hover);
    transform: scale(1.1);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* --- Responsive Design --- */
@media screen and (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        border-bottom: 1px solid var(--accent-gold);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-controls a.btn {
        display: none;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .pricing-display .price-idr {
        font-size: 2rem;
    }
    
    .booking-card {
        padding: 3rem 1.5rem;
    }
}
