/*
Theme Name: Flujo TV Theme
Description: Modern streaming platform theme for Flujo TV with vibrant orange branding
Version: 1.0.4
Author: Youware
*/

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

/* WordPress theme requirements */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Custom theme styles */
:root {
    --primary-color: #ff4500;
    --primary-light: #ff6b35;
    --primary-dark: #d13800;
}

/* Override any conflicting styles */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-primary-dark {
    background-color: var(--primary-dark) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.hover\:bg-primary:hover {
    background-color: var(--primary-color) !important;
}

.hover\:bg-primary-dark:hover {
    background-color: var(--primary-dark) !important;
}

/* Critical carousel styles with high specificity */
.carousel-container {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
}

.carousel-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    transition: opacity 1s ease-in-out !important;
    z-index: 1 !important;
}

.carousel-slide.active {
    opacity: 1 !important;
    z-index: 2 !important;
}

/* Enhanced hero button styling */
.cta-button {
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.cta-button:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

/* WhatsApp button enhanced styling */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    transition: all 0.3s ease !important;
    min-height: 48px !important;
    font-weight: 600 !important;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3) !important;
}

/* Plan card animations */
.plan-card {
    transition: all 0.3s ease !important;
    height: auto !important;
    min-height: 520px !important;
}

.plan-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* FAQ accordion styles */
.faq-item.active .faq-answer {
    max-height: 200px !important;
    padding-top: 0 !important;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg) !important;
}

/* Ensure background images display correctly */
.bg-cover {
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.bg-center {
    background-position: center !important;
}

/* Force image visibility */
[style*="background-image"] {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    min-height: inherit !important;
}

/* Header spacing fixes */
header {
    height: 80px !important;
    z-index: 50 !important;
}

@media (min-width: 768px) {
    header {
        height: 88px !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-button {
        padding: 12px 24px !important;
        font-size: 16px !important;
    }
    
    .carousel-container {
        height: 400px !important;
    }
}

@media (min-width: 769px) {
    .carousel-container {
        height: 600px !important;
    }
}