/**
 * ============================================================================
 * HEADER 5 STYLES - KURUMSAL LOJİSTİK & AKASYA NAKLİYAT STİLİ
 * Koyu Yeşil Topbar + Yuvarlak Sosyal Medya İkonları +
 * Oval Teklif Butonu + İki Kademeli Çerçeveli Çağrı Rozeti (444 / 94 93)
 * ============================================================================
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

.h5-header-wrapper {
    position: relative;
    width: 100%;
    z-index: 999;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: all 0.3s ease;
}

/* Sticky Header */
.h5-header-wrapper.is-sticky {
    position: sticky !important;
    top: 0;
}

/* Transparan Slider Üstü (Hero Overlay) */
.h5-header-wrapper.is-transparent {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
}

.h5-header-wrapper.is-transparent .h5-main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ==========================================================================
   1. ÜST KURUMSAL ŞERİT (TOPBAR)
   ========================================================================== */
.h5-topbar {
    background-color: #0b2c5d;
    color: #ffffff;
    padding: 8px 0;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1;
}

.h5-topbar-contacts {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.h5-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.h5-topbar-link:hover {
    opacity: 0.85;
    color: #ffffff;
}

.h5-icon-accent {
    font-size: 13px;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Yuvarlak Sosyal Medya İkonları */
.h5-topbar-socials {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.h5-social-btn {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    background-color: #ffffff;
    color: #0b2c5d;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}

.h5-social-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    margin: 0;
    padding: 0;
}

.h5-social-btn i::before {
    display: block;
    line-height: 1;
    vertical-align: middle;
}

.h5-social-btn:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    background-color: #ffffff;
    filter: brightness(0.95);
}

/* ==========================================================================
   2. ANA NAVBAR (MAIN NAV)
   ========================================================================== */
.h5-main-nav {
    background-color: #ffffff;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    padding: 14px 0;
    transition: padding 0.3s ease, background 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.h5-nav-container {
    position: relative;
    width: 100%;
}

/* Logo */
.h5-logo-wrapper {
    flex-shrink: 0;
}

.h5-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.h5-logo img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.h5-logo-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #0b2c5d;
}

/* Nav Menu Wrapper & Right Actions */
.h5-nav-menu {
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 24px;
}

.h5-right-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Menü Listesi */
.h5-menu-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.h5-menu-item {
    position: relative;
    flex-shrink: 0;
}

.h5-menu-link {
    font-size: 15px;
    font-weight: 600;
    color: #2b3445;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.h5-menu-link:hover,
.h5-menu-item.active > .h5-menu-link {
    color: #0b2c5d;
}

.h5-chevron {
    font-size: 10.5px;
    opacity: 0.65;
    transition: transform 0.25s ease;
}

.h5-menu-item:hover > .h5-menu-link .h5-chevron {
    transform: rotate(180deg);
}

/* Dropdown Açılır Menü */
.h5-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
}

.h5-menu-item:hover > .h5-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.h5-submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.h5-submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

.h5-submenu-link:hover {
    background-color: #f8fafc;
    color: #0b2c5d;
    padding-left: 22px;
}

.h5-sub-icon {
    font-size: 11px;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.h5-submenu-link:hover .h5-sub-icon {
    opacity: 1;
    color: #0b2c5d;
    transform: translateX(2px);
}

/* ==========================================================================
   3. SAĞ AKSİYONLAR: TEKLİF BUTONU & İKİ KADEMELİ ÇAĞRI ROZETİ
   ========================================================================== */
/* Oval Teklif Al Butonu */
.h5-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    background-color: #0b2c5d;
    color: #ffffff;
    box-sizing: border-box !important;
    white-space: nowrap;
    flex-shrink: 0;
    contain: layout paint;
    transform: translateZ(0) !important;
    backface-visibility: hidden;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 14px -2px rgba(11, 44, 93, 0.35);
    letter-spacing: 0.2px;
}

.h5-cta-btn span {
    pointer-events: none;
}

.h5-cta-btn:hover {
    box-shadow: 0 6px 18px rgba(11, 44, 93, 0.45);
    opacity: 0.92;
    color: #ffffff !important;
    transform: translateZ(0) !important;
}

/* İki Kademeli Çerçeveli Çağrı Rozeti (444 / 94 93) */
.h5-callout-badge {
    --badge-color: #0b2c5d;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 44px;
    box-sizing: border-box !important;
    padding: 3px 8px;
    border: 2px solid var(--badge-color);
    border-radius: 6px;
    background-color: #ffffff;
    color: var(--badge-color);
    text-decoration: none;
    flex-shrink: 0;
    overflow: hidden;
    contain: layout paint;
    transform: translateZ(0) !important;
    backface-visibility: hidden;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.h5-callout-top,
.h5-callout-bottom,
.h5-callout-line,
.h5-callout-phone-icon {
    pointer-events: none;
}

.h5-callout-phone-icon {
    position: absolute;
    top: 3px;
    right: 4px;
    font-size: 9px;
    color: var(--badge-color);
    transition: color 0.2s ease;
}

.h5-callout-top {
    display: block;
    font-size: 14.5px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.2px;
    text-align: center;
}

.h5-callout-line {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--badge-color);
    margin: 2px 0;
    transition: background-color 0.2s ease;
}

.h5-callout-bottom {
    display: block;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.2px;
    text-align: center;
}

.h5-callout-badge:hover {
    background-color: var(--badge-color) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transform: translateZ(0) !important;
}

.h5-callout-badge:hover .h5-callout-phone-icon {
    color: #ffffff !important;
}

.h5-callout-badge:hover .h5-callout-line {
    background-color: #ffffff !important;
}

/* ==========================================================================
   4. MOBİL MENÜ & DRAWER
   ========================================================================== */
.h5-mobile-toggle {
    background: transparent;
    border: none;
    font-size: 22px;
    color: #0b2c5d;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.h5-mobile-toggle:hover {
    background: #f1f5f9;
}

.h5-mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.h5-mobile-drawer.is-open {
    right: 0;
}

.h5-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.h5-drawer-close {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
}

.h5-mobile-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.h5-mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.h5-mobile-menu-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 0;
}

.h5-mobile-menu-link {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
}

.h5-mobile-dropdown-toggle {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    transition: transform 0.25s ease;
}

.h5-mobile-dropdown-toggle.is-open {
    transform: rotate(180deg);
}

.h5-mobile-submenu {
    list-style: none;
    padding: 8px 0 0 15px;
    margin: 0;
    display: none;
}

.h5-mobile-submenu.is-open {
    display: block;
}

.h5-mobile-submenu li a {
    display: block;
    padding: 6px 0;
    font-size: 13.5px;
    color: #475569;
    text-decoration: none;
}

.h5-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.h5-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   5. MOBİL & TABLET RESPONSIVE İYİLEŞTİRMELERİ
   ========================================================================== */
@media (max-width: 991px) {
    .h5-main-nav {
        padding: 10px 0 !important;
    }
    .h5-logo img {
        max-height: 44px !important;
        max-width: 200px !important;
    }
    .h5-right-actions {
        gap: 8px !important;
    }
}

@media (max-width: 575px) {
    .h5-topbar {
        padding: 6px 0 !important;
        font-size: 11.5px !important;
    }
    .h5-topbar-link {
        font-size: 11.5px !important;
        gap: 5px !important;
    }
    .h5-topbar-socials {
        gap: 4px !important;
    }
    .h5-social-btn {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        font-size: 10px !important;
    }
    .h5-social-btn i {
        font-size: 10px !important;
        width: 10px !important;
        height: 10px !important;
    }
    .h5-main-nav {
        padding: 8px 0 !important;
    }
    .h5-logo img {
        max-height: 36px !important;
        max-width: 150px !important;
    }
    .h5-callout-badge {
        padding: 4px 8px !important;
        border-radius: 8px !important;
    }
    .h5-callout-phone-icon {
        font-size: 12px !important;
    }
    .h5-callout-top {
        font-size: 11px !important;
    }
    .h5-callout-bottom {
        font-size: 10px !important;
    }
    .h5-mobile-toggle {
        font-size: 20px !important;
        padding: 4px 6px !important;
    }
}
