/* ==========================================================================
   OVERLAND.ID - Custom Elegant Theme
   Font: Arial, sans-serif
   ========================================================================== */

:root {
    /* Color Palette */
    --ov-brown: #8B4513;       /* Saddle Brown - Earth & Trails */
    --ov-brown-dark: #6b340e;  /* Darker Brown for hover states */
    --ov-green: #2E8B57;       /* Sea Green - Forest & Nature */
    --ov-green-dark: #226941;  /* Darker Green */
    --ov-blue: #4682B4;        /* Steel Blue - Sky & Ocean */
    --ov-blue-dark: #315f85;   /* Darker Blue */
    
    /* Neutrals */
    --ov-text-main: #2c3e50;   /* Charcoal for readable text */
    --ov-text-muted: #6c757d;
    --ov-bg-light: #fcfcfc;    /* Off-white background */
    --ov-white: #ffffff;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ov-text-main);
    background-color: var(--ov-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography & Headings --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--ov-text-main);
}

.text-brown { color: var(--ov-brown) !important; }
.text-green { color: var(--ov-green) !important; }
.text-blue { color: var(--ov-blue) !important; }

/* --- Navbar (Fixed Top & Elegant) --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.9) !important; /* Putih dengan opacity 50% */
    backdrop-filter: blur(50px); /* Opsional: Tambahan efek blur agar teks tetap mudah dibaca */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
}

.navbar-brand {
    letter-spacing: 1px;
}

.nav-link {
    color: var(--ov-text-main);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--ov-green) !important;
}

/* --- Buttons --- */
.btn-explore {
    background-color: var(--ov-green);
    color: var(--ov-white);
    border: 2px solid var(--ov-green);
    border-radius: 30px;
    padding: 8px 24px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    background-color: var(--ov-brown);
    border-color: var(--ov-brown);
    color: var(--ov-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.btn-read {
    background-color: var(--ov-blue);
    color: var(--ov-white);
    border: none;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-read:hover {
    background-color: var(--ov-blue-dark);
    color: var(--ov-white);
}

/* --- Cards (Destinasi & Story) --- */
.card-destinasi, .card-story {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: var(--ov-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-destinasi:hover, .card-story:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-top {
    transition: transform 0.5s ease;
}

.card-destinasi:hover .card-img-top, 
.card-story:hover .card-img-top {
    transform: scale(1.05);
}

/* Overlay Badge for Region */
.region-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(70, 130, 180, 0.95); /* Blue */
    color: var(--ov-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- Search Bar --- */
#searchInput {
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#searchInput:focus {
    border-color: var(--ov-green);
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.25);
    outline: none;
}

/* --- Footer --- */
footer {
    background-color: #1a252f !important; /* Darker charcoal, more elegant than standard black */
    border-top: 4px solid var(--ov-brown);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--ov-green) !important;
}

/* --- Utilities --- */
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--ov-green);
    border-radius: 2px;
}

/* --- TAMBAHAN FRONT-END --- */

/* Hero Slider */
.hero-slider .carousel-item {
    height: 600px;
    background-color: #000;
}
.hero-slider img {
    object-fit: cover;
    height: 600px;
    opacity: 0.7; /* Gelapkan gambar agar teks terbaca */
}
.hero-caption {
    bottom: 40%;
    text-align: left;
    left: 10%;
    right: 10%;
}

/* Card Artikel Minimalis */
.article-card {
    transition: all 0.3s ease;
    background: #fff;
    border: none !important;
    border-radius: 12px;
    overflow: hidden;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}
.article-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}
.article-card:hover img {
    transform: scale(1.05);
}
.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--eco-green);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Floating WhatsApp */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.float-wa:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
}

/* Responsive Mobile Adjustments */
@media (max-width: 768px) {
    .hero-slider .carousel-item { height: 350px; }
    .hero-caption { bottom: 20%; }
    .hero-caption h1 { font-size: 1.5rem; }
}