/* ============================================ */
/* GOtrip - Main CSS File */
/* ============================================ */

/* --- TAILWIND CONFIGURATION --- */
/* The Tailwind configuration is imported via CDN in the HTML file */

/* --- CUSTOM STYLES --- */

/* Hero Pattern Background */
.hero-pattern {
    background-image: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.7)), url('https://images.unsplash.com/photo-1570789210967-2cac24afeb00?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Map Pattern Background */
.map-pattern {
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --- SCROLLBAR STYLING --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1976d2;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1565c0;
}

/* --- FLOAT WA BUTTON ANIMATION --- */
.wa-float-btn {
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    animation: bounce-slow 3s infinite;
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* --- LANGUAGE TOGGLE CORE LOGIC --- */
/* Jika body memiliki atribut data-lang="id", sembunyikan semua elemen dengan class lang-en */
body[data-lang="id"] .lang-en {
    display: none !important;
}

/* Jika body memiliki atribut data-lang="en", sembunyikan semua elemen dengan class lang-id */
body[data-lang="en"] .lang-id {
    display: none !important;
}

/* --- FLOAT ANIMATION --- */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float-custom {
    animation: float 6s ease-in-out infinite;
}
