


/* HUV Buton Stili - Bağımsız ve Modern Tasarım */
.huv-button-wrapper {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.huv-button {
    background: #02b3a5;
    color: #fff !important;
    padding: 8px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
}

.huv-button:hover,
.huv-button:focus {
    background: #0b8579;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    text-decoration: none;
}

.huv-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.huv-button.dropdown-toggle {
    position: relative;
}

.huv-chevron {
    margin-left: 6px;
    opacity: 0.9;
    transition: transform 0.2s ease, opacity 0.2s ease;
    vertical-align: middle;
}

.huv-button:hover .huv-chevron {
    opacity: 1;
}

.huv-dropdown-wrapper:hover .huv-chevron,
.huv-button.dropdown-toggle[aria-expanded="true"] .huv-chevron {
    transform: rotate(180deg);
}

/* Dropdown menü stilleri */
.huv-dropdown-wrapper {
    position: relative;
}

.huv-dropdown-wrapper:hover .huv-dropdown,
.huv-dropdown-wrapper.show .huv-dropdown {
    display: block !important;
}

.huv-dropdown {
    margin-top: 0;
    padding-top: 4px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 200px;
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
}

/* Hover sorununu çözmek için - buton ile dropdown arasında görünmez köprü */
.huv-dropdown-wrapper::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    z-index: 1001;
}

.huv-dropdown .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

.huv-dropdown .dropdown-item:hover {
    background: #f8f9fa;
    color: #02b3a5;
}

.huv-dropdown .dropdown-item:active {
    background: #e9ecef;
}

/* Mobil buton stili */
.huv-button-mobile {
    background: #02b3a5;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    text-decoration: none;
    width: 100%;
}

.huv-button-mobile:hover {
    background: #0b8579;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Mobil dropdown */
.mobile-huv-dropdown {
    width: 100%;
}

.mobile-huv-submenu {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
}

.mobile-huv-submenu li {
    border-bottom: 1px solid #e9ecef;
}

.mobile-huv-submenu li:last-child {
    border-bottom: none;
}

.mobile-huv-submenu .accordion-link {
    padding: 12px 20px;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-huv-submenu .accordion-link:hover {
    background: #e9ecef;
    color: #02b3a5;
}

.mobile-dropdown-toggle.active + .mobile-huv-submenu {
    display: block !important;
}

.mobile-dropdown-toggle.active i {
    transform: rotate(180deg);
}

/* Header action içinde buton hizalaması */
.header-action .huv-button-wrapper {
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .huv-button-wrapper {
        display: none !important;
    }
}

/* Header Search Modal Styles */
.header-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Modal kapalıyken içindeki tüm elementleri devre dışı bırak */
.header-search-modal:not(.open) * {
    pointer-events: none !important;
}

.header-search-modal.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Modal açıkken içindeki elementleri aktif et */
.header-search-modal.open * {
    pointer-events: auto;
}

/* Modal açıkken arka plandaki içeriği devre dışı bırak - sadece search-modal-open class'ı varken */
body.search-modal-open .main-wrapper,
body.search-modal-open header,
body.search-modal-open footer {
    pointer-events: none !important;
    user-select: none;
}

body.search-modal-open .main-wrapper *,
body.search-modal-open header *,
body.search-modal-open footer * {
    pointer-events: none !important;
}

.header-search-modal .card-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
}

.header-search-modal .card-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.header-search-modal .card-close i {
    font-size: 18px;
    color: #333;
}

.header-search-wrap {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 10001;
}

.header-search-wrap .card-header {
    width: 100%;
}

.header-search-wrap .input-group {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 50px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    align-items: stretch;
    position: relative;
    box-sizing: border-box;
}

.header-search-wrap .input-group .form-control {
    flex: 1;
    border: none;
    background: #fff;
    padding: 25px 25px;
    font-size: 16px;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    margin: 0;
    min-width: 0;
    width: auto;
    display: block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    line-height: 1.5;
    vertical-align: middle;
}

.header-search-wrap .input-group .form-control::placeholder {
    color: #999;
}

.header-search-wrap .input-group .axil-btn {
    border: none;
    background: #02b3a5;
    color: #fff;
    padding: 15px 30px;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.header-search-wrap .input-group .axil-btn:hover {
    background: #0b8579;
    transform: scale(1.05);
}

.header-search-wrap .input-group .axil-btn i {
    font-size: 18px;
}

@media (max-width: 767px) {
    .header-search-modal .card-close {
        top: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
    }

    .header-search-wrap {
        max-width: 100%;
        padding: 0 15px;
        position: relative;
        z-index: 10001;
    }

    .header-search-wrap .card-header {
        width: 100%;
        display: block;
        position: relative;
        z-index: 10001;
    }

    .header-search-wrap .input-group {
        flex-direction: column;
        border-radius: 12px;
        padding: 0;
        background: #fff;
        border: 1px solid #e0e0e0;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 10001;
    }

    .header-search-wrap .input-group .form-control {
        border-radius: 12px 12px 0 0;
        background: #fff !important;
        margin-bottom: 0;
        border-bottom: 1px solid #e0e0e0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        min-height: 50px;
        padding: 15px 20px;
    }

    .header-search-wrap .input-group .axil-btn {
        border-radius: 0 0 12px 12px;
        width: 100%;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 50px;
    }
}
