﻿/* ---------------------------------------------------
   ANA CONTAINER
--------------------------------------------------- */
#section-ana {
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

/* ---------------------------------------------------
   BANNER (üstteki görsel + yazı)
--------------------------------------------------- */
.journey-image-container {
    position: relative;
    background: white;
    padding: 10px;
    border-radius: 40px;
    margin-top: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

    .journey-image-container img {
        width: 100%;
        height: auto;
        border-radius: 32px;
        display: block;
    }

.journey-title-box {
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: flex;
    margin-left:37px;
    margin-bottom:41px;
    flex-direction: column;
    gap: 8px;
}

.journey-title-text {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    line-height:28.81px;
    font-weight: 700;
    color: white;
}

.green-line-left {
    width: 40px;
    height: 3px;
    background-color: #02B48C;
}

/* ---------------------------------------------------
   SOL – SAĞ İÇERİK
--------------------------------------------------- */
/* Ana container */
/* Ana container */
.approach-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* SOL BLOK */
.approach-left {
    max-width: 715px;
    margin-top: 72px;
    font-family: Inter, sans-serif;
    font-size: 20px;
    line-height: 110%;
    color: #243837;
    font-weight: 600;
}
/* SAĞ BLOK */
.approach-right {
    max-width: 860px;
    position: relative;
    margin-left: 700px; /* 🔥 figmada sağ tarafa kayma */
    margin-top: 60px; /* sol blok bittikten sonra boşluk */
}

    /* Sağ paragraf ağırlıkları */
    .approach-right p:nth-of-type(1) {
        font-weight: 500;
    }

    .approach-right p:nth-of-type(2) {
        font-weight: 400;
    }

    .approach-right p:nth-of-type(3) {
        font-weight: 500;
        font-style: italic;
        color: #7E8C8D;
        max-width: 777px;
    }




/* ---------------------------------------------------
   BUTTON
--------------------------------------------------- */
.custom-button-link {
    display: inline-block;
    align-items: center;
    justify-content: center;
    border: 1px solid #68815A;
    border-radius: 35px;
    padding: 10px 24px;
    background-color: #fff;
    font-size: 16px;
    line-height: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 40px;
}

    .custom-button-link:hover {
        background-color: #e9ecef;
        text-decoration: none;
    }

    .custom-button-link .highlight {
        color: #00A896;
        font-weight: 600;
    }

.mobile-sticky-btn {
    display: none;
}

/* ---------------------------------------------------
   MOBILE
--------------------------------------------------- */
@media (max-width: 699px) {
    #section-ana {
        width: 100%;
        max-width: 390px;
        margin: 0 auto;
        padding: 0 !important;
        position: relative; /* Görselin bulunduğu alanı sabitler */
        overflow: visible !important; /* Kesmesini engeller */
    }

    .journey-image-container {
        width: 358px;
        height: 191px;
        border-radius: 26px;
        overflow: hidden;
        margin-top: 0;
        position: relative !important; /* Absolute gibi davranmasını engeller */
    }

        .journey-image-container img {
            height: 100%;
            object-fit: cover;
            border-radius: 22px;
        }

    .journey-title-box {
        width: 289px;
        height: 73px;
        margin-left: 21px;
        margin-bottom: 0px;
        left: 10px;
        bottom: 10px;
        gap: 6px;
    }

    .journey-title-text {
        font-size: 20px;
        line-height: 1.15;
        text-shadow: 0 2px 5px rgba(0,0,0,.5);
    }

    /* Container */
    .approach-container {
        width: 100%;
        max-width: 324px;
        height: 356px;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 10px auto;
        white-space: normal !important;
        word-break: break-word !important;
    }

    /* Sol – Sağ bloklar */
    .approach-left,
    .approach-right {
        width: 100%; /* 💚 324px değil container genişliği */
        min-width: 100%;
        margin: 0;
        display: block; /* 💚 contents KULLANMA → bozar! */
        font-size: 16px;
        line-height: 20px;
        color: #243837;
    }

    .approach-left {
        font-weight: 600;
    }

    .approach-right p:nth-of-type(1) {
        font-weight: 500;
    }

    .approach-right p:nth-of-type(2) {
        font-weight: 400;
    }

    .approach-right p:nth-of-type(3) {
        font-weight: 500;
        font-style: italic;
        color: #7E8C8D;
    }

    /* RESX inline style kırıcı olmasın */
    .approach-left *[style],
    .approach-right *[style] {
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    .custom-button-link{
        display:none;
    }
    .mobile-btn-div {
        max-width: 324px;
        height: 60px;
        margin: 23px auto 30px auto; /* 🔥 ORTALAMA */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* BUTTON */
    .mobile-sticky-btn {
        display: inline-block;
        align-items: center;
        justify-content: center;
        border: 1px solid #68815A;
        border-radius: 16px;
        padding: 10px 24px;
        background-color: #fff;
        font-size: 16px;
        line-height: 20px;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        color: #000;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        margin-top: 23px;
        text-align: center;
    }

        .mobile-sticky-btn:hover {
            background-color: #e9ecef;
            text-decoration: none;
        }

        .mobile-sticky-btn .highlight {
            color: #00A896;
            font-weight: 600;
        }
}

/* ---------------------------------------------------
   TABLET
--------------------------------------------------- */
/* ---------------------------------------------------
   TABLET - TEK KOLON, AKICI OKUMA DÜZENİ
   (İstenen görünüm)
--------------------------------------------------- */
/* ---------------------------------------------------
   TABLET VE KÜÇÜK LAPTOPLAR
   (769px ile 1200px arası - Kırılma noktasını iyi ayarladık)
--------------------------------------------------- */
@media (min-width: 700px) and (max-width: 1200px) {

    #section-ana {
        padding: 0 16px; /* Kenar boşlukları */
    }
    /* Figma Banner: 768 × 258 – Padding 8 – Radius 32 */
    .journey-image-container {
        max-width: 768px;
        height: 258px;
        padding: 8px;
        border-radius: 24px;
        margin: 20px auto;
        background: #FFFFFF;
        box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
        overflow: hidden;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

        /* İç görsel: 752 × 242 px (Figma padding sonrası) */
        .journey-image-container img {
            height: 242px;
            background: #00000066;
            object-fit: cover;
            border-radius: 24px; /* 32px dış radius – 8px padding = 24px */
        }

    /* Başlık kutusu konumu */
    .journey-title-box {
        position: absolute;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    /* Başlık stil – Figma’ya birebir */
    .journey-title-text {
        font-size: 24px;
        line-height: 1.2;
        font-weight: 700;
        color: #FFFFFF;
    }

    /* Tablette yan yana sığmayacağı için alt alta alıyoruz */
    .approach-container {
        flex-direction: column;
        align-items: center; /* Ortala */
        padding: 0;
        margin-top: 40px;
        gap: 40px; /* İki blok arası boşluk */
    }

    .approach-left,
    .approach-right {
        width: 100%; /* Tam genişlik */
        max-width: 800px; /* Çok yayılmasını engelle */
        margin: 0 !important; /* Masaüstü marginlerini sıfırla */
        text-align: left; /* Metin hizalaması */

        font-size: 18px; /* Tablette fontu bir tık küçült */
        line-height: 1.5;
    }

    /* Offset efektini tablette kaldırıyoruz, düz akış olsun */
    .approach-right {
        margin-top: 0 !important;
    }

    .custom-button-link {
        margin-top: 30px;
    }
}
