/* ========== BARO CLEANING - Custom Styles ========== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background-color: #0EA5E9;
    color: white;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseWA {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35); }
    50%      { box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55); }
}

.animate-fade-in { animation: fadeIn 0.6s ease-out both; }
.animate-fade-in-up { animation: fadeInUp 0.7s ease-out both; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-slide-in-right { animation: slideInRight 0.6s ease-out both; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== HEADER SCROLL EFFECT ========== */
#main-header.scrolled {
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.06);
}

/* ========== FORM FOCUS STATES ========== */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* ========== MOBILE MENU ANIMATION ========== */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
#mobile-menu.open {
    max-height: 600px;
    display: block;
}

/* ========== LANGUAGE TOGGLE INDICATOR ========== */
#lang-toggle {
    position: relative;
    overflow: hidden;
}
#lang-toggle::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(14, 165, 233, 0.05) 50%);
    pointer-events: none;
}

/* ========== BUTTON PRESS EFFECT ========== */
button:active,
a[href="#contact"]:active {
    transform: scale(0.98);
}

/* ========== SERVICE CARD ICON TRANSITION ========== */
.group:hover .ph {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F0F9FF; }
::-webkit-scrollbar-thumb { background: #BAE6FD; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7DD3FC; }

/* ========== LOADING SPINNER for form ========== */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== WHATSAPP STICKY WIDGET ========== */
#whatsapp-sticky {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 14px;
    background: #25D366;
    color: #ffffff;
    border-radius: 9999px;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    animation: pulseWA 2.4s ease-in-out infinite;
}
#whatsapp-sticky:hover {
    transform: translateY(-2px);
    background: #1ebe5d;
}
#whatsapp-sticky .wa-icon {
    width: 32px;
    height: 32px;
    background: #ffffff;
    color: #25D366;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
#whatsapp-sticky .wa-label-en,
#whatsapp-sticky .wa-label-nl {
    white-space: nowrap;
}
#whatsapp-sticky .wa-divider {
    opacity: 0.6;
    padding: 0 2px;
}
@media (max-width: 640px) {
    #whatsapp-sticky {
        right: 14px;
        bottom: 14px;
        padding: 10px 14px 10px 10px;
        font-size: 13px;
    }
    #whatsapp-sticky .wa-icon {
        width: 28px;
        height: 28px;
        font-size: 17px;
    }
}

/* ========== JOBS FORM CARD ========== */
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}
.field-input,
.field-select,
.field-textarea {
    width: 100%;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    color: #0F172A;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
    border-color: #0EA5E9;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}
.field-textarea {
    resize: vertical;
    min-height: 130px;
}

/* ========== RESPONSIVE TWEAKS ========== */
@media (max-width: 640px) {
    .font-heading.text-5xl { font-size: 2.25rem; }
}
