/* ==============================
   0️⃣ Variables & Reset
============================== */
:root {
    --primary-color: #2c7a4b;
    --secondary-color: #66bb6a;
    --accent-color: #FF6F00;
    --text-color: #fff;
    --bg-light: #fff;
    --bg-page: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: var(--bg-page);
    color: #333;
}

/* ==============================
   1️⃣ Container
============================== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ==============================
   2️⃣ Header & Navbar
============================== */
header {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-title img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.title-text .small-title {
    font-size: 14px;
    display: block;
    color: var(--text-color);
}

.title-text .main-title {
    font-size: 20px;
    font-weight: bold;
    display: block;
    color: var(--text-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
}

nav ul li a.active,
nav ul li a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-color);
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: var(--primary-color);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 10px;
        border-radius: 0 0 10px 10px;
    }
    nav ul.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}

/* ==============================
   3️⃣ Header Wisata Section
============================== */
.wisata-header {
    text-align: center;
    margin: 30px auto;
    max-width: 1000px;
}

.header-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

/* Text Contrast */
.wisata-header h1,
.wisata-header h2 {
    color: var(--primary-color);
}

.wisata-header p {
    color: #333;
}

/* ==============================
   4️⃣ Grid Destinasi Wisata
============================== */
.wisata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.wisata-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.wisata-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.wisata-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.wisata-card h3 {
    font-size: 20px;
    margin: 15px;
    color: var(--primary-color);
}

.wisata-card p {
    font-size: 14px;
    margin: 0 15px 15px 15px;
    color: #555;
}

.wisata-card a {
    display: inline-block;
    margin: 0 15px 15px 15px;
    padding: 8px 12px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.wisata-card a:hover {
    background: #e65c00;
}

/* ==============================
   5️⃣ FAQ Section
============================== */
.faq {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    padding: 20px;
    border-left: 5px solid var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.faq-item p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* ==============================
   6️⃣ Animasi Fade-in
============================== */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================
   7️⃣ Footer
============================== */
footer {
    background: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #fff;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

/* ==============================
   8️⃣ Responsive
============================== */
@media (max-width: 768px) {
    .header-img {
        max-height: 350px;
    }
    .wisata-header h1 {
        font-size: 24px;
    }
    .wisata-header h2 {
        font-size: 20px;
    }
    .faq-item p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .wisata-header h1 {
        font-size: 22px;
    }
    .wisata-header p {
        font-size: 14px;
    }
    .wisata-card h3 {
        font-size: 18px;
    }
    .wisata-card p {
        font-size: 13px;
    }
}


/* ==============================
   Logo Text Uniform
============================== */
.title-text .small-title,
.title-text .main-title {
    font-size: 18px;
    font-weight: 600;
    display: block;
    color: var(--text-color);
    text-transform: none;
}