/* ===== HERO SECTION ===== */

/* Hero Swiper */
.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #0073ae;
    opacity: 1;
    transform: scale(1.2);
}

.hero-swiper .swiper-slide {
    position: relative;
}

.swiper-container-fade .swiper-slide {
    pointer-events: none;
}

/* Hero Brand - Ozonominzar SAS */
.hero-brand-container {
    position: relative;
    margin-bottom: 2rem;
}

.hero-brand-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 6px 30px rgb(255, 255, 255), 0 0 40px rgba(0, 115, 174, 0.4);
    position: relative;
    display: inline-block;
    animation: brandGlow 3s ease-in-out infinite alternate;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 25px rgba(0, 115, 174, 0.6));
}

.hero-brand-line {
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg, #0073ae, #87ceeb, #ffffff);
    margin: 1rem auto;
    border-radius: 2px;
    animation: lineExpand 2s ease-out forwards;
    box-shadow: 0 4px 20px rgba(0, 115, 174, 0.8), 0 0 30px rgba(0, 115, 174, 0.4);
}

/* Hero Highlight */
.hero-highlight {
    position: relative;
    overflow: hidden;
    animation: highlightPulse 4s ease-in-out infinite;
}

.hero-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.hero-highlight:hover::before {
    left: 100%;
}

/* Hero Button Effects */
.hero-banner a {
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
}

.hero-banner a.border-white {
    transition: all 0.3s ease;
}

.hero-banner a.border-white:hover {
    background: white;
    color: #0073ae !important;
}



/* ===== ANIMATIONS ===== */
@keyframes brandGlow {
    0% { 
        filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(0, 115, 174, 0.4));
    }
    100% { 
        filter: drop-shadow(0 6px 25px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 35px rgba(0, 115, 174, 0.8)) drop-shadow(0 0 45px rgba(135, 206, 235, 0.4));
    }
}

@keyframes lineExpand {
    0% { width: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { width: 140px; opacity: 1; }
}

@keyframes highlightPulse {
    0%, 100% { box-shadow: 0 0 25px rgba(0, 115, 174, 0.5), 0 4px 15px rgba(0, 0, 0, 0.6); }
    50% { box-shadow: 0 0 35px rgba(0, 115, 174, 0.8), 0 0 45px rgba(135, 206, 235, 0.4), 0 6px 20px rgba(0, 0, 0, 0.8); }
}

/* ===== RESPONSIVE HERO ===== */

/* Tablets */
@media (max-width: 1024px) {
    .hero-brand-text {
        font-size: 3rem;
    }
    
    .hero-brand-line {
        width: 120px;
        height: 3px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .hero-brand-text {
        font-size: 1.875rem;
        letter-spacing: 0.05em;
    }
    
    .hero-brand-line {
        width: 80px;
        height: 2px;
        margin: 0.5rem auto;
    }
    
    .hero-brand-container {
        margin-bottom: 1.5rem;
    }
    
    #inicio .text-xl {
        font-size: 1.1rem;
        padding: 0.5rem 1.5rem;
    }
    
    #inicio h1 {
        font-size: 2.5rem;
    }
    
    #inicio p {
        font-size: 1rem;
    }
    
    #inicio .container .max-w-5xl {
        padding-top: 2rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-brand-text {
        font-size: 1.5rem;
        letter-spacing: 0.02em;
    }
    
    .hero-brand-line {
        width: 60px;
        height: 2px;
    }
    
    .hero-brand-container {
        margin-bottom: 1rem;
    }
    
    #inicio h2 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }
    
    #inicio p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    #inicio .flex.flex-col a {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Hover Effects for Devices with Hover Support */
@media (hover: hover) {
    .hero-brand-text:hover {
        transform: scale(1.02);
        transition: transform 0.3s ease;
    }
}

/* Hero Highlight Hover Effect */
#inicio span[class*="bg-ozone-blue"] {
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

#inicio span[class*="bg-ozone-blue"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 115, 174, 0.4);
    background-color: rgba(0, 115, 174, 0.9) !important;
}