/* ============================================
   HERO SLIDER MODERN - Lagniappe Gov Theme
   ============================================ */

.hero-slider-container {
    position: relative;
    width: 100%;
    min-height: 90vh;
    overflow: hidden;
    background: #0d2b4d;
}

/* Slider Wrapper */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slides */
.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Slide Background with Overlay */
.hero-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1.5s ease-in-out;
}

.hero-slide:hover .hero-slide-background {
    transform: scale(1.1);
}

/* Glass Overlay */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 43, 77, 0.9) 0%, rgba(26, 68, 128, 0.85) 50%, rgba(13, 43, 77, 0.95) 100%);
    z-index: 2;
}

/* Glassmorphism Content Container */
.hero-slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

/* Animated Text Elements */
.hero-slide-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-slide-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-subtitle {
    font-size: 1.5rem;
    color: #e2e8f0;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out 0.3s;
    line-height: 1.6;
}

.hero-slide-subtitle.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Buttons */
.hero-slide-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease-out 0.6s;
}

.hero-slide-cta.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide .hero-slide-cta a {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    display: inline-block;
}

.hero-slide .hero-slide-cta a.btn-primary {
    background: #1a4480;
    color: white;
    box-shadow: 0 4px 15px rgba(26, 68, 128, 0.4);
}

.hero-slide .hero-slide-cta a.btn-primary:hover {
    background: #0d2b4d;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(13, 43, 77, 0.6);
}

.hero-slide .hero-slide-cta a.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-slide .hero-slide-cta a.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-4px);
}

/* Navigation Controls */
.hero-slider-controls {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Slide Indicators */
.hero-slide-indicators {
    display: flex;
    gap: 1rem;
}

.hero-slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.hero-slide-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.15);
}

.hero-slide-indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Previous/Next Buttons */
.hero-slider-nav {
    display: flex;
    gap: 1.5rem;
}

.hero-slider-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-slider-nav button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-slider-nav button:active {
    transform: scale(0.95);
}

.hero-slider-nav button.prev {
    border-radius: 50px 0 0 50px;
}

.hero-slider-nav button.next {
    border-radius: 0 50px 50px 0;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

.hero-scroll-indicator svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

/* Legacy fallback styles */
.hero-modern {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.btn-glow {
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(102, 126, 234, 0); }
}

.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-btn:hover {
    transform: scale(1.05);
}

.bounce {
    animation: bounce 2s infinite;
}

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

/* Language Switcher in Hero */
.hero-language-switcher {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}

.hero-language-switcher button {
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.hero-language-switcher button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-language-switcher button.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Animated Particles (Decorative) */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    animation: float 6s ease-in-out infinite;
}

.hero-particle:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-particle:nth-child(3) {
    width: 120px;
    height: 120px;
    bottom: 30%;
    left: 30%;
    animation-delay: 4s;
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.6;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-slide-title {
        font-size: 3rem;
    }
    
    .hero-slide-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hero-slide-title {
        font-size: 2.5rem;
    }
    
    .hero-slide-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-slide-cta a {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-slider-nav button {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-slide-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-slide-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-slide-cta a {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-slider-controls {
        bottom: 1.5rem;
    }
    
    .hero-slide-indicator {
        width: 10px;
        height: 10px;
    }
    
    .hero-slide-indicator.active {
        width: 28px;
    }
    
    .hero-slider-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-language-switcher {
        position: static;
        margin-top: 1rem;
        justify-content: center;
        gap: 0.3rem;
    }
    
    .hero-language-switcher button {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .hero-scroll-indicator {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-slide-title {
        font-size: 1.75rem;
    }
    
    .hero-slide-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-slide-cta {
        flex-direction: column;
    }
    
    .hero-slide-cta a {
        width: 100%;
        justify-content: center;
    }
    
    .hero-slider-nav {
        display: none;
    }
    
    .hero-slide-indicators {
        gap: 0.5rem;
    }
    
    .hero-slide-indicator.active {
        width: 24px;
    }
}

/* Animation Delay Utilities */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }

/* RTL Support */
[dir="rtl"] .hero-slide-title,
[dir="rtl"] .hero-slide-subtitle {
    text-align: center;
}

[dir="rtl"] .hero-slider-nav button.prev {
    border-radius: 0 50px 50px 0;
}

[dir="rtl"] .hero-slider-nav button.next {
    border-radius: 50px 0 0 50px;
}
