/* ========================================
   AVIS - Shared Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #d80a28;
    --primary-dark: #ad0620;
    --primary-light: #e6232b;
    --secondary: #15182b;
    --bg-main: #fff7f7;
    --bg-section: #fff1f1;
    --bg-card: #ffffff;
    --text-dark: #15182b;
    --text-gray: #555f70;
    --text-light: #333333;
    --border: #eee;
    --border-light: #f5d3d6;
    --hero-from: #f8bec2;
    --hero-to: #ffe8e8;
    --whatsapp: #25d366;
    --success: #168a50;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   MULTI-PAGE SYSTEM
   ======================================== */
.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Yapışkan header altında kalmasın: bölümlere kaydırma payı */
#homeCarsSection,
#aboutSection,
#ctaSection,
#contactSection {
    scroll-margin-top: 96px;
}

/* Mobilde tüm sayfalar scroll ile görünsün */
@media (max-width: 768px) {
    .page {
        display: block !important;
        animation: none;
    }
    .page + .page {
        border-top: 1px solid var(--border-light);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.35);
    background: var(--primary-dark);
}

.btn-outline {
    background: #ffffff;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--secondary);
    padding: 8px 0;
    font-size: 0.85rem;
    color: #ffffff;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
}

.top-bar-left i { color: #ffffff; }

.top-bar-right a {
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.top-bar-right a:hover { color: #ffffff; }

/* ========================================
   HEADER
   ======================================== */
.header {
    background: rgba(255, 255, 255, 0.97);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-name span { color: var(--primary); }

.logo-sub {
    font-size: 0.65rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav a:hover { color: var(--primary); }

.nav a.nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

.nav a.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.mobile-toggle {
    display: none;
    position: relative;
    z-index: 1001;
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-toggle i {
    pointer-events: none;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 16, 46, 0.08);
    border: 1px solid rgba(200, 16, 46, 0.25);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span { color: var(--primary); }

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-desc strong { color: var(--text-dark); }

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.hero-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   CARS SECTION
   ======================================== */
.cars-section { padding: 60px 0; }

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.car-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.car-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Araç fotoğrafları tam kadraj 1000x500 (2:1) opak görsel olarak hazırlandı
   (bkz. tools/normalize_cars.py): kaynak dosyalardaki geniş şeffaf kenarlık
   tamamen kesildi. Kart başlığı da 2:1 olduğu için fotoğraf `cover` ile
   kenardan kenara oturur — ortada köşeli kutu / çerçeve görünmez. */
.car-card-header {
    position: relative;
    padding: 0;
    display: block;
    background: #dfe3ea;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

/* Başlık metinlerinin okunurluğu için alt kenarda çok hafif koyulaşma */
.car-card-header::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(10, 13, 20, 0.14) 100%);
    pointer-events: none;
}

.car-card-header img {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    /* Ölçek payı: yuvarlama kaynaklı saç teli kalınlığındaki kenar çizgisini de
       kapatır, fotoğraf her koşulda kenardan kenara oturur. */
    transform: scale(1.03);
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.car-card:hover .car-card-header img { transform: scale(1.09); }

.car-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.car-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.car-badge.economy { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.car-badge.special { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.car-badge.premium { background: rgba(168, 85, 247, 0.1); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }
.car-badge.suv { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.car-badge.kasko { background: rgba(200, 16, 46, 0.08); color: var(--primary); border: 1px solid rgba(200, 16, 46, 0.25); }

.car-card-body { padding: 20px; }

.car-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.car-card-title h3 { font-size: 1.3rem; font-weight: 700; }

.car-card-title span {
    font-size: 0.7rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.car-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.car-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.car-spec i { color: #666; font-size: 1rem; }

.car-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.price-item {
    background: #fdf2f2;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.price-item .label { font-size: 0.65rem; color: #777; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.price-item .amount { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); }
.price-item .sub { font-size: 0.7rem; color: var(--primary); margin-top: 2px; }
.price-item.popular { border-color: var(--primary); background: rgba(200, 16, 46, 0.05); }
.price-item.popular .label { color: var(--primary); }

/* Araç kartı taşma koruması: butonlar kart genişliğine sığar */
.car-card, .car-card * { box-sizing: border-box; }
.car-card { overflow: hidden; }
.car-card-body { min-width: 0; }

.car-card-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.car-card-actions .btn {
    min-width: 0;
    width: 100%;
    justify-content: center;
    padding: 10px 6px;
    font-size: 0.72rem;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 10px;
}

.car-card-actions .btn i { font-size: 0.95rem; flex: 0 0 auto; }

/* Dar ekranlarda buton metinlerini daha da sıkıştır */
@media (max-width: 420px) {
    .car-card-actions { gap: 6px; }
    .car-card-actions .btn { padding: 9px 4px; font-size: 0.66rem; gap: 4px; }
    .car-card-actions .btn i { font-size: 0.9rem; }
}

/* ========================================
   RANDEVU — GÖRSEL ARAÇ SEÇİM LİSTESİ
   ======================================== */
.rv-picker-tools {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 14px;
}

.rv-search { position: relative; flex: 1 1 220px; min-width: 0; }
.rv-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #a0a0a8; }

.rv-search input {
    width: 100%;
    padding: 11px 12px 11px 36px;
    border: 1px solid #e3e3e8;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    box-sizing: border-box;
}

.rv-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}

.rv-cats { display: flex; gap: 6px; flex-wrap: wrap; }

.rv-cat {
    padding: 8px 13px;
    border: 1px solid #e3e3e8;
    background: #fff;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.rv-cat:hover { border-color: rgba(200, 16, 46, 0.4); color: var(--primary); }
.rv-cat.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Tıkla-açılır araç seçici — yerel select (her tarayıcıda güvenilir tıklama) */
.rv-select { position: relative; }

.rv-select-native {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    padding: 15px 44px 15px 16px;
    border: 2px solid #e3e3e8;
    border-radius: 14px;
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1f;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rv-select-native:hover { border-color: rgba(200, 16, 46, 0.45); }
.rv-select-native:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.12);
}

.rv-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9a9aa5;
    pointer-events: none;
}

.rv-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    border: 2px solid #e3e3e8;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rv-select-trigger:hover { border-color: rgba(200, 16, 46, 0.45); }
.rv-select.open .rv-select-trigger {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.12);
}

.rv-trigger-main { display: flex; align-items: center; gap: 12px; min-width: 0; }

.rv-trigger-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: #fdeaec;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.rv-trigger-img {
    width: 68px;
    height: 46px;
    object-fit: cover;
    object-position: center center;
    border-radius: 9px;
    background: #e6e9ef;
    flex-shrink: 0;
}

.rv-trigger-texts { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.rv-trigger-texts strong {
    font-size: 0.95rem;
    color: #1a1a1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rv-trigger-texts small { font-size: 0.75rem; color: #7a7a85; }

.rv-trigger-arrow { color: #9a9aa5; transition: transform 0.25s; flex-shrink: 0; }
.rv-select.open .rv-trigger-arrow { transform: rotate(180deg); color: var(--primary); }

/* Liste sayfa akışında açılır: absolute konum + iç kaydırma tıklamayı bozuyordu */
.rv-select-panel {
    margin-top: 10px;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(20, 20, 40, 0.16);
    padding: 6px;
}

.rv-car-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background 0.15s;
}

.rv-car-row:hover { background: #fdf3f4; }
.rv-car-row.selected { background: #fdeaec; }

.rv-car-row img {
    width: 72px;
    height: 48px;
    object-fit: cover;
    object-position: center center;
    background: #e6e9ef;
    border-radius: 8px;
    flex-shrink: 0;
}

.rv-row-texts { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 2px; }
.rv-row-texts strong {
    font-size: 0.88rem;
    color: #1a1a1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rv-row-texts small { font-size: 0.72rem; color: #7a7a85; }

.rv-row-price { font-size: 0.8rem; font-weight: 800; color: var(--primary); white-space: nowrap; }
.rv-row-check { color: var(--primary); opacity: 0; flex-shrink: 0; }
.rv-car-row.selected .rv-row-check { opacity: 1; }

@media (max-width: 520px) {
    .rv-car-row img { width: 56px; height: 40px; }
    .rv-row-price { font-size: 0.72rem; }
    .rv-trigger-img { width: 58px; height: 40px; }
}

.rv-car-option {
    position: relative;
    border: 2px solid #ececf1;
    border-radius: 14px;
    background: #fff;
    padding: 0 0 12px;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    font-family: inherit;
    transition: all 0.22s;
}

.rv-car-option:hover { border-color: rgba(200, 16, 46, 0.45); transform: translateY(-2px); }

.rv-car-option.selected {
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(200, 16, 46, 0.16);
}

.rv-car-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: #e6e9ef;
    overflow: hidden;
}

.rv-car-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    padding: 0;
    box-sizing: border-box;
}

.rv-car-option strong { display: block; font-size: 0.86rem; margin: 9px 8px 2px; color: var(--text-dark); }
.rv-car-option small { display: block; font-size: 0.7rem; color: #999; padding: 0 8px; }
.rv-car-option .rv-opt-price { display: block; margin-top: 5px; font-size: 0.8rem; font-weight: 700; color: var(--primary); }

.rv-car-option .rv-opt-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 2;
}

.rv-car-option.selected .rv-opt-check { display: flex; }

.rv-empty { grid-column: 1 / -1; text-align: center; color: #999; padding: 26px 10px; font-size: 0.9rem; }
.rv-pick-hint { font-size: 0.8rem; color: #888; margin-bottom: 10px; }

/* ========================================
   ADMIN — FOTOĞRAF YÜKLEME & HIZLI FİYAT
   ======================================== */
.admin-upload { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }

.admin-upload-box {
    flex: 1 1 220px;
    min-width: 0;
    border: 2px dashed #d8d8e0;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    color: #666;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.admin-upload-box:hover { border-color: var(--primary); color: var(--primary); background: rgba(200, 16, 46, 0.03); }
.admin-upload-box i { font-size: 1.6rem; display: block; margin-bottom: 6px; }

.admin-upload-preview {
    width: 158px;
    min-height: 100px;
    border: 1px solid #ececf1;
    border-radius: 12px;
    background: radial-gradient(120% 90% at 50% 0%, #fff 0%, #f6f6fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
    box-sizing: border-box;
}

.admin-upload-preview img { max-width: 100%; max-height: 90px; object-fit: contain; }

.price-input {
    width: 100%;
    max-width: 112px;
    padding: 8px 10px;
    border: 1px solid #e3e3e8;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    box-sizing: border-box;
}

.price-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08); }

.icon-btn.save { color: #168a50; border-color: rgba(22, 138, 80, 0.3); }
.icon-btn.save:hover { background: rgba(22, 138, 80, 0.1); }

/* ========================================
   WHY US
   ======================================== */
.why-section { padding: 80px 0; background: var(--bg-section); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.why-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.why-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.why-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 16px; display: block; }
.why-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.7; }

/* ========================================
   ABOUT
   ======================================== */
.about-section { padding: 80px 0; }
.about-content { max-width: 900px; margin: 0 auto; }
.about-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.about-content h3 { font-size: 1.4rem; font-weight: 600; margin-top: 32px; margin-bottom: 12px; }
.about-content p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; }
.about-content strong { color: var(--text-dark); }
.about-content ul { list-style: none; margin: 16px 0; }
.about-content ul li { color: var(--text-gray); font-size: 0.95rem; padding: 8px 0 8px 24px; position: relative; }
.about-content ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-size: 1.2rem; }
.about-content ul li strong { color: var(--text-dark); }

/* ========================================
   CONTACT
   ======================================== */
.contact-section { padding: 60px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.contact-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.contact-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 12px; display: block; }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--text-gray); font-size: 0.9rem; }
.contact-card a { color: var(--primary); font-weight: 500; }

.company-info {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.company-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-grid div {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.info-grid strong { color: var(--text-dark); }

/* ========================================
   RESERVATION
   ======================================== */
.reservation-section { padding: 60px 0; }

.reservation-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group label i {
    color: var(--primary);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.08);
}

.form-group small {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row.three {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-hint {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 16px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-section { padding: 80px 0; background: var(--bg-section); }
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--primary); }
.faq-question i { font-size: 1.2rem; transition: transform 0.3s; }
.faq-answer { padding: 0 24px 20px; color: var(--text-gray); font-size: 0.9rem; line-height: 1.7; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--secondary);
    padding: 60px 0 30px;
    border-top: 1px solid #333;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-name { margin-bottom: 8px; }
.footer-brand p { color: #aaa; font-size: 0.85rem; margin-bottom: 16px; }

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ccc;
    margin-right: 8px;
    transition: all 0.3s;
}

.footer-social a:hover { border-color: var(--primary); color: var(--primary); }

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #bbb; font-size: 0.85rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: #ffffff; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #bbb;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.footer-contact li i { color: var(--primary); margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p { color: #999; font-size: 0.8rem; }

/* ========================================
   FLOAT BUTTON (Sağ Alt - Sabit WhatsApp)
   ======================================== */
.float-buttons {
    position: fixed;
    right: 20px;
    left: auto;
    bottom: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    transform: translateZ(0);
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.float-btn:hover { transform: scale(1.1); }

.whatsapp-float-btn {
    background: #25d366;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.phone-float-btn {
    background: var(--primary, #d80a28);
    box-shadow: 0 4px 20px rgba(216, 10, 40, 0.45);
}

@media (max-width: 768px) {
    .float-btn { width: 52px; height: 52px; font-size: 1.6rem; }
}


/* ========================================
   QUICK REQUEST FORM (Hızlı Talep)
   ======================================== */
.quick-request-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.quick-request-section .section-title h2 {
    font-size: 1.5rem;
    color: var(--primary);
}

.quick-request-section .section-title p {
    color: var(--text-gray);
    margin-top: 4px;
}

.quick-request-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.quick-request-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.quick-request-form .form-group {
    margin-bottom: 12px;
}

.quick-request-form .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.quick-request-form .form-group label i {
    color: var(--primary);
    margin-right: 4px;
}

.quick-request-form .form-group input,
.quick-request-form .form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.quick-request-form .form-group input:focus,
.quick-request-form .form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

.quick-request-form .btn-full {
    width: 100%;
}

.quick-request-form .btn-lg {
    padding: 14px 24px;
    font-size: 1.05rem;
}

.form-buttons-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.form-buttons-row .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
}

.btn-success {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.btn-success:hover {
    background: #1da851;
}

@media (max-width: 480px) {
    .form-buttons-row {
        flex-direction: column;
    }
}

.quick-request-form .form-hint {
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 10px;
}

/* Masaüstünde talep formu gizle (sadece mobilde göster) */
@media (min-width: 769px) {
    .quick-request-section {
        display: none;
    }
}

@media (max-width: 768px) {
    .quick-request-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ADMIN PANEL STYLES
   ======================================== */
.admin-body { background: #f1f5f9; }

.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.login-header { text-align: center; margin-bottom: 32px; }
.login-header p { color: var(--text-gray); margin-top: 8px; }
.login-hint { text-align: center; font-size: 0.8rem; color: #999; margin-top: 16px; }

.admin-dashboard { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 260px;
    background: var(--secondary);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-badge {
    font-size: 0.65rem;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.sidebar-nav { flex: 1; padding: 16px 12px; }

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #bbb;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.sidebar-link:hover { background: rgba(255,255,255,0.08); color: #ffffff; }
.sidebar-link.active { background: var(--primary); color: #ffffff; }
.sidebar-link i { font-size: 1.2rem; }

.sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.sidebar-footer .btn-outline { background: transparent; color: #bbb; border-color: rgba(255,255,255,0.2); }
.sidebar-footer .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.admin-content { flex: 1; margin-left: 260px; padding: 32px; min-height: 100vh; }

.admin-section { display: none; }
.admin-section:first-of-type { display: block; }

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-header h1 { font-size: 1.8rem; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.admin-header h1 i { color: var(--primary); }
.admin-header p { color: var(--text-gray); font-size: 0.9rem; width: 100%; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(200, 16, 46, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.green { background: rgba(37, 211, 102, 0.1); color: #25d366; }
.stat-icon.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.stat-number { display: block; font-size: 1.5rem; font-weight: 700; }
.stat-label { display: block; font-size: 0.8rem; color: var(--text-gray); }

.quick-actions h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; }

.actions-grid { display: flex; gap: 12px; flex-wrap: wrap; }

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-dark);
    font-family: inherit;
}

.action-btn:hover { border-color: var(--primary); color: var(--primary); }

.admin-table-wrapper {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.admin-table { width: 100%; border-collapse: collapse; }

.admin-table th {
    background: #f8fafc;
    padding: 14px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    border-bottom: 1px solid #eee;
}

.admin-table td { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; }
.admin-table tr:hover { background: #fafafa; }

.table-car-img {
    width: 96px;
    height: 54px;
    object-fit: cover;
    object-position: center center;
    border-radius: 8px;
    padding: 0;
    background: #e6e9ef;
    border: 1px solid #e2e5ec;
}

.table-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; }
.table-badge.economy { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.table-badge.special { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.table-badge.premium { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.table-badge.suv { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

.icon-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
    margin-right: 4px;
}

.icon-btn.edit { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-btn.edit:hover { background: rgba(59, 130, 246, 0.2); }
.icon-btn.delete { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.icon-btn.delete:hover { background: rgba(239, 68, 68, 0.2); }

.settings-form { max-width: 600px; }

.settings-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.settings-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.settings-card h3 i { color: var(--primary); }

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid #eee; }
.modal-header h2 { font-size: 1.3rem; font-weight: 700; }

.modal-close {
    width: 36px; height: 36px; border: none; background: #f1f5f9; border-radius: 8px;
    cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: background 0.2s;
}

.modal-close:hover { background: #e2e8f0; }
.modal-body { padding: 24px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid #eee; }

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 99999;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: #10b981; color: #ffffff; }
.toast.error { background: #ef4444; color: #ffffff; }

/* ========================================
   AÇILIŞ KARTLARI (POPUP)
   ======================================== */
.popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    z-index: 99999 !important;
}

.popup-overlay.active {
    display: flex !important;
    animation: popupFade 0.3s ease both;
}

body.popup-open { overflow: visible; }

@keyframes popupFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-card {
    position: relative;
    pointer-events: auto;
    width: 100%;
    max-width: 470px;
    background: linear-gradient(168deg, #ffffff 0%, #ffffff 58%, #fff6f7 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 26px;
    padding: 40px 32px 30px;
    text-align: center;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.35),
        0 34px 90px rgba(0, 0, 0, 0.5),
        0 0 70px rgba(255, 59, 78, 0.3);
    animation: popupRise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Kartın üstünde parlayan marka şeridi */
.popup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff3b4e, #ff8a3d, #ff3b4e);
    background-size: 220% 100%;
    animation: popupSheen 3s linear infinite;
}

/* Kart yüzeyinde gezinen ışık parlaması */
.popup-card::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -35%;
    width: 45%;
    height: 220%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
    transform: rotate(16deg);
    pointer-events: none;
    animation: popupGlare 4.2s ease-in-out infinite;
}

.popup-card > * { position: relative; z-index: 2; }

@keyframes popupSheen {
    from { background-position: 0% 50%; }
    to { background-position: 220% 50%; }
}

@keyframes popupGlare {
    0%, 62% { left: -40%; opacity: 0; }
    72% { opacity: 0.85; }
    100% { left: 125%; opacity: 0; }
}

@keyframes popupRise {
    from { opacity: 0; transform: translateY(34px) scale(0.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(20, 22, 28, 0.06);
    color: #6b7080;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.popup-close:hover {
    background: #14161c;
    color: #ffffff;
    transform: rotate(90deg);
}

.popup-icon {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 20px;
    color: #ffffff;
    background: linear-gradient(140deg, #ffb347, #f08a1d);
    box-shadow: 0 16px 34px rgba(240, 138, 29, 0.42);
    animation: popupPulse 2.6s ease-in-out infinite;
}

.popup-icon.campaign {
    background: linear-gradient(140deg, #ff5468, #e01126);
    box-shadow: 0 16px 34px rgba(224, 17, 38, 0.45);
}

@keyframes popupPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.05); }
}

.popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    margin-bottom: 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #e01126;
    background: rgba(224, 17, 38, 0.1);
    border: 1px solid rgba(224, 17, 38, 0.22);
}

.popup-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #14161c;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.popup-card p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #5b6070;
    margin-bottom: 26px;
}

.popup-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.popup-actions .btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 800;
}

.popup-actions .btn-primary {
    background: linear-gradient(135deg, #ff3b4e, #d90d22);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 14px 30px rgba(224, 17, 38, 0.38);
}

.popup-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(224, 17, 38, 0.48);
}

.popup-actions .btn-outline {
    background: transparent !important;
    color: #14161c !important;
    border: 2px solid rgba(20, 22, 28, 0.16);
}

.popup-actions .btn-outline:hover {
    background: transparent !important;
    border-color: #14161c;
    color: #14161c !important;
}

.popup-actions-end { justify-content: center; }
.popup-actions-end .btn { flex: 0 1 auto; min-width: 220px; }

.popup-note {
    margin: 16px 0 0;
    font-size: 0.78rem;
    color: #9aa0b0;
}

@media (max-width: 480px) {
    .popup-card { padding: 34px 20px 24px; border-radius: 22px; }
    .popup-card h3 { font-size: 1.28rem; }
    .popup-icon { width: 64px; height: 64px; font-size: 1.9rem; }
    .popup-actions { flex-direction: column; }
    .popup-actions-end .btn { width: 100%; min-width: 0; }
}

/* Ana sayfada üstteki filo bölümü */
.home-cars-section { padding: 34px 0 20px; }

/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.btn-whatsapp {
    background: var(--whatsapp);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

/* ========================================
   CTA SECTION (Ara / WhatsApp)
   ======================================== */
.cta-section {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--hero-to) 0%, #ffffff 100%);
}

.cta-section .section-title h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.9rem;
}

.cta-section .section-title h2 i { color: var(--primary); }

.cta-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 780px;
    margin: 0 auto;
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px 20px;
    border-radius: 20px;
    background: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(216, 10, 40, 0.10);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.cta-card i { font-size: 2.4rem; }
.cta-card .cta-title { font-weight: 800; font-size: 1.05rem; }
.cta-card .cta-sub { font-size: 0.9rem; color: var(--text-gray); }

.cta-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.cta-phone i { color: var(--primary); }
.cta-phone:hover { border-color: var(--primary); }
.cta-whatsapp i { color: var(--whatsapp); }
.cta-whatsapp:hover { border-color: var(--whatsapp); }

.cta-hint {
    text-align: center;
    margin-top: 22px;
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ========================================
   REZERVASYON SAYFASI (4 Adım)
   ======================================== */
.rz-hero {
    background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 100%);
    padding: 44px 0 34px;
    text-align: center;
}

.rz-hero h1 {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.rz-hero p { color: #6b4a4d; font-size: 0.95rem; }

.rz-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 26px auto 0;
    max-width: 760px;
    flex-wrap: nowrap;
}

.rz-step-dot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 50px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(216, 10, 40, 0.2);
    font-size: 0.8rem;
    font-weight: 600;
    color: #8a6a6d;
    white-space: nowrap;
    transition: all 0.25s;
}

.rz-step-dot .num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e9cdd0;
    color: #8a6a6d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.rz-step-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(216, 10, 40, 0.35);
}

.rz-step-dot.active .num { background: #ffffff; color: var(--primary); }
.rz-step-dot.done { background: #ffffff; border-color: var(--success); color: var(--success); }
.rz-step-dot.done .num { background: var(--success); color: #ffffff; }
.rz-step-line { width: 22px; height: 2px; background: rgba(216,10,40,0.25); flex-shrink: 0; }

.rz-section { padding: 40px 0 70px; }

.rz-wrap {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 26px;
    align-items: start;
}

.rz-panel {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 6px 26px rgba(216, 10, 40, 0.08);
}

.rz-panel h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.rz-panel h2 i { color: var(--primary); }
.rz-panel .rz-panel-sub { color: var(--text-gray); font-size: 0.88rem; margin-bottom: 22px; }

.rz-step { display: none; }
.rz-step.active { display: block; animation: fadeIn 0.3s ease; }

.rz-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.rz-actions .btn { padding: 13px 24px; }
.rz-actions .spacer { flex: 1; }

.rz-error {
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(216, 10, 40, 0.08);
    border: 1px solid rgba(216, 10, 40, 0.3);
    color: var(--primary-dark);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.rz-error.show { display: flex; }

/* Araç seçim listesi */
.rz-car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
    max-height: 560px;
    overflow-y: auto;
    padding: 4px;
}

.rz-car {
    position: relative;
    border: 2px solid #eee;
    border-radius: 14px;
    background: #ffffff;
    padding: 10px;
    cursor: pointer;
    transition: all 0.22s;
    text-align: left;
    font-family: inherit;
}

.rz-car:hover { border-color: var(--primary-light); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }

.rz-car.selected {
    border-color: var(--primary);
    background: rgba(216, 10, 40, 0.04);
    box-shadow: 0 10px 26px rgba(216, 10, 40, 0.18);
}

.rz-car-thumb {
    position: relative;
    background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
    border-radius: 10px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    overflow: hidden;
}

.rz-car-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.03);
}
.rz-car-name { font-weight: 700; font-size: 0.92rem; margin-bottom: 3px; }
.rz-car-meta { font-size: 0.72rem; color: var(--text-gray); margin-bottom: 7px; }

.rz-car-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
}

.rz-car-price small { font-size: 0.68rem; color: var(--text-gray); font-weight: 500; }

.rz-car-check {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 3;
}

.rz-car.selected .rz-car-check { display: flex; }

/* Seçilen aracın büyük fotoğrafı */
.rz-selected-car {
    display: none;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: center;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 22px;
}

.rz-selected-car.show { display: grid; }

.rz-selected-photo {
    position: relative;
    background: #e6e9ef;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.rz-selected-photo img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    object-position: center center;
}

.rz-selected-info h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }

.rz-selected-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 10px 0 12px;
}

.rz-selected-specs span { font-size: 0.82rem; color: var(--text-gray); display: flex; align-items: center; gap: 5px; }
.rz-selected-specs i { color: var(--primary); }

/* Ekstralar */
.rz-extras { display: grid; gap: 10px; margin-top: 6px; }

.rz-extra {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    padding: 13px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.rz-extra:hover { border-color: var(--primary-light); }
.rz-extra input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.rz-extra .ex-name { font-weight: 600; font-size: 0.9rem; flex: 1; }
.rz-extra .ex-price { font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.rz-extra.checked { border-color: var(--primary); background: rgba(216, 10, 40, 0.04); }

/* Özet paneli */
.rz-summary {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 26px rgba(216, 10, 40, 0.10);
    position: sticky;
    top: 90px;
}

.rz-summary-head {
    background: var(--secondary);
    color: #ffffff;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rz-summary-photo {
    position: relative;
    background: #e6e9ef;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    border-bottom: 1px solid var(--border-light);
}

.rz-summary-photo img {
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
    object-position: center center;
}

.rz-summary-empty {
    text-align: center;
    color: #b9a3a5;
    font-size: 0.85rem;
    padding: 20px 10px;
}

.rz-summary-empty i { font-size: 2.2rem; display: block; margin-bottom: 8px; color: #e3c8ca; }
.rz-summary-body { padding: 18px 20px; }

.rz-sum-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    padding: 7px 0;
    border-bottom: 1px dashed #f1e3e4;
}

.rz-sum-row:last-child { border-bottom: none; }
.rz-sum-row .k { color: var(--text-gray); }
.rz-sum-row .v { font-weight: 600; text-align: right; }

.rz-total {
    margin-top: 14px;
    background: rgba(216, 10, 40, 0.06);
    border: 1px solid rgba(216, 10, 40, 0.22);
    border-radius: 12px;
    padding: 14px 16px;
}

.rz-total .lbl { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--primary); font-weight: 700; }
.rz-total .amt { font-size: 1.7rem; font-weight: 900; color: var(--primary); line-height: 1.2; }
.rz-total .dep { font-size: 0.75rem; color: var(--text-gray); }

/* Onay ekranı */
.rz-confirm-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.rz-confirm-photo {
    position: relative;
    background: #e6e9ef;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.rz-confirm-photo img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    object-position: center center;
}

.rz-confirm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }

.rz-confirm-list div {
    font-size: 0.85rem;
    color: var(--text-gray);
    padding-bottom: 8px;
    border-bottom: 1px dashed #f0dfe0;
}

.rz-confirm-list strong { display: block; color: var(--text-dark); font-size: 0.9rem; }

.rz-success {
    display: none;
    text-align: center;
    padding: 34px 20px;
}

.rz-success.show { display: block; }
.rz-success i.big { font-size: 3.6rem; color: var(--success); display: block; margin-bottom: 12px; }
.rz-success h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.rz-success p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 6px; }

.rz-code {
    display: inline-block;
    margin: 14px 0 20px;
    background: var(--secondary);
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

@media (max-width: 1024px) {
    .rz-wrap { grid-template-columns: 1fr; }
    .rz-summary { position: static; }
    .rz-confirm-card { grid-template-columns: 1fr; }
    .rz-selected-car { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .rz-hero h1 { font-size: 1.55rem; }
    .rz-panel { padding: 20px 16px; }
    .rz-steps { overflow-x: auto; justify-content: flex-start; padding: 4px 14px 8px; }
    .rz-step-dot { font-size: 0.72rem; padding: 7px 11px; }
    .rz-car-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-height: none; }
    .rz-confirm-list { grid-template-columns: 1fr; }
    .rz-actions { flex-direction: column-reverse; }
    .rz-actions .btn { width: 100%; justify-content: center; }
    .rz-actions .spacer { display: none; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .cars-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: block !important; }

    .nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #eee;
        gap: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 9999;
    }

    .nav.active { display: flex !important; }
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .cars-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-features { gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .form-row.three { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: 1fr; }

    .admin-sidebar { width: 100%; position: relative; }
    .admin-content { margin-left: 0; padding: 20px; }
    .admin-dashboard { flex-direction: column; }
    .sidebar-nav { display: flex; overflow-x: auto; padding: 12px; gap: 4px; }
    .sidebar-link { white-space: nowrap; padding: 10px 14px; font-size: 0.8rem; }
    .admin-table-wrapper { overflow-x: auto; }
}

@media (max-width: 480px) {
    .car-pricing { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8rem; }
    .top-bar-left { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
}

/* Admin koyu zemin ve footer: AVIS logosu okunur kırmızı */
.admin-sidebar .logo-name span,
.footer-brand .logo-name span { color: #ff3b4e; }

/* ========================================
   RANDEVU PANELİ (randevu.html)
   ======================================== */
.rv-page { padding: 40px 0 80px; background: var(--bg-section); min-height: 70vh; }

.rv-head { text-align: center; margin-bottom: 28px; }
.rv-head h1 { font-size: 2rem; font-weight: 900; color: var(--text-dark); margin-bottom: 8px; }
.rv-head h1 i { color: var(--primary); }
.rv-head p { color: #666; max-width: 620px; margin: 0 auto; }

/* Hızlı iletişim kartları */
.rv-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 720px;
    margin: 0 auto 32px;
}

.rv-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 22px 16px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rv-contact-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18); }
.rv-contact-card i { font-size: 1.9rem; margin-bottom: 4px; }
.rv-c-title { font-size: 1.05rem; font-weight: 800; }
.rv-c-sub { font-size: 0.82rem; opacity: 0.9; }
.rv-call { background: linear-gradient(135deg, #d80a28, #a80620); }
.rv-wa { background: linear-gradient(135deg, #25d366, #128c50); }

/* Form kartı */
.rv-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 28px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 14px 40px rgba(200, 16, 46, 0.08);
}

.rv-card-head { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.rv-card-head h2 { font-size: 1.35rem; font-weight: 800; color: var(--text-dark); }
.rv-card-head h2 i { color: var(--primary); }
.rv-card-head p { color: #777; font-size: 0.9rem; margin-top: 4px; }

.rv-block { margin-bottom: 26px; }
.rv-block h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rv-block h3 i { color: var(--primary); font-size: 1.15rem; }

.rv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rv-span2 { grid-column: 1 / -1; }

.rv-field { display: flex; flex-direction: column; min-width: 0; }
.rv-field label { font-size: 0.82rem; font-weight: 700; color: #444; margin-bottom: 6px; }
.rv-field small { font-size: 0.74rem; color: #999; margin-top: 5px; }

.rv-field input,
.rv-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-dark);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rv-field input:focus,
.rv-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

/* Araç önizleme */
.rv-car-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding: 14px;
    background: #fdf2f2;
    border: 1px solid rgba(200, 16, 46, 0.18);
    border-radius: 14px;
}

.rv-car-preview img {
    width: 168px;
    max-width: 42%;
    aspect-ratio: 16 / 10;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    object-position: center center;
    padding: 0;
    background: #e6e9ef;
    border: 1px solid rgba(200, 16, 46, 0.12);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}
.rv-car-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rv-car-info strong { font-size: 1.05rem; color: var(--text-dark); }
.rv-car-info span { font-size: 0.82rem; color: #666; }
.rv-car-price { font-weight: 700; color: var(--primary) !important; }

.rv-daynote {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(22, 138, 80, 0.1);
    border-left: 3px solid #168a50;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #0f6b3d;
}

/* Ehliyet yükleme */
.rv-upload { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.rv-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 26px 18px;
    border: 2px dashed rgba(200, 16, 46, 0.35);
    border-radius: 14px;
    background: #fffafa;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.rv-upload-box:hover { border-color: var(--primary); background: #fdf2f2; }
.rv-upload-box i { font-size: 2rem; color: var(--primary); }
.rv-upload-title { font-weight: 800; color: var(--text-dark); font-size: 0.95rem; }
.rv-upload-sub { font-size: 0.76rem; color: #888; }

.rv-license-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    background: #fff;
}

.rv-license-preview img { width: 100%; max-height: 200px; object-fit: contain; border-radius: 10px; }

.rv-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(200, 16, 46, 0.4);
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.rv-remove:hover { background: #fdf2f2; }

/* Hata & aksiyonlar */
.rv-error {
    padding: 12px 16px;
    background: #fdecec;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    color: #a80620;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rv-actions .btn { flex: 1 1 200px; justify-content: center; }

/* Başarı kartı */
.rv-success { text-align: center; }
.rv-success-icon i { font-size: 3.4rem; color: #168a50; }
.rv-success h2 { font-size: 1.5rem; font-weight: 900; color: var(--text-dark); margin: 10px 0 6px; }
.rv-success > p { color: #666; }
.rv-success strong { color: var(--primary); }

.rv-summary {
    text-align: left;
    margin: 22px 0;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.rv-sum-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 16px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-light);
}

.rv-sum-row:last-child { border-bottom: none; }
.rv-sum-row:nth-child(odd) { background: #fdf9f9; }
.rv-sum-row span { color: #777; }
.rv-sum-row strong { color: var(--text-dark); text-align: right; word-break: break-word; }

.rv-success-note {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 18px;
}

/* Admin randevu tablosu ek stilleri */
.table-license-img {
    width: 54px;
    height: 38px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    cursor: pointer;
}

@media (max-width: 768px) {
    .rv-page { padding: 24px 0 60px; }
    .rv-head h1 { font-size: 1.5rem; }
    .rv-card { padding: 20px 16px; border-radius: 14px; }
    .rv-grid { grid-template-columns: 1fr; }
    .rv-car-preview { flex-direction: column; align-items: flex-start; }
    .rv-car-preview img { width: 100%; max-width: 100%; }
    .rv-actions .btn { flex: 1 1 100%; }
    .rv-car-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); max-height: 380px; }
    .rv-picker-tools { flex-direction: column; align-items: stretch; }
    .rv-cats { justify-content: flex-start; }
    .admin-upload { flex-direction: column; }
    .admin-upload-preview { width: 100%; }
}
