/* Power Car Rental ön yüz — mobile-first; geniş ekranlar min-width ile büyütülür */
.safe-area-pt {
    padding-top: max(0px, env(safe-area-inset-top, 0px));
}
.input-m {
    height: 50px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease;
}
.input-focus:focus {
    outline: none !important;
    border-color: #d0021b !important;
    box-shadow: 0 0 0 4px rgba(208, 2, 27, 0.1) !important;
}
.search-tabs {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    margin-bottom: -1px;
}
.search-tab {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}
@media (min-width: 640px) {
    .search-tab {
        padding: 10px 24px;
        font-size: 13px;
    }
}
.search-tab.active {
    background: white;
    color: #d0021b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.hero-section {
    background: linear-gradient(90deg, #f8fafc 45%, transparent 100%);
    min-height: 340px;
    display: flex;
    align-items: center;
    position: relative;
}
@media (min-width: 640px) {
    .hero-section {
        min-height: 420px;
    }
}
@media (min-width: 1024px) {
    .hero-section {
        min-height: 520px;
    }
}
/* Şehir sayfası hero — kompakt; sabit yükseklik + taşan padding scroll üretmesin */
.hero-section.hero-section-city {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    min-height: 0;
    height: auto;
}
/* Slide görseli: arka plan tam viewport genişliği (container dışında) */
.hero-section.hero-slide-full {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}
.hero-car-img {
    position: absolute;
    right: -10%;
    top: 55%;
    transform: translateY(-50%);
    width: 60%;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}
* { letter-spacing: normal !important; }
.site-logo-link {
    line-height: 0;
    text-decoration: none;
}
.site-logo {
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}
/* Araç kartı — admin’de one_cikar ile koyu tema */
.vehicle-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    max-width: 100%;
}
/* Liste: tablet ve dar laptop’ta tek sütun (kart ~300px’te taşmayı önler) */
.vehicle-list-grid {
    width: 100%;
}
/* Tablet ve mobil: tek sütun liste (kart taşmasını önler) */
@media (max-width: 1023px) {
    .vehicle-list-grid {
        grid-template-columns: 1fr !important;
    }
    .vehicle-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .vehicle-card-actions {
        width: 100%;
    }
    .vehicle-card-actions > a {
        justify-content: center;
    }
}
.vehicle-card-feat > div {
    min-width: 0;
}
.vehicle-card-img {
    max-width: 100%;
}
.image-gallery-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.carousel-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.vehicle-card:hover .carousel-btn {
    opacity: 1;
}

.faq-details summary::-webkit-details-marker {
    display: none;
}
.faq-details summary {
    list-style: none;
}
.car-details-grid {
    text-align: right;
    font-size: 11px;
    color: #1e293b;
    font-weight: 500;
}
.price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #d0021b;
    border-radius: 8px;
    padding: 10px;
    flex: 1;
}
.price-box.primary {
    background: #d0021b;
    color: white;
}
.price-box.outline {
    background: white;
    color: #1e293b;
}

/* Ana sayfa — premium rezervasyon çubuğu (light) */
.home-booking-card,
.kirala-booking-card {
    position: relative;
    z-index: 30;
}
/* Açık picker varken kartı üst katmana al (alt bölümlerin üstünde kalsın) */
.home-booking-card:has(.booking-picker-panel:not(.hidden)),
.kirala-booking-card:has(.booking-picker-panel:not(.hidden)) {
    z-index: 80;
}
.booking-picker-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(15, 23, 42, 0.42);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    cursor: pointer;
    animation: bookingOverlayIn 0.2s ease;
}
.booking-picker-overlay.hidden {
    display: none !important;
}
@keyframes bookingOverlayIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.home-booking-card .input-group,
.kirala-booking-card .input-group {
    position: relative;
    z-index: 0;
}
.home-booking-card .input-group:has(.booking-picker-panel:not(.hidden)),
.kirala-booking-card .input-group:has(.booking-picker-panel:not(.hidden)) {
    z-index: 50;
}
.booking-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: end;
}
@media (min-width: 1024px) {
    .booking-bar {
        grid-template-columns: 1.2fr 1fr 1fr minmax(180px, 220px);
        gap: 1.25rem;
    }
    .booking-bar--transfer {
        grid-template-columns: 1fr 1fr 1.15fr minmax(180px, 220px);
    }
}
.booking-label-meta {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 6px;
    margin-left: 4px;
    letter-spacing: 0.02em;
}
.booking-label-meta--accent {
    color: #d0021b;
}
.booking-input-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    min-height: 64px;
    border-radius: 8px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.booking-input-box:hover {
    border-color: #d0021b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(208, 2, 27, 0.08);
}
.booking-input-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.booking-date-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    min-width: 2rem;
}
.booking-date-meta {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    line-height: 1.2;
}
.booking-time-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}
.booking-picker-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid #e2e8f0;
    z-index: 60;
    padding: 1rem 1.25rem;
    min-width: 280px;
    animation: bookingPanelIn 0.25s ease;
}
.booking-picker-panel:not(.hidden) {
    display: block;
}
.booking-picker-panel--calendar {
    min-width: 300px;
}
@keyframes bookingPanelIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.booking-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.booking-cal-grid-h {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 800;
    color: #cbd5e1;
    text-transform: uppercase;
}
.booking-cal-grid-d {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.booking-cal-day {
    width: 100%;
    aspect-ratio: 1;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #334155;
    font-family: inherit;
    transition: background 0.15s ease, color 0.15s ease;
}
.booking-cal-day:hover:not(:disabled):not(.booking-cal-day--empty) {
    background: #f1f5f9;
    color: #d0021b;
}
.booking-cal-day--empty {
    cursor: default;
    pointer-events: none;
}
.booking-cal-day--muted {
    color: #cbd5e1;
    cursor: not-allowed;
}
.booking-cal-day--today {
    box-shadow: inset 0 0 0 1px #d0021b;
    color: #d0021b;
    font-weight: 800;
}
.booking-cal-day--selected {
    background: #d0021b;
    color: #fff;
    font-weight: 800;
}
.booking-cal-day--selected:hover {
    background: #a00115;
    color: #fff;
}
.booking-loc-row {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease;
}
.booking-loc-row:hover {
    background: #f8fafc;
}
.booking-loc-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.booking-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: 208px;
    overflow-y: auto;
    padding-right: 4px;
}
.booking-time-btn {
    padding: 10px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
    color: #334155;
}
.booking-time-btn:hover {
    border-color: #d0021b;
    color: #d0021b;
    background: #fff;
}
.booking-time-btn--active {
    background: #d0021b;
    color: #fff;
    border-color: #d0021b;
}

/* Mobil: alt sabit bar + araç detay CTA için içerik alt boşluğu */
@media (max-width: 1023px) {
    body.has-mobile-kirala-bar {
        padding-bottom: 5rem;
    }
    body.has-vehicle-mobile-cta {
        padding-bottom: 5.75rem;
    }
}
@media (min-width: 1024px) {
    body.has-mobile-kirala-bar,
    body.has-vehicle-mobile-cta {
        padding-bottom: 0;
    }
}
