/* 
  Global Design System - BH Eletricista 
  Premium Dark Theme with Amber/Yellow accents
*/

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

:root {
    --color-primary: #0f172a;
    /* Slate 900 */
    --color-secondary: #f59e0b;
    /* Amber 500 */
    --color-accent: #fbbf24;
    /* Amber 400 */
    --color-danger: #ef4444;
    /* Red 500 */
    --color-text-light: #f8fafc;
    /* Slate 50 */
    --color-text-muted: #94a3b8;
    /* Slate 400 */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8fafc;
    color: #1e293b;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.025em;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

.glass-header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Animations & Micro-interactions */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.btn-pulse {
    animation: pulseGlow 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.btn-glow {
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-glow:hover {
    background: var(--color-accent);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

/* Fade up on scroll */
.fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accordion Smooth Transitions */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    /* arbitrary max height */
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.accordion-item.active svg {
    transform: rotate(180deg);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed !important;
    width: 60px !important;
    height: 60px !important;
    bottom: 25px !important;
    right: 25px !important;
    background-color: #25d366 !important;
    color: #fff !important;
    border-radius: 50px !important;
    text-align: center !important;
    font-size: 30px !important;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.whatsapp-float svg {
    width: 32px !important;
    height: 32px !important;
    fill: currentColor !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e !important;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 640px) {
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 15px !important;
        right: 15px !important;
    }

    .whatsapp-float svg {
        width: 25px !important;
        height: 25px !important;
    }
}