/* ============================================
   Araç Kiralama – Public Stilleri
   ============================================ */

/* --- Araç Listesi --- */
.ak-vehicle-list { padding: 20px 0; }
.ak-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.ak-vehicle-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
}
.ak-vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.ak-vehicle-img { position: relative; height: 180px; overflow: hidden; background: #f3f4f6; }
.ak-vehicle-img img { width: 100%; height: 100%; object-fit: cover; }
.ak-vehicle-year {
    position: absolute; top: 10px; right: 10px;
    background: rgba(26,60,94,.85); color: #fff;
    font-size: 12px; font-weight: 700;
    padding: 3px 10px; border-radius: 20px;
}
.ak-vehicle-body { padding: 18px; }
.ak-vehicle-name { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #1a3c5e; }
.ak-vehicle-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #666; margin-bottom: 10px; }
.ak-vehicle-meta span { display: flex; align-items: center; gap: 4px; }
.ak-vehicle-meta svg { width: 14px; height: 14px; }
.ak-vehicle-desc { font-size: 13px; color: #777; margin: 0 0 14px; line-height: 1.5; }
.ak-vehicle-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0f0f0; padding-top: 14px; }
.ak-vehicle-price { display: flex; align-items: baseline; gap: 4px; }
.ak-price-amount { font-size: 20px; font-weight: 700; color: #1a3c5e; }
.ak-price-label { font-size: 12px; color: #999; }
.ak-btn {
    background: #1a3c5e; color: #fff;
    padding: 8px 18px; border-radius: 6px;
    text-decoration: none; font-size: 13px; font-weight: 600;
    transition: background .2s;
    border: none; cursor: pointer;
}
.ak-btn:hover { background: #14304f; color: #fff; }
.ak-no-vehicles { text-align: center; color: #777; padding: 40px; }

/* --- Rezervasyon Formu --- */
.ak-reservation-wrap { max-width: 960px; margin: 0 auto; padding: 20px 0; }
.ak-res-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ak-res-section {
    background: #fff; border: 1px solid #e8e8e8;
    border-radius: 12px; padding: 24px; margin-bottom: 20px;
}
.ak-res-section-title {
    margin: 0 0 18px; font-size: 15px; font-weight: 700;
    color: #1a3c5e; display: flex; align-items: center; gap: 8px;
}
/* Araç seçim grid */
.ak-vehicle-select-grid { display: flex; flex-direction: column; gap: 10px; }
.ak-vehicle-option {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; border: 2px solid #e8e8e8;
    border-radius: 8px; cursor: pointer; transition: all .15s;
    font-size: 14px;
}
.ak-vehicle-option:hover { border-color: #1a3c5e; background: #f0f5fa; }
.ak-vehicle-option-active { border-color: #1a3c5e !important; background: #ebf2fa !important; }
.ak-vehicle-option strong { color: #1a3c5e; }
.ak-vehicle-option span { color: #555; font-weight: 600; }

/* Tarih */
.ak-date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ak-date-row label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }
.ak-date-row input {
    width: 100%; padding: 9px 12px; border: 1px solid #ccc;
    border-radius: 6px; font-size: 14px; box-sizing: border-box;
    background: #fff; cursor: pointer;
}
/* Fiyat özeti */
.ak-price-summary { margin-top: 16px; background: #f0f5fa; border-radius: 8px; padding: 14px; }
.ak-price-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; color: #555; }
.ak-price-total { font-weight: 700; font-size: 16px; color: #1a3c5e; border-top: 1px solid #ccd9e6; margin-top: 8px; padding-top: 8px; }

/* Müşteri formu */
.ak-field { margin-bottom: 14px; }
.ak-field label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }
.ak-field input, .ak-field textarea {
    width: 100%; padding: 9px 12px; border: 1px solid #ccc;
    border-radius: 6px; font-size: 14px; box-sizing: border-box;
    transition: border-color .15s;
}
.ak-field input:focus, .ak-field textarea:focus { outline: none; border-color: #1a3c5e; }

/* Mesajlar */
.ak-avail-msg { padding: 10px 14px; border-radius: 6px; font-size: 14px; margin-bottom: 14px; }
.ak-avail-ok   { background: #d1fae5; color: #065f46; }
.ak-avail-fail { background: #fee2e2; color: #991b1b; }
.ak-form-msg { padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 14px; }
.ak-form-success { background: #d1fae5; color: #065f46; }
.ak-form-error   { background: #fee2e2; color: #991b1b; }

/* Submit */
.ak-submit-btn {
    width: 100%; padding: 14px; background: #1a3c5e; color: #fff;
    border: none; border-radius: 8px; font-size: 16px; font-weight: 700;
    cursor: pointer; transition: background .2s;
}
.ak-submit-btn:hover:not(:disabled) { background: #14304f; }
.ak-submit-btn:disabled { background: #93a8bc; cursor: not-allowed; }
.ak-terms { font-size: 12px; color: #999; text-align: center; margin-top: 10px; }
.ak-terms a { color: #1a3c5e; }

@media (max-width: 768px) {
    .ak-res-layout { grid-template-columns: 1fr; }
    .ak-date-row { grid-template-columns: 1fr; }
    .ak-vehicles-grid { grid-template-columns: 1fr; }
}
