/* carousel_hero.css */
/* Hero carousel styling – using existing color palette for premium look */
.hero-carousel-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.04), transparent 25%),
                radial-gradient(circle at 88% 12%, rgba(236, 72, 153, 0.12), transparent 20%),
                linear-gradient(135deg, #3b0764 0%, #6b21a8 50%, #0f172a 100%) !important;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.15) 20%, rgba(11, 17, 32, 0.45) 100%);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-carousel-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.carousel-slide {
    display: none;
    animation: fadeIn 1s ease;
}

.carousel-slide.active {
    display: block;
}

.hero-content {
    color: var(--text-white);
    max-width: 800px;
    margin: auto;
    padding: 3rem 4rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 25px 50px -12px rgba(0, 0, 0, 0.3),
        0 0 40px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.glass-card > * {
    position: relative;
    z-index: 1;
}

.glass-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 35px 70px -12px rgba(0, 0, 0, 0.4),
        0 0 60px 0 rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-white-soft);
}

.hero-cta .btn {
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
}

.hero-carousel-dots {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
    justify-content: center;
}

.hero-carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition);
}

.hero-carousel-dots .dot.active {
    width: 32px;
    border-radius: 999px;
    background: #fff;
}

/* Navigation buttons */
.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-carousel-prev { left: 1rem; }
.hero-carousel-next { right: 1rem; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   Split Layout & Cover Image inside Carousel Hero Card
   ========================================================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    align-items: stretch;
    text-align: left;
    max-width: 980px !important;
    padding: 0 !important;
}

.hero-left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 3.5rem 4rem;
    justify-content: center;
}

.hero-right-content {
    display: flex;
    position: relative;
    overflow: hidden;
    border-top-right-radius: 27px; /* matching container inner border radius */
    border-bottom-right-radius: 27px;
    background-color: #0b0f19;
}

.hero-right-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover expansion */
.glass-card:hover .hero-right-image {
    transform: scale(1.05);
}

/* Responsive adjustments for split layout */
@media screen and (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }
    .hero-left-content {
        align-items: center;
        text-align: center;
        padding: 3rem 2.5rem;
    }
    .hero-right-content {
        height: 250px;
        border-top-right-radius: 0;
        border-bottom-left-radius: 27px;
        border-bottom-right-radius: 27px;
    }
}
