.hero.no-transition,
.split.no-transition,
.slider.no-transition {
    transition: none !important;
}

.history-page {
    background: linear-gradient(
            to bottom,
            #000000 0%,
            #000000 75%,
            #021015 90%,
            #06151d 100%
    );
}

.history-scroll-space {
    position: relative;
    height: calc(300vh - 225px);
}

.history-section-wrp {
    padding-bottom: 50px;
    position: sticky;
    top: 75px;
    height: calc(100vh - 75px);
    overflow: hidden;
}

.history-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.history-first-container {
    display: flex;
    justify-content: center;
}

.history-page p {
    margin-bottom: 0 !important;
}

/* ============ 3 SECTION ORTAK AYARLAR ============ */
.history-hero,
.history-split,
.history-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transition: transform 1s cubic-bezier(0.83, 0, 0.17, 1);
}

.history-split,
.history-slider {
    transform: translateY(100%); /* Sayfa açılırken 2. ve 3. section aşağıda olsun */
}

.history-hero.is-active,
.history-split.is-active,
.history-slider.is-active {
    transform: translateY(0);
}

.history-hero.is-below,
.history-split.is-below,
.history-slider.is-below {
    transform: translateY(100%);
}

.history-hero.is-above,
.history-split.is-above,
.history-slider.is-above {
    transform: translateY(-100%);
}

.history-hero   { z-index: 1; }
.history-split  { z-index: 2; overflow: hidden; }
.history-slider { z-index: 3; overflow: hidden; }

/* ============ HERO ============ */
.history-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('/upload/images/hakkimizda/bg_sea.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.history-hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.history-hero-label,
.history-hero-title,
.history-hero-text {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.history-hero.is-active .history-hero-label {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.history-hero.is-active .history-hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.42s;
}

.history-hero.is-active .history-hero-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.54s;
}

.history-hero-label {
    color: #c9a877;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.history-hero-title {
    color: #ffffff;
    font-size: 55px;
    font-weight: 600;
}

.history-hero-text {
    color: #ffffff;
    font-size: 16px;
    max-width: 650px;
}

/* ============ SPLIT ============ */
.history-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #F8F8F8;
}

.history-split-wrp {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    max-height: 80vh;
}

.history-split-image {
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.history-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.history-split-content {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 80px 40px;
    width: 50%;
    height: 100%;
    border-radius: 15px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    overflow-y: auto;
    box-sizing: border-box;
}

.history-split-content p {
    color: #1f2937;
    font-size: 16px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.history-split.is-active .history-split-content p:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.history-split.is-active .history-split-content p:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.history-split.is-active .history-split-content p:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }
.history-split.is-active .history-split-content p:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }
.history-split.is-active .history-split-content p:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.75s; }

/* ============ SLIDER ============ */
.history-slider {
    display: flex;
    align-items: center;
    background-color: #F7F4EF;
}

.history-slider-wrp {
    position: relative;
    width: 100%;
    border-radius: 15px;
    background: #ffffff;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
    height: 500px;
    display: flex;
}

.history-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease 0.3s;
}

.history-slider.is-active .history-slider-track {
    opacity: 1;
}

.history-slider-slide {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.history-slider-slide-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* ===================== SOL RESİM ALANI ===================== */
.history-slider-logo {
    width: 50%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.history-slider-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-width: 100%;
    min-height: 100%;
}

/* ===================== SAĞ BİLGİ ALANI ===================== */

.history-slider-year {
    display: block;
    font-size: 110px;
    font-weight: 700;
    color: #191919;
    line-height: 1;
    margin-bottom: 10px;
}

.history-slider-text p {
    color: #1f2937;
}

.history-slider-info {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 70px 60px 50px;
    box-sizing: border-box;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* ===================== OK BUTONLARI ===================== */
.history-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #cccccc;
    background: #ffffff;
    font-size: 22px;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 15;
}

.history-slider-arrow-prev {
    left: 30px;           /* Resmin üstünde */
}

.history-slider-arrow-next {
    right: 30px;
}

.history-slider-arrow:hover {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

/* DOTS (Noktalar) */
.history-slider-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.history-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d5d1c9;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.history-slider-dot-active {
    background: #1a1a1a;
    transform: scale(1.2);
}

.history-top-arrow {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
    padding: 10px;
    touch-action: manipulation;
}

.history-top-arrow svg {
    width: 50px;
    height: 50px;
}

.history-top-arrow svg path {
    fill: white;
}


@media (min-width: 1024px) and (max-width: 1366px) {

    .history-split-wrp {
        flex-direction: row !important;
    }

    .history-slider-logo {
        max-height: 400px;
    }

    .history-split-image{
        border-radius: 8px 0 0 8px !important;
    }

    .history-split-content {
       border-bottom-left-radius: 8px !important;
       border-bottom-right-radius: 8px !important;
    }

}

@media (min-width: 768px) and (max-width: 1366px) {

    .history-hero-text {
        font-size: 17px !important;
    }

    .history-hero-title {
        font-size: 36px !important;
    }

    .history-hero-label {
        font-size: 14px;
    }

    .history-split-image,
    .history-slider-logo {
        height: 350px !important;
    }

}

/* =====================================================================
   MOBİL & TABLET TASARIMI (1024px ve altı) - TÜTÜN AYNI
   -----------------------------------------------------------------
   Tablet ve mobil tamamen aynı görünür. Scroll efekti kapalı,
   bölümler normal akışta alt alta, animasyonlar devre dışı.
   ===================================================================== */
@media (max-width: 1366px) {

    .history-page p {
        font-size: 14px;
    }

    .history-split,
    .history-slider {
        padding: 15px 0 !important;
    }

    /* ---- Pin/scroll efektini kapat, bölümleri normal akışa al ---- */
    .history-scroll-space {
        height: auto;
    }

    .history-section-wrp {
        position: static;
        height: auto;
        padding-bottom: 0;
        overflow: visible;
    }

    .history-hero,
    .history-split,
    .history-slider {
        position: relative;
        transform: none !important;
        height: auto;
    }

    /* Scroll'a bağlı fade-in animasyonlarını iptal et, içerik hep görünür olsun */
    .history-hero-label,
    .history-hero-title,
    .history-hero-text,
    .history-split-content p,
    .history-slider-track {
        opacity: 1 !important;
        transform: none !important;
    }

    .history-container {
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* ---------------- HERO ---------------- */
    .history-hero {
        min-height: 100svh;
        min-height: 100vh;
        padding: 90px 0 70px;
    }

    .history-hero-content {
        max-width: 100%;
        gap: 15px;
    }

    .history-hero-label {
        font-size: 12px;
        letter-spacing: 2.5px;
    }

    .history-hero-title {
        font-size: 34px;
        line-height: 1.2;
    }

    .history-hero-text {
        font-size: 15px;
        line-height: 1.65;
        max-width: 34ch;
    }

    .history-top-arrow {
        bottom: 28px;
    }

    .history-top-arrow svg {
        width: 34px;
        height: 34px;
    }

    /* ---------------- SPLIT ---------------- */
    .history-split {
        padding: 60px 0;
        background: #F8F8F8;
    }

    .history-split-wrp {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        max-height: none;
    }

    .history-split-image {
        width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
        border-radius: 20px 20px 0 0;
    }

    .history-split-content {
        width: 100%;
        height: auto;
        padding: 15px 15px;
        border-radius: 0 0 8px 8px;
        overflow-y: visible;
        gap: 15px;
    }

    .history-split-content p {
        font-size: 14px;
    }

    .history-split-content p:first-child {
        font-size: 14px;
        font-weight: 600;
        color: #111827;
    }

    .history-split-content p {
        font-size: 14px;
    }

    /* ---------------- SLIDER ---------------- */
    .history-slider {
        padding: 60px 0 70px;
        background: #F7F4EF;
    }

    .history-slider-wrp {
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        height: auto;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        padding-bottom: 15px;
    }

    .history-slider-track {
        position: relative;
        order: 1;
        flex: 0 0 100%;
        width: 100%;
        height: auto;
    }

    .history-slider-slide {
        position: static;
        display: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        flex-direction: column;
    }

    .history-slider-slide-active {
        display: flex;
    }

    .history-slider-logo,
    .history-slider-info {
        width: 100%;
        height: auto;
    }

    .history-slider-logo {
        aspect-ratio: 16 / 10;
        border-radius: 0;
    }

    .history-slider-info {
        padding: 15px 15px 15px;
        box-shadow: none;
        border-radius: 0;
    }

    .history-slider-year {
        font-size: 48px;
        margin-bottom: 8px;
    }

    .history-slider-text p {
        font-size: 14.5px;
        line-height: 1.65;
    }

    /* Alt kontrol çubuğu: geri / noktalar / ileri, tek satırda */
    .history-slider-arrow {
        position: static;
        transform: none;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .history-slider-arrow-prev {
        order: 2;
        left: auto;
    }

    .history-slider-arrow-next {
        order: 4;
        right: auto;
    }

    .history-slider-dots {
        position: static;
        order: 3;
        flex: 1;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .history-slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
        margin-left: 15px;
    }

    .history-slider-arrow-next {
        margin-right: 15px;
    }
}

/* ---------------- Küçük telefonlar için ince ayarlar (480px ve altı) ---------------- */
@media (max-width: 480px) {
    .history-container {
        padding: 0 15px;
    }

    .history-hero-title {
        font-size: 28px;
    }

    .history-hero-text {
        font-size: 14px;
        max-width: 30ch;
    }

    .history-split-content,
    .history-slider-info {
        padding-left: 15px;
        padding-right: 15px;
    }

    .history-slider-year {
        font-size: 38px;
    }
}