    #header .logo img {
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
}
   
   .agency-info {
    margin: 0;
}

 #header .search-popup .searchform {
    border-radius: 25px;
}

.agency-name {
    white-space: nowrap;
}

@media (max-width: 767.98px) {

    .agency-name {
        font-size: 10px;
        letter-spacing: -0.3px;
    }

    .agency-info {
        font-size: 10px;
        line-height: 1.15;
    }
}

@media (max-width: 390px) {

    .agency-name {
        font-size: 9px;
        letter-spacing: -0.4px;
    }

    .agency-info {
        font-size: 9px;
    }
}

/* =========================================================
   MOBİL HEADER SIKIŞTIRMA
========================================================= */
@media (max-width: 767.98px) {

    /* ÜST HEADER */
    #header .header-top {
        min-height: auto !important;
    }

    #header .header-top .header-row {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

   

    /* Sol iletişim bilgileri */
    #header .header-top .header-contact .nav-top {
        margin: 0 !important;
    }

    #header .header-top .header-contact .nav-top li {
        margin-top: 1px !important;
        margin-bottom: 1px !important;
        line-height: 1.15 !important;
    }

    #header .header-top .header-contact .nav-top a {
        font-size: 10px !important;
        line-height: 1.15 !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }

    #header .header-top .header-contact i {
        font-size: 13px !important;
        margin-right: 5px !important;
    }


    /* Sağ üst acente bilgisi */
    .agency-info {
        margin: 0 !important;
        font-size: 9px !important;
        line-height: 1.05 !important;
    }

    .agency-name {
        font-size: 9px !important;
        white-space: nowrap;
        letter-spacing: -0.25px;
    }


    /* Sosyal medya ikonlarını biraz küçült */
    #header .header-top .share-links a {
        width: 24px !important;
        height: 24px !important;
        line-height: 24px !important;
        font-size: 12px !important;
    }


    /* Kayıt formları butonu */
    #header .header-top .btn {
        font-size: 9px !important;
        padding: 9px 12px !important;
        min-height: auto !important;
    }


    /* ALT HEADER */
    #header .header-main {
        min-height: 92px !important;
    }

    #header .header-main .header-row {
        min-height: 92px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    /* Logo mobilde küçülsün */
    #header .logo img {
        width: 120px !important;
        max-width: 120px !important;
        height: auto !important;
    }


    /* Arama ve hamburger */
    #header .search-toggle {
        margin-right: 8px !important;
    }

    #header .mobile-toggle {
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
    }
}


/* iPhone SE gibi dar cihazlar */
@media (max-width: 390px) {

    #header .logo img {
        width: 112px !important;
        max-width: 112px !important;
    }

    #header .header-main,
    #header .header-main .header-row {
        min-height: 86px !important;
    }

    #header .header-top .header-contact .nav-top a {
        font-size: 9px !important;
    }
}


/* =========================================================
   MOBİL / TABLET SAĞDAN AÇILAN MENÜ
========================================================= */
.gs-mobile-toggle {
    display: none;
    border: 0;
    outline: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    background: #5a002f;
    color: #fff;
    border-radius: 6px;
    padding: 0;
}

.gs-mobile-nav-overlay {
    display: none;
}

@media (max-width: 991.98px) {
    .gs-mobile-toggle {
        display: inline-flex !important;
        width: 38px;
        height: 38px;
        margin-left: 8px;
        flex: 0 0 38px;
        font-size: 16px;
        box-shadow: 0 5px 14px rgba(90, 0, 47, 0.18);
        transition: background-color .25s ease, transform .25s ease;
    }

    .gs-mobile-toggle:hover,
    .gs-mobile-toggle:focus {
        background: #72003d;
        color: #fff;
    }

    .gs-mobile-toggle:active {
        transform: scale(.96);
    }

    .gs-mobile-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 99990;
        background: rgba(20, 7, 14, .56);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .28s ease, visibility .28s ease;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .gs-mobile-nav-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    #nav-panel {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        z-index: 99999 !important;
        width: min(340px, 88vw) !important;
        height: 100vh !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background: linear-gradient(180deg, #5a002f 0%, #410022 100%) !important;
        box-shadow: -22px 0 50px rgba(0, 0, 0, .20);
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        transition: transform .34s cubic-bezier(.22, .8, .28, 1), visibility .34s ease;
        overscroll-behavior: contain;
    }

    #nav-panel.gs-drawer-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    #nav-panel > .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 18px 28px !important;
    }

    .gs-mobile-drawer-head {
        position: sticky;
        top: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        min-height: 82px;
        padding: 14px 18px;
        background: rgba(90, 0, 47, .97);
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .gs-mobile-drawer-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        color: #fff !important;
        text-decoration: none !important;
    }

    .gs-mobile-drawer-brand img {
        display: block;
        width: 64px !important;
        max-width: 64px !important;
        height: auto !important;
        flex: 0 0 64px;
    }

    .gs-mobile-drawer-brand-text {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.2;
    }

    .gs-mobile-drawer-brand-text strong {
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .2px;
    }

    .gs-mobile-drawer-brand-text span {
        margin-top: 3px;
        color: #d8bd61;
        font-size: 9px;
        letter-spacing: 1.1px;
        text-transform: uppercase;
    }

    .gs-mobile-drawer-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 8px;
        background: rgba(255, 255, 255, .08);
        color: #fff;
        cursor: pointer;
        transition: background-color .25s ease, transform .25s ease;
    }

    .gs-mobile-drawer-close:hover,
    .gs-mobile-drawer-close:focus {
        background: rgba(255, 255, 255, .16);
        color: #fff;
    }

    .gs-mobile-drawer-close:active {
        transform: scale(.95);
    }

    #nav-panel .mobile-nav-wrap,
    #nav-panel .menu-wrap {
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    #nav-panel .mobile-menu {
        display: block !important;
        margin: 16px 0 0 !important;
        padding: 0 !important;
        list-style: none !important;
        background: transparent !important;
    }

    #nav-panel .mobile-menu > li {
        position: relative;
        display: block !important;
        margin: 0 0 7px !important;
        padding: 0 !important;
        border: 1px solid rgba(255, 255, 255, .10) !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, .055) !important;
        overflow: hidden;
    }

    #nav-panel .mobile-menu > li > a {
        display: flex !important;
        align-items: center;
        min-height: 48px;
        padding: 12px 50px 12px 15px !important;
        border: 0 !important;
        background: transparent !important;
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        letter-spacing: .2px;
        text-decoration: none !important;
    }

    #nav-panel .mobile-menu > li.current-menu-item,
    #nav-panel .mobile-menu > li.current_page_item,
    #nav-panel .mobile-menu > li.active {
        border-color: rgba(216, 189, 97, .55) !important;
        background: rgba(216, 189, 97, .14) !important;
    }

    #nav-panel .mobile-menu > li.current-menu-item > a,
    #nav-panel .mobile-menu > li.current_page_item > a,
    #nav-panel .mobile-menu > li.active > a {
        color: #f4d66f !important;
    }

    #nav-panel .mobile-menu .arrow {
        position: absolute !important;
        top: 8px !important;
        right: 9px !important;
        z-index: 2;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 32px !important;
        height: 32px !important;
        margin: 0 !important;
        border: 1px solid rgba(255, 255, 255, .14) !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, .08) !important;
        color: #fff !important;
        cursor: pointer;
    }

    #nav-panel .mobile-menu .arrow::before {
        content: '+' !important;
        position: static !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
        border: 0 !important;
        color: inherit !important;
        font-family: Arial, sans-serif !important;
        font-size: 18px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        transform: none !important;
    }

    #nav-panel .mobile-menu li.gs-sub-open > .arrow::before {
        content: '−' !important;
    }

    #nav-panel .mobile-menu .sub-menu {
        display: none !important;
        position: static !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 5px 10px 10px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    #nav-panel .mobile-menu li.gs-sub-open > .sub-menu {
        display: block !important;
    }

    #nav-panel .mobile-menu .sub-menu li {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    #nav-panel .mobile-menu .sub-menu a {
        display: block !important;
        padding: 10px 12px !important;
        border-radius: 7px;
        color: rgba(255, 255, 255, .82) !important;
        background: rgba(0, 0, 0, .10) !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
        text-decoration: none !important;
    }

    #nav-panel .mobile-menu .sub-menu li + li a {
        margin-top: 5px;
    }

    #nav-panel .mobile-menu .sub-menu .current,
    #nav-panel .mobile-menu .sub-menu .active > a {
        color: #f4d66f !important;
        background: rgba(216, 189, 97, .10) !important;
    }

    body.gs-mobile-nav-open {
        overflow: hidden !important;
        touch-action: none;
    }
}

@media (min-width: 992px) {
    .gs-mobile-toggle,
    .gs-mobile-nav-overlay,
    .gs-mobile-drawer-head {
        display: none !important;
    }
}

/* =========================================================
   ACENTE BİLGİSİ + WHATSAPP / MOBİL YERLEŞİM
   - Masaüstü mevcut yapıyı korur.
   - Mobilde acente yazısı header-main sağ üstte absolute durur.
   - Search ve hamburger normal akışta kalır; yerleri değişmez.
========================================================= */

.gs-mobile-agency-info {
    display: none;
}

#header .gs-header-actions {
    display: inline-flex;
    align-items: center;
}

#header .share-links .gs-header-whatsapp {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    text-decoration: none !important;
    color: inherit;
}

#header .share-links .gs-header-whatsapp::before,
#header .share-links .gs-header-whatsapp::after {
    content: none !important;
    display: none !important;
}

#header .share-links .gs-header-whatsapp-icon {
    display: block;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
}

#header .share-links .gs-header-whatsapp:hover,
#header .share-links .gs-header-whatsapp:focus {
    color: #25D366 !important;
}

@media (max-width: 991.98px) {

    /* Üst taraftaki eski acente yazısını gizle. */
    #header .gs-header-agency-desktop {
        display: none !important;
    }

    /* Acente bilgisi absolute olduğu için search/hamburger kıpırdamaz. */
    /* Search + hamburger normal konumunda kalır. Acente yazısı bu grubun tam üstüne bağlanır. */
    #header .gs-header-actions {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 auto;
    }

    #header .gs-mobile-agency-info {
        position: absolute;
        right: 0;
        bottom: calc(100% + 23px);
        z-index: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: max-content;
        max-width: 170px;
        margin: 0;
        padding: 0;
        color: #5a002f;
        text-align: center;
        line-height: 1.08;
        pointer-events: none;
    }

    #header .gs-mobile-agency-name {
        display: block;
        white-space: nowrap;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: -0.15px;
    }

    #header .gs-mobile-agency-tursab {
        display: block;
        margin-top: 2px;
        white-space: nowrap;
        font-size: 10px;
        font-weight: 700;
    }

    /* Acente yazısı üstten kalkınca sosyal alan ve kayıt butonu biraz yukarı toplansın. */
    #header .header-top .header-right {
        align-self: flex-start !important;
        padding-top: 0 !important;
    }

    #header .header-top .share-links {
        margin-top: 0 !important;
        margin-bottom: 1px !important;
    }

    #header .gs-header-register-wrap {
        margin-top: 0 !important;
        transform: translateY(-2px);
    }

    /* WhatsApp, Instagram'ın hemen yanında aynı ölçüde dursun. */
    #header .header-top .share-links .gs-header-whatsapp {
        width: 24px !important;
        height: 24px !important;
        line-height: 24px !important;
        font-size: 12px !important;
    }

    #header .header-top .share-links .gs-header-whatsapp-icon {
        width: 13px !important;
        height: 13px !important;
        flex-basis: 13px !important;
    }
}

@media (max-width: 390px) {
    #header .gs-mobile-agency-info {
        right: 0;
        bottom: calc(100% + 24px);
        max-width: 170px;
    }

    #header .gs-mobile-agency-name,
    #header .gs-mobile-agency-tursab {
        font-size: 9px;
    }
}

/* =========================================================
   MOBİL SOSYAL MEDYA İKONLARI TEK SATIR
========================================================= */
@media (max-width: 991.98px) {

    #header .header-top .share-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;

        gap: 4px !important;

        width: max-content !important;
        min-width: max-content !important;

        margin: 0 !important;
        padding: 0 !important;

        white-space: nowrap !important;
    }

    #header .header-top .share-links > a {
        float: none !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex: 0 0 24px !important;

        width: 24px !important;
        height: 24px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    #header .header-top .share-links .gs-header-whatsapp {
        flex: 0 0 24px !important;
        margin: 0 !important;
    }
}
