/* ==========================================================================
   Organism: Hero Section
   Reference: saha.org.tr — hero height ~400px, NOT full viewport.
   Left ~53%, Right ~47%. Caption solid #242424 bottom-left ~80% width.
   ========================================================================== */

.saha-hero {
    width: 100%;
}

/* Grid: 50/50 split */
.saha-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* ── Left Column ────────────────────────────────────────────────────────── */

.saha-hero__left {
    background-color: var(--saha-color-bg-primary, #fff);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 140px 53px 50px var(--saha-container-padding);
}

.saha-hero__left-inner {
    width: 100%;
}

.saha-hero__logo {
    display: inline-block;
    margin-bottom: 40px;
}

.saha-hero__logo-img {
    display: block;
    width: 90px;
    height: auto;
}

.saha-hero__intro {
    font-family: var(--saha-font-primary);
    font-size: 18px;
    line-height: 24px;
    color: #242424;
}

.saha-hero__intro p {
    margin: 5px 0 40px;
}

.saha-hero__intro p:last-child {
    margin-bottom: 0;
}

/* ── Right Column ───────────────────────────────────────────────────────── */

.saha-hero__right {
    position: relative;
    background-color: var(--saha-color-bg-dark, #1a1a1a);
    overflow: visible;
    min-height: 430px;
}

.saha-hero__slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ── Slide ──────────────────────────────────────────────────────────────── */

.saha-hero__slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.saha-hero__slide.is-active {
    display: block;
    position: relative;
    opacity: 1;
    min-height: 430px;
}

.saha-hero__slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--saha-color-bg-dark, #1a1a1a);
}

.saha-hero__slide-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0) 40%
    );
    pointer-events: none;
}

/* ── Caption ────────────────────────────────────────────────────────────── */

.saha-hero__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 117px;
    padding: 50px 90px 50px 50px;
    background: #242424;
    display: block;
    z-index: 2;
}

.saha-hero__caption-link {
    display: block;
    color: #fff;
    text-decoration: none;
}

.saha-hero__caption-link:hover {
    text-decoration: none;
}

.saha-hero__caption-date {
    display: block;
    font-family: var(--saha-font-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    opacity: 0.5;
    margin: 0;
}

.saha-hero__caption-title {
    display: block;
    font-family: var(--saha-font-primary);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.1;
    color: #fff;
    margin: 10px 0;
}

.saha-hero__caption-desc {
    font-family: var(--saha-font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    margin: 0;
}

/* ── Pagination ─────────────────────────────────────────────────────────── */

.saha-hero__pagination {
    position: absolute;
    bottom: 20px;
    left: 43px;
    z-index: 3;
}

.saha-hero__pagination .saha-pagination-dots__dot {
    width: auto;
    height: auto;
    margin: 0 8px;
}

.saha-hero__pagination .saha-pagination-dots__indicator {
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background-color: #fff;
    opacity: 0.2;
    transition: opacity 0.25s;
}

.saha-hero__pagination .saha-pagination-dots__dot.is-active .saha-pagination-dots__indicator {
    opacity: 1;
}

.saha-hero__pagination .saha-pagination-dots__dot:not(.is-active):hover .saha-pagination-dots__indicator {
    opacity: 0.5;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .saha-hero__grid {
        grid-template-columns: 1fr;
    }

    .saha-hero__left {
        padding: 32px var(--saha-container-padding);
    }

    .saha-hero__right {
        min-height: 350px;
        margin-inline: var(--saha-container-padding);
    }

    .saha-hero__slide.is-active {
        min-height: 350px;
    }

    .saha-hero__caption {
        right: 60px;
        padding: 36px 48px 36px 36px;
    }

    .saha-hero__pagination {
        left: 36px;
        bottom: 16px;
    }
}

@media (max-width: 768px) {
    .saha-hero__left {
        padding: 24px var(--saha-container-padding);
    }

    .saha-hero__logo-img {
        width: 70px;
    }

    .saha-hero__logo {
        margin-bottom: 28px;
    }

    .saha-hero__intro {
        font-size: 16px;
        line-height: 22px;
    }

    .saha-hero__intro p {
        margin: 4px 0 24px;
    }

    .saha-hero__right {
        min-height: 300px;
    }

    .saha-hero__slide.is-active {
        min-height: 300px;
    }

    .saha-hero__caption {
        right: 24px;
        padding: 28px 28px 28px 24px;
    }

    .saha-hero__caption-title {
        font-size: 18px;
    }

    .saha-hero__caption-desc {
        font-size: 15px;
        line-height: 24px;
    }

    .saha-hero__pagination {
        left: 24px;
        bottom: 12px;
    }
}
