/* File: wisatajateng.com/assets/css/style.css */

:root {
    /* Warna Utama: Maroon */
    --primary-color: #862820;
    --primary-dark: #6b2019;
    --secondary-color: #f4f6f9;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --card-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

/* --- NAVBAR CUSTOM (MAROON) --- */
.navbar-custom {
    background-color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(134, 40, 32, 0.3);
    padding: 15px 0;
}

.navbar-custom .navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
}

/* --- BUTTONS --- */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light-custom {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    border-radius: 50px;
}
.btn-outline-light-custom:hover {
    background-color: white;
    color: var(--primary-color);
}

/* --- CARDS --- */
.card-wisata {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    background: white;
}
.card-wisata:hover {
    transform: translateY(-5px);
}
.card-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.card-wisata:hover .card-img-wrapper img {
    transform: scale(1.1);
}
.card-meta i {
    color: var(--primary-color);
}
a.text-maroon {
    color: var(--primary-color);
    text-decoration: none;
}
a.text-maroon:hover {
    color: var(--primary-dark);
}

/* --- HERO SECTION --- */
.hero-overlay {
    background: rgba(0, 0, 0, 0.6); /* Sedikit lebih gelap agar teks terbaca */
}

.text-maroon {
    color: var(--primary-color) !important;
}
.bg-maroon {
    background-color: var(--primary-color) !important;
}

/* Animasi Hover Zoom Gambar */
.img-zoom-container {
    overflow: hidden; /* Wajib: Mencegah gambar keluar dari kotak */
    display: block;   /* Memastikan container membungkus image */
}
.img-zoom-container img {
    transition: transform 0.5s ease; /* Transisi halus */
    width: 100%;
    height: 100%;
}
.card-hover:hover .img-zoom-container img {
    transform: scale(1.1); /* Perbesar 10% saat hover */
}

/* Animasi Card Naik */
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-hover:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Warna */
.text-maroon { color: #862820 !important; }

        .btn-kota-hover:hover {
            background: #862820;
            color: white;
        }
        
/* Pengaturan Posisi Universal untuk Semua Modul Floating */
.btn-floating-search, .btn-floating-map, .btn-floating-point {
    position: fixed;
    right: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Kunci Jarak Vertikal */
.btn-floating-search { bottom: 30px; }   /* Modul Search */
.btn-floating-map    { bottom: 105px; }  /* Modul Map */
.btn-floating-point  { bottom: 180px; }  /* Modul Point */

/* Responsif Mobile agar seragam di semua modul */
@media (max-width: 768px) {
    .btn-floating-search, .btn-floating-map, .btn-floating-point {
        right: 15px;
        width: 50px;
        height: 50px;
    }
    .btn-floating-search { bottom: 20px; }
    .btn-floating-map    { bottom: 85px; }
    .btn-floating-point  { bottom: 150px; }
}

