/* Ana sayfa stilleri — resources/views/frontend/home.blade.php içinden taşındı */

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */

.ertas-slider-module {
    --eg-brand-color: #247CE1;
    --eg-brand-glow: rgba(36, 124, 225, 0.6);
    --eg-text-white: #fff;

    position: relative;
    width: 100%;
    /* Standart Yükseklikler (Desktop/Portrait) */
    height: 100vh;
    height: 100dvh;
    min-height: 600px;

    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    /* Görsel yüklenene kadar görünen zemin: overlay'in koyu tonuyla aynı, mavi parlama olmaz */
    background-color: #070d22;
}

.ertas-slider-module * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Her slaydın kendi arka planı: içerikle birlikte geçiş yapar */
.eg-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: #070d22;
}

.eg-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 7s ease-out, opacity 0.6s ease;
}

.eg-slide-bg img[data-pending] {
    opacity: 0;
}

.swiper-slide-active .eg-slide-bg img {
    transform: scale(1);
}

.eg-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 25, 50, 0.3) 0%, rgba(5, 10, 30, 0.8) 100%);
    pointer-events: none;
}

.eg-left-sidebar {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 40;
}

.eg-vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.eg-sidebar-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    margin: 10px 0;
}

.eg-social-icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eg-social-icons a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.eg-social-icons a:hover {
    color: var(--eg-brand-color);
    transform: scale(1.2);
    text-shadow: 0 0 15px var(--eg-brand-glow);
}

.ertas-slider-module .swiper {
    width: 100%;
    height: 100%;
    z-index: 10;
}

.ertas-slider-module .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: transparent !important;
}

/* İÇERİK KAPSAYICI (Varsayılan) */
.eg-content-wrapper {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    padding-bottom: 80px;
    /* Navigasyon payı */
}

.eg-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 8vw;
    color: rgba(255, 255, 255, 0.95);
    text-transform: none;
    line-height: 1;
    letter-spacing: -3px;
    z-index: 1;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    opacity: 0;
    transform: translateY(-60px);
    transition: all 1s ease-out;
    text-align: center;
    max-width: 90%;
}

.eg-hero-img {
    z-index: 2;
    width: auto;
    max-width: 70vw;
    /* Yükseklik baştan sabit: görsel inince başlık kaymaz (CLS) */
    height: 40vh;
    object-fit: contain;
    margin-top: -3vw;
    filter: none;
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    transition: all 1s ease 0.2s;
}

.swiper-slide-active .eg-hero-title {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .eg-hero-img {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.eg-water-btn {
    margin-top: 40px;
    padding: 15px 50px;
    font-size: 0.75rem;
    font-weight: 400;
    text-decoration: none;
    color: white;
    text-transform: none;
    letter-spacing: 2px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 10;
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.eg-water-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--eg-brand-color);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.eg-water-btn:hover {
    border-color: var(--eg-brand-color);
    box-shadow: 0 0 20px var(--eg-brand-glow);
}

.eg-water-btn:hover::before {
    width: 100%;
}

.swiper-slide-active .eg-water-btn {
    opacity: 1;
    transform: translateY(0);
}

.eg-bottom-nav-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.eg-navSwiper {
    width: 100%;
    height: 100%;
}

.eg-nav-item {
    /* <button> varsayılanlarını sıfırla */
    appearance: none;
    background: none;
    border: 0;
    font: inherit;
    color: inherit;
    position: relative;
    height: 100%;
    width: auto !important;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.5;
    white-space: nowrap;
}

.eg-nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 35%;
    height: 30%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.eg-nav-item i {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
    transition: 0.3s;
}

.eg-nav-item span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    text-transform: none;
}

.eg-nav-item:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -6px;
    opacity: 1;
}

.eg-water-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.eg-nav-item:hover {
    opacity: 0.8;
}

.eg-nav-item.active {
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.eg-nav-item.active i {
    color: var(--eg-brand-color);
    transform: translateY(-3px);
    text-shadow: 0 0 10px var(--eg-brand-glow);
}

.eg-nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--eg-brand-color);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 -2px 15px var(--eg-brand-glow);
}

.eg-nav-item.active::before {
    width: 100%;
}


/* --- RESPONSIVE BREAKPOINTS --- */

/* Desktop/Tablet */
@media (max-width: 1200px) {
    .ertas-slider-module {
        min-height: auto;
    }

    .eg-left-sidebar {
        left: 20px;
    }

    .eg-hero-title {
        font-size: 9vw;
    }

    .eg-nav-item {
        padding: 0 20px;
    }

    .eg-nav-item span {
        font-size: 0.65rem;
    }
}

/* Mobil (Dikey/Portrait) */
@media (max-width: 768px) {
    .ertas-slider-module {
        height: 100dvh;
        min-height: auto;
    }

    .eg-left-sidebar {
        display: none;
    }

    .eg-content-wrapper {
        padding-bottom: 100px;
        margin-top: 0;
    }

    .eg-hero-title {
        font-size: 13vw;
        margin-top: 0;
        line-height: 1.1;
    }

    .eg-hero-img {
        height: 35vh;
        max-width: 85vw;
        margin-top: 10px;
    }

    .eg-water-btn {
        margin-top: 25px;
        padding: 12px 24px;
        max-width: calc(100% - 40px);
        letter-spacing: 1px;
        text-align: center;
        line-height: 1.4;
    }

    .eg-bottom-nav-container {
        height: 75px;
        padding-left: 0;
    }

    .eg-nav-item {
        padding: 0 15px;
    }

    .eg-nav-item i {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .eg-nav-item span {
        font-size: 0.6rem;
    }
}

/* ------------------------------------------------------------------
                   MOBİL YATAY (LANDSCAPE) MODU - REVİZE EDİLMİŞ GÖRÜNÜM
                   (Büyük Görsel/Başlık - Gölgesiz - Küçük Navigasyon)
                   ------------------------------------------------------------------ */
@media (max-height: 500px) and (orientation: landscape) {

    .ertas-slider-module {
        /* Tam ekran kilit */
        height: 100dvh !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    /* Sidebar Gizli */
    .eg-left-sidebar {
        display: none !important;
    }

    /* Dikey Flex Yapısı */
    .eg-content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        /* Alttan navigasyon için yer bırak (40px nav + 5px boşluk) */
        padding: 5px 20px 45px 20px !important;
        margin: 0 !important;
        height: 100dvh !important;
        gap: 2px !important;
    }

    /* Başlık: BÜYÜTÜLDÜ */
    .eg-hero-title {
        font-size: 7vh !important;
        /* Daha büyük font */
        margin: 0 !important;
        line-height: 1 !important;
        transform: none !important;
        opacity: 1 !important;
    }

    /* Görsel: BÜYÜTÜLDÜ ve GÖLGE KALDIRILDI */
    .eg-hero-img {
        margin: 5px auto !important;
        height: 45vh !important;
        /* Daha büyük görsel */
        width: auto;
        max-width: 60vw;
        object-fit: contain;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
        /* GÖLGE YOK */
    }

    /* Buton: Ayarlandı */
    .eg-water-btn {
        margin-top: 5px !important;
        padding: 0.8vh 3vh !important;
        font-size: 2.5vh !important;
        border-radius: 50px;
        transform: none !important;
        opacity: 1 !important;
    }

    /* NAVİGASYON: GERİ GELDİ ve KÜÇÜLTÜLDÜ */
    .eg-bottom-nav-container {
        display: flex !important;
        /* Görünür yap */
        height: 40px !important;
        /* Çok daha kısa */
        background: rgba(0, 0, 0, 0.3) !important;
    }

    .eg-nav-item {
        padding: 0 10px !important;
        /* Daha dar */
    }

    .eg-nav-item i {
        display: none !important;
        /* İkonları gizle */
    }

    .eg-nav-item span {
        font-size: 0.6rem !important;
        /* Küçük yazı */
        letter-spacing: 0 !important;
    }
}

/* ==========================================================================
   HAKKIMIZDA (#ertas-premium-about)
   ========================================================================== */

#ertas-premium-about {
    padding: 40px 0 50px;
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.ertas-bg-year-right {
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    font-size: clamp(150px, 20vw, 400px);
    font-weight: 900;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    color: #f2f5f8;
    letter-spacing: -2px;
    white-space: nowrap;
    text-align: right;
    width: 50%;
}

.ertas-wide-container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.ertas-media-comp {
    flex: 0 0 45%;
    display: flex;
    height: 600px;
}

.ertas-img-cutout {
    flex: 1;
    position: relative;
    background-color: #eee;
    border-radius: 0 12px 12px 0;
    overflow: hidden;
    clip-path: polygon(0% 0%, 100% 0%,
            100% 20%, 88% 20%, 88% 40%, 100% 40%,
            100% 60%, 88% 60%, 88% 80%, 100% 80%,
            100% 100%, 0% 100%);
}

.ertas-img-primary,
.ertas-img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ertas-img-primary {
    opacity: 1;
    transform: scale(1);
}

.ertas-img-secondary {
    opacity: 0;
    transform: scale(1.1);
}

.ertas-media-comp:hover .ertas-img-primary {
    opacity: 0;
    transform: scale(1.05);
}

.ertas-media-comp:hover .ertas-img-secondary {
    opacity: 1;
    transform: scale(1);
}

.ertas-info-col {
    flex: 1;
    padding-left: 20px;
    position: relative;
    z-index: 5;
}

.ertas-badge {
    font-size: 0.85rem;
    color: #1B6AC9;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
    display: inline-block;
    text-transform: uppercase;
    position: relative;
    padding-left: 45px;
}

.ertas-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background: #247CE1;
}

.ertas-main-head {
    font-size: 3.5rem;
    font-weight: 400;
    color: #111;
    line-height: 1.1;
    margin-bottom: 45px;
}

.ertas-handwriting {
    /* Vurgu satırı (DB içeriğinde kullanılıyor): harici el yazısı fontu yerine Montserrat */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #247CE1;
    font-size: 1em;
    letter-spacing: -0.02em;
    line-height: 1.1;
    display: block;
    margin-top: 10px;
}

.ertas-desc-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
    margin-bottom: 25px;
    max-width: 90%;
}

.ertas-pill-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 18px 55px;
    background: transparent;
    border: 1px solid #247CE1;
    color: #1B6AC9;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    border-radius: 50px;
    transition: color 0.4s ease;
    z-index: 1;
    letter-spacing: 0.5px;
}

.ertas-pill-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #247CE1;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 50px;
}

.ertas-pill-btn:hover {
    color: #fff;
}

.ertas-pill-btn:hover::before {
    width: 100%;
}

.ertas-pill-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.ertas-pill-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 1200px) {
    .ertas-main-head {
        font-size: 2.8rem;
    }
}

@media (max-width: 1024px) {
    .ertas-wide-container {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
        gap: 50px;
    }

    .ertas-media-comp {
        width: 100%;
        height: 400px;
    }

    .ertas-bg-year-right {
        position: relative;
        top: auto;
        right: auto;
        margin-top: -100px;
        font-size: 120px;
        width: 100%;
        text-align: right;
        opacity: 0.5;
    }

    .ertas-main-head {
        font-size: 2.2rem;
    }

    .ertas-handwriting {
        line-height: 1.1;
    }
}

/* ==========================================================================
   İŞTİRAKLER (#ertas-sirketler-wrapper)
   ========================================================================== */

#ertas-sirketler-wrapper {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #0020AF 0%, #001260 100%);
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: clamp(60px, 8vh, 120px) 0;
    z-index: 1;
}

/* ÜST BAR (Başlık ve Yön Tuşları) */
.ertas-sirketler-top-bar {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.ertas-sirketler-top-title {
    /* h2 etiketi: genel başlık kurallarını sıfırla */
    margin: 0;
    line-height: normal;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

/* OKLAR (Navigasyon) - TEMİZ HOVER EFEKTİ (Dönme/Loading Yok) */
.ertas-sirketler-nav {
    display: flex;
    gap: 15px;
}

.ertas-sirketler-btn {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #fff;
}

/* Okların hover durumu: Beyaz arka plan, Kurumsal Lacivert İkon */
.ertas-sirketler-btn:hover {
    background: #fff;
    color: #0020AF;
    border-color: #fff;
    transform: scale(1.05);
    /* Çok hafif büyüme hissi */
}

/* SWIPER AYARLARI */
.ertas-sirketler-swiper {
    width: 100%;
    flex-grow: 1;
    display: flex;
}

.ertas-sirketler-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ertas-sirketler-swiper .swiper-slide-active {
    z-index: 5;
}

/* KART İÇERİĞİ - 3'LÜ IZGARA */
.ertas-sirketler-slide-content {
    max-width: 1400px;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 40px;
}

/* SOL: METİN BÖLÜMÜ */
.ertas-sirketler-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ertas-sirketler-main-title {
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 30px;
}

.ertas-sirketler-sub-title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.ertas-sirketler-desc {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 350px;
    margin-bottom: 40px;
}

/* AKSİYON BUTONLARI & SOLDAN SAĞA DOLUM EFEKTİ */
.ertas-sirketler-actions {
    display: flex;
    gap: 15px;
}

.ertas-sirketler-action-btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Dolumun buton dışına taşmasını engeller */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* İkon ile yazı arası boşluk */
    z-index: 1;
}

/* Dolum arka planı için ::before elementi */
.ertas-sirketler-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    transition: width 0.4s ease-in-out;
    z-index: -1;
}

/* Hover olunca genişlik %100 olur ve soldan sağa dolar */
.ertas-sirketler-action-btn:hover::before {
    width: 100%;
}

/* Outline Buton Özellikleri (Arka planda kaybolmasın diye BEYAZ dolar) */
.ertas-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.ertas-btn-outline::before {
    background: #fff;
    /* Hover olunca BEYAZ ile dolar */
}

.ertas-btn-outline:hover {
    color: #0020AF;
    /* Dolduğunda yazı kurumsal laciverte döner (Kontrast için) */
    border-color: #fff;
}

/* Filled Buton Özellikleri */
.ertas-btn-filled {
    background: #1B6AC9;
    /* Ana Mavi */
    color: #fff;
    border: 1px solid #247CE1;
}

.ertas-btn-filled::before {
    background: #0020AF;
    /* Hover olunca Koyu Lacivert ile dolar */
}

.ertas-btn-filled:hover {
    border-color: #0020AF;
}

/* ORTA: GÖRSEL VE LOGO BÖLÜMÜ */
.ertas-sirketler-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
}

.ertas-sirketler-png {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 30px 40px rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.ertas-sirketler-swiper .swiper-slide-active .ertas-sirketler-png {
    animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Logo Çemberi */
.ertas-sirketler-logo-wrapper {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ertas-sirketler-logo {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* SAĞ: İSTATİSTİK BÖLÜMÜ */
.ertas-sirketler-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.ertas-sirketler-stat-item {
    display: flex;
    flex-direction: column;
}

.ertas-sirketler-stat-value {
    font-size: 3.5rem;
    font-weight: 300;
    color: #247CE1;
    /* Marka Açık Mavisi */
    line-height: 1;
    display: flex;
    align-items: baseline;
}

.ertas-sirketler-stat-unit {
    font-size: 1rem;
    font-weight: 500;
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.ertas-sirketler-stat-label {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    margin-top: 10px;
}

/* RESPONSIVE (Mobil Uyumluluk) */
@media (max-width: 1400px) {
    .ertas-sirketler-slide-content {
        gap: 20px;
        grid-template-columns: 1.2fr 1.5fr 1fr;
    }

    .ertas-sirketler-main-title {
        font-size: 3.5rem;
    }

    .ertas-sirketler-center {
        height: 500px;
    }

    .ertas-sirketler-stat-value {
        font-size: 2.8rem;
    }
}

@media (max-width: 1024px) {
    .ertas-sirketler-slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .ertas-sirketler-left {
        align-items: center;
    }

    .ertas-sirketler-desc {
        max-width: 100%;
    }

    .ertas-sirketler-right {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }

    .ertas-sirketler-center {
        height: 400px;
        margin: 30px 0;
    }

    .ertas-sirketler-main-title {
        font-size: 3rem;
    }
}

@media (min-width: 2500px) {
    .ertas-sirketler-top-bar {
        max-width: 1800px;
    }

    .ertas-sirketler-top-title {
        font-size: 1.3rem;
    }

    .ertas-sirketler-btn {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }

    .ertas-sirketler-slide-content {
        max-width: 1800px;
        gap: 60px;
    }

    .ertas-sirketler-main-title {
        font-size: 6rem;
        margin-bottom: 40px;
    }

    .ertas-sirketler-sub-title {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .ertas-sirketler-desc {
        font-size: 1.25rem;
        max-width: 480px;
        margin-bottom: 50px;
    }

    .ertas-sirketler-action-btn {
        font-size: 1.1rem;
        padding: 16px 35px;
    }

    .ertas-sirketler-center {
        height: 800px;
    }

    .ertas-sirketler-logo-wrapper {
        width: 170px;
        height: 170px;
        bottom: 30px;
    }

    .ertas-sirketler-stat-value {
        font-size: 4.8rem;
    }

    .ertas-sirketler-stat-unit {
        font-size: 1.3rem;
    }

    .ertas-sirketler-stat-label {
        font-size: 1.3rem;
        margin-top: 15px;
    }
}

@media (min-width: 3800px) {
    .ertas-sirketler-top-bar {
        max-width: 2600px;
        margin-bottom: 60px;
    }

    .ertas-sirketler-top-title {
        font-size: 1.8rem;
    }

    .ertas-sirketler-btn {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
    }

    .ertas-sirketler-slide-content {
        max-width: 2600px;
        gap: 100px;
    }

    .ertas-sirketler-main-title {
        font-size: 9rem;
        margin-bottom: 60px;
    }

    .ertas-sirketler-sub-title {
        font-size: 1.8rem;
        margin-bottom: 45px;
    }

    .ertas-sirketler-desc {
        font-size: 1.8rem;
        max-width: 700px;
        margin-bottom: 70px;
        line-height: 1.9;
    }

    .ertas-sirketler-action-btn {
        font-size: 1.6rem;
        padding: 24px 50px;
    }

    .ertas-sirketler-center {
        height: 1200px;
    }

    .ertas-sirketler-logo-wrapper {
        width: 250px;
        height: 250px;
        bottom: 40px;
    }

    .ertas-sirketler-stat-value {
        font-size: 7rem;
    }

    .ertas-sirketler-stat-unit {
        font-size: 2rem;
    }

    .ertas-sirketler-stat-label {
        font-size: 2rem;
        margin-top: 20px;
    }
}

/* ==========================================================================
   REFERANS LOGOLARI (.ertas-referans-area)
   ========================================================================== */

.ertas-referans-area {
    background-color: #ffffff;
    padding: 2.5rem 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.ertas-referans-swiper {
    width: 100%;
    height: 65px;
}

.ertas-referans-track {
    transition-timing-function: linear !important;
}

.ertas-referans-slide {
    width: 160px !important;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ertas-referans-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 992px) {
    .ertas-referans-area {
        padding: 2rem 0;
    }

    .ertas-referans-swiper {
        height: 55px;
    }

    .ertas-referans-slide {
        width: 140px !important;
    }
}

@media (max-width: 576px) {
    .ertas-referans-area {
        padding: 1.5rem 0;
    }

    .ertas-referans-swiper {
        height: 40px;
    }

    .ertas-referans-slide {
        width: 100px !important;
    }
}

/* ==========================================================================
   SAYAÇLAR / VİDEO / İLETİŞİM (#ertas-stats-section)
   ========================================================================== */

#ertas-stats-section {
    padding: 40px 0;
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.ertas-stats-container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
}

/* --- ÜST BAŞLIK --- */
.ertas-stats-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.ertas-location-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1B6AC9;
}

.ertas-header-desc {
    max-width: 600px;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    color: #444;
    text-align: right;
}

/* --- GRID YAPISI --- */
.ertas-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 25px;
    align-items: stretch;
}

/* --- ORTAK KART --- */
.ertas-stat-card {
    position: relative;
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    min-height: 520px;

    border-radius: 24px;
}

.ertas-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(36, 124, 225, 0.15);
}

#ertas-stats-section .blue-overlay-card {
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #247CE1;
}

#ertas-stats-section .card-left {
    background-image: linear-gradient(rgba(36, 124, 225, 0.92),
            rgba(1, 13, 27, 0.92)), url('../../storage/_r/640/frontend/img/slider2.webp');

    clip-path: polygon(0% 0%,
            65% 0%,
            75% 12%,
            100% 12%,
            100% 100%,
            0% 100%);
}

#ertas-stats-section .stats-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
}

#ertas-stats-section .stat-item {
    display: flex;
    flex-direction: column;
}

.ertas-big-stat {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 5px;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: baseline;
}

#ertas-stats-section .stat-suffix {
    font-size: 2rem;
    margin-left: 5px;
    font-weight: 500;
}

#ertas-stats-section .stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

#ertas-stats-section .card-center {
    position: relative;
    background-color: #000;
    overflow: hidden;
    color: #fff;

    clip-path: polygon(0% 12%,
            100% 12%,
            100% 100%,
            0% 100%);
}

.ertas-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    z-index: 0;
    transition: transform 0.6s ease;
}

#ertas-stats-section .card-center:hover .ertas-video-bg {
    transform: scale(1.05);
    opacity: 0.8;
}

#ertas-stats-section .center-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 60px;
}

#ertas-stats-section .card-right {
    background-image: linear-gradient(rgba(36, 124, 225, 0.92),
            rgba(1, 13, 27, 0.92)), url('../../storage/_r/640/frontend/img/cardbg.webp');

    text-align: center;
    align-items: center;
    justify-content: center;

    clip-path: polygon(0% 12%,
            25% 12%,
            35% 0%,
            100% 0%,
            100% 100%,
            0% 100%);
}

.ertas-card-title {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ertas-card-desc {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 400;
}

#ertas-stats-section .icon-box {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

#ertas-stats-section .action-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
}

#ertas-stats-section .action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #1B6AC9;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#ertas-stats-section .action-btn:hover {
    background: #111;
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .ertas-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ertas-header-desc {
        text-align: left;
    }

    #ertas-stats-section .card-left,
    #ertas-stats-section .card-center,
    #ertas-stats-section .card-right {
        clip-path: none;
        border-radius: 20px;
        min-height: 350px;
    }

    #ertas-stats-section .center-content {
        padding-top: 0;
    }

    #ertas-stats-section .stats-wrapper {
        flex-direction: row;
        justify-content: space-between;
        gap: 15px;
    }

    .ertas-big-stat {
        font-size: 3rem;
    }
}

/* ==========================================================================
   TANITIM VİDEOSU (#ertas-tanitim-wrapper)
   ========================================================================== */

#ertas-tanitim-wrapper {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 500px;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    background-color: #000;
}

/* ARKA PLAN VİDEOSU */
.ertas-tanitim-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.ertas-tanitim-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 0%, rgba(0, 32, 175, 0.85) 100%);
}

.ertas-tanitim-content {
    position: relative;
    z-index: 5;
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ertas-tanitim-right {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ertas-tanitim-slogan {
    font-size: 4rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.ertas-tanitim-subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 450px;
    line-height: 1.6;
}

.ertas-text-highlight {
    color: #247CE1;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .ertas-tanitim-content {
        /* flex-direction: column-reverse; */
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    .ertas-tanitim-overlay {
        background: linear-gradient(to bottom, rgba(0, 32, 175, 0.85) 0%, rgba(0, 0, 0, 0.3) 100%);
    }

    .ertas-tanitim-right {
        text-align: center;
        align-items: center;
        margin-bottom: 40px;
    }

    .ertas-tanitim-slogan {
        font-size: 2.5rem;
    }

    .ertas-tanitim-subtext {
        max-width: 100%;
    }

}

/* ==========================================================================
   HABERLER (#ertas-news-v2-section)
   ========================================================================== */

#ertas-news-v2-section {
    position: relative;
    padding: 50px 0;
    background-color: #fafafa;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

/* CONTAINER */
.ertas-news-v2-container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    position: relative;
}

/* --- HEADER ALANI --- */
.ertas-news-v2-header {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.ertas-news-v2-header-left {
    display: flex;
    flex-direction: column;
}

.ertas-news-v2-subtitle {
    color: #1B6AC9;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.ertas-news-v2-main-title {
    color: #1a1a1a;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.5px;
}

/* --- NAVIGASYON BUTONLARI --- */
.ertas-news-v2-nav-wrapper {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
}

.ertas-news-v2-nav-btn {
    appearance: none;
    padding: 0;
    font-family: inherit;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: transparent;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none;
}

.ertas-news-v2-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.ertas-news-v2-nav-btn:focus-visible,
.ertas-news-v2-card-link:focus-visible,
.ertas-sirketler-btn:focus-visible {
    outline: 2px solid #247CE1;
    outline-offset: 3px;
}

.ertas-news-v2-nav-btn:hover {
    border-color: #0020AF;
    background: #0020AF;
    color: #fff;
}

/* --- KART YAPISI --- */
.ertas-news-v2-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    outline: none;
}

/* 1. GÖRSEL ÇERÇEVESİ */
.ertas-news-v2-img-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #eee;
    transform: translateZ(0);
}

/* --- OVERLAY EKLEMESİ (YENİ KISIM) --- */
.ertas-news-v2-img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Tüm alanı kapla */
    background: linear-gradient(to top, rgba(0, 32, 175, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
    /* Resmin üstünde, FAB'ın altında */
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Hover olunca overlay kalksın */
.ertas-news-v2-card-link:hover .ertas-news-v2-img-frame::after {
    opacity: 0;
}

/* ------------------------------------- */

.ertas-news-v2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

/* Hover Zoom */
.ertas-news-v2-card-link:hover .ertas-news-v2-img {
    transform: scale(1.1);
}

.ertas-news-v2-fab {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 2;
    /* Overlay'in üstünde kalmalı */
    transition: all 0.4s ease;
}

.ertas-news-v2-fab i {
    color: #1a1a1a;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

/* Kart Hover Durumu */
.ertas-news-v2-card-link:hover .ertas-news-v2-fab {
    background: #0020AF;
    transform: scale(1.1);
}

.ertas-news-v2-card-link:hover .ertas-news-v2-fab i {
    color: #ffffff;
    transform: rotate(-45deg);
}

/* 3. İÇERİK ALANI */
.ertas-news-v2-content {
    padding: 0 5px;
}

/* Tarih */
.ertas-news-v2-meta {
    font-size: 0.8rem;
    color: #6b6b6b;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.ertas-news-v2-meta::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background: #247CE1;
    border-radius: 50%;
}

/* Başlık */
.ertas-news-v2-card-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.ertas-news-v2-card-link:hover .ertas-news-v2-card-title {
    color: #0020AF;
}

@media (max-width: 992px) {
    .ertas-news-v2-main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .ertas-news-v2-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .ertas-news-v2-card-title {
        font-size: 1.3rem;
    }

    .ertas-news-v2-fab {
        background: #0020AF;
        width: 45px;
        height: 45px;
    }

    .ertas-news-v2-fab i {
        color: #fff;
    }
}

/* ==========================================================================
   AZALTILMIŞ HAREKET TERCİHİ
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .ertas-slider-module *,
    #ertas-premium-about *,
    #ertas-sirketler-wrapper *,
    #ertas-stats-section *,
    #ertas-news-v2-section * {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
}
