    html {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    }

    @media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    }

    .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;
    }

    html {
    position: relative;
    min-height: 100%;
    }

    body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
    }

    .form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
    }

    .form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
    }

    /* Ana container boyutları */
    .main-container {
        width: 100%;
        min-height: 100vh;
        margin: 0 auto;
        position: relative;
        background-color: #ffffff;
    }

    /* Temel stil resetleri */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        -webkit-text-size-adjust: none;
        -ms-text-size-adjust: none;
        text-size-adjust: none;
    }

    html, body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    body {
        background-color: #ffffff;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        display: flex;
        justify-content: center;
    }

    .site-container {
        width: 100%;
        max-width: 1920px;
        background-color: #ffffff;
        position: relative;
        margin: 0 auto;
        padding: 0;
        min-height: 3800px;
    }

    /* Header şeridi */
    .top-header-strip {
        width: 100%;
        height: 80px;
        background-color: #255938;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-content-wrapper {
        width: 100%;
        max-width: 1920px;
        height: 100%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding: 0 20px;
    }

    .header-slogan {
        width: 411px;
        height: 41px;
        font-family: 'Book Antiqua', serif;
        color: #ffffff;
        font-size: 29px;
        line-height: 41px;
        text-align: center;
        white-space: nowrap;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        letter-spacing: 3px;
    }

    .social-icons {
        position: absolute;
        right: 600px;
        top: 29px;
        height: 23px;
        display: flex;
        align-items: center;
        gap: 23px;
        
        
    }

    .social-icon {
        color: #ffffff;
        text-decoration: none;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease;
    }

    .social-icon:hover {
        opacity: 0.8;
        color: #ffffff;
    }

    .header-phone {
        width: auto;
        height: 23px;
        position: absolute;
        right: 30px;
        top: 29px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 400;
        font-size: 20px;
        line-height: 23px;
        color: #ffffff;
        display: flex;
        align-items: center;
        gap: 10px;
        white-space: nowrap;
        letter-spacing: 1px;
    }

    .header-phone i {
        font-size: 20px;
        margin-left: 18px;
    }

    /* İkinci header şeridi */
    .second-header-strip {
        width: 100%;
        height: 164px;
        background-color: #efecec;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-content {
        width: 100%;
        max-width: 1920px;
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
    }

    .header-logo {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 93px;
        height: 93px;
        margin-right: 20px;
    }

    .header-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .menu-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        flex: 1;
        padding: 0 20px;
    }

    .anasayfa-text, .kurumsal, .birimler, .projeler, .haberler, .kent-rehberi, .galeri, .e-belediye, .iletisim {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0;
        font-family: 'Open Sans', sans-serif;
        font-weight: 700;
        font-size: 16px;
        color: #000000;
        text-transform: uppercase;
        line-height: 20px;
        cursor: pointer;
        white-space: nowrap;
        padding-bottom: 0;
        z-index: 1001;
    }

    .menu-item {
        font-family: 'Open Sans', sans-serif;
        font-weight: 700;
        font-size: 16px;
        color: #000000;
        text-transform: uppercase;
        line-height: 20px;
        cursor: pointer;
        position: relative;
        white-space: nowrap;
        top: auto;
        transform: none;
        margin: 0;
        z-index: 1001;
    }

    /* Menu item hover effects and after elements */
    .kurumsal::after,
    .birimler::after,
    .haberler::after,
    .kent-rehberi::after,
    .galeri::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -2px;
        left: 0;
        background-color: #255938;
        transition: width 0.3s ease;
        z-index: 1100;
    }

    .kurumsal:hover::after,
    .birimler:hover::after,
    .haberler:hover::after,
    .kent-rehberi:hover::after,
    .galeri:hover::after {
        width: 100%;
    }

    .kurumsal:hover,
    .birimler:hover,
    .haberler:hover,
    .kent-rehberi:hover,
    .galeri:hover {
        color: #255938;
    }

    /* Dropdown menü stilleri ve görünürlük */
    .kurumsal-dropdown,
    .birimler-dropdown,
    .haberler-dropdown,
    .kent-rehberi-dropdown,
    .galeri-dropdown {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        background-color: #ffffff;
        padding: 10px 0;
        border-radius: 4px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        min-width: 220px;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transition */
        visibility: hidden;
        pointer-events: none; /* Gizliyken etkileşimi engelle */
        transition-delay: 0s, 0.3s; /* Fare ayrıldığında görünürlük gecikmesi */
    }

    .kurumsal:hover .kurumsal-dropdown,
    .birimler:hover .birimler-dropdown,
    .haberler:hover .haberler-dropdown,
    .kent-rehberi:hover .kent-rehberi-dropdown,
    .galeri:hover .galeri-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto; /* Görünürken etkileşime izin ver */
        transition-delay: 0s, 0s; /* Fare girdiğinde gecikme yok */
    }

    /* Hover bridge (eğer kullanılıyorsa) */
    .kurumsal::before,
    .birimler::before,
    .haberler::before,
    .kent-rehberi::before,
    .galeri::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 20px; /* Köprü yüksekliği */
        background: transparent;
        z-index: 1001;
    }

    .dropdown-item {
        padding: 12px 25px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 700;
        font-size: 14px;
        color: #333333;
        text-transform: uppercase;
        white-space: nowrap;
        cursor: pointer;
        display: block;
        text-decoration: none;
    }

    .dropdown-item:hover {
        background-color: #f8f8f8;
        color: #255938;
    }

    .leader {
        font-family: 'Open Sans', sans-serif;
        font-weight: 700;
        font-size: 16px;
        color: #000000;
        text-transform: uppercase;
        line-height: 20px;
        cursor: pointer;
        position: relative;
        white-space: nowrap;
        text-decoration: none;
        margin-left: 0;
        padding-bottom: 2px;
        border-bottom: 2px solid #000000;
    }

    .leader:hover {
        color: #255938;
    }

    /* Mobil görünümde YEGDER logosunu gizle */
    @media screen and (max-width: 992px) {
        .leader {
            display: none;
        }

        .header-logo {
            position: absolute;
            left: 50%;
            top: 44px;
            transform: translateX(-50%);
            width: 80px;
            height: 80px;
        }

        .hamburger-menu {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
        }

        .header-phone {
            display: none;
        }
    }

    .menu-item a {
        color: #000000;
        text-decoration: none;
    }

    .menu-item a:hover {
        color: #255938;
    }

    @font-face {
        font-family: 'Book Antiqua';
        src: local('Book Antiqua');
    }

    @font-face {
        font-family: 'Open Sans';
        src: local('Open Sans Regular'), local('OpenSans-Regular');
        font-weight: 400;
        font-style: normal;
    }

    /* Responsive styles for screens larger than 992px */
    @media screen and (min-width: 992px) {
        .header-content {
            width: 100%;
            max-width: 1920px;
            padding: 0 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }

        .header-logo {
            position: relative;
            top: auto;
            left: auto;
            transform: none;
            width: 93px;
            height: 93px;
            margin-right: 20px;
        }

        .header-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .menu-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
            flex: 1;
            padding: 0 20px;
        }

        .menu-item {
            font-family: 'Open Sans', sans-serif;
            font-weight: 700;
            font-size: 16px;
            color: #000000;
            text-transform: uppercase;
            line-height: 20px;
            cursor: pointer;
            position: relative;
            white-space: nowrap;
            top: auto;
            transform: none;
            margin: 0;
            z-index: 1001;
        }

        .anasayfa-text, .kurumsal, .birimler, .projeler, .haberler, .kent-rehberi, .galeri, .e-belediye, .iletisim {
            left: auto;
            top: auto;
            transform: none;
            margin: 0;
            z-index: 1001;
        }

        
         .kurumsal::after,
        .birimler::after,
        .haberler::after,
        .kent-rehberi::after,
        .galeri::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: #255938;
            transition: width 0.3s ease;
            z-index: 1100;
        }

        .kurumsal:hover::after,
        .birimler:hover::after,
        .haberler:hover::after,
        .kent-rehberi:hover::after,
        .galeri:hover::after {
            width: 100%;
        }

        .menu-item:hover {
            color: #255938;
        }

        .leader {
            font-size: 16px;
        }

        /* Dropdown menülerin pozisyonlarını düzeltme */
        .kurumsal-dropdown,
        .birimler-dropdown,
        .haberler-dropdown,
        .kent-rehberi-dropdown,
        .galeri-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            left: 0;
            background-color: #ffffff;
            padding: 10px 0;
            border-radius: 4px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            display: none;
            z-index: 1000;
            min-width: 220px;
        }

        .kurumsal:hover .kurumsal-dropdown,
        .birimler:hover .birimler-dropdown,
        .haberler:hover .haberler-dropdown,
        .kent-rehberi:hover .kent-rehberi-dropdown,
        .galeri:hover .galeri-dropdown {
            display: block;
        }

    }

    /* Responsive styles for screens between 992px and 1200px */
    @media screen and (min-width: 992px) and (max-width: 1200px) {
        .menu-wrapper {
            gap: 15px;
            padding: 0 10px;
        }

        .anasayfa-text, .kurumsal, .birimler, .projeler, .haberler, .kent-rehberi, .galeri, .e-belediye, .iletisim,
        .menu-item {
            font-size: 13px;
        }

        .leader {
            font-size: 13px;
        }
    }

    /* Responsive styles for screens between 1201px and 1400px */
    @media screen and (min-width: 1201px) and (max-width: 1400px) {
        .menu-wrapper {
            gap: 20px;
            padding: 0 15px;
        }

        .anasayfa-text, .kurumsal, .birimler, .projeler, .haberler, .kent-rehberi, .galeri, .e-belediye, .iletisim,
        .menu-item {
            font-size: 14px;
        }

        .leader {
            font-size: 14px;
        }
    }

    /* Responsive styles for screens larger than 1401px */
    @media screen and (min-width: 1401px) {
        .menu-wrapper {
            gap: 25px;
            padding: 0 20px;
        }

        .anasayfa-text, .kurumsal, .birimler, .projeler, .haberler, .kent-rehberi, .galeri, .e-belediye, .iletisim,
        .menu-item {
            font-size: 15px;
        }

        .leader {
            font-size: 15px;
        }
    }

    /* Responsive düzenlemeler */
    @media screen and (max-width: 1600px) {
        .header-slogan {
            font-size: 26px;
            width: 370px;
        }

        .header-phone {
            right: 20px;
            font-size: 18px;
        }

        .social-icon {
            font-size: 18px;
        }
    }

    @media screen and (max-width: 1400px) {
        .header-slogan {
            font-size: 24px;
            width: 340px;
        }

        .header-phone {
            right: 15px;
            font-size: 16px;
            gap: 8px;
        }

        .social-icon {
            font-size: 16px;
        }
    }

    @media screen and (max-width: 1200px) {
        .header-slogan {
            font-size: 22px;
            width: 310px;
        }

        .header-phone {
            right: 10px;
            font-size: 15px;
            gap: 6px;
        }

        .social-icon {
            font-size: 15px;
        }
    }

    @media screen and (max-width: 992px) {
        .header-slogan {
            font-size: 28px;
            width: 280px;
        }

        .header-phone {
            display: none;
        }
    }

    @media screen and (max-width: 768px) {
        .header-slogan {
            font-size: 24px;
            width: 250px;
        }
    }

    @media screen and (max-width: 576px) {
        .header-slogan {
            font-size: 21px;
            width: 220px;
        }
    }

