﻿html {
    font-family: 'Inter', sans-serif !important;
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }   
}

@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1520px !important;
    }
}

@media (min-width: 2000px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1860px !important;
    }
}

body {
    font-family: 'Inter', sans-serif !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* en az ekran yüksekliği kadar footer in yukarı cıkıp beyazlasmasını onledik*/
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Navbar ayarlarını düzenle */
.navbar {
    position: absolute;
    top: 0; /* Sayfanın en üst kısmına yerleşecek */
    left: 0;
    right: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
}

    .navbar .container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.container > #navbarCenter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 2rem;
    z-index: 2;
}

@media (min-width: 768px) {
    .px-md-8 {
        padding-right: 8rem !important;
        padding-left: 8rem !important;
    }
}
/* Navbar collapse kısmını ortada bırak */
.navbar .navbar-collapse {
    flex-grow: 1;
    justify-content: center;
}

/* Butonun konumunu sağa yasla */
.navbar .btn {
    margin-left: auto;
}

/* Logo ve text arasındaki boşluğu kaldırmak için */
.navbar .navbar-brand {
    color: #757575;
}

    .navbar .navbar-brand img {
        margin-right: 10px; /* Logo ile yazı arasındaki boşluğu ayarlayın */
    }
/* place this after your Bootstrap CSS */
/* Use Bootstrap’s “secondary” grey, or substitute your own hex */
.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:hover .ms-2,
.navbar-brand:focus .ms-2 {
    color: #757575 !important; /* or your preferred grey */
}

.navbar .navbar-brand {
    font-family: Inter;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

.navbar .navbar-nav .nav-link {
    color: #000 !important;
    font-family: 'Inter';
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease; /* Yumuşak bir geçiş efekti ekledik */
}

.navbar .nav-link:hover {
    color: #02B48C !important; /* Hover durumunda renk değişimi (isteğe bağlı) */
}

.nav-link__green-uline::before {
    content: '';
    position: absolute;
    bottom: -5px; /* Yazının hemen altına yerleştiriyoruz */
    left: 0;
    width: 0%;
    height: 3px; /* Çizginin kalınlığı */
    background-color: #02B48C; /* Yeşil renk */
    transition: all .5s;
}

/* Menü öğelerinin hover durumunda yeşil çizgi eklenmesi */
.nav-link__green-uline:hover::before {
    content: '';
    position: absolute;
    bottom: -5px; /* Yazının hemen altına yerleştiriyoruz */
    left: 0;
    width: 100%;
    height: 3px; /* Çizginin kalınlığı */
    background-color: #02B48C; /* Yeşil renk */
    transition: all .5s;
}

.navbar .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* ---------- Dropdown container (card) ---------- */
.custom-report-dropdown, .custom-report-dropdown.show {
    position: absolute;
    top: 100%; /* tam toggle’ın altına yapışsın */
    margin-top: -2px; /* toggle’ın altında -2px overlap oluşturur */
    /* translateY’yi de kaldırıyoruz, transform artık sadece X: */
    left: 50%;
    transform: translateX(-50%);
    width: 320px; /* ihtiyacına göre genişlik */
    background: #fff;
    border: none; /* Bootstrap default border kalksın */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem; /* iç boşluk */
    z-index: 2000;
}

    /* Bootstrap’in min-width ve padding’ini resetleyelim */
    .custom-report-dropdown.dropdown-menu {
        min-width: 0;
    }

/* ---------- Butonları grid ile dizme ---------- */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 12px; /* satır-arası 8px, sütun-arası 12px */
}

/* ---------- Yıl “pill” görünümü ---------- */
.report-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border: 1px solid #6c8e5a; /* görseldeki zeytin-yeşili */
    border-radius: 20px;
    background: #fff;
    color: #373737;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s ease;
}

    .report-pill i {
        margin-left: 6px;
        font-size: 16px;
    }

    .report-pill:hover {
        background: #f2f2f2;
        border-color: #5a6f4b;
    }

/* ---------- Ayırıcı çizgi ---------- */
.dropdown-divider {
    height: 1px;
    background-color: #e5e5e5;
    margin: 0;
}

/* ---------- “Tümünü Gör” butonu ---------- */
.btn-view-all {
    display: block;
    width: 100%;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    color: #373737;
    background-color: #f2f2f2;
    border-radius: 20px;
    transition: background .2s ease;
}

    .btn-view-all:hover {
        background-color: #e0e0e0;
    }

body {
    margin: 0;
}
/* Hero container’ı relative yapıyoruz ki overlay içindeki absolute çalışsın */
/* Hero veya istediğin section */
.hero {
    position: relative;
    height: 100vh; /* istediğin yükseklik */
}


/* HERO */
.hero-section {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1;
    }

    .hero-section .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        color: white;
        padding-top: 120px; /* <<< bu satırı ekledik */
        margin-bottom: 40vh; /* istersen biraz azaltabilirsin */
    }

    .hero-section a.custom-button {
        margin-top: 3150px; /* butonun aşağı inmesini sağlar */
    }
/* KARTLAR: overlap */
.cards-overlap {
    position: relative;
    z-index: 2;
    margin-top: -20vh;
}

    .cards-overlap .card {
        border-radius: .75rem;
        overflow: hidden;
    }

.card-img-overlay {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card {
    border: 5px solid white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
}

    .card .btn {
        border-color: white;
        color: white;
    }

.custom-footer {
    background-color: #1c1c1c;
    color: #fff;
    position: relative;
    padding: 3rem 0 2rem; /* üstten biraz daha boşluk */
    font-family: 'Inter', sans-serif;
}

/* --- ÜST BLOK --- */
.footer-upper {
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 2rem;
    border-radius: 16px;
    padding-top: 22px;
    padding-right: 32px;
    padding-bottom: 22px;
    padding-left: 32px;
    border-width: 1px;
}

.footer-slogan {
    background-color: #00b279;
    font-size: 1rem;
}


    .footer-slogan .text-emphasis {
        color: #ffffff;
        text-decoration: underline;
    }

.footer-slogan {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1.3rem 0;
    background-color: rgb(64 83 53 / 80%);
    background-image: url(../images/footer-slogan-bg.png);
    background-blend-mode: soft-light;
    color: #F4E5EA;
    box-shadow: inset 0px 0px 90px 20px #02B48C;
}

    .footer-slogan .footer-ikinci-yazi {
        font-weight: 600;
    }

    .footer-slogan mt-5 py-3 {
        margin-top: 2rem !important;
    }

    .footer-slogan .footer-top-text {
        color: #F4E5EA;
        font-weight: 400;
        font-size: 1rem;
        line-height: 23px;
        letter-spacing: 0.5px;
        display: contents; /*mobil responsive olması icin gerekli ikinci yaziyi alt satira kaydir*/
    }


.form-check form-switch {
    padding-left: 0 !important;
}

.form-check {
    padding-left: 0 !important;
}
/* Kurumsal linkler */
.footer-links a {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    display: block;
    color: #F9F2E2;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

    .footer-links a:hover {
        text-decoration: underline;
    }

/* Logolar */
.footer-logos img {
    vertical-align: middle;
}

/* Sosyal ikonlar */
.footer-social a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
}

    .footer-social a:hover {
        color: #00b279;
    }

.footer-social img:hover {
    color: #00b279;
}

/* --- ALT BLOK --- */
.footer-lower a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

    .footer-lower a:hover {
        text-decoration: underline;
    }

.policy-links a {
    font-family: Inter;
    font-weight: 400;
    font-size: 14.75px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: right;
    color: #F9F2E2;
}

.footerBilgi {
    font-family: Inter;
    color: #F9F2E2;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0%;
    /*text-align: left;*/
    margin-left: 4rem;
}

/* Responsive düzenleme */
@media (max-width: 767px) {

    .footer-upper {
        text-align: center;
    }


    .footer-lower {
        text-align: center;
        display:block !important;
    }

    .lang-toggle {
        padding-right: 0.5rem;
    }

    .footerBilgi {
        margin-left: 0 !important;
    }

    .footer-lower {
        display: none !important;
    }
    .footer-social{
        margin-top:1.5rem !important;
    }
}

/* Ortak buton stilleri */
.custom-button {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Yazı ile ikon arasında boşluk */
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .custom-button img {
        height: 20px; /* İkon boyutu */
        transition: transform 0.3s ease;
    }

    /* Transparan buton stilleri */
    .custom-button.transparent {
        background: transparent;
        color: #F8F8F8; /* Yazı rengi beyaz */
        border: 2px solid #F8F8F8; /* Border rengi beyaz */
        font-weight: 600;
    }

        .custom-button.transparent:hover {
            background-color: rgba(248, 248, 248, 0.1); /* Hafif şeffaf arka plan hover'da */
        }

            .custom-button.transparent:hover img {
                transform: scale(1.1); /* Hover efekti: İkonu büyütme */
            }

    /* Index butonu stilleri */
    /*.custom-button.index-button {
        background: white;
        color: #68815A;*/ /* Yazı rengi #68815A */
    /*border: 2px solid #68815A;*/ /* Border rengi #68815A */
    /*}

        .custom-button.index-button:hover {
            background-color: #f1f1f1;*/ /* Hover efekti: Hafif gri arka plan */
    /*}

            .custom-button.index-button:hover img {
                transform: scale(1.1);*/ /* Hover efekti: İkonu büyütme */
    /*}*/
    /* Diğer sayfalar için yeşil buton stilleri */
    .custom-button.btn-green {
        background: #02B48C; /* Yeşil zemin */
        color: #fff; /* Beyaz yazı */
        border: 2px solid #fff; /* Beyaz border */
    }

        .custom-button.btn-green:hover {
            background-color: #028B6E; /* Koyu yeşil hover */
        }

        .custom-button.btn-green img {
            filter: brightness(0) saturate(100%) invert(100%);
        }


/* Hero Section başlığı için yazı tipi */
.hero-section h1 {
    font-family: 'Cactus Classical Serif', serif; /* Cactus Classical Serif */
    font-weight: 400 !important; /* Kalın yazı */
}

/* Buton için yazı tipi */
.hero-section a.custom-button {
    font-family: 'Inter', sans-serif; /* Inter */
    font-weight: 600; /* Orta kalınlıkta font */
}

/* Diğer metinler için yazı tipi */
.hero-section p {
    font-family: 'Cabin', sans-serif; /* Cabin */
    font-weight: 700; /* Normal yazı */
}

:root {
    /* min 60px, ideal %15, max 80px genişlik */
    --lang-width: clamp(60px, 15%, 80px);
    /* min 24px, ideal 4vw, max 32px yükseklik */
    --lang-height: clamp(24px, 4vw, 32px);
    /* thumb içi boşluk kadar küçülsün: height - 8px (padding 4px üst-alt) */
    --thumb-size: calc(var(--lang-height) - 8px);
    /* font-size da responsive: min 12px, ideal 1.5vw, max 16px */
    --font-size: clamp(12px, 1.5vw, 16px);
    --green: #00b279;
    --blue: #0055FF;
    --text-col: #F4E5EA;
}

/* Pill track */
.lang-toggle {
    position: relative;
    display: inline-block;
    width: var(--lang-width);
    height: var(--lang-height);
    background: #028367;
    border-radius: var(--lang-height);
    cursor: pointer;
    transition: background 0.3s;
}

/* Thumb */
.lang-thumb {
    position: absolute;
    top: 4px; /* 4px üst boşluk */
    left: 4px; /* 4px sol boşluk */
    width: var(--thumb-size);
    height: var(--thumb-size);
    background: #fff;
    border-radius: 50%;
    transition: left 0.3s;
}

/* İçerik (TR/EN) */
.lang-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 4px; /* kenarlardan küçülttük */
    color: var(--text-col);
    font-family: 'Inter', sans-serif;
    font-size: var(--font-size);
    user-select: none;
    pointer-events: none;
}

    /* TR/EN overlap düzeltmesi */
    .lang-content .lang-tr,
    .lang-content .lang-en {
        display: inline-block;
        white-space: nowrap;
        transition: opacity 0.3s ease, width 0.3s ease, margin 0.3s ease;
    }

    .lang-content .lang-tr {
        opacity: 1;
        width: auto;
        margin-left: 4px; /* küçültüldü */
    }

    .lang-content .lang-en {
        opacity: 0;
        width: 0;
        margin: 0;
        overflow: hidden;
    }

/* Checked durumu */
#langSwitch:checked + .lang-toggle {
    background: var(--blue);
}

    #langSwitch:checked + .lang-toggle .lang-thumb {
        left: calc(100% - var(--thumb-size) - 4px);
    }

    #langSwitch:checked + .lang-toggle .lang-content {
        justify-content: flex-start;
    }

    #langSwitch:checked + .lang-toggle .lang-tr {
        opacity: 0;
        width: 0;
        margin: 0;
    }

    #langSwitch:checked + .lang-toggle .lang-en {
        opacity: 1;
        width: auto;
        margin-left: 4px;
    }
