:root {
    --primary-color: #1a4d2e;
    --secondary-color: #d4af37;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #333333;
    --navbar-bg: #ffffff;
    --navbar-text: #555555;
    --footer-bg: #1a4d2e;
}

/* --- Dark Mode Variables --- */
body.dark-mode {
    --primary-color: #2e8b57; /* Hijau lebih terang agar terbaca di gelap */
    --secondary-color: #e5c15d;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --navbar-bg: #1e1e1e;
    --navbar-text: #e0e0e0;
    --footer-bg: #0f2e1b;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; }

/* Navbar */
.navbar {
    background-color: var(--navbar-bg) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}
.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}
.nav-link {
    color: var(--navbar-text) !important;
    font-weight: 500;
    margin-left: 15px;
}
.btn-gold {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    border: none;
    transition: 0.3s;
}
.btn-gold:hover {
    background-color: #b5922b;
    color: white;
    transform: translateY(-2px);
}

/* Dark Mode Toggle Button */
.theme-toggle {
    cursor: pointer;
    background: none;
    border: none;
    color: var(--navbar-text);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: 0.3s;
}
.theme-toggle:hover { color: var(--secondary-color); }

/* Parallax Canvas */
.parallax-canvas {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0; pointer-events: none;
}
.parallax-container { position: relative; overflow: hidden; }
.parallax-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}
body.dark-mode .parallax-overlay { background: rgba(0, 0, 0, 0.6); } /* Lebih gelap di dark mode */
.parallax-content { position: relative; z-index: 2; }

/* Sections */
.hero-section { background-color: #000; height: 100vh; display: flex; align-items: center; color: white; text-align: center; }
.hero-title { font-size: 3.5rem; margin-bottom: 20px; }
.feature-card {
    padding: 30px; border-radius: 15px;
    background: var(--card-bg);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s; height: 100%;
}
.feature-card:hover { transform: translateY(-10px); }
.icon-box { font-size: 3rem; color: var(--secondary-color); margin-bottom: 20px; }

/* Package Card */
.bg-light { background-color: var(--bg-color) !important; }
.card-paket {
    border: none; border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s; background: var(--card-bg);
}
.card-paket:hover { transform: translateY(-5px); }
.card-img-top { height: 200px; object-fit: cover; }
.price-tag { color: var(--primary-color); font-weight: 700; font-size: 1.25rem; }
.badge-status { position: absolute; top: 15px; right: 15px; padding: 8px 15px; border-radius: 30px; }

/* Dark Mode Card Specifics */
body.dark-mode .card-paket, 
body.dark-mode .feature-card, 
body.dark-mode .testimonial-card,
body.dark-mode .map-wrapper {
    background-color: #1e1e1e;
    color: #e0e0e0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
body.dark-mode .card-title { color: #fff; }
body.dark-mode .text-muted { color: #aaa !important; }
body.dark-mode .list-unstyled.bg-light { background-color: #2a2a2a !important; }

/* Haji Section */
.haji-section { padding: 150px 0; text-align: center; color: white; }

/* Testimonials */
.testimonial-card {
    background: var(--card-bg);
    padding: 30px; border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
}
.quote-icon { font-size: 2rem; color: var(--secondary-color); opacity: 0.3; }

/* Footer */
footer { background-color: var(--footer-bg); color: white; padding: 60px 0 20px; }
footer a:hover { color: var(--secondary-color) !important; }
.map-wrapper {
    padding: 5px; background-color: var(--card-bg);
    border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Floating WA */
.floating-wa {
    position: fixed; bottom: 30px; right: 30px;
    background-color: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000; text-decoration: none; transition: 0.3s;
}
.floating-wa:hover { transform: scale(1.1); color: white; }

/* --- Tambahan CSS untuk Link Instagram --- */
.img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.insta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 0.9rem;
    transition: 0.3s;
    text-decoration: none;
    display: block;
}
.insta-overlay:hover {
    background: rgba(212, 175, 55, 0.9); /* Warna Emas */
    color: white;
}

/* Style Khusus untuk Grid Gambar Saja */
.poster-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background-color: #000; /* Background hitam agar elegan */
    position: relative;
    aspect-ratio: 4/5; /* Rasio standar poster Instagram (4:5) agar tidak terpotong */
}

.poster-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan gambar memenuhi kotak */
    transition: transform 0.5s;
}

/* Efek Zoom halus saat hover */
.poster-wrapper:hover .poster-img {
    transform: scale(1.05);
}