/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Poppins:wght@300;400;600&display=swap');

/* Variabel Warna & Font */
:root {
    --primary-color: #2C5F2D; /* Hijau Tua */
    --secondary-color: #6A4C39; /* Coklat Kayu */
    --accent-color: #FF9F45; /* Oranye/Emas */
    --light-bg-color: #FDF8F0; /* Krem Hangat */
    --dark-text-color: #333333;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Poppins', sans-serif;
    --teal-color: #1ABC9C;         /* Warna Pirus/Teal untuk halaman 'Tentang Kami' */
    --dark-blue-text: #2C3E50;     /* Warna Teks Biru Tua */
    --white-color: #FFFFFF;        /* Warna Putih */
    --light-gray-bg: #F4F6F7;      /* Warna Latar Abu-abu Terang */
    --shadow: 0 10px 30px rgba(44, 62, 80, 0.1); /* Efek bayangan baru */
}
}



/* Reset & Gaya Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg-color);
    color: var(--dark-text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    overflow: hidden;
}

/* Header & Navigasi - UPDATED */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0.5rem 0; /* Padding disesuaikan */
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 250px; /* Ukuran logo disesuaikan agar tidak terlalu besar */
    height: auto;     /* Tinggi otomatis mengikuti lebar */
    vertical-align: middle; /* Agar sejajar dengan navigasi */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-color);
}


/* Slider Section - NEW */
.slider-container {
    width: 100%;
    height: 65vh; /* Tinggi slider sekitar 65% dari tinggi layar */
    position: relative;
    overflow: hidden;
    background-color: var(--dark-text-color);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide::after { /* Efek overlay gelap agar teks mudah dibaca */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slide-caption {
    z-index: 2; /* Agar teks di atas overlay */
    color: #fff;
    padding: 20px;
}

.slide-caption h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.slide-caption p {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}


/* Kartu Link - UPDATED */
/* Menambahkan margin atas agar ada jarak dari slider */
.page-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 0; /* Padding atas bawah disamakan */
}

.link-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.link-card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    padding: 2rem 0 1rem 0;
}

.link-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.link-card p {
    padding: 0 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.link-card .btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: background-color 0.3s ease;
}

.link-card .btn:hover {
    background-color: #e68a33;
}

/* Konten Halaman Dalam (Generic) */
.page-header {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
}

.page-content {
    padding: 4rem 0;
    background: #fff;
}

.page-content p, .page-content ul {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    max-width: 800px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-bg-color);
    text-align: center;
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

/* 1. Gaya Featured Section */
.featured-section {
    padding: 4rem 0;
    background-color: #fff; /* Memberi latar belakang putih bersih */
}

.featured-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.featured-item.reverse {
    grid-template-columns: 1fr 1fr; /* Tetap sama, tapi kita akan ubah urutan di mobile */
}

.featured-item.reverse .featured-image {
    order: 2; /* Pindahkan gambar ke kanan di layout grid */
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.featured-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.featured-text p {
    margin-bottom: 1.5rem;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: #fff;
}


/* 2. Gaya Experience Section */
.experience-section {
    padding: 4rem 0;
    background-color: var(--light-bg-color); /* Kembali ke warna latar utama */
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: #fff;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color);
}

.experience-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.experience-card h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}


/* 3. Gaya CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.btn-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px; /* Membuat tombol berbentuk pil */
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    background-color: #ffb061;
    transform: translateY(-3px);
}

/* ====================================================== */
/* == GAYA TAMBAHAN UNTUK HALAMAN TENTANG KAMI ==          */
/* ====================================================== */

/* 1. Hero Section Halaman Tentang Kami */
.hero-about {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background: url('/img/banner1.jpg') no-repeat center center/cover; /* Pastikan path gambar benar */
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Menggunakan variabel warna baru */
    background: linear-gradient(45deg, rgba(44, 95, 45, 0.8), rgba(26, 188, 156, 0.7));
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px;}
.hero-title { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 900; text-shadow: 2px 2px 5px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.2rem; font-weight: 300; margin: 1rem 0 2rem 0; }
.btn-hero { background: var(--accent-color); color: var(--white-color); padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
.btn-hero:hover { background-color: var(--white-color); color: var(--accent-color); transform: translateY(-3px); }

/* 2. Visi & Misi Section */
.vision-mission-section { padding: 5rem 0; }
.grid-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;}
.vision h2, .mission h2 { font-family: var(--font-heading); font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; }
.vision i, .mission i { font-size: 2rem; color: var(--teal-color); margin-bottom: 0.5rem; }
.mission ul { list-style: none; padding-left: 0; }
.mission ul li { padding-left: 1.5rem; position: relative; margin-bottom: 0.5rem; }
.mission ul li::before { content: '\f058'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--teal-color); position: absolute; left: 0; }

/* 3. Values Section */
.values-section { padding: 5rem 0; background-color: var(--light-gray-bg); }
/* .section-title sudah ada dari kode sebelumnya, jadi tidak perlu ditambah lagi */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.value-card { background: var(--white-color); padding: 2rem; text-align: center; border-radius: 10px; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.value-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(44, 62, 80, 0.15); }
.value-icon i { font-size: 3rem; color: var(--accent-color); margin-bottom: 1rem; }
.value-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--primary-color); }

/* 4. History Summary Section */
.history-summary-section { padding: 5rem 0; }
.grid-container-history { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.history-image img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.history-text h3 { font-family: var(--font-heading); font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; }
/* .btn-secondary sudah ada, jadi tidak perlu ditambah lagi */

/* Penyesuaian agar Navigasi 'active' juga berwarna oranye */
nav ul li a.active {
    color: var(--accent-color);
}

/* Penyesuaian untuk footer agar seragam di semua halaman (Opsional tapi direkomendasikan) */
footer {
    background-color: var(--dark-blue-text); /* Menggunakan warna biru tua yang lebih modern */
    color: var(--light-gray-bg);
    text-align: center;
    padding: 2rem 0;
}
footer a {
    color: var(--teal-color); /* Menggunakan warna teal */
    text-decoration: none;
}


/* ====================================================== */
/* == GAYA TAMBAHAN UNTUK HALAMAN DAYA TARIK ==           */
/* ====================================================== */

/* 1. Hero Section Halaman Daya Tarik */
.hero-attractions {
    position: relative;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background: url('/img/daya-tarik-banner.jpg') no-repeat center center/cover; /* Ganti gambar banner */
}
/* Menggunakan overlay yang sama dengan halaman 'Tentang Kami' agar konsisten */
.hero-attractions .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(44, 95, 45, 0.8), rgba(26, 188, 156, 0.7));
}
.hero-attractions .hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px;}

/* 2. Intro Section */
.intro-section {
    padding: 3rem 0;
    background: var(--white-color);
    text-align: center;
}
.intro-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

/* 3. Fitur Atraksi Utama */
.attraction-features { padding: 4rem 0; }
.attraction-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}
.attraction-item.reverse .attraction-text { order: -1; }
.attraction-image img { width: 100%; border-radius: 15px; box-shadow: var(--shadow); }
.attraction-tag {
    display: inline-block;
    background-color: var(--teal-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.attraction-text h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.attraction-text ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}
.attraction-text ul li {
    margin-bottom: 0.5rem;
    color: var(--dark-blue-text);
}
.attraction-text ul li i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* 4. Atraksi Lainnya (Grid Kartu) */
.other-attractions-section {
    padding: 5rem 0;
    background-color: var(--light-gray-bg);
}
.other-attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.attraction-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    color: var(--white-color);
    box-shadow: var(--shadow);
    transition: transform 0.4s ease;
}
.attraction-card:hover {
    transform: translateY(-10px);
}
.card-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.attraction-card:hover .card-bg-image {
    transform: scale(1.1);
}
.card-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.card-content {
    position: absolute;
    bottom: 0;
    padding: 2rem;
    z-index: 2;
}
.card-content i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.card-content h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.card-content p {
    font-weight: 300;
}

/* 5. CTA Section Halaman Daya Tarik */
.cta-section-attractions {
    background-color: var(--teal-color);
    color: var(--white-color);
    padding: 4rem 0;
    text-align: center;
}
.cta-section-attractions h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 1rem; }
.cta-section-attractions p { max-width: 600px; margin: 0 auto 2rem auto; opacity: 0.9; }
/* Menggunakan .btn-cta yang sudah ada */

/* ====================================================== */
/* == GAYA TAMBAHAN UNTUK HALAMAN SEJARAH ==              */
/* ====================================================== */

/* 1. Hero Section Halaman Sejarah */
.hero-history {
    position: relative;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background: url('/img/history-banner.jpg') no-repeat center center/cover; /* Ganti gambar banner */
}
.hero-history .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Overlay dengan warna lebih gelap untuk kesan historis */
    background: linear-gradient(45deg, rgba(44, 95, 45, 0.8), rgba(44, 62, 80, 0.7)); 
}
.hero-history .hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px;}

/* 2. Timeline Section */
.timeline-section {
    padding: 5rem 0;
    background: var(--light-gray-bg);
}
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
/* Garis vertikal di tengah timeline */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--teal-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
/* Kontainer setiap item di timeline */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
/* Titik di garis waktu */
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white-color);
    border: 4px solid var(--accent-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
/* Posisi item di kiri */
.timeline-item:nth-child(odd) {
    left: -76px;
}
/* Posisi item di kanan */
.timeline-item:nth-child(even) {
    left: 446px;
}
/* Posisikan titik untuk item di kanan */
.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}
/* Kotak konten */
.timeline-content {
    padding: 20px 30px;
    background-color: var(--white-color);
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
}
.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}
.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* 3. CTA Section Halaman Sejarah */
.cta-section-history {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 4rem 0;
    text-align: center;
}
.cta-section-history h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 1rem; }
.cta-section-history p { max-width: 600px; margin: 0 auto 2rem auto; opacity: 0.9; }


/* ====================================================== */
/* == GAYA TAMBAHAN UNTUK HALAMAN KONTAK ==               */
/* ====================================================== */

/* 1. Hero Section Halaman Kontak */
.contact-hero {
    background-color: var(--teal-color);
    color: var(--white-color);
    text-align: center;
    padding: 4rem 20px;
}
.contact-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
}

/* 2. Bagian Utama (Grid) */
.contact-main-section {
    padding: 5rem 0;
    background-color: var(--light-gray-bg);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Kolom kiri lebih kecil dari kanan */
    gap: 4rem;
    background: var(--white-color);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* 3. Detail Kontak (Kiri) */
.contact-details h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
    margin-top: 5px;
    width: 25px; /* Memberi lebar tetap agar rapi */
    text-align: center;
}
.info-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.info-item p {
    margin: 0;
    line-height: 1.5;
}
.social-title {
    margin-top: 2rem;
    font-weight: 600;
}
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray-bg);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

/* 4. Formulir Kontak (Kanan) */
.contact-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 159, 69, 0.25);
}
.btn-submit {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-submit:hover {
    background-color: #e68a33;
    transform: translateY(-2px);
}

/* 5. Peta */
.map-section {
    /* iframe akan mengambil lebar 100% secara default */
    padding: 0;
    line-height: 0; /* Menghilangkan spasi bawah iframe */
}
/* Responsive Design */
@media(max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    .logo {
        margin-bottom: 1rem;
    }
    nav ul {
        padding: 0;
    }
    .slide-caption h1 {
        font-size: 2.5rem;
    }
    
     .section-title {
        font-size: 2rem;
    }
    
    .featured-item, .featured-item.reverse {
        grid-template-columns: 1fr;
    }

    .featured-item.reverse .featured-image {
        order: -1; /* Kembalikan gambar ke atas teks di mobile */
    }

    .featured-text {
        text-align: center;
    }
}