/* Variabel Desain Modern */
:root {
    --primary: #1b4332;
    --accent: #40916c;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- VARIABEL DARK MODE --- */
[data-theme="dark"] {
    --bg-light: #121212;
    --white: #1e1e1e;
    --text-main: #e0e0e0;
    --text-muted: #b0b0b0;
    --glass: rgba(30, 30, 30, 0.85);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
    transition: background-color 0.3s, color 0.3s;
}

/* --- NAVIGASI --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

.nav-active {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
}

.nav-active .logo, [data-theme="dark"] .logo { color: var(--accent); }
.nav-active .nav-links a, [data-theme="dark"] .nav-links a { color: var(--text-main); }

.dark-mode-toggle {
    cursor: pointer;
    color: #ffffff;
    font-size: 1.2rem;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), 
                url('assets/img/1.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.btn-cta {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
}

/* --- GRID PERJALANAN --- */
.container {
    max-width: 1200px;
    margin: 80px auto 80px; 
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--accent);
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto;
}

.grid-perjalanan {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* --- CARD STYLE (FOTO UTUH) --- */
.card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
}

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

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

.card-content {
    padding: 1.8rem;
    text-align: center;
}

.location {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- FOOTER RAMPING HIJAU --- */
footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 20px;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 30px;
    padding: 0 20px;
}

.footer-box h3.footer-logo {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.footer-box h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-box p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: 0.3s;
}

.footer-links a:hover { color: #ffffff; }

/* --- PERBAIKAN: HUBUNGI SAYA MENYUSUN KE BAWAH --- */
.footer-contact {
    display: flex;
    flex-direction: column; /* Mengubah arah menjadi kolom */
    gap: 12px;
    margin-top: 5px;
}

.contact-item {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    transition: 0.3s;
}

.contact-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-item:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- RESPONSIF MOBILE --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    .footer-box p { margin: 0 auto; }
    .footer-contact {
        align-items: center; /* Merata-tengahkan ikon di HP */
    }
}