/* Modern Homepage Styles */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 84px;
    padding-bottom: 0;
    background-color: #f8fafc;
}

.hero-section__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.hero-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0.08) 18%,
            rgba(255, 255, 255, 0.32) 52%,
            rgba(255, 255, 255, 0.92) 80%,
            #ffffff 100%);
    pointer-events: none;
    z-index: 1;
}

.dark .hero-section {
    background-color: var(--bg-primary);
}

.dark .hero-section__overlay {
    background: linear-gradient(180deg,
            rgba(15, 10, 8, 0.35) 0%,
            rgba(15, 10, 8, 0.15) 18%,
            rgba(15, 10, 8, 0.45) 52%,
            rgba(15, 10, 8, 0.88) 80%,
            var(--bg-primary) 100%);
}

.hero-section__inner {
    position: relative;
    z-index: 2;
    padding-top: 1.25rem;
    padding-bottom: 0;
}

.hero-section__bg--desktop {
    display: none;
    background-position: center 64%;
    background-size: cover;
}

.hero-section__bg--mobile {
    background-position: center top;
}

.hero-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.hero-section__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-section__text {
    text-align: left;
    max-width: 40rem;
    padding-right: 0.5rem;
}

.hero-section__title {
    font-size: clamp(1.85rem, 5vw, 2.35rem);
    line-height: 1.12;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.hero-section__description {
    font-size: clamp(0.92rem, 2.2vw, 1rem);
    line-height: 1.65;
    color: #475569;
    max-width: 36rem;
}

.hero-section__hint {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #334155;
}

.hero-section__hint i {
    color: var(--orange-500);
    margin-top: 0.12rem;
    flex-shrink: 0;
}

.hero-section__features--desktop {
    display: none;
}

.hero-section__features--mobile {
    position: relative;
    z-index: 2;
    padding: 0 0 1.25rem;
    background: #fff;
}

.hero-section__feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.hero-section__feature-list--mobile {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.hero-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-feature-card--mobile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    padding: 0.65rem 0.4rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-feature-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: transparent;
    color: var(--orange-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hero-feature-card--mobile .hero-feature-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: transparent;
    font-size: 1.1rem;
}

.hero-feature-card__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.15rem;
    line-height: 1.25;
}

.hero-feature-card--mobile .hero-feature-card__title {
    font-size: 0.68rem;
    margin-bottom: 0.1rem;
}

.hero-feature-card__description {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #64748b;
}

.hero-feature-card--mobile .hero-feature-card__description {
    font-size: 0.62rem;
    line-height: 1.35;
}

.hero-section__badge {
    display: block;
    margin-bottom: 0.55rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Dark mode for the "Modern Filo" hero cards. Without these the translucent white glass
   stayed white over the dark hero and the #64748b body copy dropped to ~2.1:1. */
.dark .hero-feature-card,
.dark .hero-feature-card--mobile {
    background: rgba(17, 24, 39, 0.62);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.dark .hero-feature-card__title {
    color: #f1f5f9;
}

.dark .hero-feature-card__description {
    color: #cbd5e1;
}

.dark .hero-section__badge {
    color: #cbd5e1;
}

.search-container__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.search-container__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    text-align: left;
}

.search-container__login-hint {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
}

.search-container__login-hint a {
    color: var(--orange-600);
    font-weight: 700;
    text-decoration: none;
}

.search-container__login-hint a:hover {
    text-decoration: underline;
}

.search-container {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 20px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
    padding: 1.25rem;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
    text-align: left;
    margin-top: -1.75rem;
}

.search-form {
    max-width: 100%;
    transition: all 0.3s ease;
}

/* Sticky search container styles */
.search-container.sticky {
    position: fixed;
    top: 66px;
    /* fallback, overridden by JS with actual navbarHeight */
    left: 0;
    right: 0;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 49;
    border-radius: 0 0 20px 20px;
    padding: 0.55rem 1.5rem;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.10), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
    animation: slideDown 0.25s ease-in-out;
}

.search-container.sticky .search-container__header {
    margin-bottom: 0;
}

.search-container.sticky .search-form {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.6rem;
    align-items: flex-end;
}

.search-container.sticky .search-field {
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: 130px;
}

.search-container.sticky .search-field label {
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
}

.search-container.sticky .search-field input,
.search-container.sticky .search-field select {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
    border-radius: 8px;
    /* 'background' kısayolu, select'in chevron background-image'ını sıfırlar (bkz. #215).
       Sadece rengi ayarlamak için background-color kullanılır. */
    background-color: rgba(255, 255, 255, 0.85);
}

.dark .search-container.sticky .search-field input,
.dark .search-container.sticky .search-field select {
    background-color: rgba(30, 41, 59, 0.80);
}

.search-container.sticky .grid {
    display: contents;
}

.search-container.sticky .mb-4 {
    margin-bottom: 0 !important;
}

.search-container.sticky .search-btn {
    margin-top: 0;
    margin-left: auto;
    width: auto;
    padding: 0.55rem 1.25rem;
    font-size: 0.88rem;
    border-radius: 10px;
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    .search-container.sticky {
        position: static;
        /* No sticky behavior on mobile */
        animation: none;
    }

    .search-container {
        padding: 1.5rem;
        /* Smaller padding on mobile */
    }

    .search-btn {
        padding: 0.875rem 1.5rem;
        /* Smaller button on mobile */
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.dark .search-container {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-primary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.dark .search-container.sticky {
    background: rgba(15, 23, 42, 0.72) !important;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.dark .hero-section__title,
.dark .search-container__title {
    color: var(--text-primary);
}

.dark .hero-section__description,
.dark .hero-section__hint,
.dark .search-container__login-hint {
    color: var(--text-secondary);
}

@media (min-width: 1200px) {
    .dark .hero-section__overlay {
        background: linear-gradient(90deg,
                rgba(15, 10, 8, 0.55) 0%,
                rgba(15, 10, 8, 0.35) 32%,
                rgba(15, 10, 8, 0.12) 56%,
                rgba(15, 10, 8, 0) 72%);
    }

    .dark .hero-section__title {
        color: var(--text-primary);
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 0, 0, 0.35);
    }

    .dark .hero-section__description,
    .dark .hero-section__hint {
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    }
}

.dark .hero-section__features--mobile {
    background: var(--bg-primary);
}

.search-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.search-field label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-field label i {
    color: var(--orange-500);
    font-size: 0.8rem;
}

.search-field input,
.search-field select {
    padding: 0.875rem;
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    /* 'background' kısayolu select chevron'unu sıfırlar; background-color kullan (bkz. #215). */
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

.search-btn {
    background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    min-height: 48px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4);
}

.features-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--orange-500);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* "Featured Vehicles / Brands Section Dark Mode" başlıkları altındaki karanlık mod
   kuralları web2-shared-overrides.css'e taşındı (#663): Tailwind utility'lerini
   (.text-gray-600, .shadow-elegant, .py-12.bg-white ...) hedefliyorlardı, yani
   anasayfaya özgü değil her sayfada geçerliydiler. Bu dosya sayfa bazlı
   yüklendiğinden onları burada bırakmak diğer sayfalarda karanlık modu bozardı. */

@media (min-width: 1200px) {
    .hero-section {
        margin-top: -100px;
        padding-top: 100px;
        min-height: calc(100vh - 180px);
        padding-bottom: 0;
    }

    .hero-section__bg--desktop {
        display: block;
        background-position: center 40%;
    }

    .hero-section__bg--mobile {
        display: none;
    }

    .hero-section__overlay {
        background: linear-gradient(90deg,
                rgba(255, 255, 255, 0.48) 0%,
                rgba(255, 255, 255, 0.30) 32%,
                rgba(255, 255, 255, 0.08) 56%,
                rgba(255, 255, 255, 0) 72%);
    }

    .hero-section__inner {
        min-height: calc(100vh - 280px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        padding-top: 2rem;
        padding-bottom: 2rem;
        gap: 1.25rem;
    }

    .hero-section__text {
        text-align: center;
        max-width: 100%;
        padding-right: 0;
    }

    .hero-section__grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(200px, 0.48fr);
        gap: 0.6rem;
        align-items: start;
        width: 100%;
    }

    .hero-section__title {
        font-size: clamp(1.9rem, 3vw, 2.6rem);
        text-align: center;
        color: var(--banner-desktop-title-color, #0f172a);
        text-shadow: 0 1px 10px rgba(255, 255, 255, 0.92), 0 0 20px rgba(255, 255, 255, 0.7);
    }

    .hero-section__description {
        font-size: 0.95rem;
        text-align: center;
        color: var(--banner-desktop-description-color, #475569);
        text-shadow: 0 1px 8px rgba(255, 255, 255, 0.88);
        max-width: 100%;
    }

    .hero-section__hint {
        color: var(--banner-desktop-hint-color, #334155);
        text-shadow: 0 1px 6px rgba(255, 255, 255, 0.85);
        justify-content: center;
    }

    .hero-section__features--desktop {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 0.2rem;
        align-self: start;
    }

    .hero-section__features--desktop .hero-feature-card {
        padding: 0.5rem 0.65rem;
        gap: 0.55rem;
        border-radius: 11px;
        background: rgba(255, 255, 255, 0.62);
        border: 1px solid rgba(255, 255, 255, 0.72);
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Restates the dark glass here: the desktop rule above matches the base
       `.dark .hero-feature-card` specificity and comes later, so it would win. */
    .dark .hero-section__features--desktop .hero-feature-card {
        background: rgba(17, 24, 39, 0.62);
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    }

    .hero-section__features--desktop .hero-feature-card__icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        border-radius: 7px;
    }

    .hero-section__features--desktop .hero-feature-card__title {
        font-size: 0.72rem;
        margin-bottom: 0.06rem;
    }

    .hero-section__features--desktop .hero-feature-card__description {
        font-size: 0.63rem;
        line-height: 1.3;
    }

    .hero-section__features--mobile {
        display: none;
    }

    .hero-section__feature-list {
        width: auto;
        gap: 0.3rem;
    }

    .hero-section__badge {
        display: inline-flex;
        align-self: flex-start;
        align-items: center;
        padding: 0.25rem 0.65rem;
        margin-bottom: 0.5rem;
        border-radius: 9999px;
        background: rgba(255, 255, 255, 0.42);
        border: 1px solid rgba(255, 255, 255, 0.55);
        color: #334155;
        font-size: 0.72rem;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .dark .hero-section__badge {
        background: rgba(17, 24, 39, 0.5);
        border-color: rgba(255, 255, 255, 0.14);
        color: #e2e8f0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .search-container {
        margin-top: 0;
        margin-left: auto;
        margin-right: 1rem;
        padding: 0.85rem 1.25rem 1rem;
        border-radius: 18px;
        max-width: 820px;
        width: 100%;
    }

    .search-container__header {
        margin-bottom: 0.65rem;
    }

    .search-container__title {
        font-size: 0.92rem;
    }

    .search-container__login-hint {
        font-size: 0.74rem;
    }

    .search-field {
        margin-bottom: 0.35rem;
    }

    .search-field label {
        font-size: 0.78rem;
        margin-bottom: 0.25rem;
    }

    .search-field input,
    .search-field select {
        padding: 0.42rem 0.7rem;
        font-size: 0.82rem;
        border-radius: 9px;
    }

    .search-container .mb-4 {
        margin-bottom: 0.35rem !important;
    }

    .search-container .gap-4 {
        gap: 0.5rem !important;
    }

    .search-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 11px;
        margin-top: 0.35rem;
        min-height: 40px;
    }

    .home-featured-vehicles {
        padding-top: 1.25rem !important;
    }
}

@media (min-width: 1600px) {
    .hero-section__inner {
        max-width: 1400px !important;
    }
}

@media (min-width: 1920px) {
    .hero-section__inner {
        max-width: 1700px !important;
    }
}

@media (min-width: 2400px) {
    .hero-section__inner {
        max-width: 2100px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .search-container {
        padding: 0.65rem 1rem 0.8rem;
    }

    .search-container__header {
        margin-bottom: 0.5rem;
    }

    .search-field {
        margin-bottom: 0.25rem;
    }

    .search-field label {
        font-size: 0.72rem;
        margin-bottom: 0.18rem;
    }

    .search-field input,
    .search-field select {
        padding: 0.32rem 0.55rem;
        font-size: 0.78rem;
    }

    .search-container .mb-4 {
        margin-bottom: 0.25rem !important;
    }

    .search-container .gap-4 {
        gap: 0.4rem !important;
    }

    .search-btn {
        padding: 0.48rem 1.25rem;
        font-size: 0.84rem;
        min-height: 36px;
        margin-top: 0.25rem;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .hero-section {
        padding-top: 72px;
    }

    .hero-section__inner {
        min-height: 210px;
        padding-top: 0.65rem;
    }

    .hero-section__title {
        text-shadow: 0 1px 14px rgba(255, 255, 255, 0.95);
    }

    .hero-section__description,
    .hero-section__hint {
        text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9);
    }

    .search-container {
        margin-top: -2.35rem;
        margin-bottom: 0.65rem;
        box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
    }

    .hero-section__features--mobile {
        margin-top: 0;
        padding-bottom: 1rem;
    }

    .home-featured-vehicles {
        padding-top: 2.5rem;
    }
}

/* ── TABLET (768px - 1199px) : mobilin daha geniş versiyonu ── */
@media (min-width: 768px) and (max-width: 1199px) {

    /* Navbar ile resim arasındaki boşluğu kapat */
    .hero-section {
        margin-top: -100px;
        padding-top: 80px;
    }

    /* Banner: resmi tablet için daha uzun göster */
    .hero-section__bg--mobile {
        bottom: auto;
        height: 500px;
    }

    /* İç alan: daha yüksek min-height */
    .hero-section__inner {
        min-height: 340px;
        padding-top: 1.5rem;
    }

    /* Metin: ortalı ve mobil'den biraz büyük */
    .hero-section__text {
        text-align: center;
        min-height: 310px;
        max-width: 100%;
        padding-right: 0;
    }

    .hero-section__title {
        font-size: clamp(1.35rem, 3.5vw, 1.65rem);
        text-align: center;
        text-shadow: 0 1px 14px rgba(255, 255, 255, 0.95), 0 0 24px rgba(255, 255, 255, 0.75);
    }

    .hero-section__description {
        font-size: 0.82rem;
        line-height: 1.5;
        text-align: center;
        max-width: 100%;
        text-shadow: 0 1px 10px rgba(255, 255, 255, 0.92);
    }

    .hero-section__hint {
        font-size: 0.76rem;
        justify-content: center;
        text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9);
    }

    /* Form başlığı tablet'te de gizle (mobil tarzı) */
    .search-container__header {
        display: none;
    }

    /* Form: daha geniş ve ortalı, mobil tarzı kompakt */
    .search-container {
        margin-top: -1.75rem;
        padding: 0.9rem 1.15rem 1rem;
        border-radius: 14px;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .search-container .mb-4 {
        margin-bottom: 0.45rem !important;
    }

    .search-container .gap-4 {
        gap: 0.5rem !important;
    }

    .search-field {
        margin-bottom: 0.4rem;
    }

    .search-field label {
        font-size: 0.78rem;
        margin-bottom: 0.15rem;
    }

    .search-field input,
    .search-field select {
        padding: 0.35rem 0.65rem;
        font-size: 0.82rem;
        border-radius: 9px;
    }

    .search-form__time-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
    }

    .search-btn {
        padding: 0.55rem 1.25rem;
        font-size: 0.88rem;
        border-radius: 11px;
        margin-top: 0.3rem;
        min-height: 42px;
    }

    /* Güven kartları: mobil 3-kolon ama biraz daha büyük */
    .hero-feature-card--mobile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.35rem;
        padding: 0.55rem 0.4rem;
    }

    .hero-feature-card--mobile .hero-feature-card__icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .hero-feature-card--mobile .hero-feature-card__title {
        font-size: 0.72rem;
    }

    .hero-feature-card--mobile .hero-feature-card__description {
        font-size: 0.64rem;
    }
}

/* ── MOBİL (max-width: 767px) — örnek mockup ile birebir ── */
@media (max-width: 767px) {
    .main-content:has(.hero-section--home) {
        padding-top: 52px !important;
    }

    .hero-section--home {
        margin-top: -52px;
        padding-top: 52px;
        padding-bottom: 0;
        background-color: #ffffff;
        overflow: visible;
    }

    .dark .hero-section--home {
        background-color: var(--bg-primary);
    }

    .dark .hero-section--home .hero-section__bg--mobile::after {
        background: linear-gradient(to bottom,
                rgba(15, 10, 8, 0) 0%,
                rgba(15, 10, 8, 0.04) 20%,
                rgba(15, 10, 8, 0.14) 40%,
                rgba(15, 10, 8, 0.34) 58%,
                rgba(15, 10, 8, 0.60) 72%,
                rgba(15, 10, 8, 0.82) 85%,
                var(--bg-primary) 100%);
    }

    .hero-section--home .hero-section__overlay {
        display: none;
    }

    .hero-section--home .hero-section__bg--mobile {
        left: 0;
        right: 0;
        top: 0;
        bottom: auto;
        height: min(510px, 130vw);
        background-position: center top;
        background-size: cover;
    }

    .hero-section--home .hero-section__bg--mobile::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 35%;
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.04) 20%,
                rgba(255, 255, 255, 0.14) 40%,
                rgba(255, 255, 255, 0.34) 58%,
                rgba(255, 255, 255, 0.60) 72%,
                rgba(255, 255, 255, 0.82) 85%,
                rgba(255, 255, 255, 1) 100%);
        pointer-events: none;
        z-index: 1;
    }

    .hero-section--home .hero-section__inner {
        min-height: 0;
        /* Widget üst kenarı, arabanın tekerleklerinin görseldeki konumuna sabitlenir.
           Tekerlekler görsel yüksekliğinin ~%70'inde (840x1024 görselde y≈700/1024).
           Görsel `cover` ile render edildiğinde gerçek görüntü yüksekliği:
             max(121.9vw, min(510px,130vw))
           (121.9vw = 1024/840 oranıyla genişlik bazlı yükseklik; dar ekranda yükseklik
           bazlı min(510,130vw) baskın, geniş ekranda genişlik bazlı 121.9vw baskın olur).
           Bu sayede widget her ekran genişliğinde tekerlekleri takip eder ve aracın
           üstüne binmez. -52px navbar payını düşer. Oranı (0.70) ayarlayarak widget'ı
           tekerleklere göre yukarı/aşağı kaydırabilirsiniz. */
        padding-top: calc(0.70 * max(121.9vw, min(510px, 130vw)) - 52px + 35px);
        padding-bottom: 0;
    }

    .hero-section--home .hero-section__text {
        text-align: center;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        margin: 0 auto;
        padding: 12px 4px 14px;
        position: absolute;
        /* flow'dan çıkar, grid konumu metinden bağımsız olsun */
        top: 0;
        left: 0;
        right: 0;
        z-index: 2;
        background: transparent;
    }

    .hero-section--home .hero-section__title {
        font-size: 37px;
        line-height: 1.1;
        margin-bottom: 10px;
        color: var(--banner-mobile-title-color, #0B1020) !important;
        font-weight: 900;
        letter-spacing: -0.4px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        text-shadow: 0 1px 14px rgba(255, 255, 255, 0.90), 0 0 24px rgba(255, 255, 255, 0.70);
    }

    .dark .hero-section--home .hero-section__title {
        color: var(--text-primary) !important;
        text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 0, 0, 0.4);
    }

    .hero-section--home .hero-section__description {
        font-size: 14px;
        line-height: 1.5;
        font-weight: 400;
        color: var(--banner-mobile-description-color, #4B5563) !important;
        max-width: 100%;
        margin: 0 auto;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
        text-shadow: 0 1px 10px rgba(255, 255, 255, 0.92);
    }

    .dark .hero-section--home .hero-section__description {
        color: var(--text-secondary) !important;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
    }

    .hero-section--home .hero-section__hint {
        font-size: 13px;
        font-weight: 500;
        line-height: 1.4;
        margin-top: 8px;
        gap: 7px;
        justify-content: center;
        align-items: center;
        color: var(--banner-mobile-hint-color, #1e293b) !important;
        text-shadow: 0 1px 8px rgba(255, 255, 255, 0.90);
    }

    .dark .hero-section--home .hero-section__hint {
        color: var(--text-secondary) !important;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    }

    .hero-section--home .hero-section__hint i {
        font-size: 13px;
        margin-top: 0;
        color: var(--orange-500);
    }

    .hero-section--home .hero-section__grid {
        margin-top: 0;
        /* konum inner padding-top (tekerlek hizası) ile belirlenir */
    }

    .hero-section--home .search-container__header {
        display: none;
    }

    .hero-section--home .search-container {
        margin-top: 0;
        /* overlap inner padding-top ile hesaplandı */
        margin-bottom: 8px;
        padding: 14px 14px 15px;
        border-radius: 16px;
        border: 1px solid rgba(15, 23, 42, 0.05);
        box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
        position: relative;
        z-index: 3;
    }

    .hero-section--home .search-container .mb-4 {
        margin-bottom: 10px !important;
    }

    .hero-section--home .search-container .gap-4 {
        gap: 10px !important;
    }

    .hero-section--home .search-form__location-row {
        gap: 10px !important;
    }

    .hero-section--home .search-form__time-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .hero-section--home .search-field {
        margin-bottom: 0;
    }

    .hero-section--home .search-field label {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 4px;
        gap: 6px;
        line-height: 1.2;
    }

    .hero-section--home .search-field label i {
        font-size: 11px;
        color: var(--orange-500);
    }

    .hero-section--home .search-field input,
    .hero-section--home .search-field select {
        padding: 10px 34px 10px 10px !important;
        min-height: 40px;
        font-size: 13px;
        line-height: 1.25;
        border-radius: 10px;
        border: 1px solid #d1d5db !important;
        background-color: #ffffff !important;
        color: #374151;
        box-shadow: none;
    }

    /* The mobile rule above forces white with !important, so the dark variant needs the same
       weight — otherwise the search fields stay white on the dark hero below 768px. */
    .dark .hero-section--home .search-field input,
    .dark .hero-section--home .search-field select {
        border: 1px solid #4b5563 !important;
        background-color: #374151 !important;
        color: #f3f4f6;
    }

    .hero-section--home .search-field input:focus,
    .hero-section--home .search-field select:focus {
        transform: none;
        box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
    }

    .hero-section--home .search-field .relative>i {
        right: 10px;
        font-size: 13px;
        color: #111827;
    }

    .dark .hero-section--home .search-field .relative>i {
        color: #e5e7eb;
    }

    .hero-section--home .search-btn {
        padding: 12px 16px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 12px;
        margin-top: 10px;
        min-height: 46px;
        box-shadow: none;
    }

    .hero-section--home .search-btn:hover {
        transform: none;
        box-shadow: none;
    }

    .hero-section--home .hero-section__features--mobile {
        padding: 4px 0 12px;
        background: #ffffff;
    }

    .dark .hero-section--home .hero-section__features--mobile {
        background: var(--bg-primary, #111827);
    }

    .hero-section--home .hero-section__feature-list--mobile {
        gap: 8px;
    }

    .hero-section--home .hero-feature-card--mobile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
        padding: 10px 6px 8px;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.06);
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
        border-radius: 14px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .dark .hero-section--home .hero-feature-card--mobile {
        background: #1f2937;
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    }

    .hero-section--home .hero-feature-card--mobile .hero-feature-card__icon {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        font-size: 18px;
        border-radius: 50%;
        background: transparent;
        color: #ea580c;
    }

    .hero-section--home .hero-feature-card--mobile .hero-feature-card__title {
        font-size: 11px;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 2px;
        line-height: 1.2;
    }

    .hero-section--home .hero-feature-card--mobile .hero-feature-card__description {
        font-size: 9px;
        color: #64748b;
        line-height: 1.35;
    }

    .dark .hero-section--home .hero-feature-card--mobile .hero-feature-card__title {
        color: #f1f5f9;
    }

    .dark .hero-section--home .hero-feature-card--mobile .hero-feature-card__description {
        color: #cbd5e1;
    }

    .hero-section--home+.home-featured-vehicles,
    .hero-section--home~.home-featured-vehicles {
        padding-top: 10px !important;
    }
}

@media (max-width: 640px) {
    .hero-section--home .hero-section__feature-list--mobile {
        gap: 8px;
    }

    .hero-section--home .hero-feature-card--mobile {
        padding: 10px 6px 8px;
    }
}

@media (max-width: 375px) {
    .hero-section--home .hero-section__hint {
        font-size: 11.5px;
        letter-spacing: -0.15px;
    }

    .hero-section--home .hero-section__hint i {
        font-size: 11.5px;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 3rem 0;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* Home featured vehicles — premium shell, commercial card logic preserved */
.home-featured-vehicles {
    background: #f8fafc;
}

@media (max-width: 767px) {
    .hero-section--home .hero-section__features--mobile {
        padding-bottom: 0.25rem !important;
    }

    .home-featured-vehicles {
        padding-top: 0.75rem !important;
        padding-bottom: 1.5rem !important;
        background: #ffffff !important;
    }

    .dark .home-featured-vehicles {
        background: var(--bg-secondary) !important;
    }

    .home-featured-vehicles__header h2 {
        font-size: 20px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin-bottom: 4px !important;
    }

    .home-featured-vehicles__header p {
        font-size: 12px !important;
        color: #64748b !important;
    }

    .home-featured-vehicles__header {
        margin-bottom: 10px !important;
    }

    .home-featured-vehicles__header h2+p {
        margin-top: 0 !important;
    }

    /* Sarı KAMPANYA ribbon küçült */
    .home-vehicle-card__campaign-badge>div {
        font-size: 0.62rem !important;
        padding: 0.4rem 1rem 0.4rem 0.5rem !important;
    }

    .home-vehicle-card__campaign-badge>div i {
        font-size: 0.55rem !important;
    }

    /* Kırmızı ÖZEL FİYAT dairesi küçült */
    .home-featured-vehicles .home-vehicle-card__image-wrap [class*="rounded-full"][class*="bg-red-600"] {
        height: 60px !important;
        width: 60px !important;
        padding: 0.35rem !important;
    }

    .home-featured-vehicles .home-vehicle-card__image-wrap [class*="rounded-full"][class*="bg-red-600"] span:first-child {
        font-size: 5.5px !important;
    }

    .home-featured-vehicles .home-vehicle-card__image-wrap [class*="rounded-full"][class*="bg-red-600"] span:nth-child(2) {
        font-size: 9px !important;
    }

    .home-featured-vehicles .home-vehicle-card__image-wrap [class*="rounded-full"][class*="bg-red-600"] span:last-child {
        font-size: 5.5px !important;
    }
}

.home-featured-vehicles .home-featured-vehicles__header {
    margin-bottom: 2rem;
}

.home-featured-vehicles .home-vehicle-card {
    border-radius: 1.35rem;
    border-color: rgba(15, 23, 42, 0.06);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.home-featured-vehicles .home-vehicle-card:hover {
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
    transform: translateY(-4px);
}

.home-featured-vehicles .home-vehicle-card__body {
    padding: 1.35rem 1.35rem 1.5rem;
}

.home-featured-vehicles .home-vehicle-card__actions {
    gap: 0.75rem;
}

.home-featured-vehicles .home-vehicle-card__actions a {
    min-height: 46px;
    border-radius: 12px;
    font-weight: 600;
}

.home-featured-vehicles .home-vehicle-card__actions .home-vehicle-card__cta-primary {
    box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.28);
}

.home-featured-vehicles .home-vehicle-card__price {
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .home-featured-vehicles .home-vehicle-card__actions a {
        min-height: 48px;
        font-size: 0.95rem;
    }

    .home-featured-vehicles .grid {
        gap: 1.25rem;
    }
}

/* Mobil KAMPANYA badge: body alanında görünür, desktop'ta gizli */
.home-vehicle-card__campaign-badge {
    display: none;
}

/* Mobilde: yatay kart + tam genişlik butonlar */
@media (max-width: 767px) {
    .home-featured-vehicles .home-vehicle-card {
        display: grid;
        grid-template-columns: 48% 52%;
        grid-template-areas:
            "body image"
            "actions actions";
        height: auto;
    }

    /* Görseli grid hücresini tam doldur */
    .home-featured-vehicles .home-vehicle-card__image-wrap {
        grid-area: image;
        height: 100%;
        min-height: 155px;
        overflow: hidden;
        background-color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* object-fit: contain leaves the wrapper visible around the photo, and this white
       letterbox exists only below 768px — on desktop the wrapper is transparent and shows
       the card surface. Dark mode follows the desktop behaviour. */
    .dark .home-featured-vehicles .home-vehicle-card__image-wrap {
        background-color: transparent;
    }

    .home-featured-vehicles .home-vehicle-card__image-wrap img {
        height: 100% !important;
        width: 100%;
        object-fit: contain !important;
        object-position: center center;
        padding: 4px;
    }

    /* Image alanındaki KAMPANYA şeridini gizle, body alanındakini göster */
    .home-featured-vehicles .home-campaign-ribbon {
        display: none;
    }

    .home-vehicle-card__campaign-badge {
        display: block;
        margin-bottom: 0.3rem;
    }

    .home-featured-vehicles .home-vehicle-card__body {
        grid-area: body;
        padding: 0.7rem 0.3rem 0.4rem 0.75rem;
    }

    /* Araç adı */
    .home-featured-vehicles .home-vehicle-card__body h3 {
        font-size: 1.05rem !important;
        line-height: 1.2;
        margin-bottom: 0;
    }

    /* Ad + yıldız satırı */
    .home-featured-vehicles .home-vehicle-card__body .flex.justify-between.items-start {
        margin-bottom: 0.2rem !important;
    }

    /* Özellik metinleri */
    .home-featured-vehicles .home-vehicle-card__body .text-sm {
        font-size: 0.67rem !important;
    }

    /* Özellik grid */
    .home-featured-vehicles .home-vehicle-card__body .grid.grid-cols-2 {
        gap: 0.18rem !important;
        margin-bottom: 0.25rem !important;
    }

    /* İkon boşluğu */
    .home-featured-vehicles .home-vehicle-card__body .fa-solid,
    .home-featured-vehicles .home-vehicle-card__body .fa-regular {
        margin-right: 0.2rem !important;
        font-size: 0.64rem;
    }

    /* Fiyat bölümü */
    .home-featured-vehicles .home-vehicle-card__body .border-t {
        padding-top: 0.25rem !important;
        margin-top: 0 !important;
    }

    /* Ana fiyat boyutunu küçült */
    .home-featured-vehicles .home-vehicle-card__price .vehicle-price-amount {
        font-size: 0.86rem !important;
        line-height: 1;
    }

    /* Fiyat flex div → inline-flex: per-day yanına geçebilsin */
    .home-featured-vehicles .home-vehicle-card__price .flex.flex-wrap {
        display: inline-flex !important;
        align-items: baseline !important;
        gap: 0 !important;
        vertical-align: baseline;
    }

    /* "/ günlük" fiyatın yanında inline */
    .home-featured-vehicles .home-vehicle-card__price .vehicle-per-day {
        display: inline !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        font-size: 0.67rem;
    }

    .home-featured-vehicles .home-vehicle-card__price .vehicle-per-day::before {
        content: " / ";
    }

    /* Fiyat satırındaki sarı ÖZEL FİYAT badge'ini mobilde gizle */
    .home-featured-vehicles .home-vehicle-card__price .bg-yellow-300 {
        display: none !important;
    }

    /* Üstü çizili eski fiyat */
    .home-featured-vehicles .home-vehicle-card__price .line-through {
        font-size: 0.62rem !important;
    }

    .home-featured-vehicles .home-vehicle-card__actions {
        grid-area: actions;
        padding: 0 0.6rem 0.6rem !important;
        gap: 0.4rem !important;
    }

    .home-featured-vehicles .home-vehicle-card__actions a {
        min-height: 36px !important;
        font-size: 0.78rem !important;
        padding: 0.38rem 0.6rem !important;
        border-radius: 10px !important;
    }
}

.dark .home-featured-vehicles {
    background: var(--bg-secondary);
}