/**
 * Hero Slider - Miboso Tarzı
 * Sol görsel + sağ içerik, dot navigation, organik dalga dekorasyon
 *
 * @package ArketiperOkulu
 */

/* ============== SLIDER WRAPPER ============== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--body-bg, #f5f5f5);
}

.hero-slider__track {
    position: relative;
    width: 100%;
}

/* ============== SLIDE ============== */
.hero-slider__slide {
    display: none;
    animation: sliderFadeIn 0.6s ease-in-out;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    min-height: 420px;
}

.hero-slider__slide.active {
    display: block;
}

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

/* ============== SLIDE INNER (2-column layout) ============== */
.hero-slider__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ============== SOL: GÖRSEL ============== */
.hero-slider__image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.hero-slider__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider__image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--primary-color-100), var(--primary-color-200));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--main-theme-color);
}

/* Badge (Ücretsiz, Yeni vb.) */
.hero-slider__badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: #ef6c00;
    color: #fff;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(239, 108, 0, 0.35);
}

/* ============== SAĞ: İÇERİK ============== */
.hero-slider__content {
    padding: 20px 0;
}

.hero-slider__title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--primary-color-900, #181c3d);
    line-height: 1.25;
    margin-bottom: 14px;
}

.hero-slider__desc {
    font-size: 15px;
    color: var(--text-color-secondary, #757474);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: var(--main-theme-color, #4f5ccc);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
}

.hero-slider__btn:hover {
    background: var(--primary-color-900, #181c3d);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 92, 204, 0.35);
}

/* ============== ORGANIK DALGA DEKORASYON ============== */
.hero-slider__wave {
    position: absolute;
    bottom: -1px;
    right: -40px;
    width: 350px;
    height: 350px;
    background: radial-gradient(ellipse at center,
        rgba(79, 92, 204, 0.06) 0%,
        rgba(79, 92, 204, 0.03) 40%,
        transparent 70%
    );
    border-radius: 50% 50% 0 50%;
    z-index: 1;
    pointer-events: none;
}

/* ============== DOT NAVIGATION ============== */
.hero-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 0 30px;
    position: relative;
    z-index: 3;
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--gray-400, #D8D8D8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-slider__dot.active {
    background: var(--main-theme-color, #4f5ccc);
    width: 24px;
    border-radius: 10px;
}

.hero-slider__dot:hover {
    background: var(--main-theme-color, #4f5ccc);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 991.98px) {
    .hero-slider__inner {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 560px;
        margin: 0 auto;
    }

    .hero-slider__slide {
        padding: 30px 0;
        min-height: auto;
    }

    .hero-slider__image-wrap {
        aspect-ratio: 16/9;
        border-radius: 16px;
        width: 100%;
    }

    .hero-slider__content {
        text-align: center;
        padding: 0;
    }

    .hero-slider__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-slider__wave {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-slider__slide {
        padding: 20px 0;
    }

    .hero-slider__inner {
        max-width: 100%;
    }

    .hero-slider__image-wrap {
        aspect-ratio: 16/9;
        border-radius: 14px;
        width: 100%;
    }

    .hero-slider__title {
        font-size: 1.25rem;
    }

    .hero-slider__desc {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .hero-slider__btn {
        padding: 12px 28px;
        font-size: 14px;
        width: 100%;
    }

    .hero-slider__dots {
        padding: 0 0 20px;
    }
}

/* ============== DARK MODE ============== */
.theme-dark .hero-slider {
    background: var(--body-bg);
}

.theme-dark .hero-slider__title {
    color: var(--dark-text-color, #e4e4e7);
}

.theme-dark .hero-slider__desc {
    color: var(--dark-text-secondary, #a1a1aa);
}

.theme-dark .hero-slider__btn {
    background: var(--main-theme-color, #4f5ccc);
    color: #fff !important;
}

.theme-dark .hero-slider__btn:hover {
    background: var(--main-theme-color-hover, #727dd6);
    color: #fff !important;
}

.theme-dark .hero-slider__dot {
    background: var(--dark-border-color, #27272a);
}

.theme-dark .hero-slider__dot.active {
    background: var(--main-theme-color, #4f5ccc);
}
