html {
    scroll-behavior: smooth;
}

   body {
    margin: 0;
    background-color: #1c1c1c;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 40px 8%;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.55)
        ),
        url("./images/garage.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 650px;
}

.hero-label {
    font-size: 14px;
    letter-spacing: 3px;
    color: white;
    font-weight: bold; 
}

.hero h1 {
    font-size: 60px;
    margin: 10px 0 20px;
    color: white;
}

.hero-text {
    font-size: 20px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 35px;
}

.service-button {
    display: inline-block;
    background-color: #d62828;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-weight: bold;
    border-radius: 4px;
}

.services {
    padding: 80px 8%;
    background-color: #f5f5f5;
    color: #1c1c1c;
    text-align: center;
}

.section-label {
    color: #d62828;
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 13px;
}

.services h2 {
    font-size: 42px;
    margin: 10px 0 15px;
}

.section-intro {
    max-width: 650px;
    margin: 0 auto 45px;
    color: #666666;
    line-height: 1.6;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.service-card {
    background-color: white;
    padding: 35px 25px;
    text-align: left;
    border-radius: 6px;
}

.service-card h3 {
    margin-top: 0;
    font-size: 21px;
}

.service-card p {
    color: #666666;
    line-height: 1.6;
}

/* =========================
   ABOUT SECTION
========================== */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
    background-color: #1c1c1c;
}

.about-image {
    background-image: url("./images/aboutimage.jpg");
    background-size: cover;
    background-position: center;
}

.about-content {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-label {
    color: #d62828;
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 5px;
}

.about-content h2 {
    font-size: 42px;
    margin: 10px 0 20px;
    color: white; 
}

.about-text {
    color: #cccccc;
    line-height: 1.7;
    font-size: 17px;
    margin-bottom: 20px;
}

.trust-list {
    margin-bottom: 25px;
}

.trust-list p {
    margin: 10px 0;
    font-weight: bold;
    color: #d62828;
}

/* =========================
   REVIEWS SECTION
========================== */

.reviews {
    padding: 80px 8%;
    background-color: #f5f5f5;
    color: #1c1c1c;
    text-align: center;
}

.reviews h2 {
    font-size: 42px;
    margin: 10px 0 15px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.review-card {
    background-color: white;
    padding: 35px;
    border-radius: 6px;
    text-align: left;
}

.stars {
    color: #d62828;
    font-size: 20px;
    letter-spacing: 3px;
    margin-top: 0;
}

.review-text {
    color: #555555;
    line-height: 1.7;
    font-size: 16px;
}

.review-name {
    font-weight: bold;
    margin-top: 20px;
}



/* =========================
   CONTACT SECTION
========================== */

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px 8%;
    background-color: #1c1c1c;
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-label {
    color: #d62828;
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 13px;
}

.contact-info h2 {
    font-size: 42px;
    margin: 10px 0 20px;
}

.contact-text {
    color: #cccccc;
    line-height: 1.7;
    font-size: 17px;
    max-width: 500px;
}

.shop-details {
    margin-top: 20px;
}

.shop-details p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.shop-details strong {
    color: white;
}

.contact-form {
    background-color: white;
    color: #1c1c1c;
    padding: 40px;
    border-radius: 6px;
}

.contact-form h3 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 25px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 13px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background-color: #d62828;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}


/* =========================
   FOOTER
========================== */

.footer {
    background-color: #111111;
    color: white;
    padding: 40px 8% 25px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #333333;
}

.footer-top h2 {
    margin: 0;
    font-size: 22px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    color: #888888;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

/* =========================
   HOVER EFFECTS
========================== */

/* NAVIGATION LINKS */

nav a,
.footer-links a {
    transition: color 0.3s ease;
}

nav a:hover,
.footer-links a:hover {
    color: #d62828;
}


/* RED BUTTONS */

.service-button,
.contact-form button {
    transition: background-color 0.3s ease,
                transform 0.3s ease;
}

.service-button:hover,
.contact-form button:hover {
    background-color: #a91f1f;
    transform: translateY(-2px);
}


/* SERVICE CARDS */

.service-card {
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* REVIEW CARDS */

.review-card {
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =========================
   MOBILE RESPONSIVE DESIGN
========================== */

@media (max-width: 768px) {

    /* NAVIGATION */

    nav {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    nav h2 {
        margin: 0;
    }

    nav ul {
        padding: 0;
        margin: 0;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }


    /* HERO */

    .hero {
        min-height: 60vh;
        padding: 60px 8%;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-text {
        font-size: 18px;
    }


    /* SERVICES */

    .service-grid {
        grid-template-columns: 1fr;
    }

    .services h2 {
        font-size: 34px;
    }


    /* ABOUT */

    .about {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 350px;
    }

    .about-content {
        padding: 60px 8%;
    }

    .about-content h2 {
        font-size: 34px;
    }


    /* REVIEWS */

    .review-grid {
        grid-template-columns: 1fr;
    }

    .reviews h2 {
        font-size: 34px;
    }


    /* CONTACT */

    .contact {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 8%;
    }

    .contact-info h2 {
        font-size: 34px;
    }

    .contact-form {
        padding: 30px 20px;
    }


    /* FOOTER */

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

}

/* =========================
   REVIEW CONTROLS
========================== */

.review-controls {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.review-controls button {
    background-color: #d62828;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.review-controls button:hover {
    background-color: #a91f1f;
}


/* REVIEW DOTS */

.review-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.review-dot {
    width: 10px;
    height: 10px;
    background-color: #cccccc;
    border-radius: 50%;
}

.review-dot.active {
    background-color: #d62828;
}

/* =========================
   ACCESSIBILITY
========================= */

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

/* Dark focus outline on light sections */
.services a:focus-visible,
.reviews a:focus-visible,
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible,
.contact-form button:focus-visible {
    outline-color: #d62828;
}

/* Button focus */
.service-button:focus-visible,
.contact-form button:focus-visible {
    background-color: #a91f1f;
}

/* Reduce animations for users who request it */
@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;
    }
}


/* =========================
   FINAL POLISH
========================= */

/* Keep content from becoming too wide on large screens */
nav,
.hero-content,
.service-grid,
.review-grid,
.contact {
    max-width: 1400px;
}

/* Better button interaction */
.service-button,
.contact-form button,
.review-controls button {
    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-button:hover,
.contact-form button:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Make form fields easier to interact with */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #d62828;
}

/* Prevent textarea from becoming excessively wide */
.contact-form textarea {
    max-width: 100%;
    box-sizing: border-box;
}

/* Make all form controls stay inside their container */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Slightly improve readability */
p {
    line-height: 1.6;
}


/* =========================
   EXTRA MOBILE POLISH
========================= */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    /* NAVIGATION */

    nav {
        padding: 18px 6%;
    }

    nav h2 {
        text-align: center;
    }

    nav ul {
        width: 100%;
        gap: 18px;
    }

    /* HERO */

    .hero {
        min-height: 65vh;
        padding: 50px 7%;
        background-position: center;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.1;
    }

    .hero-text {
        font-size: 17px;
    }

    /* SECTIONS */

    .services,
    .reviews {
        padding: 60px 7%;
    }

    /* ABOUT */

    .about-image {
        min-height: 300px;
    }

    /* CONTACT */

    .contact {
        padding: 60px 7%;
    }

    .contact-form {
        width: 100%;
        box-sizing: border-box;
    }

    /* Make buttons easier to tap */

    .service-button,
    .contact-form button {
        min-height: 48px;
    }

    .review-controls button {
        min-width: 48px;
        min-height: 48px;
    }

    /* FOOTER */

    .footer {
        padding-left: 7%;
        padding-right: 7%;
    }
}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 34px;
    }

    .services h2,
    .reviews h2,
    .about-content h2,
    .contact-info h2 {
        font-size: 30px;
    }

    nav ul {
        font-size: 14px;
        gap: 12px;
    }

    .service-card,
    .review-card {
        padding: 28px 20px;
    }

    .contact-form {
        padding: 25px 18px;
    }
}

/* =========================
   FORM FEEDBACK
========================= */

#form-message {
    min-height: 24px;
    margin-top: 18px;
    margin-bottom: 0;
    color: #287a3e;
    font-weight: bold;
    line-height: 1.5;
}

.contact-form button:disabled {
    background-color: #888888;
    cursor: not-allowed;
    transform: none;
}

/* =========================
   PORTFOLIO DEMO NOTICE
========================= */

.demo-notice {
    color: #888888;
    font-size: 13px;
    line-height: 1.6;
    margin: 20px 0 0;
}

/* =========================
   TEXT SELECTION
========================= */

::selection {
    background-color: #d62828;
    color: white;
}