/* =========================================================
   MECHANIC MOBILE BAR
   MAIN STYLESHEET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}


/* =========================================================
   HEADER / NAVIGATION
========================================================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.94);
    border-bottom: 1px solid rgba(109, 255, 59, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
}

.navbar {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: auto;
    height: 100px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #6DFF3B;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 8px;
    border: 1px solid rgba(109, 255, 59, 0.45);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 5px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #000;
    padding: 180px 8% 100px;
}

.hero-content {
    width: 100%;
    max-width: 700px;
    margin-left: 40px;
    position: relative;
    z-index: 1;
}

.hero-content::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(
        circle,
        rgba(127, 252, 0, 0.12) 0%,
        transparent 70%
    );
    top: -100px;
    left: -120px;
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    display: flex;
    flex-direction: column;
    margin: 0;
    line-height: 1;
    overflow: visible;
}

.hero-title {
    display: block;
    font-family: "Bebas Neue", sans-serif;
    font-size: 90px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    color: #fff;
}

.hero-subtitle {
    display: block;
    font-family: "Bebas Neue", sans-serif;
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: 8px;
    color: #7CFC00;
    margin-top: 4px;
}

.hero p {
    max-width: 560px;
    margin: 35px 0 0;
    color: #d5d5d5;
    font-size: 22px;
    line-height: 1.8;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 16px 38px;
    border-radius: 50px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/*
   PRIMARY AND SECONDARY BUTTONS
   Normal = outlined
   Hover = green
*/

.btn-primary,
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #6DFF3B;
}

.btn-primary:hover,
.btn-secondary:hover {
    background: #6DFF3B;
    color: #000;
    border-color: #6DFF3B;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(109, 255, 59, 0.35);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

section {
    padding: 120px 10%;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
}

.section-title h2 {
    margin-bottom: 20px;
    font-size: 42px;
    line-height: 1.2;
}

.section-title p {
    color: #cfcfcf;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: #0d0d0d;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.about-text {
    max-width: 850px;
    margin: 0 auto;
}

.about-text h3 {
    margin-bottom: 25px;
    color: #fff;
    font-size: 32px;
    line-height: 1.3;
}

.about-text p {
    margin-bottom: 20px;
    color: #cfcfcf;
    font-size: 17px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0;
    color: #fff;
    font-weight: 600;
}

.about-features div {
    padding: 15px;
    background: #151515;
    border: 1px solid rgba(109, 255, 59, 0.15);
    border-radius: 10px;
}

.about .btn {
    margin-top: 15px;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    background: #111;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    min-height: 260px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: #00ff88;
    box-shadow: 0 20px 45px rgba(0, 255, 136, 0.35);
}

.service-card h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.service-card p {
    color: #cfcfcf;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   WHY US
========================================================= */

.why-us {
    background: #0f0f0f;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.why-card {
    min-height: 240px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    background: #171717;
    border: 1px solid rgba(109, 255, 59, 0.15);
    border-radius: 18px;
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: #6DFF3B;
    box-shadow: 0 18px 45px rgba(109, 255, 59, 0.15);
}

.why-card h3 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 22px;
    line-height: 1.4;
}

.why-card p {
    color: #cfcfcf;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery {
    background: #0d0d0d;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid rgba(109, 255, 59, 0.15);
    border-radius: 18px;
    cursor: pointer;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(109, 255, 59, 0.25);
}

.gallery-item:hover img {
    transform: scale(1.08);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: #111;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info h3 {
    margin-bottom: 25px;
    color: #fff;
    font-size: 28px;
}

.contact-info p {
    color: #cfcfcf;
    line-height: 1.8;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    margin-bottom: 8px;
    color: #fff;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #7CFC00;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00ff88;
}

.contact-form button {
    align-self: flex-start;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #222;
    color: #999;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    font-size: 36px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links .fa-instagram {
    background: linear-gradient(
        45deg,
        #F58529,
        #DD2A7B,
        #8134AF,
        #515BD4
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links .fa-tiktok {
    color: #69C9D0;
    text-shadow: 1px 1px 0 #EE1D52;
}


/* =========================================================
   FLOATING WHATSAPP BUTTON
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    z-index: 900;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}


/* =========================================================
   SCROLL ANIMATION
========================================================= */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .navbar {
        width: 92%;
        min-height: 100px;
    }

    .logo img {
        height: 82px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero-content {
        margin-left: 0;
    }

    .hero-title {
        font-size: 76px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    html {
        scroll-padding-top: 85px;
    }

    .navbar {
        width: 100%;
        min-height: 82px;
        padding: 0 20px;
        position: relative;
    }

    .logo img {
        height: 62px;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 20px;
        background: rgba(0, 0, 0, 0.98);
        border-bottom: 1px solid rgba(109, 255, 59, 0.25);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        pointer-events: none;
        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        display: block;
        padding: 16px 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        color: #fff;
        font-size: 16px;
        text-align: left;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .hero {
        min-height: 100svh;
        align-items: center;
        padding: 120px 22px 70px;
    }

    .hero-content {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-content::before {
        width: 330px;
        height: 330px;
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero h1 {
        width: 100%;
        align-items: center;
    }

    .hero-title {
        width: 100%;
        font-size: clamp(58px, 18vw, 82px);
        line-height: 0.95;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    .hero-subtitle {
        width: 100%;
        margin-top: 10px;
        font-size: clamp(30px, 9vw, 42px);
        line-height: 1;
        letter-spacing: clamp(4px, 1.8vw, 8px);
        white-space: nowrap;
    }

    .hero p {
        max-width: 500px;
        margin: 32px auto 0;
        font-size: 17px;
        line-height: 1.7;
    }

    .hero-buttons {
        width: 100%;
        max-width: 420px;
        margin: 35px auto 0;
        flex-direction: column;
        gap: 14px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .btn {
        min-height: 56px;
        padding: 15px 28px;
        font-size: 17px;
    }

    section {
        padding: 85px 22px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .section-title p {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 45px;
    }

    .about-text {
        text-align: left;
    }

    .about-text h3 {
        font-size: 26px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
        margin-top: 45px;
    }

    .service-card,
    .why-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 45px;
    }

    .gallery-item {
        height: 360px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        margin-top: 45px;
    }

    .contact-form button {
        width: 100%;
    }

    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 56px;
        height: 56px;
        font-size: 26px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .navbar {
        padding: 0 16px;
    }

    .logo img {
        height: 56px;
    }

    .hero {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-title {
        font-size: clamp(52px, 17vw, 70px);
    }

    .hero-subtitle {
        font-size: clamp(27px, 8vw, 34px);
        letter-spacing: 4px;
    }

    .hero p {
        font-size: 16px;
    }

    section {
        padding: 75px 18px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .gallery-item {
        height: 320px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}