﻿body {
}
.vehicle-preview-image {
    display: block;
    height: 240px;
    overflow: hidden;
    background: #dfe2e6;
}

    .vehicle-preview-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.28s ease;
    }

.vehicle-preview-card:hover .vehicle-preview-image img {
    transform: scale(1.035);
}

.home-vehicle-detail-button {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    border: 1px solid var(--awax-red);
    border-radius: 7px;
    color: var(--awax-red);
    font-size: 13px;
    font-weight: 800;
}

    .home-vehicle-detail-button:hover {
        background: var(--awax-red);
        color: #ffffff;
    }

.home-vehicle-empty {
    grid-column: 1 / -1;
    padding: 45px 20px;
    border: 1px dashed var(--awax-border);
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
}

    .home-vehicle-empty p {
        margin: 0 0 20px;
        color: var(--awax-muted);
    }

@media (max-width: 576px) {
    .vehicle-preview-image {
        height: 215px;
    }

    .vehicle-preview-card:nth-child(n + 3) {
        display: none;
    }
}
.home-services-section {
    padding: 70px 0 90px;
    background: #ffffff;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-service-card {
    overflow: hidden;
    border: 1px solid var(--awax-border);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(18, 24, 31, 0.07);
}

.home-service-image {
    display: block;
    height: 250px;
    overflow: hidden;
    background: #e8ebef;
}

    .home-service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.28s ease;
    }

.home-service-card:hover .home-service-image img {
    transform: scale(1.035);
}

.home-service-placeholder {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--awax-muted);
}

.home-service-content {
    padding: 22px;
}

    .home-service-content h3 {
        margin: 0 0 12px;
        font-size: 22px;
        font-weight: 900;
    }

    .home-service-content p {
        display: -webkit-box;
        overflow: hidden;
        margin: 0 0 18px;
        color: var(--awax-muted);
        line-height: 1.7;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

.home-service-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--awax-red);
    border-radius: 8px;
    color: var(--awax-red);
    font-size: 13px;
    font-weight: 800;
}

    .home-service-link:hover {
        background: var(--awax-red);
        color: #ffffff;
    }

.home-service-empty {
    padding: 45px 20px;
    border: 1px dashed var(--awax-border);
    border-radius: 12px;
    color: var(--awax-muted);
    text-align: center;
}

@media (max-width: 767px) {
    .home-service-grid {
        grid-template-columns: 1fr;
    }
}
/* ANA SAYFA HAKKIMIZDA */

.home-about-section {
    padding: 80px 0;
    background: #f5f6f8;
}

.home-about-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: center;
}

.home-about-image {
    overflow: hidden;
    min-height: 390px;
    border-radius: 16px;
    background: #e5e8ec;
    box-shadow: 0 16px 42px rgba(18, 24, 31, 0.1);
}

    .home-about-image img {
        width: 100%;
        height: 100%;
        min-height: 390px;
        object-fit: cover;
    }

.home-about-placeholder {
    display: flex;
    min-height: 390px;
    align-items: center;
    justify-content: center;
    color: var(--awax-muted);
}

.home-about-content > span {
    color: var(--awax-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.home-about-content h2 {
    margin: 10px 0 18px;
    font-size: 38px;
    font-weight: 900;
}

.home-about-content p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 25px;
    color: var(--awax-muted);
    font-size: 16px;
    line-height: 1.8;
    white-space: pre-line;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.home-about-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--awax-red);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

    .home-about-button:hover {
        background: #bd0710;
        color: #ffffff;
    }

@media (max-width: 850px) {
    .home-about-layout {
        grid-template-columns: 1fr;
    }

    .home-about-image,
    .home-about-image img,
    .home-about-placeholder {
        min-height: 320px;
    }
}

@media (max-width: 576px) {
    .home-about-section {
        padding: 55px 0;
    }

    .home-about-content h2 {
        font-size: 30px;
    }

    .home-about-image,
    .home-about-image img,
    .home-about-placeholder {
        min-height: 250px;
    }

    .home-about-button {
        width: 100%;
    }
}
/* =========================================
   ANA SAYFA - MOBİL SON RÖTUŞLAR
   ========================================= */

@media (max-width: 576px) {

    /* ÖNE ÇIKAN ARAÇLAR */

    .vehicle-preview-image {
        height: 210px;
    }

    .vehicle-preview-card {
        border-radius: 12px;
        overflow: hidden;
    }

        /* Mobil ana sayfada yalnızca ilk 2 araç */
        .vehicle-preview-card:nth-child(n + 3) {
            display: none;
        }

    .home-vehicle-detail-button {
        min-height: 45px;
        margin-top: 15px;
        font-size: 13px;
        border-radius: 8px;
    }


    /* HİZMETLER */

    .home-services-section {
        padding: 48px 0 55px;
    }

    .home-service-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-service-card {
        border-radius: 12px;
    }

    .home-service-image {
        height: 220px;
    }

    .home-service-content {
        padding: 18px;
    }

        .home-service-content h3 {
            margin-bottom: 9px;
            font-size: 20px;
            line-height: 1.3;
        }

        .home-service-content p {
            margin-bottom: 15px;
            font-size: 13px;
            line-height: 1.65;
            -webkit-line-clamp: 3;
        }

    .home-service-link {
        width: 100%;
        min-height: 45px;
        padding: 0 15px;
    }


    /* HAKKIMIZDA */

    .home-about-section {
        padding: 50px 0 55px;
    }

    .home-about-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .home-about-image {
        min-height: 245px;
        border-radius: 12px;
    }

        .home-about-image img {
            min-height: 245px;
        }

    .home-about-placeholder {
        min-height: 245px;
    }

    .home-about-content > span {
        font-size: 11px;
        letter-spacing: 1.7px;
    }

    .home-about-content h2 {
        margin: 8px 0 13px;
        font-size: 29px;
        line-height: 1.2;
    }

    .home-about-content p {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.7;
        -webkit-line-clamp: 5;
    }

    .home-about-button {
        width: 100%;
        min-height: 47px;
        border-radius: 9px;
    }


    /* BOŞ VERİ DURUMLARI */

    .home-vehicle-empty,
    .home-service-empty {
        padding: 32px 16px;
        border-radius: 10px;
        font-size: 13px;
    }
}