/* Global Styles */
html, body {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Container Styles */
.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
}

/* Heading Styles */
h1, h2 {
    color: #333;
}

.fa-instagram {
    color: #e1306c;
}

.fa-facebook {
    color: #1877F2;
}

.fa-whatsapp {
    color: #075E54;
}

/* Social media icons */
.fa-whatsapp,
.fa-envelope,
.fa-instagram,
.fa-facebook {
    font-size: 25px;
}

.fa-whatsapp:hover,
.fa-envelope:hover,
.fa-instagram:hover,
.fa-facebook:hover {
    animation: iconAnimation 1s infinite alternate;
}

@keyframes iconAnimation {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

/* Navigation Styles */
nav {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.219) 15%, rgba(0, 0, 0, 0.25) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
}

#open-button,
.dealer button {
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.menu {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    align-items: center;
}

.dealer {
    display: flex;
    align-items: center;
    font-size: 10px;
    padding: 5px 45px;
}

/* Overlay Styles */
#overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    transition: left 0.5s;
    z-index: 9;
}

#overlay.open {
    left: 0;
}

#menu-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    color: #fff;
}

#menu-content ul {
    font-size: 1.8rem;
    line-height: 2.5;
}

#menu-content ul li {
    font-size: 1.5rem;
    line-height: 1.875;
    text-transform: uppercase;
    padding-bottom: 20px;
    transition: color 0.4s, opacity 0.4s;
}

#menu-content ul li:hover {
    color: white;
    transform: translateX(10px);
    transition: color 0.4s, transform 0.4s;
}

/* Footer Styles */
footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

footer .motor {
    margin-bottom: 20px;
}

footer .footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

footer .footer-links ul {
    list-style: none;
    padding: 0;
}

footer .footer-links ul a {
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: large;
    color:white;
    text-decoration: none;
    margin: 5px 0;
    transition: color 0.3s;
}

footer .footer-links ul li:hover {
    text-decoration: underline;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

footer .social-icons img {
    width: 30px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s, transform 0.3s;
}

footer .social-icons img:hover {
    filter: brightness(0.8) invert(1);
    transform: scale(1.1);
}

/* Transparent Button Styles */
button,
.hover-button {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    color: #f0f0f0;
    background: transparent;
    border: 2px solid #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

/* menu button on the top */
button:hover,
.hover-button:hover {
    background: rgba(240, 240, 240, 0.1);
    color: black;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

button:active,
.hover-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer Image Styles */
.motor img {
    width: 35%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 1px 1px 15px blue;
}



/* Responsive Styles for Mobile Phones */
@media screen and (max-width: 599px) {

    nav {
        height: 50px;
    }

    .logo img {
        height: 30px;
        max-width: 50px;
    }

    .dealer {
        font-size: 8px;
        padding: 5px 10px;
    }

    .dealer button {
        margin-right: 22px;
    }

    #menu-content {
        width: 90%;
        padding: 10px;
        font-size: 1rem;
    }

    .hover-button {
        padding: 8px 12px;
    }

    .motor img {
        width: 100%;
    }


    button[type="submit"] {
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 5px;
        margin-top: 8px;
    }


    /* underline text when hover */
    footer .footer-links ul li:hover {
        text-decoration: underline;
    }

    ::-webkit-scrollbar {
        display: none;  /* For Safari and Chrome */
    }
}
