/* VanCycle Modern Website CSS */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #222;
    line-height: 1.6;
    background: #ffffff;
}


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

header {
    background: #111;
    color: white;
    padding: 0 8%;
    position: sticky;
    top: 0;
    z-index: 100;
}


nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 90px;
    position: relative;
}


nav h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav h1 a {
    display: inline-flex;
    align-items: center;
}

nav h1 img {
    display: block;
    max-height: 90px;
    width: auto;
}


.nav-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

nav .nav-toggle-label {
    display: none;
    min-width: 110px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    gap: 10px;
}

nav .nav-toggle-label span {
    display: inline-block;
    width: 22px;
    height: 2px;
    background: white;
    position: relative;
    transition: transform 0.25s ease, opacity 0.25s ease;
    border-radius: 2px;
}

nav .nav-toggle-label span::before,
nav .nav-toggle-label span::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    position: absolute;
    left: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    border-radius: 2px;
}

nav .nav-toggle-label span::before {
    content: "";
    transform: translateY(-7px);
}

nav .nav-toggle-label span::after {
    content: "";
    transform: translateY(7px);
}

.nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
}

.nav-toggle:checked + .nav-toggle-label span::before {
    transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::after {
    transform: rotate(-45deg);
}


nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
}


nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}


nav a:hover {
    color: #39d353;
}



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


.hero {
    min-height: 700px;

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

    padding: 0 8%;

    background:
        linear-gradient(
            rgba(0,0,0,0.65),
            rgba(0,0,0,0.35)
        ),
        url("./VC\ Website\ Images/Tune Up Services.webp") no-repeat;

    background-size: cover;
    background-position: center;

    color: white;
}


.hero-content {
    max-width: 720px;
    text-align: center;
    padding: 40px 40px 35px;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
}


.hero .eyebrow {
    color: #b8f3c0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 700;
}


.hero h2 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    margin-bottom: 24px;
}


.hero p {
    font-size: 20px;
    max-width: 640px;
    margin: 0 auto 32px;
    color: #e9f2ec;
}

.hero .button {
    padding: 16px 38px;
    font-size: 17px;
}

.hero-hours {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0 auto 26px;
    padding: 14px 20px;
    background: rgba(57, 211, 83, 0.16);
    border: 1px solid rgba(141, 255, 170, 0.45);
    border-radius: 16px;
    color: #f2fff4;
    font-size: 17px;
}

.hero-hours strong {
    font-size: 24px;
    letter-spacing: 0.04em;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.secondary-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.form-section {
    padding: 60px 8%;
}

.form-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 26px;
    box-shadow: 0 24px 50px rgba(15, 28, 22, 0.08);
    border: 1px solid #e4ece4;
}

.form-card h2,
.form-card h3 {
    text-align: center;
    margin-bottom: 22px;
    font-size: 34px;
}

.comment-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.full-width {
    display: block;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #22312b;
}

.comment-form input,
.comment-form textarea,
.comment-form select {
    width: 100%;
    padding: 16px;
    border: 1px solid #cad4cc;
    border-radius: 16px;
    font-size: 16px;
    background: #fbfdf9;
    color: #20312b;
    font-family: inherit;
}

.comment-form textarea {
    min-height: 180px;
    resize: vertical;
}

.comment-form button {
    align-self: start;
}

.contact-panel {
    padding: 60px 8%;
    background: #f7faf7;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: #ffffff;
    border: 1px solid #e7efe7;
    border-radius: 26px;
    padding: 36px 30px;
    box-shadow: 0 20px 40px rgba(15, 28, 22, 0.04);
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 18px;
    font-size: 36px;
}

.contact-info p,
.contact-info li {
    text-align: left;
    max-width: none;
    margin: 14px 0;
    color: #4f5d58;
}

.hours-box {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin: 18px 0 20px;
    padding: 16px 18px;
    background: #f2fff4;
    border: 1px solid #cfeed3;
    border-radius: 16px;
}

.hours-label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3d7d4c;
    font-weight: 700;
}

.hours-box strong {
    font-size: 28px;
    color: #1f2f24;
}

.hours-closed {
    font-size: 16px;
    color: #4f5d58;
    font-weight: 600;
}

.contact-info ul {
    margin-top: 24px;
    padding-left: 1.2rem;
}

.service-form-card {
    max-width: none;
    margin: 0;
}

.service-form-card h3 {
    margin-bottom: 20px;
    font-size: 30px;
}

.service-hero {
    background:
        linear-gradient(
            rgba(0,0,0,0.68),
            rgba(0,0,0,0.38)
        ),
        url("./VC Website Images/Tune Up Services.webp") no-repeat center/cover;
}

section {
    padding: 80px 8%;
}

section.services,
section.about {
    background: #f8fbf7;
    border: 1px solid #e6efe8;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(16, 39, 22, 0.08);
    margin-bottom: 40px;
}

section h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 35px;
}

section p {
    max-width: 840px;
    margin: 15px auto;
    text-align: center;
    font-size: 18px;
    color: #4b5650;
}

section ul,
section ol {
    max-width: 840px;
    margin: 20px auto 30px;
    padding-left: 1.35rem;
    color: #3d4842;
}

section li {
    margin-bottom: 12px;
    line-height: 1.7;
}

section ol {
    list-style: decimal inside;
}

section.services img,
section.services figure.image-block img {
    display: block;
    margin: 0 auto 30px;
    max-width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 18px 34px rgba(0,0,0,0.09);
}

section figure.image-block {
    margin: 0 auto 30px;
    max-width: 720px;
}

footer {
    background: #040504;
    color: #cfd8d0;
    text-align: center;
    padding: 30px 8%;
    font-size: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

footer p {
    margin: 6px 0;
}

footer .footer-phone,
footer strong.footer-phone,
.phone-link {
    color: #39d353;
    font-weight: 700;
    text-decoration: none;
}

.phone-link:hover {
    color: #7ff39d;
}



/* BUTTON */

.button {

    display: inline-block;

    background: #39d353;
    color: white;

    padding: 14px 32px;

    border-radius: 30px;

    font-weight: bold;

    text-decoration: none;

    transition: 0.3s;

}


.button:hover {

    background: #27a943;

    transform: translateY(-3px);

}



/* =========================
   GENERAL SECTIONS
========================= */


section {

    padding: 80px 8%;

}


section h2 {

    text-align: center;

    font-size: 38px;

    margin-bottom: 25px;

}


section p {

    max-width: 800px;

    margin: 15px auto;

    text-align: center;

    font-size: 18px;

    color: #555;

}



/* =========================
   SERVICES
========================= */


.services {

    background: #f5f7f5;

}



.cards {

    display: grid;

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

    gap: 30px;

    margin-top: 50px;

}



.card {

    background: white;

    padding: 35px;

    border-radius: 15px;

    text-align: center;

    box-shadow: 
    0 10px 25px rgba(0,0,0,0.08);

    transition: 0.3s;

}



.card:hover {

    transform: translateY(-8px);

    box-shadow:
    0 15px 35px rgba(0,0,0,0.15);

}



.card h3 {

    font-size: 24px;

    margin-bottom: 15px;

    color: #111;

}


.card p {

    font-size: 16px;

}



/* =========================
   ABOUT
========================= */


.about {

    background: white;

}



/* =========================
   CONTACT
========================= */


.contact {

    background: #111;

    color: white;

}


.contact h2 {

    color: white;

}


.contact p {

    color: #ddd;

}



.contact strong {

    color: #39d353;

}



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


footer {

    background: #000;

    color: #aaa;

    text-align: center;

    padding: 25px;

    font-size: 14px;

}



/* =========================
   MOBILE DESIGN
========================= */


@media(max-width: 900px) {

    header {
        padding: 16px 6%;
    }

    nav {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .nav-toggle {
        display: block;
    }

    nav .nav-toggle-label {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 10px 0;
        flex-direction: column;
        gap: 0;
        background: #111;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
        z-index: 99;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        font-size: 18px;
        text-align: center;
    }

    .nav-toggle:checked + .nav-toggle-label + .nav-links {
        max-height: 320px;
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    section h2 {

        font-size: 32px;

    }

}

@media(max-width: 520px) {

    nav {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0px;
    }

    nav h1 {
        margin-bottom: 0;
    }

    nav .nav-toggle-label {
        order: 1;
        margin-top: 0;
    }

    .nav-links {
        position: static;
        width: 100%;
        max-height: 0;
        box-shadow: none;
        border-bottom: none;
    }

    .nav-links li a {
        padding: 14px 20px;
    }

    .nav-toggle:checked + .nav-toggle-label + .nav-links {
        max-height: 420px;
    }
}
