/* Additional Styles for WhatsApp Button and Cookie Consent */
/* INCLUDES FOOTER FIX */

/* ============================================
   URGENT FOOTER FIX
   ============================================ */
.footer {
    position: relative !important;
    z-index: 1 !important;
}

body {
    position: relative;
}

section {
    position: relative;
    z-index: 2;
}

.hero {
    position: relative;
    z-index: 3;
}

/* ============================================
   QUOTE LINK (REPLACING PRICING)
   ============================================ */
.quote-link {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #0066FF 0%, #00D9B0 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
    text-align: center;
}

.quote-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

/* Pulse animation for WhatsApp button */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Mobile adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 2px solid #0066FF;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent.hide {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-cookie.accept {
    background: linear-gradient(135deg, #0066FF 0%, #00D9B0 100%);
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 102, 255, 0.3);
}

.btn-cookie.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

.btn-cookie.reject {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cookie.reject:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile responsive for cookie banner */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1.25rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-content p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .btn-cookie {
        flex: 1;
        max-width: 150px;
    }
}

/* Adjust WhatsApp button when cookie banner is visible */
.cookie-consent.show ~ .whatsapp-float {
    bottom: 120px;
}

@media (max-width: 768px) {
    .cookie-consent.show ~ .whatsapp-float {
        bottom: 160px;
    }
}
