/* Custom CSS for APR Rental Mobil Padang (rentalmobilpadangapr.co.id) */

/* Font Display Swap for Icon Fonts */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
}

:root {
    --primary-color: #065f46;      /* Minangkabau Deep Emerald */
    --primary-hover: #047857;
    --primary-light: #ecfdf5;
    --gold-accent: #d97706;        /* Warm Minang Gold */
    --gold-hover: #b45309;
    --dark-slate: #0f172a;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #20ba5a;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glassmorphism Classes */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating WhatsApp Pulse Animation */
@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wa-pulse {
    animation: waPulse 2s infinite;
}

/* Trust Badge Glow Effect (#1 Paling Amanah & Resmi di Kota Padang) */
@keyframes trustBadgeGlow {
    0% {
        border-color: rgba(52, 211, 153, 0.4);
        box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
    }
    100% {
        border-color: rgba(251, 191, 36, 0.7);
        box-shadow: 0 0 22px rgba(245, 158, 11, 0.35);
    }
}

.trust-badge-glow {
    animation: trustBadgeGlow 3s ease-in-out infinite alternate;
}

/* Button WA Shine Animation */
@keyframes waShine {
    0%, 60% { left: -60%; }
    100% { left: 140%; }
}

.btn-shine-effect {
    position: relative;
    overflow: hidden;
}

.btn-shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    animation: waShine 4s infinite;
}

/* Smooth Transitions */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Hero Gradient Overlay */
.hero-gradient {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(6, 95, 70, 0.78) 100%);
}

/* Custom Minang Motif Pattern Accent */
.minang-pattern-bg {
    background-color: #064e3b;
    background-image: radial-gradient(#059669 0.75px, transparent 0.75px), radial-gradient(#059669 0.75px, #064e3b 0.75px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

/* Badge Styling */
.badge-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.badge-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* Tab Active Styles */
.fleet-tab.active {
    background-color: #065f46;
    color: #ffffff;
    border-color: #065f46;
}

/* Image Zoom on hover */
.img-zoom-container {
    overflow: hidden;
}
.img-zoom-container img {
    transition: transform 0.5s ease;
}
.img-zoom-container:hover img {
    transform: scale(1.06);
}

/* Modal Transitions */
.modal-backdrop {
    transition: opacity 0.3s ease;
}
.modal-content-box {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Form Styling */
.form-input-custom:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.price-mode-btn.active {
    background-color: #065f46;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Sticky Price Switcher Tabs */
.sticky-price-tabs {
    position: -webkit-sticky;
    position: sticky;
    top: 5rem; /* 80px */
    z-index: 30;
    background-color: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

