/* =====================================
   AUTOFIX PRO - MAIN STYLES
===================================== */

:root {
    --black: #050505;
    --dark: #0b0b0b;
    --dark-light: #151515;
    --orange: #ff681b;
    --orange-dark: #a94b20;
    --white: #f4f4f4;
    --gray: #a5a5a5;
    --border: #292929;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.container {
    width: 92%;
    max-width: 1450px;
    margin: auto;
}


/* =====================================
   HEADER
===================================== */

.header {
    background: #080808;
    border-bottom: 1px solid #292929;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    flex-shrink: 0;
}

.logo-gear {
    width: 55px;
    height: 55px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
}

.logo-gear .fa-cog {
    font-size: 54px;
}

.logo-letter {
    position: absolute;
    font-size: 24px;
    font-weight: 900;
    color: white;
    font-style: italic;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 1px;
    font-style: italic;
    white-space: nowrap;
}

.logo-name strong {
    color: var(--orange);
}

.logo-tagline {
    margin-top: 5px;
    color: #aaa;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

/* NAVIGATION */

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.nav-link {
    color: #d0d0d0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange);
}

/* PHONE INFORMATION */

.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.phone-icon {
    width: 38px;
    height: 38px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 15px;
}

.phone-info {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.phone-number {
    color: white;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

.working-hours,
.working-time {
    color: var(--orange);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
}

/* =====================================
   HERO
===================================== */

.hero {
    min-height: 590px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        url("../images/hero-car.jpg")
        center center / cover no-repeat;
}

/* DARK IMAGE OVERLAY */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.96) 0%,
        rgba(0, 0, 0, 0.84) 42%,
        rgba(0, 0, 0, 0.40) 75%,
        rgba(0, 0, 0, 0.20) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 760px;
    padding: 75px 0 65px;
}

/* TOP LABEL */

.hero-label {
    display: inline-block;
    color: var(--orange);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.hero-label span {
    color: white;
    padding: 0 5px;
}

/* MAIN HEADING */

.hero h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero-heading-main {
    display: block;
    color: white;
    font-size: clamp(29px, 4.2vw, 57px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1px;
    transform: skewX(-7deg);
    transform-origin: left center;
    white-space: nowrap;
}

.hero-heading-sub {
    display: block;
    color: var(--orange);
    font-size: clamp(24px, 3.5vw, 45px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* DESCRIPTION */

.hero-description {
    max-width: 550px;
    color: #d0d0d0;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* BOOK NOW BUTTON */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* MODERN BLUE BOOK NOW BUTTON */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 15px 32px;

    background: linear-gradient(
        180deg,
        #54d4ff 0%,
        #159bd8 55%,
        #0874b5 100%
    );

    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.2px;

    border: 2px solid #8be4ff;
    border-radius: 12px;

    box-shadow:
        0 5px 0 #07558a,
        0 8px 18px rgba(0, 160, 255, 0.30),
        inset 0 2px 3px rgba(255,255,255,0.35);

    text-shadow: 0 1px 2px rgba(0,0,0,0.25);

    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: linear-gradient(
        180deg,
        #78e1ff 0%,
        #25b6f0 55%,
        #0b8bd0 100%
    );

    transform: translateY(-3px);

    box-shadow:
        0 7px 0 #07558a,
        0 12px 24px rgba(0, 180, 255, 0.40),
        inset 0 2px 3px rgba(255,255,255,0.45);
}

.btn-primary:active {
    transform: translateY(3px);

    box-shadow:
        0 2px 0 #07558a,
        0 4px 8px rgba(0, 160, 255, 0.25);
}

/* HERO BENEFITS */
.hero-benefits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 38px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #e5e5e5;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.benefit-item i {
    color: var(--orange);
    font-size: 18px;
}

/* =====================================
   SECTION HEADING
===================================== */
.section-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 24px;
}

.section-heading span {
    width: 180px;
    height: 2px;
    background: var(--orange-dark);
}

.section-heading h2 {
    font-size: 21px;
    font-weight: 800;
    white-space: nowrap;
    color: var(--white);
}


/* =====================================
   SERVICES
===================================== */

.services-section {
    background: var(--black);
    padding: 35px 0 25px;
    border-bottom: 1px solid #242424;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    min-height: 165px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: 0.3s;
}

.service-card:hover {
    border-color: var(--orange-dark);
    transform: translateY(-4px);
}

.service-icon {
    width: 140px;
    height: 100px;
    flex: 0 0 140px;
    object-fit: contain;
    display: block; 
}

.service-content {
    flex: 1;
    min-width: 0;
}

.service-content h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.service-content p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--gray);
    margin-bottom: 16px;
}

.learn-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--orange);
    font-size: 14px;
    font-weight: bold;
}

.learn-more span {
    font-size: 30px;
    line-height: 15px;
    transition: transform 0.2s;
}

.learn-more:hover span {
    transform: translateX(5px);
}


/* =====================================
   ADVANTAGES
===================================== */

.advantages-section {
    background: var(--black);
    padding: 24px 0;
    border-bottom: 1px solid #242424;
}

.advantages-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 0 25px;
    min-height: 55px;
    border-right: 2px solid #262626;
}

.advantage-item:first-child {
    padding-left: 10px;
}

.advantage-item:last-child {
    border-right: none;
}

.advantage-icon {
    flex: 0 0 48px;
    color: var(--orange);
}

.advantage-icon svg {
    width: 55px;
    height: 55px;
}

.advantage-text h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #eeeeee;
    white-space: nowrap;
}

.advantage-text p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.4;
}


/* =====================================
   ABOUT US
===================================== */

.about-section {
    padding: 90px 0;
    background: #0b0b0b;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.about-image {
    height: 380px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2,
.contact-info h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-content p,
.contact-info p {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 18px;
}

.about-content .btn-primary {
    margin-top: 12px;
}


/* =====================================
   GALLERY
===================================== */

.gallery-section {
    padding: 75px 0;
    background: var(--black);
}

.gallery-description {
    text-align: center;
    color: var(--gray);
    margin-bottom: 35px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    height: 230px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.07);
}


/* =====================================
   CONTACT
===================================== */

.contact-section {
    background: #101010;
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-symbol {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--orange);
    color: var(--orange);
    font-size: 22px;
}

.contact-detail h4 {
    color: var(--orange);
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-detail p {
    color: var(--gray);
    font-size: 14px;
}


/* =====================================
   FOOTER
===================================== */

.footer {
    background: #050505;
    padding: 35px 0 20px;
    border-top: 1px solid #252525;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.footer-container > p {
    color: var(--gray);
    font-size: 14px;
}

.footer-bottom {
    width: 100%;
    padding-top: 18px;
    border-top: 1px solid #242424;
    color: #777;
    font-size: 12px;
}

/* HEADER LOGO AND PHONE CORRECTION */
.logo-gear {
    display: none;
}

.logo-name {
    font-size: 25px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 1px;
}

.phone-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.phone-icon i {
    display: inline-block;
    color: var(--orange);
    font-size: 17px;
    line-height: 1;
}

/* PHONE ICON - SVG */
.phone-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-icon svg {
    width: 19px;
    height: 19px;
    display: block;
    color: var(--orange);
    fill: var(--orange);
}

/* AUTOFIX PRO GEAR LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-gear {
    width: 30px;
    height: 66px;
    flex: 0 0 30px;
    margin-right: -5px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-gear svg {
    width: 46px;
    height: 66px;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    margin-left: 0;
    padding-left: 0;
}

/* ================= BOOKING FORM ================= */

.booking-section {
    padding: 90px 0;
    background: #f4f8fb;
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-heading {
    text-align: center;
    margin-bottom: 40px;
}

.booking-heading h2 {
    font-size: 36px;
    color: #142b3d;
    margin-bottom: 12px;
}

.booking-heading p {
    color: #687987;
    font-size: 16px;
}

.booking-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}

.booking-form h3 {
    color: #168fc5;
    font-size: 19px;
    margin: 25px 0 20px;
}

.booking-form h3:first-child {
    margin-top: 0;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-field.full-width {
    grid-column: 1 / -1;
}

.booking-field label {
    color: #263746;
    font-size: 14px;
    font-weight: 600;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d6e0e7;
    border-radius: 6px;
    background: #ffffff;
    color: #263746;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
    outline: none;
    border-color: #168fc5;
    box-shadow: 0 0 0 3px rgba(22,143,197,0.12);
}

.booking-field textarea {
    min-height: 120px;
    resize: vertical;
}

.booking-submit {
    display: block;
    width: 100%;
    margin-top: 30px;
    padding: 16px;
    border: none;
    border-radius: 6px;
    background: #168fc5;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.booking-submit:hover {
    background: #1074a2;
}

.booking-note {
    text-align: center;
    color: #788894;
    font-size: 13px;
    margin-top: 18px;
}

@media (max-width: 600px) {
    .booking-section {
        padding: 60px 15px;
    }

    .booking-form {
        padding: 25px 18px;
    }

    .booking-grid {
        grid-template-columns: 1fr;
    }

    .booking-field.full-width {
        grid-column: auto;
    }

    .booking-heading h2 {
        font-size: 28px;
    }
}
