/* Hero Section with Background Slider */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 5% 100px;
    overflow: hidden;
}

/* Background Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

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

/* Dark overlay for text readability */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

/* Hero Content - Above slider */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1,
.hero-content p,
.tagline {
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.tagline {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Slider Navigation Arrows */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 2rem;
    font-weight: bold;
    color: #0A0A0A;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-slider-arrow:hover {
    background: #E31E24;
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(227, 30, 36, 0.4);
}

.hero-slider-arrow.prev {
    left: 40px;
}

.hero-slider-arrow.next {
    right: 40px;
}

/* Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}



@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-slider-arrow.prev {
        left: 20px;
    }

    .hero-slider-arrow.next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 5% 80px;
    }

    .hero-slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .hero-slider-arrow.prev {
        left: 10px;
    }

    .hero-slider-arrow.next {
        right: 10px;
    }

    .hero-slider-dots {
        bottom: 20px;
        padding: 10px 20px;
    }

    .hero-slider-dot {
        width: 10px;
        height: 10px;
    }
}
