/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lora:wght@400;500;600&display=swap');

/* Replace default font */
body {
    font-family: 'Lora', serif !important;
}

/* Titles & logo use Cinzel */
.section-title,
.hero-title,
.logo {
    font-family: 'Cinzel', serif !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2a9d8f;       /* greenish teal */
    --secondary: #e9f5f2;     /* very light green */
    --accent: #52b788;        /* medium green */
    --dark: #264653;          /* dark green-blue */
    --light: #f0fdf9;         /* very pale green */
    --gradient: none;         /* remove gradient for simplicity */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #264653;
    background: var(--light);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(38, 70, 83, 0.45); /* transparent */
    backdrop-filter: blur(5px);        /* blur glass */
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    margin: 3px 0;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding: 100px 0 50px;
    color: var(--dark);
    background: var(--secondary);
}

.hero-content {
    flex: 1;
    padding-left: 5rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.cta-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--accent);
}

.hero-image {
    flex: 1;
    padding-right: 5rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: none;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

/* Kuliner Section */
.kuliner-section {
    background: var(--primary);
    border-radius: 15px;
    margin: 20px 0;
    padding: 40px 0;
}

.kuliner-section .section-title {
    color: var(--secondary);
}

.kuliner-slider {
    position: relative;
    margin-top: 1.5rem;
}

/* Big Box Wrapper (sama kayak kuliner) */
.budaya-wrapper {
    background: var(--secondary);
    margin: 20px auto;
    padding: 60px 0;
}

.budaya-box {
    background: var(--primary);
    padding: 40px 20px;
    border-radius: 25px;
    max-width: 85%;
    margin: 0 auto;
    position: relative;
}

/* Slider Budaya */
.budaya-container {
    overflow: hidden;
    border-radius: 12px;
}

.budaya-track {
    display: flex;
    gap: 0.6rem;
    transition: transform 0.4s ease;
}

/* Compact Card */
.budaya-item {
    min-width: 240px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0.5rem;
}

.budaya-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.budaya-item h3 {
    font-size: 1rem;
    padding: 0.8rem 1rem 0.2rem;
}

.budaya-item p {
    font-size: 0.85rem;
    padding: 0 1rem 1rem;
    color: #555;
}

/* Slider Buttons Budaya */
.budaya-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.budaya-prev { left: -10px; }
.budaya-next { right: -10px; }

.budaya-btn:hover {
    background: var(--accent);
}

/* Slider Kuliner (Inherited from Budaya, needs specific styling) */
.slider-container {
    overflow: hidden;
    border-radius: 10px;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.slider-item {
    min-width: 280px;
    background: var(--secondary);
    margin: 0 0.8rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
}

.slider-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.slider-item h4 {
    padding: 0.8rem 1rem 0.3rem;
    color: var(--dark);
    font-size: 1.1rem;
}

.slider-item p {
    padding: 0 1rem 1rem;
    color: #555;
}

/* Tombol Slider Kuliner */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: 0.25s ease;
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--dark);
}

/* Wisata Section */
.wisata-section {
    background: var(--secondary);
    border-radius: 15px;
    margin: 20px 0;
    padding: 40px 0;
}

.wisata-section .section-title {
    color: var(--primary);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    background: var(--accent);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    color: var(--dark);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--secondary);
}

.tab-btn:hover {
    background: var(--primary);
    color: var(--secondary);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.wisata-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
    max-width: 600px;
    margin: 0 auto;
}

.wisata-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.wisata-info {
    padding: 1.5rem;
}

.wisata-info h3 {
    color: var(--dark);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.wisata-info p {
    color: #555;
    line-height: 1.5;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--secondary);
    padding: 2rem 0 1rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section {
    min-width: 200px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.4rem;
}

.footer-section a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* Parallax section */
.parallax {
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    text-align: center;
    padding: 0 20px;
}

/* Scroll reveal base */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* Reveal active state */
.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Make kuliner section less wide & taller */
.kuliner-section {
    max-width: 1100px !important;
    margin: 40px auto !important;
    padding: 70px 40px !important;
    border-radius: 20px;
}

/* Make slider items bigger */
.slider-item {
    min-width: 300px !important;
    max-width: 320px;
    background: var(--secondary);
    border-radius: 14px;
    margin: 0 1rem;
    padding-bottom: 1rem;
}

.slider-item img {
    height: 200px !important;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

/* Make section title bigger and more centered */
.kuliner-section .section-title {
    font-size: 2.4rem !important;
    margin-bottom: 2.5rem;
}

/* More spacing so the UI feels luxurious */
.kuliner-slider {
    margin-top: 2rem;
}

/* Make everything sharper & elegant */
.slider-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0.8rem;
}
.slider-item p {
    font-size: 1rem;
    line-height: 1.4;
}

/* Slider button */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: 0.25s ease;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.75);
}

/* Posisi tombol */
.prev-btn {
    left: -20px;
}
.next-btn {
    right: -20px;
}

/* Track spacing */
.slider-track {
    display: flex;
    gap: 20px;
}

/* Auto-resize items */
.slider-item {
    min-width: 300px !important;
    max-width: 320px;
}

/* ======================================= */
/* RESPONSIVE DESIGN */
/* ======================================= */
@media (max-width: 768px) {
    /* Hero Section di HP (Judul & Gambar ke tengah) */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 50px;
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 2rem;
    }

    .hero-image {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Slider Budaya & Kuliner di HP (Menggunakan Scroll Snap, Tombol Hilang) */
    .budaya-box {
        max-width: 100%;
        padding: 40px 0; 
    }

    .budaya-container {
        overflow-x: scroll; 
        -webkit-overflow-scrolling: touch; 
        scroll-snap-type: x mandatory; 
        padding: 0 20px; 
    }

    .budaya-track {
        gap: 20px; 
        transition: none; 
    }

    .budaya-item {
        scroll-snap-align: center; 
        min-width: 80%; 
        margin: 0; 
    }

    /* Tombol Slider Budaya di HP: Dihilangkan */
    .budaya-btn {
        display: none;
    }

    /* Slider Kuliner di HP */
    .kuliner-section {
        padding: 40px 0 !important; 
    }
    
    .kuliner-slider {
        margin-left: -20px;
        margin-right: -20px; 
    }
    
    .slider-container {
        overflow-x: scroll; 
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 0 20px; 
    }
    
    .slider-track {
        gap: 20px;
        transition: none;
    }
    
    .slider-item {
        scroll-snap-align: center;
        min-width: 80%; 
        margin: 0; 
    }

    /* Tombol Slider Kuliner di HP: Dihilangkan */
    .slider-btn {
        display: none;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 180px;
    }
    
    /* PERBAIKAN FOTO PARALLAX TERPOTONG: Diatur paksa ke Top */
    .parallax {
        min-height: 50vh; 
        font-size: 1.8rem;
        /* Diatur ke center top agar bagian atas gambar (kepala patung) selalu terlihat */
        background-position: center top !important; 
    }
    
    .wisata-card {
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
    
    .parallax {
        font-size: 1.5rem;
    }
}
