:root {
    --hoppa-green: #00a19c;
    --hoppa-green-dark: #008a85;
    --hoppa-dark: #1a1a1a;
}

.reservation-section{
    padding: 60px 0;
    background: linear-gradient(rgba(7, 23, 31, 0.66), rgba(7, 23, 31, 0.66)), url('../images/vehicle_doga.jpeg') center center / cover no-repeat;
    min-height: calc(100vh - 120px);
}

.reservation-form {
    background: white !important;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.reservation-form.airport-theme-dlm {
    background: linear-gradient(135deg, rgba(0, 161, 156, .94), rgba(0, 89, 104, .88)) !important;
}

.reservation-form.airport-theme-ayt {
    background: linear-gradient(135deg, rgba(232, 137, 0, .94), rgba(168, 86, 0, .88)) !important;
}

.reservation-form.airport-theme-bjv {
    background: linear-gradient(135deg, rgba(52, 58, 64, .96), rgba(27, 31, 35, .92)) !important;
}

.btn-hoppa {
    background: var(--hoppa-green);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    width: 100%;
}

.btn-hoppa:hover {
    background: #008a85;
    color: white;
}

.form-label {
    font-weight: 500;
    color: var(--hoppa-dark);
}

.airport-theme-shell .form-label {
    color: #fff !important;
}

.form-control:focus {
    border-color: var(--hoppa-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 161, 156, 0.25);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.section-title p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}



.return-date-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--hoppa-dark);
}

.return-date-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}


/* ═══════════════════════════════════════════════════════════════
   CUSTOM LOCATION DROPDOWN — resimli, ikonlu, ilçe/il/ülke
   ═══════════════════════════════════════════════════════════════ */

.loc-dropdown-wrap {
    position: relative;
    width: 100%;
    font-family: inherit;
}

/* Trigger butonu — form-select görünümü */
.loc-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 6px 36px 6px 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    color: #212529;
    font-size: 14px;
    text-align: left;
    transition: border-color .15s;
    overflow: hidden;
    white-space: nowrap;
}
.loc-trigger:focus { outline: none; border-color: #00a19c; box-shadow: 0 0 0 .2rem rgba(0,161,156,.25); }
.loc-trigger.open { border-color: #00a19c; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Trigger içi */
.loc-trigger-thumb {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    display: none; /* resim varsa JS gösterir */
}
.loc-trigger-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}
.loc-trigger-text { flex: 1; overflow: hidden; }
.loc-trigger-name { font-weight: 600; font-size: 14px; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.loc-trigger-sub  { font-size: 11px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.loc-trigger-placeholder { color: #aaa; font-size: 14px; }

/* Dropdown panel */
.loc-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #00a19c;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.loc-panel.open { display: block; }

/* Arama kutusu */
.loc-search {
    position: sticky;
    top: 0;
    padding: 8px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    z-index: 1;
}
.loc-search input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px; /* iOS zoom engellemek için min 16px */
    outline: none;
    box-sizing: border-box;
}
.loc-search input:focus { border-color: #00a19c; }

/* Her satır */
.loc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background .1s;
}
.loc-item:last-child { border-bottom: none; }
.loc-item:hover, .loc-item.selected { background: #e8f8f7; }
.loc-item.hidden { display: none; }

/* Fotoğraf veya ikon */
.loc-item-thumb {
    width: 48px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f0f0f0;
}
.loc-item-icon-wrap {
    width: 48px;
    height: 40px;
    border-radius: 4px;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.loc-item-icon-wrap img { width: 26px; height: 26px; object-fit: contain; }

/* Metin bloğu */
.loc-item-body { flex: 1; min-width: 0; }
.loc-item-name { font-weight: 600; font-size: 14px; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-item-sub  { font-size: 11px; color: #888; margin-top: 1px; }

/* Airport theme içinde beyaz kenar */
.airport-theme-shell .loc-trigger {
    border-color: rgba(255,255,255,.5);
    background-color: rgba(255,255,255,.95);
}
.airport-theme-shell .loc-trigger:focus,
.airport-theme-shell .loc-trigger.open {
    border-color: #fff;
    box-shadow: 0 0 0 .2rem rgba(255,255,255,.3);
}

/* Scrollbar */
.loc-panel::-webkit-scrollbar { width: 6px; }
.loc-panel::-webkit-scrollbar-track { background: #f1f1f1; }
.loc-panel::-webkit-scrollbar-thumb { background: #00a19c; border-radius: 3px; }

/* Hidden native select — form submit için tutulur */
.loc-native-select { display: none !important; }


/* ═══════════════════════════════════════════════════════
   ICON-ONLY DROPDOWN — resim yok, sadece ikon
   ═══════════════════════════════════════════════════════ */

/* Thumbnail'i tamamen gizle */
.loc-item-thumb,
.loc-trigger-thumb { display: none !important; }

/* Ikon sarmalayıcı — şeffaf arka plan */
.loc-item-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.loc-item-icon-wrap img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    /* Siyah artık şeffaf - ekstra koruma */
    mix-blend-mode: normal;
}

/* Trigger ikon */
.loc-trigger-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Seçili item arka planı */
.loc-item:hover { background: #f0f8ff; }
.loc-item.selected { background: #e0f4f4; }

/* Arama kutusu rengi DTS kırmızısına uygun */
.loc-search input:focus { border-color: #C0181F; box-shadow: none; }
.loc-panel { border-color: #C0181F; }
.loc-trigger:focus, .loc-trigger.open {
    border-color: #C0181F;
    box-shadow: 0 0 0 .2rem rgba(192,24,31,.15);
}
.loc-panel::-webkit-scrollbar-thumb { background: #C0181F; }

/* İkon wrap hover efekti kaldır - sade görünsün */
.loc-item-icon-wrap { background: transparent !important; box-shadow: none !important; }

/* Dalaman Airport seçilince bold */
.loc-airport-selected .loc-trigger-name {
    font-weight: 900;
    font-size: 15px;
}

/* Select Airport başlığı */
.select-airport-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 8px;
    padding-left: 2px;
}

.select-airport-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-left: 0;
    color: rgba(255,255,255,.94);
    text-align: center;
}
.select-airport-heading > i {
    font-size: 12px;
}
.select-airport-heading span i {
    margin-right: 6px;
}

.search-box .select-airport-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-left: 0;
    color: rgba(255,255,255,.94);
    text-align: center;
}
.search-box .select-airport-label::before {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
.search-box .select-airport-label::after {
    content: "\f060";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.home-res-tab-switcher {
    display: flex;
    gap: 5px;
    margin-bottom: 18px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 12px;
    background: rgba(240,247,247,.94);
}
.home-res-tab {
    flex: 1;
    padding: 11px 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #557f80;
    font-weight: 700;
}
.home-res-tab.active {
    background: #fff;
    color: #00a19c;
    box-shadow: 0 2px 10px rgba(0,161,156,.18);
}
.home-places-input-wrap {
    position: relative;
}
.home-places-input-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    z-index: 2;
    color: #00a19c;
    transform: translateY(-50%);
}
.home-places-input-wrap > .home-dropoff-icon {
    color: #e74c3c;
}
.home-places-input-wrap input {
    padding-left: 40px;
}

.route-map-panel {
    margin: 12px 0 16px;
    overflow: hidden;
    border: 1px solid #d4ecec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.14);
}
.route-map-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 48px;
    padding: 10px 16px;
    color: #173b45;
    background: #f2fbfa;
    border-bottom: 1px solid #d5efec;
}
.route-map-summary i {
    margin-right: 7px;
    color: #00a19c;
}
.route-map-canvas {
    width: 100%;
    height: 280px;
}
.route-map-error {
    padding: 9px 14px;
    color: #8a4a00;
    background: #fff6df;
    border-top: 1px solid #f1dfb4;
    font-size: 13px;
    text-align: center;
}

/* ── iOS Zoom Engel: tüm input/select/textarea min 16px olmalı ── */
@media screen and (max-width: 768px) {
    .loc-search input,
    .loc-trigger,
    .loc-trigger-name,
    .loc-trigger-placeholder,
    input, select, textarea {
        font-size: 16px !important;
    }
    .route-map-canvas {
        height: 230px;
    }
    /* Dropdown panel mobilde tam genişlik ve daha iyi scroll */
    .loc-panel {
        max-height: 50vh;
        -webkit-overflow-scrolling: touch;
    }
}

/* ── iOS Zoom kesin engel: tüm input font-size 16px+ ── */
@media (max-width: 991px) {
    .loc-search input {
        font-size: 16px !important;
        transform: none !important;
    }
    .loc-trigger,
    .loc-trigger-name,
    .loc-trigger-placeholder,
    .loc-trigger-sub {
        font-size: 16px !important;
    }
    /* Panel açılınca sayfanın kaymaması için */
    .loc-panel {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        max-height: 60vh !important;
        border-radius: 16px 16px 0 0 !important;
        border: none !important;
        box-shadow: 0 -4px 24px rgba(0,0,0,.2) !important;
        z-index: 99999 !important;
        -webkit-overflow-scrolling: touch;
    }
    .loc-panel.open {
        display: block;
    }
}
