/* === LOGO 250PX (MASAÜSTÜ) === */
.wed-logo a img,
.wed-logo img,
.ed-mob-menu .wed-logo img {
    height: 150px !important;
    max-height: 150px !important;
    width: auto !important;
}

/* === LOGO CONTAINER SERBEST BIRAKMA === */
.wed-logo,
.wed-logo a {
    height: auto !important;
    max-height: none !important;
    line-height: normal !important;
    overflow: visible !important;
    padding: 0 !important;
}

.tourz-top,
.tourz-top-logo,
.top-logo {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* === STICKY HEADER (SCROLL SONRASI) LOGO GİZLE === */
.top-logo.affix .wed-logo,
.top-logo.affix .wed-logo img {
    display: none !important;
}

/* === SLIDER OVERLAY KONUM DÜZELTME === */
.tourz-search-form,
.top-search,
.tourz-top-search {
    margin-top: -60px !important;
}

/* === TURLAR / BÖLGELER / TEMALAR KUTULARI DÜZEN === */
@media (min-width: 769px){
    .tourz-hom-ser ul {
        display: flex !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 15px !important;
    }
    .tourz-hom-ser ul li {
        float: none !important;
        width: auto !important;
        padding: 0 !important;
    }
    .tourz-hom-ser ul li a {
        display: block !important;
    }
}
@media (max-width: 768px){
    .tourz-hom-ser ul {
        display: block !important;
    }
    .tourz-hom-ser ul li {
        float: none !important;
        width: 100% !important;
        margin: 8px 0 !important;
        padding: 0 10px !important;
    }
    .tourz-hom-ser ul li a {
        display: block !important;
    }
}

/* === MOBİL HEADER & LOGO BÜYÜTME === */
@media (max-width: 780px){
    /* Mobil üst barın yüksekliği logo ile uyumlu olsun */
    .ed-mob-menu {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 10px 15px !important;
        height: 75px !important;
    }

    /* Logo mobilde büyük dursun */
    .ed-mob-menu .wed-logo img {
        height: 125px !important;
        max-height: 125px !important;
        width: auto !important;
    }

    /* Menü butonu (3 çizgi) alta/sağa düzgün hizalansın */
    .ed-mob-menu .ed-mob-menu-con {
        margin-top: 5px !important;
        align-self: flex-end !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* === MOBİL HEADER LOGO MERKEZ VE HERO OVERLAP FİX === */
@media (max-width: 780px){

    /* Header satırını flex yap ve kolon float'larını kaldır */
    .top-logo .row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .top-logo .wed-logo,
    .top-logo .main-menu {
        float: none !important;
    }

    /* Logo alanı genişlesin ve gerçekten ortalansın */
    .top-logo .wed-logo {
        flex: 1 1 auto !important;
        max-width: none !important;
        text-align: center !important;
    }

    .top-logo .wed-logo img {
        display: inline-block !important;
        margin: 0 auto !important;
    }

    /* Menü sağda sabit kalsın */
    .top-logo .main-menu {
        flex: 0 0 auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }

    /* Hero yazı ile arama kutusu çakışmasın */
    .tourz-search-form,
    .top-search,
    .tourz-top-search {
        margin-top: 40px !important;   /* negatif marginleri ez */
        position: relative !important;
    }

    .tourz-banner {
        padding-bottom: 40px !important;
    }
}

/* === DESKTOP HERO SUBTITLE (Tarih ve kültür, bir adımda!) GÖRÜNSÜN === */
@media (min-width: 769px){
    .tourz-search-form,
    .top-search,
    .tourz-top-search {
        margin-top: 0 !important; /* Negatif marginleri iptal et */
    }
}
