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

:root {
    --dark: #090b0d;
    --dark-2: #11151a;
    --dark-3: #191e24;

    --red: #ff3b30;
    --red-hover: #e63128;

    --green: #25d366;

    --light: #f5f5f5;
    --white: #ffffff;

    --text-muted: #666666;
    --dark-muted: #b8bdc4;

    --border-light: #e2e2e2;
    --border-dark: #2a3037;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: var(--white);
    color: #111111;

    line-height: 1.6;

    overflow-x: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

section {
    scroll-margin-top: 84px;
}


/* =====================================================
   HEADER
===================================================== */

header {
    width: 100%;
    height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 8%;

    position: sticky;
    top: 0;

    z-index: 10000;

    background: var(--dark);

    border-bottom: 1px solid #23262a;
}

.logo,
.footer-logo {
    color: var(--white);

    font-size: 25px;
    font-weight: 900;

    letter-spacing: -1px;
}

.logo span,
.footer-logo span {
    color: var(--red);
}

nav {
    display: flex;
    align-items: center;

    gap: 36px;

    margin-left: auto;
    margin-right: auto;
}

nav a {
    color: #eeeeee;

    font-size: 15px;
    font-weight: 500;

    transition: 0.25s;
}

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

.header-actions {
    display: flex;
    align-items: center;

    gap: 10px;
}

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 23px;

    border-radius: 6px;

    background: var(--red);
    color: var(--white);

    font-weight: 700;

    white-space: nowrap;

    transition: 0.25s;
}

.header-button:hover {
    background: var(--red-hover);

    transform: translateY(-2px);
}

.mobile-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    border: 1px solid #34383d;
    border-radius: 6px;

    background: #15181c;
    color: var(--white);

    font-size: 23px;

    cursor: pointer;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    padding: 80px 8%;

    background-image:
        linear-gradient(
            90deg,
            rgba(8, 10, 12, .98) 0%,
            rgba(8, 10, 12, .92) 35%,
            rgba(8, 10, 12, .55) 63%,
            rgba(8, 10, 12, .15) 100%
        ),
        url("./images/hero-car.jpg");

    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 720px;
}

.hero-small,
.section-label,
.section-title > p {
    margin-bottom: 18px;

    color: var(--red);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 28px;

    color: var(--white);

    font-size: clamp(55px, 6vw, 76px);

    line-height: 1;

    letter-spacing: -3px;
}

.hero h1 span {
    display: block;

    color: var(--red);
}

.hero-description {
    max-width: 600px;

    margin-bottom: 30px;

    color: #d1d5db;

    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 23px;

    border-radius: 6px;

    font-weight: 700;

    transition: 0.25s;
}

.primary-button {
    background: var(--red);
    color: var(--white);
}

.primary-button:hover {
    background: var(--red-hover);

    transform: translateY(-2px);
}

.secondary-button {
    color: var(--white);

    border: 1px solid #4a4f56;

    background: rgba(8, 10, 12, .55);
}

.secondary-button:hover {
    border-color: var(--red);
}


/* =====================================================
   HİZMETLER
===================================================== */

.services {
    padding: 95px 8%;

    background: var(--light);
}

.section-title {
    max-width: 780px;

    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 44px;

    line-height: 1.15;

    letter-spacing: -1.5px;
}

.section-title span {
    display: block;

    margin-top: 15px;

    color: var(--text-muted);

    font-size: 16px;
}

.service-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.service-card {
    position: relative;

    min-height: 275px;

    padding: 32px 28px;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: 10px;

    transition: 0.3s;
}

.service-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 4px;
    height: 0;

    background: var(--red);

    transition: 0.3s;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 16px 35px rgba(0, 0, 0, .08);
}

.service-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    background: #fff0ef;

    border-radius: 9px;

    font-size: 25px;
}

.service-card h3 {
    margin-bottom: 12px;

    font-size: 21px;
}

.service-card p {
    min-height: 85px;

    margin-bottom: 20px;

    color: var(--text-muted);

    font-size: 15px;
}

.service-card a {
    color: var(--red);

    font-size: 14px;
    font-weight: 800;
}


/* =====================================================
   HAKKIMIZDA
===================================================== */

.about {
    padding: 100px 8%;

    background: var(--dark-2);
    color: var(--white);
}

.about-container {
    max-width: 1100px;

    margin: 0 auto;
}

.about h2 {
    max-width: 760px;

    margin-bottom: 25px;

    font-size: 46px;

    line-height: 1.15;

    letter-spacing: -1.5px;
}

.about-container > p:not(.section-label) {
    max-width: 760px;

    margin-bottom: 40px;

    color: var(--dark-muted);

    font-size: 17px;
}

.about-grid {
    display: grid;

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

    gap: 18px;
}

.about-box {
    padding: 25px;

    background: var(--dark-3);

    border: 1px solid var(--border-dark);
    border-radius: 9px;
}

.about-box strong {
    display: block;

    margin-bottom: 7px;

    color: var(--white);
}

.about-box span {
    color: #aeb4ba;

    font-size: 14px;
}


/* =====================================================
   RANDEVU
===================================================== */

.appointment {
    padding: 100px 8%;

    background: #101317;
    color: var(--white);
}

.appointment-container {
    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 70px;

    align-items: center;
}

.appointment-info h2 {
    margin-bottom: 22px;

    font-size: 46px;

    line-height: 1.12;

    letter-spacing: -1.5px;
}

.appointment-info > p:not(.section-label) {
    margin-bottom: 30px;

    color: var(--dark-muted);

    font-size: 16px;
}

.appointment-features {
    display: grid;

    gap: 13px;
}

.appointment-features div {
    color: #eeeeee;
}


/* =====================================================
   FORM
===================================================== */

.appointment-form {
    width: 100%;

    padding: 35px;

    background: var(--white);

    border-radius: 14px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, .35);
}

.form-row {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

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

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #111111;

    font-size: 14px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 14px 15px;

    outline: none;

    background: #f7f7f7;

    border: 1px solid #dddddd;
    border-radius: 7px;

    color: #111111;

    font-size: 14px;

    transition: 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);

    border-color: var(--red);

    box-shadow:
        0 0 0 3px rgba(255, 59, 48, .1);
}

.form-group textarea {
    min-height: 110px;

    resize: vertical;
}

.form-status {
    min-height: 20px;

    margin-bottom: 12px;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 700;
}

.form-status.error,
.form-status.success {
    padding: 10px 12px;
}

.form-status.error {
    color: #a51f19;

    background: #fff0ef;

    border: 1px solid #ffd0cd;
}

.form-status.success {
    color: #116c37;

    background: #edfff4;

    border: 1px solid #c6f1d6;
}

.appointment-submit {
    width: 100%;

    padding: 16px 20px;

    border: 0;
    border-radius: 7px;

    background: var(--red);

    color: var(--white);

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.25s;
}

.appointment-submit:hover {
    background: var(--red-hover);

    transform: translateY(-2px);
}

.form-note {
    margin-top: 13px;

    color: #777777;

    font-size: 12px;

    text-align: center;
}


/* =====================================================
   İLETİŞİM
===================================================== */

.contact {
    padding: 100px 8%;

    background: var(--light);
}

.contact-container {
    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.contact-info h2 {
    margin-bottom: 20px;

    font-size: 46px;

    line-height: 1.15;
}

.contact-description {
    max-width: 600px;

    margin-bottom: 35px;

    color: var(--text-muted);
}

.contact-items {
    display: grid;

    gap: 22px;

    margin-bottom: 35px;
}

.contact-item {
    display: flex;

    gap: 16px;

    align-items: flex-start;
}

.contact-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--white);

    border-radius: 9px;
}

.contact-item h3 {
    margin-bottom: 3px;

    font-size: 15px;
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);

    font-size: 14px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.contact-whatsapp,
.contact-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;
}

.contact-whatsapp {
    background: var(--green);

    color: var(--white);
}

.contact-map {
    background: var(--white);

    color: #111111;

    border: 1px solid #cccccc;
}

.contact-card {
    min-height: 400px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 35px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #181c21,
            var(--dark)
        );

    color: var(--white);

    border-radius: 14px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .15);
}

.contact-card-pin {
    margin-bottom: 15px;

    font-size: 44px;
}

.contact-card h3 {
    margin-bottom: 7px;

    font-size: 28px;
}

.contact-card p {
    margin-bottom: 15px;

    color: #aeb4bb;
}

.contact-card a {
    color: var(--red);

    font-weight: 700;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 55px 8% 35px;

    background: #080a0c;

    color: #a7acb2;

    text-align: center;
}

.footer-logo {
    margin-bottom: 15px;
}

footer p {
    margin: 5px 0;
}

.copyright {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #24282d;

    font-size: 13px;
}


/* =====================================================
   WHATSAPP
===================================================== */

.floating-whatsapp {
    position: fixed;

    right: 24px;
    bottom: 24px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--green);

    color: var(--white);

    border-radius: 50%;

    z-index: 999999;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .28);

    transition: 0.25s;
}

.floating-whatsapp svg {
    width: 30px;
    height: 30px;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

    header {
        padding: 0 5%;
    }

    nav {
        gap: 18px;
    }

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

    .appointment-container,
    .contact-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

}


/* =====================================================
   MOBİL
===================================================== */

@media (max-width: 700px) {

    section {
        scroll-margin-top: 72px;
    }


    /* HEADER */

    header {
        height: 72px;

        padding: 0 18px;
    }

    .logo {
        font-size: 21px;

        flex-shrink: 0;
    }

    .header-button {
        padding: 10px 13px;

        font-size: 12px;
    }

    .mobile-menu-button {
        display: flex;
    }

    header nav {
        display: none;

        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        margin: 0;

        padding: 12px 18px 18px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: var(--dark);

        border-top: 1px solid #25292e;
        border-bottom: 1px solid #25292e;

        box-shadow:
            0 15px 30px rgba(0, 0, 0, .25);
    }

    header nav.mobile-open {
        display: flex;
    }

    header nav a {
        display: block;

        padding: 14px 6px;

        color: var(--white);

        border-bottom: 1px solid #202429;

        font-size: 15px;
    }

    header nav a:last-child {
        border-bottom: 0;
    }


    /* HERO */

    .hero {
        min-height:
            calc(100vh - 72px);

        padding: 70px 24px 65px;

        background-image:
            linear-gradient(
                90deg,
                rgba(8, 10, 12, .97) 0%,
                rgba(8, 10, 12, .88) 46%,
                rgba(8, 10, 12, .45) 100%
            ),
            url("./images/hero-car.jpg");

        background-position:
            62% center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-small {
        margin-bottom: 18px;

        font-size: 11px;

        letter-spacing: 1.8px;
    }

    .hero h1 {
        margin-bottom: 26px;

        font-size: 42px;

        line-height: 1.02;

        letter-spacing: -2px;
    }

    .hero-description {
        max-width: 330px;

        margin-bottom: 28px;

        font-size: 15px;

        line-height: 1.75;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

    .primary-button,
    .secondary-button {
        min-height: 50px;

        padding: 0 22px;

        font-size: 14px;
    }


    /* BÖLÜMLER */

    .services,
    .about,
    .appointment,
    .contact {
        padding: 70px 24px;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h2,
    .about h2,
    .appointment-info h2,
    .contact-info h2 {
        font-size: 32px;

        line-height: 1.12;

        letter-spacing: -1px;
    }

    .section-title > p,
    .section-label {
        font-size: 11px;

        letter-spacing: 1.7px;
    }


    /* HİZMET */

    .service-container,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .service-container {
        gap: 16px;
    }

    .service-card {
        min-height: auto;

        padding: 25px 22px;
    }

    .service-card p {
        min-height: auto;
    }


    /* RANDEVU */

    .appointment-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .appointment-info > p:not(.section-label) {
        font-size: 15px;

        line-height: 1.7;
    }

    .appointment-features {
        gap: 10px;
    }

    .appointment-features div {
        font-size: 14px;
    }

    .appointment-form {
        padding: 22px 18px;

        border-radius: 12px;
    }

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

        gap: 0;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }


    /* İLETİŞİM */

    .contact-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-whatsapp,
    .contact-map {
        width: 100%;
    }

    .contact-card {
        min-height: 280px;
    }


    /* WHATSAPP */

    .floating-whatsapp {
        right: 14px;

        bottom: 14px;

        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 26px;
        height: 26px;
    }


    /* FOOTER */

    footer {
        padding:
            45px 24px 25px;
    }

}


/* =====================================================
   ÇOK KÜÇÜK TELEFON
===================================================== */

@media (max-width: 380px) {

    header {
        padding: 0 12px;
    }

    .header-button {
        padding: 9px 10px;

        font-size: 11px;
    }

    .mobile-menu-button {
        width: 40px;
        height: 40px;
    }

    .hero {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero h1 {
        font-size: 38px;
    }

}