/* ===== CSS VARIABLES ===== */
:root {
    --bg: #f7f9fc;
    --bg-2: #ffffff;
    --card: #ffffff;
    --muted: #6b7280;
    --text: #0f172a;
    --primary: #374151;
    --primary-700: #1f2937;
    --accent: #4b5563;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #0ea5e9;
    --ring: rgba(55, 65, 81, 0.18);
    --shadow-1: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-2: 0 8px 18px rgba(55, 65, 81, 0.18);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 10px;
    --container: 1200px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--bg);
}

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

/* ===== LAYOUT COMPONENTS ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8px;
}

.wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(160%) blur(15px);
    background: rgba(74, 140, 155, 0.75);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    position: relative;
}

.home-icon {
    position: absolute;
    left: 0;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.home-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0.9);
    transition: filter 0.2s ease;
}

.home-icon .home-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
    transition: color 0.2s ease;
}

.home-icon:hover .home-text {
    color: white;
}

.home-icon:hover img {
    filter: brightness(1);
}

.nav-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 16px;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: white;
}

/* ===== HOMEPAGE SPECIFIC STYLES ===== */
.homepage-body {
    background: url('../img/back.png') center/cover no-repeat fixed;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

.homepage-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background:
        radial-gradient(1200px 500px at 50% -220px, rgba(55, 65, 81, 0.15) 0%, rgba(55, 65, 81, 0) 60%),
        linear-gradient(180deg, rgba(55, 65, 81, 0.05) 0%, rgba(75, 85, 99, 0.3) 100%);
    pointer-events: none;
    z-index: -1;
    transform: translateZ(0);
}

/* ===== HOMEPAGE HERO SECTION ===== */
.hero {
    position: relative;
    padding: 0px 0 0px;
    margin-top: -30px;
    background: radial-gradient(800px 300px at 10% -60px, rgba(43, 217, 166, 0.10), transparent 60%), radial-gradient(700px 300px at 90% -80px, rgba(46, 163, 255, 0.08), transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
    justify-items: center;
}

.hero-grid>div {
    width: 100%;
    max-width: 1200px;
    /* eskisi gibi 1200px sınırı */
    margin: 0 auto;
    /* ortala */
}


.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 0px;
}

.hero-brand .logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: var(--shadow-2);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    font-size: 16px;
}

.hero-brand .brand-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #1f2937;
}

.hero-brand .brand-banner {
    max-width: 640px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-2);
}

/* ===== SEARCH CARD STYLES ===== */
.search-card {
    position: relative;
    /* ::before/::after için şart */
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(240, 245, 255, 0.7) 25%,
            rgba(255, 250, 240, 0.7) 50%,
            rgba(245, 255, 245, 0.7) 75%,
            rgba(255, 255, 255, 0.75) 100%);
    box-shadow:
        0 32px 64px rgba(15, 23, 42, 0.15),
        0 16px 32px rgba(15, 23, 42, 0.1),
        0 8px 16px rgba(15, 23, 42, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 0 rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(30px) saturate(200%) brightness(110%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    /* tek sınır */
    border-radius: 16px;
    /* tek radius */
    padding: 20px 8px;
    /* tek padding */
    width: 100%;
    max-width: 100%;
    /* genişliği sınırlı tut */
    margin: -30px auto 0;
    /* ortala */
    transform: none;
    /* perspektif/rotate yok */
    overflow: hidden;
}


.search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(55, 65, 81, 0.6) 25%,
            rgba(55, 65, 81, 0.6) 50%,
            rgba(55, 65, 81, 0.6) 75%,
            transparent 100%);
    border-radius: 32px 32px 0 0;
}

.search-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(55, 65, 81, 0.03) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 8px;
    align-items: end;
}

/* Ana sayfa search row input'ları için özel stil - ARA butonuyla uyumlu */
.search-card .search-row input[type="date"],
.search-card .search-row input[type="time"],
.search-card .search-row select {
    height: 40px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    border-radius: 6px !important;
    min-width: 120px !important;
    max-width: 150px !important;
}

/* Şehir seçme alanlarını uzat */
.search-card .search-row select[name="pickup_location"],
.search-card .search-row select[name="return_location"] {
    flex: 1 !important;
    min-width: 180px !important;
    max-width: none !important;
}

/* Sıralama butonunu incelt */
.search-card .row select#sortSelect {
    height: 32px !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
}

.search-card .search-row div[style*="display: flex"] {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
}

.search-card .search-row div[style*="display: flex"] input {
    height: 40px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    min-width: 120px !important;
    max-width: 150px !important;
}

/* ===== FILTER CHIPS ===== */
.filters-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.chip {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 14px;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(248, 250, 252, 0.8) 50%,
            rgba(241, 245, 249, 0.8) 100%);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
    flex-shrink: 0;
    min-width: fit-content;
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.08),
        0 4px 12px rgba(15, 23, 42, 0.06),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0;
}

.chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(55, 65, 81, 0.15),
            rgba(55, 65, 81, 0.15),
            rgba(55, 65, 81, 0.15),
            transparent);
    transition: left 0.6s;
}

.chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    transition: all 0.4s;
    transform: translate(-50%, -50%);
}

.chip:hover {
    background: linear-gradient(145deg,
            rgba(55, 65, 81, 0.1) 0%,
            rgba(55, 65, 81, 0.15) 50%,
            rgba(55, 65, 81, 0.2) 100%);
    border-color: rgba(55, 65, 81, 0.3);
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.12),
        0 8px 24px rgba(55, 65, 81, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.chip:hover::before {
    left: 100%;
}

.chip:hover::after {
    width: 150px;
    height: 150px;
}

.chip.active {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 250, 252, 0.9) 50%,
            rgba(241, 245, 249, 0.9) 100%);
    color: var(--text);
    border-color: rgba(55, 65, 81, 0.3);
    box-shadow:
        0 20px 48px rgba(15, 23, 42, 0.15),
        0 12px 32px rgba(15, 23, 42, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transform: translateY(-4px) scale(1.08);
}

.chip.default-active {
    background: #e5e7eb;
    border-color: rgba(15, 23, 42, 0.15);
    color: var(--text);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7280;
}

.separator {
    color: var(--muted);
    font-weight: 300;
    margin: 0 2px;
    flex-shrink: 0;
}

.reset-btn {
    color: var(--danger);
    border-color: var(--danger);
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 6px;
    background: linear-gradient(145deg,
            rgba(241, 245, 249, 0.8) 0%,
            rgba(226, 232, 240, 0.9) 50%,
            rgba(203, 213, 225, 0.9) 100%);
    border-radius: 8px;
    padding: 4px 8px;
    box-shadow:
        inset 0 4px 8px rgba(15, 23, 42, 0.08),
        inset 0 2px 4px rgba(15, 23, 42, 0.06),
        0 8px 24px rgba(15, 23, 42, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.tab {
    flex: 1;
    text-align: center;
    padding: 6px 10px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 700;
    color: #4b5563;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 3px solid transparent;
}

.tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(55, 65, 81, 0.2),
            rgba(55, 65, 81, 0.2),
            rgba(55, 65, 81, 0.2),
            transparent);
    transition: left 0.6s;
}

.tab::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    transition: all 0.4s;
    transform: translate(-50%, -50%);
}

.tab:hover {
    background: linear-gradient(145deg,
            rgba(55, 65, 81, 0.1) 0%,
            rgba(55, 65, 81, 0.15) 50%,
            rgba(55, 65, 81, 0.2) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.12),
        0 6px 20px rgba(55, 65, 81, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    border-color: rgba(55, 65, 81, 0.2);
}

.tab:hover::before {
    left: 100%;
}

.tab:hover::after {
    width: 120px;
    height: 120px;
}

.tab.active {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(248, 250, 252, 1) 50%,
            rgba(240, 245, 255, 1) 100%);
    color: var(--text);
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.15),
        0 8px 24px rgba(55, 65, 81, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(55, 65, 81, 0.4);
}

/* ===== BUTTON VARIATIONS ===== */
.btn-ghost {
    background: transparent;
    border: 1px dashed rgba(15, 23, 42, 0.25);
}

/* ===== CARD COMPONENTS ===== */
.card {
    background: rgba(255, 255, 255);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-1);
}

/* ===== GRID LAYOUTS ===== */
.grid-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}

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

.top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}

/* ===== IMAGE COMPONENTS ===== */
.img {
    background: #fff;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px;
}

.img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 16px;
}

.img img:last-child {
    margin-bottom: 0;
}

/* ===== TEXT & TYPOGRAPHY ===== */
.muted {
    color: var(--muted);
}

.price {
    font-size: 22px;
    font-weight: 800;
}

.total {
    font-size: 26px;
    font-weight: 900;
}

/* ===== FORM ELEMENTS ===== */
.input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    outline: none;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 250, 252, 0.9) 100%);
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.input::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(55, 65, 81, 0.1), transparent);
    transition: left 0.6s;
}

.input:hover {
    border-color: rgba(55, 65, 81, 0.3);
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.12),
        0 4px 16px rgba(55, 65, 81, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(55, 65, 81, 0.05) 100%);
}

.input:hover::before {
    left: 100%;
}

.input:focus {
    border-color: rgba(55, 65, 81, 0.6);
    box-shadow:
        0 0 0 6px rgba(55, 65, 81, 0.15),
        0 16px 40px rgba(15, 23, 42, 0.15),
        0 8px 24px rgba(55, 65, 81, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 1);
    transform: translateY(-4px) scale(1.03);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(55, 65, 81, 0.05) 100%);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 250, 252, 0.9) 50%,
            rgba(240, 245, 255, 0.9) 100%);
    cursor: pointer;
    appearance: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.12),
        0 4px 16px rgba(15, 23, 42, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(55, 65, 81, 0.2),
            rgba(55, 65, 81, 0.2),
            rgba(55, 65, 81, 0.2),
            transparent);
    transition: left 0.8s;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.4s;
    transform: translate(-50%, -50%);
}

.btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 20px 48px rgba(15, 23, 42, 0.18),
        0 8px 24px rgba(55, 65, 81, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    border-color: rgba(55, 65, 81, 0.3);
    background: linear-gradient(145deg,
            rgba(55, 65, 81, 0.1) 0%,
            rgba(55, 65, 81, 0.15) 50%,
            rgba(55, 65, 81, 0.2) 100%);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover::after {
    width: 200px;
    height: 200px;
}

.btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.btn-primary {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 250, 252, 0.9) 50%,
            rgba(240, 245, 255, 0.9) 100%);
    color: #4b5563;
    border-color: rgba(55, 65, 81, 0.3);
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.12),
        0 8px 24px rgba(15, 23, 42, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.btn-primary:hover {
    background: linear-gradient(145deg,
            rgba(55, 65, 81, 0.1) 0%,
            rgba(55, 65, 81, 0.15) 50%,
            rgba(55, 65, 81, 0.2) 100%);
    box-shadow:
        0 24px 56px rgba(15, 23, 42, 0.18),
        0 12px 32px rgba(55, 65, 81, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    transform: translateY(-5px) scale(1.08);
}

/* ===== LAYOUT UTILITIES ===== */
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.box {
    padding: 16px;
}

.meta {
    padding: 16px;
    display: grid;
    gap: 10px;
}

/* ===== CAR LIST STYLES (HOMEPAGE) ===== */
.car-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    padding: 16px 0;
}

.car-card {
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    transition: all 0.2s ease;
}

.car-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.car-image {
    width: 100%;
    height: 200px;
    background: #f8fafc;
    display: grid;
    place-items: center;
    position: relative;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-content {
    padding: 16px;
}

.car-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text);
}

.car-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--muted);
}

.car-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.car-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* ===== GRID LAYOUT FOR CARDS ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ===== CARD CONTENT STYLES ===== */
.card .content {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.card .content .car-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.card .content .car-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}

.card .content .car-feature {
    font-size: 12px;
    color: var(--muted);
    background: rgba(55, 65, 81, 0.08);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.card .content .car-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card .content .car-price .price-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.card .actions {
    display: flex;
    gap: 8px;
    padding: 16px;
    padding-top: 0;
}

.card .actions .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
}

footer {
    text-align: center;
    padding: 24px 0;
    margin-top: 32px;
    color: #000000;
    font-size: 14px;
    line-height: 1.6;
}

.card .img {
    background: linear-gradient(180deg, #f3f6fa 0%, #ffffff 100%);
    min-height: 0 !important;
    height: 0 !important;
    padding-bottom: 56.25% !important; /* 16:9 oranı için */
    position: relative;
    overflow: hidden;
}

.card .img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45));
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 23, 42, 0.18);
    box-shadow: var(--shadow-1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
    .grid-detail {
        grid-template-columns: 1fr;
    }

    .img {
        height: 260px;
    }

    .grid2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .top {
        grid-template-columns: 1fr;
    }

    .img {
        height: 280px;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }

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

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .car-list {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 640px) {
    .nav {
        height: 58px;
    }

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

    .grid {
        grid-template-columns: 1fr;
    }

    .result-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== MOBILE RESPONSIVE FIXES ===== */

/* Masaüstünde mobil filtreler butonunu gizle */
.mobile-filters-toggle {
    display: none;
}

/* Ana sayfa için header düzenlemesi - tek sıra */
.header .container.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
}

.header .currency-selector {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header .language-selector {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header .nav-center {
    display: flex;
    align-items: center;
}

/* Car Detail ve Book Car sayfaları için header düzenlemesi - iki sıra */
.car-detail-header .container.nav,
.book-car-header .container.nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 60px;
}

.car-detail-header .header-top,
.book-car-header .header-top {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.car-detail-header .currency-selector,
.car-detail-header .language-selector,
.book-car-header .currency-selector,
.book-car-header .language-selector {
    position: static !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    /* Ana sayfa mobil düzenlemesi - tek sıra */
    .header .container.nav {
        display: flex;
        flex-direction: column;
        padding: 8px 16px;
        height: auto;
        gap: 8px;
    }

    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .nav-center {
        margin-top: 8px;
        display: flex;
        justify-content: center;
    }

    .header .currency-selector,
    .header .language-selector {
        position: static !important;
        margin: 0;
        font-size: 9px;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .header .nav-center {
        display: flex;
        order: 2;
        flex: 1;
        justify-content: center;
    }
    
    .header .currency-selector {
        order: 1;
    }
    
    .header .language-selector {
        order: 3;
    }
    
    /* Car Detail ve Book Car sayfaları için mobil düzenlemesi - iki sıra */
    .car-detail-header .container.nav,
    .book-car-header .container.nav {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 8px 16px;
        height: auto;
        align-items: center;
    }
    
    /* Üst sıra: Para birimi ve dil seçicileri yan yana */
    .car-detail-header .header-top,
    .book-car-header .header-top {
        display: flex;
        gap: 20px;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .car-detail-header .currency-selector,
    .car-detail-header .language-selector,
    .book-car-header .currency-selector,
    .book-car-header .language-selector {
        position: static !important;
        margin: 0;
        font-size: 9px;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .currency-selector select,
    .language-selector select {
        font-size: 9px;
        padding: 3px 4px;
        min-width: 60px;
    }
    
    .currency-selector select,
    .language-selector select {
        font-size: 9px;
        padding: 3px 4px;
        min-width: 60px;
    }
    
    /* Orta sıra: Navigasyon linkleri */
    .nav-center {
        order: 3;
        display: block;
    }
    
    .nav-links {
        gap: 12px;
        flex-wrap: nowrap;
        justify-content: center;
        width: 100%;
        display: flex;
    }
    
    .nav-link {
        font-size: 10px;
        padding: 4px 6px;
        white-space: nowrap;
    }
    
    /* Logo düzenlemesi */
    .hero-brand .brand-banner {
        max-width: 100%;
        height: auto;
    }
    
    /* Mobil Filtreler Butonu */
    .mobile-filters-toggle {
        display: block;
        text-align: center;
        margin: 16px 0;
    }
    
    .mobile-filters-toggle .btn {
        font-size: 14px;
        padding: 8px 16px;
        background: linear-gradient(145deg, #4a8c9b, #3a6b7a);
        color: white;
        border: none;
        box-shadow: 0 4px 12px rgba(74, 140, 155, 0.3);
    }
    
    .mobile-filters-toggle .btn:hover {
        background: linear-gradient(145deg, #3a6b7a, #2a5a69);
        transform: translateY(-2px);
    }
    
    .toggle-icon {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }
    
    /* Mobilde filtreleme kutusunu gizle */
    .search-card {
        display: none;
    }
    
    /* Search card düzenlemeleri */
    .search-card {
        margin: -20px auto 0;
        padding: 16px 8px;
    }
    
    .search-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .search-row > div {
        display: flex;
        gap: 8px;
        width: 100%;
    }
    
    .search-row > div:first-child {
        flex-direction: column;
    }
    
    .search-row > div:last-child {
        flex-direction: column;
    }
    
    .search-row select,
    .search-row input {
        flex: 1;
        min-width: 0;
        max-width: none;
    }
    
    .search-row div[style*="display: flex"] {
        flex-direction: row !important;
        gap: 8px !important;
    }
    
    .search-row div[style*="display: flex"] input {
        flex: 1 !important;
        min-width: 0 !important;
        max-width: none !important;
    }
    
    /* Filtreler düzenlemesi */
    .filters-scroll {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
        overflow-x: visible;
    }
    
    .chip {
        font-size: 10px;
        padding: 3px 6px;
        min-width: auto;
    }
    
    /* Tabs düzenlemesi */
    .tabs {
        flex-wrap: wrap;
        gap: 4px;
        padding: 8px 4px;
    }
    
    .tab {
        flex: 1;
        min-width: calc(50% - 2px);
        font-size: 11px;
        padding: 4px 6px;
    }
    
    /* Sonuç satırı düzenlemesi */
    .row {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .row select {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    /* Daha küçük ekranlar için ek düzenlemeler */
    .container {
        padding: 0 12px;
    }
    
    .search-card {
        padding: 12px 6px;
    }
    
    .nav-links {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 9px;
    }
    
    .chip {
        font-size: 9px;
        padding: 2px 4px;
    }
    
    .tab {
        font-size: 10px;
        padding: 3px 4px;
    }
    
    .hero-brand .brand-banner {
        max-width: 100%;
    }
}
.header .currency-selector,.header .language-selector{display:grid;grid-template-columns:120px 1fr;align-items:center;column-gap:8px}
.header .currency-selector,.header .language-selector{display:grid;grid-template-columns:90px 1fr;align-items:center;column-gap:8px}
@media (max-width:768px){.header{margin-bottom:10px}}
