﻿/* ===========================================================
   HERO (DESKTOP)
   =========================================================== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding: 80px 0;
    background: url('/images/Grid.svg') no-repeat center/contain;
}

    /*    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url('/images/Grid.svg') no-repeat center/contain;
        pointer-events: none;
        z-index: 0;
    }
*/
    /* içerikler önde */
    .hero .row {
        padding: 120px 70px 100px 49px;
    }

/* === Desktop Title === */
.hero-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 56px;
    line-height: 70.54px;
    margin: 0 0 8px;
    color: #2C2C2C;
}

/* === Desktop Subtitle === */
.hero-subtitle {
    font-family: 'Mansalva', cursive;
    font-weight: 400;
    font-size: 63px;
    line-height: 70px;
    color: #01AB7F;
    margin-bottom: 16px;
}

/* === Desktop Paragraph === */
.hero-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0; /* Figma: 0% */
    text-align: left;
    color: #0B0B0B; /* Ana metin rengi */
    max-width: 572px;
}

    .hero-text .text-highlight {
        font-family: 'Inter', sans-serif;
        font-weight: 600; /* Semi Bold */
        font-size: 18px;
        line-height: normal;
        letter-spacing: 0;
        color: #01AB7F; /* Highlight rengi */
    }


/* ===========================================================
   HERO CARD (DESKTOP)
   =========================================================== */
.hero-right {
    display:flex;
}
.hero-card {
    position: relative;
    border-radius: 32px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    overflow: hidden; /* 🔥 PROBLEMİ BİTİREN SATIR */
}

    /* Desktop blur efekti */
    .hero-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url('/images/Grid.svg') no-repeat center/cover;
        filter: blur(16px);
        opacity: .8;
        z-index: 0;
    }

/* DESKTOP IMAGE */
.hero-card-img {
    content: url('/images/hero_1920.png');
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    position: relative;
    transform: scale(1.01);
    transform-origin: center;
    z-index: 1;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(21, 22, 12, 0.00) 0%, rgba(21, 22, 12, 0.25) 80%, rgba(21, 22, 12, 0.40) 100% );
    z-index: 2;
}

.hero-card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 32px;
    z-index: 3;
}

.hero-card-report {
    margin: 0 0 12px;
    font-family: Inter;
    font-size: 14px;
    line-height: 1.4;
    color: white;
}

.hero-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 600 16px Inter, sans-serif;
    color: #ffffff;
    text-decoration: none;
}

    .hero-card-link i {
        color: #14A26E;
    }


/* ===========================================================
   MOBILE (max-width: 699px)
   =========================================================== */

@media (max-width: 699px) {

    /* === HERO (Figma Hizası BİREBİR) === */
    .hero {
        position: relative;
        padding-top: 0 !important;
        margin-top: 5px !important; /* 🔥 Figma ofsetinin net karşılığı */
        background-image: url('/images/Grid.svg');
        background-repeat: no-repeat;
        /* Figma grid zoom */
        background-size: 360% !important;
        /* Grid yukarı otursun */
        background-position: center -28px !important;
        background-color: #ffffff;
    }

        .hero > .container,
        .hero .row {
            padding: 0 !important;
        }

    /* === BAŞLIKLAR (Hizalama için optimize) === */
    .hero-title {
        font-family: 'Rubik', sans-serif;
        font-weight: 400;
        font-size: 35.36px;
        line-height: 45.6px;
        text-align: center;
        color: #2C2C2C;
        margin: 4px 0 4px !important; /* 🔥 Biraz daha yukarı */
    }

    .hero-subtitle {
        font-family: 'Mansalva', cursive;
        font-size: 42px;
        line-height: 45.6px;
        text-align: center;
        color: #01AB7F;
        margin: 0 0 14px !important; /* Minik düşürme */
    }

    /* === PARAGRAFLAR (Figma’ya birebir) === */
    .hero-text {
        font-family: 'Inter', sans-serif;
        font-size: 16px; /* Figma */
        font-weight: 500; /* Medium */
        line-height: 110%; /* Figma */
        letter-spacing: 0; /* Figma */
        text-align: center; /* Figma */
        color: #0B0B0B; /* Figma */
        max-width: 358px;
        margin: 0 auto 14px !important;
    }

        /* Highlight (ortak geleceğimizdir.) */
        .hero-text .text-highlight {
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            font-weight: 600; /* SemiBold */
            line-height: normal;
            color: #01AB7F; /* Figma */
            letter-spacing: 0;
        }

    /* Metin bloğu – Figma hizası */
    .text-block {
        margin-top: -25px !important;
        margin-bottom: 40px !important;
    }

    /* ===== HERO CARD (Figma Mobile) ===== */
    .hero-card {
        width: 359px !important;
        height: 164px !important;
        margin: 0 auto 24px !important;
        border-radius: 23px !important;
        overflow: hidden;
        position: relative;
        box-shadow: 0px 4px 20px rgba(0,0,0,.10);
    }

        .hero-card::before {
            display: none !important;
        }

    .hero-card-img {
        content: url('/images/hero_mobile3x.png');
        width: 100%;
        height: auto !important; /* 🔥 zoomu çözer */
        max-height: 166px; /* Figma mobil hero yüksekliği */
        object-fit: cover;
        object-position: center 78%;
        border-radius: 23px !important;
    }

    .hero-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(21,22,12,0.00) 0%, rgba(21,22,12,0.25) 80%, rgba(21,22,12,0.40) 100% );
        border-radius: 23px !important;
        z-index: 2;
    }

    /* Rapor yazısı mobilde Figma’ya göre kapalı */
    .hero-card-report {
        display: none !important;
    }

    .hero-card-footer {
        position: absolute;
        bottom: 12px !important;
        width: 100%;
        padding: 0 16px !important;
        z-index: 3;
        text-align: left !important;
    }

    .hero-card-link {
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 15px;
        color: #FFFFFF !important;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        padding-left: 4px;
    }

        .hero-card-link i {
            font-size: 16px;
            color: #FFFFFF !important;
        }
}

/* ===========================================================
   HERO – TABLET (700–1200px)
   =========================================================== */
/* ============================================================
   HERO — TABLET (700px–1200px) 
   Figma ölçülerine birebir göre ayarlanmıştır.
   ============================================================ */
@media (min-width: 700px) and (max-width: 1200px) {

    /* HERO ANA BLOK */
    .hero {
        position: relative;
        padding-top: 0 !important;
        margin-top: 100px !important; /* 🔥 Figma ofsetinin net karşılığı */
        background-image: url('/images/Grid.svg');
        background-repeat: no-repeat;
        /* Figma grid zoom */
        background-size: 360% !important;
        /* Grid yukarı otursun */
        background-position: center -28px !important;
        background-color: #ffffff;
    }
    /* HERO LAYOUT → Tablet'te dikey */
    .hero-row {
        flex-direction: column !important;
        gap: 48px !important;
        padding: 0 !important;
        /* Yukarı boşluğu kaldır */
        margin: 0 auto !important;
        max-width: 640px !important;
    }

    /* SOL METİN BLOĞU */
    .hero-left {
        max-width: 640px !important;
        display: flex;
        justify-content: center;
        width: 100% !important;
    }

        /* TEXT BLOCK */
        .hero-left .text-block {
            max-width: 640px !important;
            display: flex;
            flex-direction: column;
            gap: 27px !important;
            text-align: center !important;
            /* ❌ margin-top: -25px kaldırıldı */
            margin: 0 auto 40px !important;
        }

    /* BAŞLIK — H1 */
    .hero-title {
        font-family: 'Rubik', sans-serif;
        font-weight: 400;
        font-size: 35.36px;
        line-height: 30.51px !important;
        margin: 0 0 4px !important;
    }

    .hero-subtitle {
        font-family: 'Mansalva', cursive;
        font-size: 42px;
        line-height: 0 !important;
        margin: 0 0 14px !important;
        color: #01AB7F;
    }

    /* PARAGRAFLAR */
    .hero-text {
        font-size: 18px;
        font-weight: 500;
        line-height: normal;
        max-width: 572px;
        text-align:center;
        margin: 0 auto 14px !important;
    }

        .hero-text .text-highlight {
            font-weight: 600;
            color: #01AB7F;
        }

    /* HERO KART */
    .hero-right {
        width: 100% !important;
        max-width: 640px !important;
        /* Yukarı boşluğu kaldır */
        margin-top: 0 !important;
        display: flex;
        justify-content: center !important;
    }

    .hero-card {
        width: 567px !important;
        height:268px;
        border-radius: 32px !important;
        overflow: hidden;
        position: relative;
        box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    }

    .hero-card-img {
        width: 100% !important;
        height: auto !important;
        border-radius: 32px !important;
        object-fit: cover;
    }

    .hero-card-footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        padding: 20px 32px;
        z-index: 3;
    }

    .hero-card-report {
        font-size: 14px;
        color: #fff;
        margin-bottom: 8px;
    }

    .hero-card-link {
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        gap: 6px;
        text-decoration: none;
    }
}
