/* Variabel CSS untuk konsistensi tema dengan sentuhan kuning */
:root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --accent: #e74c3c;
            --yellow-light: #FFFBEB;
            --yellow-primary: #F59E0B;
            --yellow-dark: #D97706;
            --light: #fefefe;
            --dark: #2c3e50;
            --text: #333;
            --text-light: #777;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
.hero {
  height: 100vh; /* full screen */
  overflow: hidden;
}
.hero img {
  height: 100vh;
  object-fit: cover;
}

/* Reset dan base styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--yellow-light);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo { font-size: 1.8rem; font-weight: 700; color: var(--dark); }
.logo span { color: var(--yellow-primary); }

/* Navigation */
nav ul { display: flex; gap: 25px; }
nav a { font-weight: 500; padding: 10px 0; transition: var(--transition); }
nav a:hover { color: var(--yellow-primary); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
    position: absolute; top: 100%; left: 0;
    background-color: white; min-width: 220px;
    box-shadow: var(--shadow); border-radius: 4px;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition); z-index: 100;
}
.dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-content li { border-bottom: 1px solid #eee; }
.dropdown-content li:last-child { border-bottom: none; }
.dropdown-content a { display: block; padding: 12px 15px; }
.dropdown-content a:hover { background-color: var(--yellow-light); color: var(--yellow-dark); }

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1350&q=80');
    background-size: cover; background-position: center;
    height: 500px; display: flex; align-items: center;
    color: white; text-align: center;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }
.btn {
    display: inline-block; padding: 12px 30px;
    background-color: var(--yellow-primary); color: white;
    border-radius: 30px; font-weight: 500;
    transition: var(--transition);
}
.btn:hover { background-color: var(--yellow-dark); transform: translateY(-3px); }

/* Section */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
    font-size: 2.2rem; color: var(--dark);
    margin-bottom: 15px; position: relative; display: inline-block;
}
.section-header h2::after {
    content: ''; position: absolute; bottom: -10px; left: 50%;
    transform: translateX(-50%); width: 60px; height: 3px;
    background-color: var(--yellow-primary);
}
.section-header p { color: var(--text-light); max-width: 700px; margin: 0 auto; }

/* Destinations */
.destinations {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.destination-card {
    background-color: white; border-radius: 8px;
    overflow: hidden; box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--yellow-primary);
}
.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.destination-card:hover .card-img img { transform: scale(1.1); }
.card-content { padding: 20px; }
.card-content h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--dark); }
.card-content p { color: var(--text-light); margin-bottom: 15px; }
.read-more { color: var(--yellow-primary); font-weight: 500; }
.read-more:hover { color: var(--yellow-dark); }

/* Section Desa Wisata */
#desa-wisata {
    background: url('image/songket.JPG') no-repeat center center/cover, var(--primary);
    padding: 80px 0; color: white; position: relative;
}
#desa-wisata::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}
#desa-wisata .container { position: relative; z-index: 1; text-align: center; }
#desa-wisata h2, #desa-wisata p { color: white; }

/* Footer */
footer {
    background-color: var(--primary); /* kuning */
    color: white; padding: 60px 0 30px;
}
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; margin-bottom: 40px;
}
.footer-column h3 {
    font-size: 1.3rem; margin-bottom: 20px;
    position: relative; padding-bottom: 10px;
}
.footer-column h3::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 40px; height: 2px; background-color: var(--yellow-dark);
}
.footer-column p { margin-bottom: 15px; }
.social-links { display: flex; gap: 15px; }
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%; transition: var(--transition); color: white;
}
.social-links a:hover { background-color: var(--yellow-dark); }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--yellow-dark); padding-left: 5px; }
.copyright {
    text-align: center; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    nav ul { flex-direction: column; gap: 10px; text-align: center; }
    .dropdown-content { left: 50%; transform: translateX(-50%) translateY(10px); }
    .dropdown:hover .dropdown-content { transform: translateX(-50%) translateY(0); }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
}


.carousel-item img {
  height: 500px; /* atur tinggi carousel */
  object-fit: cover; /* biar gambar rapi tanpa melar */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5); /* kasih background transparan */
  border-radius: 50%;
  padding: 10px;
}