html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: black;
    color: #f0f0f0;
    background-image: url('/about_background.png');
    background-size: contain; /* Ensures background covers the entire area */
    background-position: center;
    background-attachment: local;
}

.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: fixed;
    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: 12px 20px;
    font-size: 1rem;
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
p{
    color: cyan;
}

.menu {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

.dealer {
    display: flex;
    align-items: center;
    font-size: 10px;
    padding: 5px 45px;
}

#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, transform 0.4s;
}

#menu-content ul li:hover {
    color: white;
    transform: translateX(10px);
}

/* Overlay Styles */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-text {
    text-align: center;
    color: white;
}

.hover-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.hover-button:hover {
    background-color: white;
    color: black;
}



/* Footer Styles */
footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

footer .business_card {
    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);
}

/* 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;
}

button:hover,
.hover-button:hover {
    background: rgba(240, 240, 240, 0.1);
    color: #ffffff;
    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 Business Car */
.business_card img {
    width: 35%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 1px 1px 15px blue;
}

/* Main Content Styles */
.center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.center-content h1 {
    font-size: 2.5rem;
    text-align: center;
}

.center-content p {
    font-size: 1.2rem;
    text-align: center;
}

.paragraph-container {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.paragraph-container h1,
.paragraph-container p {
    margin: 10px;
}

p {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Responsive Styles for Mobile Phones */
@media screen and (max-width: 599px) {

    body {
        background-size:contain;
        background-position: center;
        background-repeat: none;
    }

    p{
        color:whitesmoke
    }
    nav {
        height: 50px;
    }

    .logo img {
        height: 30px;
        max-width: 50px;
    }

    .dealer {
        font-size: 8px;
        padding: 5px 10px;
    }

    .dealer button {
        margin-right: 22px;
    }

    #overlay {
        width: 100%;
        left: -100%;
    }

    #overlay.open {
        left: 0;
    }

    #menu-content {
        width: 90%;
        padding: 10px;
        font-size: 1.1rem;
    }
  
    .hover-button {
        padding: 8px 12px;
    }

    .explore-section h3 {
        font-size: 1.5rem;
    }

    .explore-section p {
        font-size: 1rem;
    }

    .business_card img {
        width: 100%;
    }

    .center-content {
        padding: 20px;
    }

    .center-content h1 {
        font-size: 30px;
    }

    .center-content p {
        font-size: 1rem;
        margin-bottom: 1em;
    }

    /* underline link when hover */
    footer .footer-links ul li:hover {
        text-decoration: underline;
    }

}
