/* 
    TOWINGNESIA - Design System & Custom Styles
    Premium Towing Service in Bali
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #25D366;
    --primary-dark: #128C7E;
    --dark-900: #020617;
    --dark-800: #0f172a;
    --dark-700: #1e293b;
    --dark-600: #334155;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --white: #f8fafc;
}

* {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--dark-900);
    color: var(--white);
    font-weight: 400;
    line-height: 1.6;
}

h1 { font-weight: 800; letter-spacing: -0.02em; }
h2, h3 { font-weight: 700; letter-spacing: -0.01em; }

/* Section Themes */
.section-light {
    background: #ffffff !important;
    color: var(--dark-900) !important;
}

.section-light .text-slate-400, 
.section-light .text-slate-300 {
    color: var(--dark-700) !important;
}

.section-light .glass {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.08);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-solid {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Effects & Glows */
.wa-glow {
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4), 0 0 60px rgba(37, 211, 102, 0.15);
}

.wa-glow-sm {
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.wa-glow-text {
    text-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

/* Hero Section */
.hero-bg {
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.85) 0%, rgba(15, 23, 42, 0.65) 40%, rgba(2, 6, 23, 0.95) 100%),
                url('../img/hero_bali.png');
    background-size: cover;
    background-position: center;
}

/* Gallery & Service Cards */
.gallery-item {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 25px 50px -12px rgba(37, 211, 102, 0.15);
}

/* Timeline/Steps */
.step-line {
    position: relative;
}

.step-line::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 56px;
    bottom: -16px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.step-line:last-child::after {
    display: none;
}

/* Animations */
.floating-wa {
    animation: float-wa 3s ease-in-out infinite;
}

@keyframes float-wa {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

.pulse-ring {
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.area-tag {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-tag:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: var(--primary);
    transform: scale(1.08);
}

.testimonial-card {
    transition: all 0.4s;
}

.testimonial-card:hover {
    border-color: rgba(250, 204, 21, 0.3);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer-border {
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.price-badge {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.urgency-badge {
    animation: urgency-pulse 2s ease-in-out infinite;
}

/* Call Button Pulse */
.btn-emergency-pulse {
    position: relative;
    overflow: visible;
}

.btn-emergency-pulse::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3, 1.6); opacity: 0; }
}

@keyframes urgency-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-900);
}

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

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .step-line::after {
        left: 20px;
    }
}
