/* ============================================= 
   SADEWA TOUR - Custom Styles
   (Supplementing Tailwind CDN)
   ============================================= */

/* Animations */
@keyframes popup {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 0 20px rgba(37,211,102,0.6); }
}

.animate-popup { animation: popup 0.3s ease-out forwards; }
.animate-slide-down { animation: slideDown 0.3s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #999; }

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Selection */
::selection { background: rgba(234, 88, 12, 0.2); }

/* Floating WA button glow */
#wa-float { animation: pulse-glow 2s ease-in-out infinite; }

/* Image gallery */
.gallery-thumb { cursor: pointer; }
.gallery-thumb:hover { opacity: 0.8; }

/* Hero slider */
.hero-slide {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.8s ease, transform 5s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-dot.is-active {
    width: 28px;
    background: #ffffff;
}

/* Line clamp for card descriptions */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Fix for mobile safari tap highlight */
a, button { -webkit-tap-highlight-color: transparent; }
