/* Rezervasyon formu – profesyonel, modern, ayar renklerine bağlı */
* { box-sizing: border-box; }

body.booking-page {
    margin: 0;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #334155;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.booking-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Dil seçici: dropdown, ayar renklerine uyumlu */
.booking-lang-switcher {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 14px 24px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.lang-dropdown-wrap { position: relative; }
.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    min-width: 140px;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.lang-dropdown-btn:hover {
    border-color: var(--primary, #475569);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #f8fafc;
}
.lang-dropdown-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}
.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    z-index: 200;
    overflow: hidden;
}
.lang-dropdown-menu.open { display: block; }
.lang-dropdown-item {
    display: block;
    padding: 12px 18px;
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s;
}
.lang-dropdown-item:hover { background: #f1f5f9; }
.lang-dropdown-item.active {
    background: var(--primary, #475569);
    color: #fff;
}
.lang-dropdown-item.active:hover { background: var(--button, #475569); color: #fff; opacity: 0.95; }

/* ----- Arama alanı: ayar renkleri (--primary, --button), width 100%, modern kart ----- */
.booking-search {
    width: 100%;
    max-width: 100%;
    background: linear-gradient(135deg, var(--primary, #475569) 0%, color-mix(in srgb, var(--primary, #475569) 85%, #000) 100%);
    color: #fff;
    padding: 36px 24px 40px;
    margin-bottom: 0;
    box-sizing: border-box;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.booking-search h2 {
    margin: 0 0 28px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    opacity: 0.98;
}

.booking-search-form {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.booking-search .search-row {
    display: grid;
    gap: 24px;
    align-items: end;
    margin-bottom: 24px;
}

.booking-search .search-row:last-of-type { margin-bottom: 0; }

.booking-search .search-row-1 {
    grid-template-columns: 1.25fr 1.25fr 1.25fr;
}

.booking-search .search-row-2 {
    grid-template-columns: minmax(140px, 1fr) minmax(160px, 1.2fr) minmax(180px, 1fr);
}

.booking-search .form-group { min-width: 0; }

.booking-search .form-group-submit {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.booking-search label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
}

.booking-search input,
.booking-search select {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    background: #fff;
    color: #1e293b;
    min-height: 48px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s, transform 0.1s;
}

.booking-search input::placeholder { color: #94a3b8; }

.booking-search input:focus,
.booking-search select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.4), 0 2px 12px rgba(0,0,0,0.1);
}

.location-search-wrap { position: relative; }
.location-dropdown {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 6px;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 100;
}
.location-dropdown.open { display: block; }
.location-group-label {
    padding: 8px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}
.location-option {
    padding: 12px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}
.location-option:hover { background: #f8fafc; }
.location-option.location-no-match { color: #94a3b8; cursor: default; }

.booking-search .btn-search {
    padding: 16px 32px;
    min-height: 48px;
    background: var(--button, #1e293b);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    transition: transform 0.1s, box-shadow 0.2s;
}
.booking-search .btn-search:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transform: translateY(-1px);
}
.booking-search .btn-search:active { transform: translateY(0); }

@media (max-width: 900px) {
    .booking-search .search-row-1 {
        grid-template-columns: 1fr 1fr;
    }
    .booking-search .search-row-2 {
        grid-template-columns: 1fr 1fr;
    }
    .booking-search .form-group-submit {
        grid-column: span 2;
    }
    .booking-search .form-group-submit .btn-search {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .booking-search .search-row-1,
    .booking-search .search-row-2 {
        grid-template-columns: 1fr;
    }
    .booking-search .form-group-submit {
        grid-column: span 1;
    }
}

/* ----- Hata mesajı ----- */
.booking-error {
    max-width: 1200px;
    margin: 16px auto 16px;
    padding: 16px 24px;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 6px;
    display: none;
}

.booking-error.visible {
    display: block;
}

/* ----- Sonuçlar: açık gri zemin, kartlar ----- */
.booking-results {
    display: none;
    width: 100%;
    background: #f5f5f5;
    padding: 32px 24px 48px;
    min-height: 60vh;
}

.booking-results.visible {
    display: block;
}

.booking-results-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.booking-back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.booking-back-link:hover {
    color: #111;
    text-decoration: underline;
}

.booking-results h2 {
    margin: 0 0 24px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
}

.results-block-title {
    margin: 20px 0 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}
.results-block-title:first-child { margin-top: 0; }

/* Araç kartı – beyaz, gölge, çizgilerle ayrılmış alanlar */
.booking-result-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.booking-result-card:last-child {
    margin-bottom: 0;
}

.booking-result-card .card-image {
    flex-shrink: 0;
    width: 200px;
    min-height: 120px;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    background: #e5e7eb;
    border-right: 1px solid #e0e0e0;
}

.booking-result-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-result-card .card-image .no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #6b7280;
}

.booking-result-card .card-body {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    padding: 24px;
    border-right: 1px solid #e0e0e0;
    min-width: 0;
}

.booking-result-card .card-title-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.booking-result-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #111;
}

.booking-result-card .card-help {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #9ccc65;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

.booking-result-card .card-details {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}

.booking-result-card .card-detail-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-right: 28px;
    margin-right: 28px;
    border-right: 1px solid #e0e0e0;
}

.booking-result-card .card-detail-item:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.booking-result-card .card-detail-item .icon {
    width: 28px;
    height: 28px;
    color: #7cb342;
    flex-shrink: 0;
}

.booking-result-card .card-detail-item .label {
    font-size: 0.8rem;
    color: #6b7280;
}

.booking-result-card .card-detail-item .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}

.booking-result-card .card-price-block {
    flex-shrink: 0;
    text-align: right;
    padding: 24px;
    min-width: 180px;
}

.booking-result-card .card-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.booking-result-card .card-price .currency {
    font-size: 1rem;
    font-weight: 600;
    vertical-align: top;
    margin-left: 2px;
}

.booking-result-card .card-price-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
}

.booking-result-card .btn-select {
    margin-top: 12px;
    padding: 12px 24px;
    background: #374151;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.booking-result-card .btn-select:hover {
    background: #4b5563;
}

@media (max-width: 900px) {
    .booking-result-card {
        flex-direction: column;
        align-items: stretch;
    }
    .booking-result-card .card-image {
        width: 100%;
        height: 180px;
        border-radius: 10px 10px 0 0;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .booking-result-card .card-body {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .booking-result-card .card-details {
        flex-direction: column;
    }
    .booking-result-card .card-detail-item {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        margin-right: 0;
        margin-bottom: 12px;
        padding-right: 0;
        padding-bottom: 12px;
    }
    .booking-result-card .card-detail-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .booking-result-card .card-price-block {
        text-align: left;
    }
}

/* ----- Rezervasyon formu adımları ----- */
.booking-form-wrap {
    display: none;
    width: 100%;
    background: #f5f5f5;
    padding: 32px 24px 48px;
    min-height: 60vh;
}

.booking-form-wrap.visible {
    display: block;
}

.booking-form-inner {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.booking-form-section {
    padding: 28px 32px 32px;
}

.booking-form-section .section-header {
    background: #374151;
    color: #fff;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: -28px -32px 24px -32px;
}

#formStep3 .section-header {
    margin-top: 0;
}

.booking-form-section .section-desc {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.booking-form-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.booking-form-section .form-row.single {
    grid-template-columns: 1fr;
}

.booking-form-section .form-group {
    margin-bottom: 18px;
}

.booking-form-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
}

.booking-form-section input,
.booking-form-section select,
.booking-form-section textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    color: #111;
}

.booking-form-section input:focus,
.booking-form-section select:focus,
.booking-form-section textarea:focus {
    outline: none;
    border-color: #9ccc65;
    box-shadow: 0 0 0 2px rgba(156, 204, 101, 0.25);
}

.booking-form-section textarea {
    min-height: 90px;
    resize: vertical;
}

.booking-form-wrap .two-cols {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
}

@media (max-width: 768px) {
    .booking-form-wrap {
        padding: 16px 12px 32px;
    }
    .booking-form-wrap .two-cols {
        grid-template-columns: 1fr;
    }
    .booking-form-section {
        padding: 20px 16px 24px;
    }
    .booking-form-section .section-header {
        margin: -20px -16px 20px -16px;
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    .booking-form-section .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .booking-form-section .form-group {
        margin-bottom: 16px;
    }
    .booking-form-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    .booking-form-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    .booking-form-wrap .baggage-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .booking-form-wrap .baggage-table th,
    .booking-form-wrap .baggage-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
    .booking-form-wrap .baggage-table .hint {
        display: block;
        margin-top: 2px;
    }
    .booking-summary {
        padding: 16px;
    }
}

.booking-summary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.booking-summary .section-header {
    margin: -20px -20px 16px -20px;
}

.booking-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.booking-summary .summary-total {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

.booking-form-wrap .baggage-table {
    width: 100%;
    border-collapse: collapse;
}

.booking-form-wrap .baggage-table th,
.booking-form-wrap .baggage-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.booking-form-wrap .baggage-table th {
    background: #374151;
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.booking-form-wrap .baggage-table select {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.booking-form-wrap .baggage-table .hint {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: normal;
}

.booking-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.booking-form-actions .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.booking-form-actions .btn-back {
    background: #6b7280;
    color: #fff;
}

.booking-form-actions .btn-next,
.booking-form-actions .btn-submit {
    background: #374151;
    color: #fff;
}

.booking-form-actions .btn:hover {
    opacity: 0.92;
}

/* ----- Başarı sayfası ----- */
.booking-success {
    display: none;
    width: 100%;
    background: #f5f5f5;
    padding: 48px 24px;
    min-height: 60vh;
}

.booking-success.visible {
    display: block;
}

.booking-success-inner {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 40px;
    text-align: center;
}

.booking-success h2 {
    color: #166534;
    margin-bottom: 16px;
    font-size: 1.35rem;
}

.booking-success p {
    margin-bottom: 12px;
    color: #374151;
}

.booking-success .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #374151;
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.booking-success .btn:hover {
    opacity: 0.92;
}
