/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Acme&family=Lobster&family=Merriweather:wght@300&family=Rubik:wght@300&family=Sniglet&display=swap');

* {
    box-sizing: border-box;
}

:root {
    --Sniglet-font: "Sniglet", cursive;
    --Rubik: "Rubik", cursive;
    --Merriweather: "Merriweather", cursive;
    --Lobster: "Lobster", cursive;
    --Montserrat: "Montserrat", sans-serif;
    --OpenSans: "Open Sans", sans-serif;
    --PlayfairDisplay: "Playfair Display", serif;
    --Nunito: "Nunito", sans-serif;

    /* Black-ish Grey-ish gradients */
    --gradient0: linear-gradient(to bottom, #000000, #000000);
    --gradient1: linear-gradient(to bottom, #000000, #515151);
    --gradient2: linear-gradient(to bottom, #515151, #bab7b7);
    --gradient3: linear-gradient(to bottom, #bab7b7, #ffffff);
    --gradient4: linear-gradient(to bottom, #5a5a5a, #4a4a4a);
}

body {
    font-family: var(--Nunito);
    color: #f1f1f1;
    background-color: #000000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: #ffffff;
}

/* HEADER */
header .navbar-brand {
    color: #ffffff;
}

header {
    background: var(--gradient1);
    font-weight: bold;
    font-family: var(--Sniglet-font);
    color: #f1f1f1;
}

header .navbar-nav {
    padding: 1rem;
    margin-left: auto;
    gap: 1rem;
}

header .dropdown-menu {
    min-width: 0px;
    background-color: #333333;
}

header .dropdown-menu .dropdown-item {
    text-align: center;
    color: #ffffff;
}

header .dropdown-menu .dropdown-item:hover {
    background-color: #444444;
}

header .nav-link {
    color: #f1f1f1;
}

header .nav-link:hover {
    color: #ffffff;
}

@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: .9rem;
    }
}

/* ANIMATION FOR TEXT */
header .header-content {
    margin-top: 7%;
}

header .row {
    display: flex;
    align-items: center;
}

.floating {
    animation: floating 3s ease-in-out infinite;
    text-align: center;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 15px);
    }

    100% {
        transform: translate(0, 0px);
    }
}

/* ANIMATION FOR IMAGE */
header .logo {
    position: relative;
    margin-top: 5%;
    max-width: 35%;
    height: auto;
    left: -100px;
    opacity: 0;
    animation: slideIn 4s forwards;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    border: 1px solid black;
    border-radius: 5px;
}

@keyframes slideIn {
    0% {
        left: -100px;
        opacity: 0;
    }

    50% {
        left: calc(90% - 60px);
        opacity: .5;
    }

    100% {
        left: calc(35%);
        opacity: 1;
    }
}

/* SECTION 1 */
.section-1 {
    background: var(--gradient2);
    padding-top: 8rem;
    font-family: var(--Sniglet-font);
}

.section-1 .row {
    display: flex;
    align-items: center;
}

.section-1 .intro-info {
    display: flex;
    justify-content: center;
}

.section-1 .intro-list {
    display: flex;
    text-align: center;
    height: 100%;
}

.section-1 .intro-list li {
    font-size: 1.2rem;
    margin-top: 15px;
    color: #f1f1f1;
}

.section-1 .image-car-truck {
    width: 60%;
    border-radius: 50px;
}

/* SECTION 2 SERVICES */
.section-2 {
    background: var(--gradient3);
    text-align: center;
    font-family: var(--Sniglet-font);
    padding-top: 8rem;
    color: #f1f1f1;
}

.section-2 .offer-content {
    background-color: #2c2c2c;
    border: 1px solid #444444;
    border-radius: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.section-2 .other-service {
    background-color: #2c2c2c;
    border: 1px solid #444444;
    border-radius: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.section-2 .other-service .card-title {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.section-2 .other-service .list-group-item {
    font-size: 16px;
    color: #cccccc;
    border: 1px solid #555555;
    border-radius: 5px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 10px;
    background-color: #333333;
}

.section-2 .other-service:hover {
    background-color: #3a3a3a;
    box-shadow: 0px 2px 4px rgba(173, 173, 173, 0.4);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.carousel-inner {
    display: flex;
    /* Align items horizontally */

    /* Center items */
    align-items: center;
    /* Center items vertically */
}

.carousel-item img {
    border-radius: 10px;
    /* Make images round */
    width: 800px;
    /* Set a fixed width */
    height: 600px;
    /* Set a fixed height */
    object-fit: cover;
}

/* Optional: Adjust the carousel container size */
#serviceCarousel {
    max-width: 800px;
    /* Set a maximum width for the carousel */

}

/* SECTION 3 Hours and Map */
.section-3 {
    padding-top: 8rem;
}

.border-radius {
    border-radius: 340px;
    width: 60%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.row {
    display: flex;
    justify-content: space-between;
}

.business-hours {
    background-color: #2c2c2c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffffff;
}

.opening-hours {
    list-style-type: none;
    padding: 0;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.opening-hours li:last-child {
    margin-bottom: 0;
}

.time {
    font-weight: bold;
    color: #ffffff;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
    height: 0;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FOOTER */
footer {
    background-color: #282c34;
    color: #f1f1f1;
    padding: 2em 1em;
    text-align: center;
}

.footer-container {
    background-color: #3a3f47;
    border-radius: 15px;
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 97%;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1em;
}

.footer-link {
    background: #686A6C;
    color: #f1f1f1;
    margin: 0.5em;
    padding: 0.5em 1em;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    background: linear-gradient(45deg, #042539, #12248a);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-contact {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.contact-link {
    display: inline-block;
    background: #686A6C;
    color: #f1f1f1;
    padding: 0.5em 1em;
    border-radius: 5px;
    border: 2px solid #fff;
    text-decoration: none;
    transition: 0.3s;
    margin: 0.5em;
}

.contact-link:hover {
    background: linear-gradient(45deg, #042539, #12248a);
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-link .facebook-logo {
    width: 2rem;
    border-radius: 20px;
}


.footer-bottom {
    margin-top: 1em;
    font-size: 0.8em;
    color: #cccccc;
}

.footer-bottom p {
    margin: 0;
}


/* For tablets */
@media (max-width: 768px) {

    .section-2,
    .section-3 {
        padding-top: 4rem;
    }

    .carousel-item img {
        width: 100%;
        /* Full width on smaller screens */
        height: 200px;
        /* Maintain aspect ratio */
    }

    .row {
        flex-direction: column;
    }

    .business-hours,
    .map-responsive {
        width: 100%;
        /* Full width for smaller screens */
        margin-bottom: 20px;
    }

    .footer-container {
        padding: 1em;
    }

    .footer-nav,
    .footer-contact {
        flex-direction: column;
        align-items: center;
    }

    .footer-link,
    .contact-link {
        margin: 0.25em;
        width: 80%;
        text-align: center;
    }
}

/* For mobile phones */
@media (max-width: 480px) {
    .section-2 .other-service .card-title {
        font-size: 20px;
    }

    .section-2 .other-service .list-group-item {
        font-size: 14px;
    }

    .title {
        font-size: 20px;
    }

    .carousel-inner {
        /* Adjust for smaller screens if necessary */
        padding: 0 10px;
    }

    .map-responsive {
        padding-top: 100%;
        /* Square map for very small screens */
    }

    .footer-bottom {
        font-size: 0.7em;
    }
}