/* Location detail — premium hero + floating search */

.bravo_detail_location .dt-location-hero-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 0 175px;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
}

.bravo_detail_location .dt-location-hero-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    background: #07111f;
    border-bottom: 2px solid rgba(214, 162, 28, 0.85);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.18),
        0 0 18px rgba(214, 162, 28, 0.16);
    box-sizing: border-box;
}

.bravo_detail_location .dt-location-hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.04) 0%,
        rgba(0, 0, 0, 0.08) 50%,
        rgba(0, 0, 0, 0.18) 100%
    );
    z-index: 3;
    pointer-events: none;
}

.bravo_detail_location .dt-location-hero-slider::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, transparent, #ffd66b, transparent);
    z-index: 5;
    pointer-events: none;
}

.bravo_detail_location .dt-location-hero-slider--empty {
    background: linear-gradient(160deg, #0a1a30 0%, #07111f 100%);
}

.bravo_detail_location .dt-location-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transition: opacity 700ms ease-in-out, visibility 700ms ease-in-out;
}

.bravo_detail_location .dt-location-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.bravo_detail_location .dt-location-hero-slider--static .dt-location-hero-slide {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.bravo_detail_location .dt-location-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Varsayılan: mobil slider görünür, desktop gizli */
.bravo_detail_location .dt-location-hero-slider--desktop {
    display: none;
}

.bravo_detail_location .dt-location-hero-slider--mobile {
    display: block;
}

.bravo_detail_location .dt-location-hero-overlay {
    display: none;
}

/* Floating search — hero altında, görseli kapatmaz */
.bravo_detail_location .dt-location-hero-wrapper .location-search-wrapper,
.bravo_detail_location .dt-location-hero-wrapper .search-form-wrapper,
.bravo_detail_location .dt-location-hero-wrapper .turizm-location-search-wrap {
    position: absolute;
    left: 50%;
    bottom: -155px;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 360px;
    z-index: 20;
    margin: 0 !important;
    padding: 0 !important;
}

.bravo_detail_location .dt-location-hero-wrapper .location-search-wrapper .form-content,
.bravo_detail_location .dt-location-hero-wrapper .search-form-wrapper .form-content,
.bravo_detail_location .dt-location-hero-wrapper .turizm-location-search-card {
    padding: 17px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    border: 1px solid rgba(214, 162, 28, 0.22) !important;
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.15),
        0 0 18px rgba(214, 162, 28, 0.1) !important;
    margin: 0 !important;
}

.bravo_detail_location .dt-location-hero-wrapper .turizm-location-search-card-title {
    margin: 0 0 10px !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.14em !important;
}

.bravo_detail_location .dt-location-hero-wrapper .location-search-wrapper input,
.bravo_detail_location .dt-location-hero-wrapper .search-form-wrapper input,
.bravo_detail_location .dt-location-hero-wrapper .category-search-card input[type="text"],
.bravo_detail_location .dt-location-hero-wrapper .category-search-card input[type="search"] {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    padding-left: 44px !important;
}

.bravo_detail_location .dt-location-hero-wrapper .location-search-wrapper button,
.bravo_detail_location .dt-location-hero-wrapper .search-form-wrapper button,
.bravo_detail_location .dt-location-hero-wrapper .category-search-card .btn-search {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #f5d55c, #c99714) !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    font-size: 13px !important;
    color: #111 !important;
    border: 1px solid rgba(201, 151, 20, 0.45) !important;
    box-shadow: 0 8px 18px rgba(201, 151, 20, 0.28) !important;
}

.bravo_detail_location .dt-location-hero-wrapper .category-search-card .search-wrapper {
    gap: 10px !important;
}

.bravo_detail_location .dt-location-hero-wrapper .category-search-card .search-icon {
    left: 14px !important;
    font-size: 15px !important;
}

.bravo_detail_location .search-suggestions,
.bravo_detail_location .autocomplete-suggestions,
.bravo_detail_location .ui-autocomplete,
.bravo_detail_location .tt-menu,
.bravo_detail_location .typeahead-dropdown-menu {
    z-index: 9999 !important;
    max-height: 240px;
    overflow-y: auto;
}

.bravo_detail_location .bravo_content {
    padding-top: 0;
}

.bravo_detail_location .g-location-module {
    margin-top: 0;
}

@media (max-width: 575px) {
    .bravo_detail_location .dt-location-hero-wrapper {
        margin-bottom: 170px;
    }

    .bravo_detail_location .dt-location-hero-slider::after {
        left: 14px;
        right: 14px;
    }

    .bravo_detail_location .dt-location-hero-wrapper .location-search-wrapper,
    .bravo_detail_location .dt-location-hero-wrapper .search-form-wrapper,
    .bravo_detail_location .dt-location-hero-wrapper .turizm-location-search-wrap {
        bottom: -148px;
        width: calc(100% - 52px);
        max-width: 100%;
    }

    .bravo_detail_location .dt-location-hero-wrapper .category-search-card .search-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .bravo_detail_location .dt-location-hero-wrapper .category-search-card .btn-search {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* ========== MOBİL hero (≤767px) — ayrı mobil görseller, 4:3 ========== */
@media (max-width: 767px) {
    .bravo_detail_location .dt-location-hero-slider--desktop {
        display: none !important;
    }

    .bravo_detail_location .dt-location-hero-slider--mobile {
        display: block !important;
    }

    .bravo_detail_location .dt-location-hero-slider--mobile,
    .bravo_detail_location .dt-location-hero-slider--mobile.dt-location-hero-slider--empty,
    .bravo_detail_location .dt-location-hero-slider--mobile.dt-location-hero-slider--static {
        aspect-ratio: 4 / 3;
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
    }

    .bravo_detail_location .dt-location-hero-slide,
    .bravo_detail_location .dt-location-hero-img {
        width: 100%;
        height: 100%;
    }
}

/* ========== DESKTOP hero (≥768px) — ayrı desktop görseller, 410px ========== */
@media (min-width: 768px) {
    .bravo_detail_location .dt-location-hero-slider--desktop {
        display: block !important;
    }

    .bravo_detail_location .dt-location-hero-slider--mobile {
        display: none !important;
    }

    .bravo_detail_location .dt-location-hero-slider--desktop,
    .bravo_detail_location .dt-location-hero-slider--desktop.dt-location-hero-slider--empty,
    .bravo_detail_location .dt-location-hero-slider--desktop.dt-location-hero-slider--static {
        aspect-ratio: auto;
        height: 410px;
        min-height: 410px;
        max-height: 410px;
    }

    .bravo_detail_location .dt-location-hero-slide,
    .bravo_detail_location .dt-location-hero-img {
        width: 100%;
        height: 100%;
    }

    .bravo_detail_location .dt-location-hero-img {
        object-fit: cover;
        object-position: center center;
    }
}

@media (min-width: 1024px) {
    .bravo_detail_location .dt-location-hero-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 0 110px;
        padding: 0;
        position: relative;
    }

    .bravo_detail_location .dt-location-hero-slider--desktop {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        overflow: hidden;
        box-shadow: none;
        border-bottom: none;
    }

    .bravo_detail_location .dt-location-hero-slider--desktop::after {
        display: none;
    }

    .bravo_detail_location .dt-location-hero-wrapper .location-search-wrapper,
    .bravo_detail_location .dt-location-hero-wrapper .search-form-wrapper,
    .bravo_detail_location .dt-location-hero-wrapper .turizm-location-search-wrap {
        position: absolute;
        left: 50%;
        bottom: -62px;
        transform: translateX(-50%);
        width: 680px;
        max-width: calc(100% - 40px);
        z-index: 20;
    }

    .bravo_detail_location .dt-location-hero-wrapper .location-search-wrapper .form-content,
    .bravo_detail_location .dt-location-hero-wrapper .search-form-wrapper .form-content,
    .bravo_detail_location .dt-location-hero-wrapper .turizm-location-search-card {
        padding: 22px !important;
        border-radius: 18px !important;
        background: #fff !important;
        border: 1px solid rgba(214, 162, 28, 0.2) !important;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.13) !important;
    }

    .bravo_detail_location .dt-location-hero-wrapper .turizm-location-search-card-title {
        display: none;
    }

    .bravo_detail_location .dt-location-hero-wrapper .category-search-card .search-wrapper,
    .bravo_detail_location .dt-location-hero-wrapper .location-search-wrapper .form-group,
    .bravo_detail_location .dt-location-hero-wrapper .search-form-wrapper .form-group {
        display: flex !important;
        gap: 14px !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .bravo_detail_location .dt-location-hero-wrapper .category-search-card .search-input-wrapper {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .bravo_detail_location .dt-location-hero-wrapper .location-search-wrapper input,
    .bravo_detail_location .dt-location-hero-wrapper .search-form-wrapper input,
    .bravo_detail_location .dt-location-hero-wrapper .category-search-card input[type="text"],
    .bravo_detail_location .dt-location-hero-wrapper .category-search-card input[type="search"] {
        height: 54px !important;
        min-height: 54px !important;
        flex: 1 1 auto !important;
        width: 100% !important;
    }

    .bravo_detail_location .dt-location-hero-wrapper .location-search-wrapper button,
    .bravo_detail_location .dt-location-hero-wrapper .search-form-wrapper button,
    .bravo_detail_location .dt-location-hero-wrapper .category-search-card .btn-search {
        height: 54px !important;
        min-height: 54px !important;
        min-width: 150px !important;
        flex-shrink: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bravo_detail_location .dt-location-hero-slide {
        transition: none;
    }
}
