/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: 100%;
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)
        ),
        url("../img/background.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    width: 100%;

    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 20px 80px;

    position: relative;

    z-index: 1000;
}


/* LOGO */

.logo {
    color: white;

    font-size: 24px;

    font-weight: bold;

    white-space: nowrap;
}


/* NAVIGATION LINKS */

.nav-links {
    display: flex;

    align-items: center;

    list-style: none;

    gap: 30px;
}

.nav-links li {
    margin: 0;
}

.nav-links li a {
    color: white;

    text-decoration: none;

    font-weight: bold;

    font-size: 16px;

    transition: 0.3s;
}

.nav-links li a:hover {
    color: #d9a0a0;
}


/* =========================================================
   HAMBURGER
========================================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 38px;

    padding: 7px;

    background: transparent;

    border: none;

    cursor: pointer;

    flex-direction: column;

    justify-content: space-between;
}

.menu-toggle span {
    display: block;

    width: 100%;

    height: 3px;

    background: white;

    border-radius: 5px;

    transition: 0.3s;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.content {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 90%;

    max-width: 900px;

    text-align: center;

    color: white;
}

.content h1 {
    font-size: clamp(36px, 6vw, 60px);

    line-height: 1.15;

    margin-bottom: 18px;
}

.content p {
    width: 100%;

    max-width: 700px;

    margin: 0 auto 28px;

    font-size: clamp(15px, 2vw, 20px);

    line-height: 1.6;
}


/* =========================================================
   BUTTON
========================================================= */

.btn {
    display: inline-block;

    background: #7a2020;

    color: white;

    padding: 14px 35px;

    text-decoration: none;

    border-radius: 30px;

    font-weight: bold;

    transition: 0.3s;
}

.btn:hover {
    background: #a52a2a;

    transform: scale(1.05);
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.section-container {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;
}


/* =========================================================
   CONTACT
========================================================= */

#contact {
    padding: 80px 10%;

    text-align: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)
        ),
        url("../img/contactbg.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    color: white;
}

#contact > h1 {
    margin-bottom: 10px;

    font-size: 36px;
}


/* CONTACT CONTAINER */

.contact-container {
    width: 100%;

    display: flex;

    justify-content: center;

    gap: 30px;

    margin-top: 40px;
}


/* CONTACT BOX */

.contact-box {
    flex: 1;

    padding: 25px;

    background: rgba(255, 255, 255, 0.1);

    border-radius: 15px;

    backdrop-filter: blur(5px);

    -webkit-backdrop-filter: blur(5px);

    min-width: 0;
}

.contact-box h3 {
    margin-bottom: 20px;

    font-size: 28px;
}

.contact-box p {
    margin-bottom: 15px;

    line-height: 1.6;

    font-size: 16px;
}

.open-hours {
    font-weight: bold;

    margin-top: 20px;
}


/* =========================================================
   ABOUT
========================================================= */

#about {
    padding: 80px 10%;

    text-align: center;

    background: white;
}

#about h1 {
    margin-bottom: 20px;

    color: #5b0000;

    font-size: 36px;
}

#about p {
    width: 100%;

    max-width: 800px;

    margin: auto;

    line-height: 1.8;

    color: #555;

    font-size: 17px;
}


/* =========================================================
   SERVICES
========================================================= */

#services {
    padding: 80px 10%;

    background: #f5f5f5;

    text-align: center;
}

#services > .section-container > h1 {
    color: #5b0000;

    font-size: 36px;
}


/* SERVICE CONTAINER */

.services-container {
    display: flex;

    gap: 20px;

    margin-top: 40px;
}


/* SERVICE BOX */

.service-box {
    flex: 1;

    background: white;

    padding: 30px 25px;

    border-radius: 15px;

    box-shadow:
        0 2px 10px
        rgba(0, 0, 0, 0.1);

    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-box h3 {
    color: #5b0000;

    margin-bottom: 10px;

    font-size: 22px;
}

.service-box p {
    color: #555;

    line-height: 1.6;
}


/* =========================================================
   REVIEWS
========================================================= */

#reviews {
    margin-top: 80px;
}

#reviews h1 {
    color: #5b0000;

    font-size: 36px;
}


/* REVIEWS CONTAINER */

.reviews-container {
    display: flex;

    justify-content: center;

    align-items: stretch;

    gap: 20px;

    flex-wrap: wrap;

    margin-top: 30px;
}


/* REVIEW BOX */

.review-box {
    width: 280px;

    min-height: 180px;

    background: white;

    border-radius: 15px;

    padding: 20px;

    text-align: center;

    box-shadow:
        0 4px 12px
        rgba(0, 0, 0, 0.15);

    transition: 0.3s;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.review-box:hover {
    transform: translateY(-5px);
}


/* STARS */

.stars {
    font-size: 25px;

    margin-bottom: 15px;

    word-break: break-word;
}


/* FEEDBACK */

.review-feedback {
    color: #444;

    margin-bottom: 20px;

    font-style: italic;

    line-height: 1.6;

    overflow-wrap: anywhere;
}


/* CUSTOMER */

.review-box h4 {
    color: #800000;

    margin-bottom: 8px;
}


/* BRANCH */

.review-branch {
    color: #777;

    font-size: 13px;
}


/* NO REVIEWS */

.no-reviews {
    color: #555;

    width: 100%;

    text-align: center;
}


/* =========================================================
   VIEW MORE
========================================================= */

.view-more-container {
    text-align: center;

    margin-top: 30px;
}

.view-more-btn {
    display: inline-block;

    background: #800000;

    color: white;

    text-decoration: none;

    padding: 12px 25px;

    border-radius: 10px;

    font-weight: bold;

    transition: 0.3s;
}

.view-more-btn:hover {
    background: #a52a2a;

    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #5b0000;

    color: white;

    text-align: center;

    padding: 20px 15px;

    font-size: 14px;
}

footer p {
    line-height: 1.5;
}


/* =========================================================
   LARGE TABLET / SMALL DESKTOP
   1024px AND BELOW
========================================================= */

@media screen and (max-width: 1024px) {

    .navbar {
        padding: 20px 40px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links li a {
        font-size: 15px;
    }


    #contact,
    #about,
    #services {
        padding-left: 6%;
        padding-right: 6%;
    }


    .contact-container {
        gap: 20px;
    }


    .contact-box {
        padding: 20px;
    }


    .service-box {
        padding: 25px 20px;
    }

}


/* =========================================================
   TABLET
   768px AND BELOW
========================================================= */

@media screen and (max-width: 768px) {


    /* -------------------------
       NAVBAR
    ------------------------- */

    .navbar {
        padding: 15px 20px;

        flex-wrap: wrap;
    }


    .logo {
        font-size: 22px;
    }


    /* SHOW HAMBURGER */

    .menu-toggle {
        display: flex;
    }


    /* MOBILE NAV */

    .nav-links {
        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        align-items: center;

        gap: 0;

        background: rgba(91, 0, 0, 0.97);

        padding: 10px 0;

        box-shadow:
            0 5px 10px
            rgba(0, 0, 0, 0.2);
    }


    .nav-links.active {
        display: flex;
    }


    .nav-links li {
        width: 100%;

        text-align: center;
    }


    .nav-links li a {
        display: block;

        width: 100%;

        padding: 15px 20px;

        font-size: 16px;
    }


    .nav-links li a:hover {
        background: rgba(255, 255, 255, 0.1);

        color: white;
    }


    /* HAMBURGER ANIMATION */

    .menu-toggle.active span:nth-child(1) {
        transform:
            translateY(10px)
            rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform:
            translateY(-10px)
            rotate(-45deg);
    }


    /* -------------------------
       HERO
    ------------------------- */

    .hero {
        min-height: 100svh;
    }


    .content {
        width: 90%;

        top: 52%;
    }


    .content h1 {
        font-size: 38px;

        line-height: 1.2;

        margin-bottom: 15px;
    }


    .content p {
        font-size: 16px;

        line-height: 1.5;

        margin-bottom: 24px;
    }


    .btn {
        padding: 12px 28px;

        font-size: 15px;
    }


    /* -------------------------
       CONTACT
    ------------------------- */

    #contact {
        padding: 60px 7%;
    }


    #contact > h1 {
        font-size: 30px;
    }


    .contact-container {
        flex-direction: column;

        gap: 20px;
    }


    .contact-box {
        width: 100%;

        padding: 25px 20px;
    }


    .contact-box h3 {
        font-size: 24px;
    }


    /* -------------------------
       ABOUT
    ------------------------- */

    #about {
        padding: 60px 7%;
    }


    #about h1 {
        font-size: 30px;
    }


    #about p {
        font-size: 16px;

        line-height: 1.7;
    }


    /* -------------------------
       SERVICES
    ------------------------- */

    #services {
        padding: 60px 7%;
    }


    #services > .section-container > h1 {
        font-size: 30px;
    }


    .services-container {
        flex-direction: column;

        gap: 20px;
    }


    .service-box {
        width: 100%;

        padding: 25px 20px;
    }


    /* -------------------------
       REVIEWS
    ------------------------- */

    #reviews {
        margin-top: 60px;
    }


    #reviews h1 {
        font-size: 30px;
    }


    .reviews-container {
        flex-direction: column;

        align-items: center;

        gap: 20px;
    }


    .review-box {
        width: 100%;

        max-width: 450px;
    }

}


/* =========================================================
   MOBILE
   480px AND BELOW
========================================================= */

@media screen and (max-width: 480px) {


    /* NAV */

    .navbar {
        padding: 12px 15px;
    }


    .logo {
        font-size: 20px;
    }


    .menu-toggle {
        width: 38px;

        height: 35px;
    }


    /* HERO */

    .content {
        width: 92%;

        top: 53%;
    }


    .content h1 {
        font-size: 31px;

        line-height: 1.2;
    }


    .content p {
        font-size: 14px;

        line-height: 1.5;
    }


    .btn {
        padding: 11px 25px;

        font-size: 14px;
    }


    /* SECTIONS */

    #contact,
    #about,
    #services {
        padding: 50px 5%;
    }


    #contact > h1,
    #about h1,
    #services > .section-container > h1,
    #reviews h1 {
        font-size: 27px;
    }


    /* CONTACT */

    .contact-box {
        padding: 22px 18px;
    }


    .contact-box h3 {
        font-size: 22px;
    }


    .contact-box p {
        font-size: 14px;

        line-height: 1.6;
    }


    /* ABOUT */

    #about p {
        font-size: 15px;

        line-height: 1.7;
    }


    /* SERVICES */

    .service-box {
        padding: 22px 18px;
    }


    .service-box h3 {
        font-size: 20px;
    }


    .service-box p {
        font-size: 14px;
    }


    /* REVIEWS */

    #reviews {
        margin-top: 50px;
    }


    .review-box {
        width: 100%;

        min-height: 170px;

        padding: 20px 18px;
    }


    .stars {
        font-size: 22px;
    }


    .review-feedback {
        font-size: 14px;
    }


    /* VIEW MORE */

    .view-more-btn {
        padding: 11px 20px;

        font-size: 14px;
    }


    /* FOOTER */

    footer {
        font-size: 12px;

        padding: 18px 10px;
    }

}