﻿:root {
    --awax-red: #e50914;
    --awax-dark: #0c1117;
    --awax-dark-light: #151c24;
    --awax-background: #f5f6f8;
    --awax-text: #17191c;
    --awax-muted: #6f7680;
    --awax-border: #e3e5e8;
    --awax-green: #18a947;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--awax-background);
    color: var(--awax-text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* HEADER */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--awax-dark);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.18);
}

.header-container {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1px;
}

    .brand-logo:hover {
        color: #ffffff;
    }

    .brand-logo small {
        position: absolute;
        left: 30px;
        bottom: -5px;
        color: var(--awax-red);
        font-size: 8px;
        letter-spacing: 2px;
        font-style: normal;
    }

.brand-red-letter {
    color: var(--awax-red);
}
.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

    .desktop-navigation a {
        position: relative;
        padding: 26px 0;
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
    }

        .desktop-navigation a::after {
            position: absolute;
            content: "";
            left: 0;
            bottom: 18px;
            width: 0;
            height: 2px;
            background: var(--awax-red);
            transition: width 0.25s ease;
        }

        .desktop-navigation a:hover::after {
            width: 100%;
        }

.header-whatsapp {
    padding: 11px 18px;
    border-radius: 7px;
    background: var(--awax-red);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

    .header-whatsapp:hover {
        background: #bd0710;
        color: #ffffff;
    }



/* MAIN */

main {
    min-height: 65vh;
}

/* FOOTER */

.main-footer {
    margin-top: 60px;
    background: var(--awax-dark);
    color: #ffffff;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-top: 45px;
    padding-bottom: 45px;
}

.footer-logo {
    margin-bottom: 12px;
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
}

    .footer-logo span {
        color: var(--awax-red);
    }

.footer-container p {
    max-width: 360px;
    color: #aab0b8;
    line-height: 1.7;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-links a,
    .footer-contact span {
        color: #c7cbd1;
        font-size: 14px;
    }

        .footer-links a:hover {
            color: var(--awax-red);
        }

.footer-bottom {
    padding: 18px;
    border-top: 1px solid #232a32;
    color: #8f969f;
    text-align: center;
    font-size: 13px;
}

/* WHATSAPP */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    padding: 13px 18px;
    border-radius: 30px;
    background: var(--awax-green);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

    .floating-whatsapp:hover {
        background: #128b3a;
        color: #ffffff;
    }

/* TABLET */

@media (max-width: 991px) {
    .desktop-navigation,
    .header-whatsapp {
        display: none;
    }

    

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* MOBILE */

@media (max-width: 576px) {
    .header-container {
        min-height: 64px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .brand-logo {
        font-size: 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        padding: 12px 16px;
    }
}
/* HOME */

.home-intro {
    display: flex;
    min-height: 520px;
    align-items: center;
    background-image: linear-gradient( 90deg, rgba(7, 10, 14, 0.95), rgba(7, 10, 14, 0.45) ), url("../images/banner/home-banner.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

    .home-intro h1 {
        max-width: 650px;
        margin: 0;
        font-size: clamp(40px, 6vw, 74px);
        font-weight: 900;
        line-height: 1.05;
    }

        .home-intro h1 span {
            display: block;
            color: var(--awax-red);
        }

    .home-intro p {
        max-width: 560px;
        margin-top: 22px;
        color: #d1d5da;
        font-size: 18px;
        line-height: 1.7;
    }

.home-intro-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border-radius: 7px;
    font-weight: 700;
}

.primary-button {
    background: var(--awax-red);
    color: #ffffff;
}

    .primary-button:hover {
        background: #bd0710;
        color: #ffffff;
    }

.secondary-button {
    border: 1px solid #ffffff;
    color: #ffffff;
}

    .secondary-button:hover {
        background: #ffffff;
        color: var(--awax-dark);
    }

.home-section {
    padding: 70px 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

    .section-heading span {
        color: var(--awax-red);
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .section-heading h2 {
        margin: 7px 0 0;
        font-size: 32px;
        font-weight: 800;
    }

    .section-heading > a {
        color: var(--awax-red);
        font-weight: 700;
    }

.vehicle-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.vehicle-preview-card {
    overflow: hidden;
    border: 1px solid var(--awax-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(18, 24, 31, 0.06);
}

.vehicle-placeholder {
    display: flex;
    height: 240px;
    align-items: center;
    justify-content: center;
    background: #dfe2e6;
    color: #777f89;
}

.vehicle-preview-content {
    padding: 20px;
}

    .vehicle-preview-content h3 {
        min-height: 48px;
        margin: 0 0 14px;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.4;
    }

    .vehicle-preview-content strong {
        color: var(--awax-red);
        font-size: 21px;
    }

.vehicle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

    .vehicle-tags span {
        padding: 7px 10px;
        border-radius: 6px;
        background: #f0f2f4;
        color: #555c65;
        font-size: 12px;
    }

@media (max-width: 991px) {
    .vehicle-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .home-intro {
        min-height: 560px;
        padding: 60px 10px;
        background-image: linear-gradient( 180deg, rgba(7, 10, 14, 0.72), rgba(7, 10, 14, 0.98) ), url("../images/banner/home-banner.jpg");
    }

        .home-intro h1 {
            font-size: 43px;
        }

        .home-intro p {
            font-size: 16px;
        }

    .home-intro-actions {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .home-section {
        padding: 45px 10px;
    }

    .section-heading {
        align-items: flex-start;
    }

        .section-heading h2 {
            font-size: 27px;
        }

    .vehicle-preview-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-placeholder {
        height: 215px;
    }
}
/* ANA SAYFA GELİŞTİRMELERİ */

.home-intro-content {
    max-width: 680px;
}

.section-heading p {
    margin: 10px 0 0;
    color: var(--awax-muted);
    line-height: 1.6;
}

.vehicle-preview-grid {
    grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
}

.vehicle-preview-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .vehicle-preview-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 38px rgba(18, 24, 31, 0.13);
    }

.vehicle-detail-button {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border: 1px solid var(--awax-red);
    border-radius: 7px;
    background: transparent;
    color: var(--awax-red);
    font-size: 14px;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

    .vehicle-detail-button:hover {
        background: var(--awax-red);
        color: #ffffff;
        transform: translateY(-2px);
    }

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.all-vehicles-button {
    display: inline-flex;
    min-width: 220px;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border-radius: 8px;
    background: var(--awax-red);
    color: #ffffff;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .all-vehicles-button:hover {
        background: #bd0710;
        color: #ffffff;
        transform: translateY(-2px);
    }

/* HİZMETLER */

.services-preview-section {
    padding: 75px 0;
    background: #ffffff;
}

.centered-heading {
    justify-content: center;
    text-align: center;
}

    .centered-heading > div {
        max-width: 650px;
    }

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 35px;
}

.service-preview-card {
    overflow: hidden;
    border: 1px solid var(--awax-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(18, 24, 31, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .service-preview-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 38px rgba(18, 24, 31, 0.13);
    }

.service-image-placeholder {
    display: flex;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    background: #dfe2e6;
    color: #777f89;
}

.service-preview-content {
    padding: 26px;
}

    .service-preview-content h3 {
        margin: 0 0 14px;
        font-size: 23px;
        font-weight: 800;
    }

    .service-preview-content p {
        margin-bottom: 22px;
        color: var(--awax-muted);
        line-height: 1.7;
    }

.service-whatsapp-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 8px;
    background: var(--awax-green);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

    .service-whatsapp-button:hover {
        background: #128b3a;
        color: #ffffff;
    }

/* HAKKIMIZDA ÖN İZLEME */

.about-preview-section {
    padding: 80px 0;
    background: var(--awax-dark);
    color: #ffffff;
}

.about-preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.about-image-placeholder {
    display: flex;
    min-height: 420px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--awax-dark-light);
    color: #818995;
    font-size: 20px;
    font-weight: 700;
}

.about-preview-content > span {
    color: var(--awax-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.about-preview-content h2 {
    margin: 12px 0 22px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
}

.about-preview-content p {
    color: #c5cad0;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 12px;
    margin: 26px 0;
}

    .about-features div {
        position: relative;
        padding-left: 25px;
        color: #ffffff;
        font-weight: 600;
    }

        .about-features div::before {
            position: absolute;
            content: "✓";
            left: 0;
            color: var(--awax-red);
            font-weight: 900;
        }

.about-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--awax-red);
    color: #ffffff;
    font-weight: 800;
}

    .about-button:hover {
        background: #bd0710;
        color: #ffffff;
    }

/* TABLET */

@media (max-width: 991px) {
    .services-preview-grid {
        grid-template-columns: 1fr;
    }

    .about-preview-container {
        grid-template-columns: 1fr;
    }

    .about-image-placeholder {
        min-height: 320px;
    }
}

/* MOBİL */

@media (max-width: 576px) {
    .featured-vehicles-section
    .vehicle-preview-card:nth-child(n + 3) {
        display: none;
    }

    .vehicle-preview-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

        .section-heading h2 {
            margin-top: 6px;
        }

    .all-vehicles-button {
        width: 100%;
    }

    .services-preview-section {
        padding: 55px 10px;
    }

    .service-image-placeholder {
        min-height: 210px;
    }

    .service-preview-content {
        padding: 22px;
    }

    .service-whatsapp-button {
        width: 100%;
        text-align: center;
    }

    .about-preview-section {
        padding: 55px 10px;
    }

    .about-preview-container {
        gap: 32px;
    }

    .about-image-placeholder {
        min-height: 230px;
    }

    .about-button {
        width: 100%;
        text-align: center;
    }
}
/* MOBİL ALT MENÜ */

.mobile-bottom-navigation {
    display: none;
}

@media (max-width: 576px) {
    body {
        padding-bottom: 72px;
    }

    .mobile-bottom-navigation {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1100;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 68px;
        border-top: 1px solid var(--awax-border);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -5px 20px rgba(10, 15, 22, 0.12);
        backdrop-filter: blur(12px);
    }

    .mobile-bottom-item {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        color: #636a73;
        font-size: 11px;
        font-weight: 700;
        transition: color 0.2s ease, background 0.2s ease;
    }

        .mobile-bottom-item:hover,
        .mobile-bottom-item:focus {
            color: var(--awax-red);
            background: #fff5f5;
        }

    .mobile-bottom-icon {
        color: inherit;
        font-size: 20px;
        line-height: 1;
    }

    /*
       Mobil alt menü varken sağ alttaki genel WhatsApp
       butonu menünün üzerine taşınır.
    */
    .floating-whatsapp {
        right: 14px;
        bottom: 82px;
    }

    /*
       Mobilde footer'ın alt menü tarafından kapatılmaması
       için biraz boşluk bırakıyoruz.
    */
    .main-footer {
        margin-bottom: 0;
    }
}
.footer-contact a {
    color: #c7cbd1;
    font-size: 14px;
}

    .footer-contact a:hover {
        color: var(--awax-red);
    }
/* =========================================
   GENEL MOBİL HEADER / FOOTER / ALT MENÜ
   ========================================= */

@media (max-width: 576px) {

    /* HEADER */

    .main-header {
        position: sticky;
        top: 0;
        z-index: 900;
        background: #0c1117;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
    }

    .header-container {
        min-height: 64px;
        gap: 10px;
    }

    .brand-logo {
        display: inline-block;
        flex: 0 0 auto;
        width: auto;
        min-width: max-content;
        font-size: 22px;
        line-height: 0.9;
        font-weight: 900;
        white-space: nowrap;
        text-align: center;
    }

        .brand-logo small {
            display: block;
            margin-top: 5px;
            font-size: 8px;
            line-height: 1;
            letter-spacing: 2px;
            white-space: nowrap;
        }

    .desktop-navigation {
        display: none;
    }

    .header-whatsapp {
        min-height: 38px;
        padding: 0 12px;
        border-radius: 8px;
        font-size: 12px;
        white-space: nowrap;
    }


    /* MOBİL ALT MENÜ */

    .mobile-bottom-navigation {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 980;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 61px;
        border-top: 1px solid var(--awax-border);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -5px 20px rgba(12, 17, 23, 0.08);
        backdrop-filter: blur(10px);
    }

    .mobile-bottom-item {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        padding: 7px 3px;
        color: var(--awax-muted);
        font-size: 10px;
        font-weight: 700;
        text-align: center;
    }

        .mobile-bottom-item:hover,
        .mobile-bottom-item:active {
            color: var(--awax-red);
        }

    .mobile-bottom-icon {
        font-size: 20px;
        line-height: 1;
    }


    /* FOOTER */

    .main-footer {
        padding-bottom: 70px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-logo {
        font-size: 25px;
    }

    .footer-container p {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.65;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 11px 18px;
    }

        .footer-links a {
            font-size: 13px;
        }

    .footer-contact {
        gap: 6px;
    }

        .footer-contact span,
        .footer-contact a {
            font-size: 13px;
            line-height: 1.5;
        }

    .footer-bottom {
        padding: 15px;
        font-size: 11px;
        text-align: center;
    }


    /* GENEL SABİT WHATSAPP */

    .floating-whatsapp {
        position: fixed;
        right: 10px;
        bottom: 72px;
        z-index: 970;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 88px;
        height: 40px;
        padding: 0 12px;
        border-radius: 20px;
        background: #18a947;
        color: #ffffff;
        font-size: 11px;
        font-weight: 800;
        line-height: 1;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(18, 169, 71, 0.22);
    }
}
/* MOBİL ALT MENÜ - AKTİF SAYFA */

.mobile-bottom-item.active {
    position: relative;
    color: var(--awax-red);
}

    .mobile-bottom-item.active .mobile-bottom-icon {
        color: var(--awax-red);
    }

    .mobile-bottom-item.active::before {
        content: "";
        position: absolute;
        top: 0;
        left: 25%;
        width: 50%;
        height: 3px;
        border-radius: 0 0 999px 999px;
        background: var(--awax-red);
    }
/* =========================================
   HATA SAYFALARI
   ========================================= */

.error-page {
    display: flex;
    min-height: 65vh;
    align-items: center;
    padding: 70px 0 100px;
}

.error-page-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 55px 35px;
    border: 1px solid var(--awax-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(18, 24, 31, 0.08);
    text-align: center;
}

.error-code {
    display: block;
    color: var(--awax-red);
    font-size: 82px;
    line-height: 1;
    font-weight: 900;
}

.error-page-card h1 {
    margin: 15px 0 12px;
    font-size: 34px;
    font-weight: 900;
}

.error-page-card p {
    max-width: 540px;
    margin: 0 auto;
    color: var(--awax-muted);
    font-size: 15px;
    line-height: 1.7;
}

.error-page-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.error-primary-button,
.error-secondary-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.error-primary-button {
    border: 1px solid var(--awax-red);
    background: var(--awax-red);
    color: #ffffff;
}

    .error-primary-button:hover {
        background: #bd0710;
        color: #ffffff;
    }

.error-secondary-button {
    border: 1px solid var(--awax-border);
    background: #ffffff;
    color: var(--awax-text);
}

    .error-secondary-button:hover {
        border-color: var(--awax-red);
        color: var(--awax-red);
    }

.error-request-id {
    display: block;
    margin-top: 25px;
    color: var(--awax-muted);
    font-size: 10px;
}

@media (max-width: 576px) {

    .error-page {
        min-height: 60vh;
        padding: 45px 0 100px;
    }

    .error-page-card {
        padding: 38px 20px;
        border-radius: 14px;
    }

    .error-code {
        font-size: 65px;
    }

    .error-page-card h1 {
        font-size: 27px;
    }

    .error-page-card p {
        font-size: 13px;
    }

    .error-page-actions {
        flex-direction: column;
    }

    .error-primary-button,
    .error-secondary-button {
        width: 100%;
    }
}