/* =========================================
   WOW HERO SECTION STYLES
   ========================================= */

.hero-wow {
    height: 100vh;
    min-height: 800px;
    position: relative;
    overflow: hidden;
    background-color: #111;
    margin-top: -20px; /* Pull up under navbar */
    border-radius: 0 0 50px 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-wow .carousel,
.hero-wow .carousel-inner,
.hero-wow .carousel-item {
    height: 100%;
    width: 100%;
}

/* Ken Burns Effect */
.ken-burns-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 10s ease-out;
    z-index: 1;
}

.carousel-item.active .ken-burns-bg {
    transform: scale(1);
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(17, 17, 17, 0.7) 0%,
        rgba(17, 17, 17, 0.4) 50%,
        rgba(17, 17, 17, 0.9) 100%
    );
    z-index: 2;
}

/* Content Wrapper */
.hero-wow .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding-bottom: 150px; /* Space for features */
}

.hero-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Animations */
.tracking-widest {
    letter-spacing: 0.3em;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.5);
}

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

.hero-buttons {
}

@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reset animation on slide change */
#blog-carousel .carousel-item:not(.active) .hero-subtitle,
#blog-carousel .carousel-item:not(.active) .hero-title,
#blog-carousel .carousel-item:not(.active) .hero-desc,
#blog-carousel .carousel-item:not(.active) .hero-buttons {
    animation: none !important;
    opacity: 0 !important;
}

/* Override old style.css animations */
#blog-carousel .carousel-item.active .carousel-caption > * {
    opacity: 1;
    transform: none;
}

#blog-carousel .carousel-item.active .carousel-caption h1,
#blog-carousel .carousel-item.active .carousel-caption h2,
#blog-carousel .carousel-item.active .carousel-caption p,
#blog-carousel .carousel-item.active .carousel-caption div,
#blog-carousel .carousel-item.active .carousel-caption .btn {
    animation: none !important; /* Remove old animations */
}

#blog-carousel .carousel-item.active .carousel-caption .hero-subtitle {
    animation: heroFadeInUp 1s ease 0.5s both !important;
}

#blog-carousel .carousel-item.active .carousel-caption .hero-title {
    animation: heroFadeInUp 1s ease 0.8s both !important;
}

#blog-carousel .carousel-item.active .carousel-caption .hero-desc {
    animation: heroFadeInUp 1s ease 1.1s both !important;
}

#blog-carousel .carousel-item.active .carousel-caption .hero-buttons {
    animation: heroFadeInUp 1s ease 1.4s both !important;
}

/* Custom Navigation Arrows */
.custom-nav-btn {
    width: 80px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-wow:hover .custom-nav-btn {
    opacity: 1;
}

.nav-btn-inner {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.custom-nav-btn:hover .nav-btn-inner {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

/* Custom Indicators */
.custom-indicators {
    z-index: 10;
    bottom: 20px;
}

.custom-indicators li {
    width: 40px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 2px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.custom-indicators li.active {
    width: 60px;
    background-color: var(--primary);
}

/* Glassmorphism Features */
.hero-features-wrapper {
    bottom: 120px;
    z-index: 10;
    animation: heroFadeInUp 1s ease 1.7s both;
}

.glass-feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(218, 159, 91, 0.5);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(218, 159, 91, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.glass-feature-card:hover .icon-wrapper {
    background: var(--primary);
}

.glass-feature-card:hover .icon-wrapper i {
    color: white !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-title { font-size: 4rem; }
    .hero-wow .carousel-caption { padding-bottom: 0; }
    .custom-indicators { bottom: 100px; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-desc { font-size: 1rem; }
    .hero-buttons { flex-direction: column; gap: 15px !important; }
    .hero-buttons .btn { width: 100%; }
    .custom-nav-btn { display: none; } /* Hide arrows on mobile */
    .hero-features-wrapper { display: none; } /* Hide features on smaller screens to save space */
}
