html {
    scroll-behavior: smooth;
    overflow-x: hidden;
     
}
.fa-instagram{
    color: #e1306c
}
.fa-facebook{
    color: #1877F2
}
.fa-whatsapp{
    color: #075E54;
}

/* social-media icon */
.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); }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: black;
    color: #f0f0f0;
    overflow-x: hidden;
      
}

/* 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 {
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: #222; /* Dark background color */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.dealer button {
    padding: 12px 20px; /* Adjust the padding */
    font-size: 1rem;
    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; /* Decrease the font size */
    padding: 5px 45px; /* Adjust the padding */
}

#overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent black background */
    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;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#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;
}

.video-section {
    margin-top: 70px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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;
}

.explore-section {
    text-align: center;
    padding: 40px 20px;
    background-color: black;
}

.explore-section h3 {
    font-size: 2rem;
}

.explore-section p {
    font-size: 1.2rem;
}

.car-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
}

.car-item {
    margin: 20px;
    text-align: center;
}

.car-item img {
    max-width: 100%;
    height: auto;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Add transition for smoother animation */
}

.car-item img:hover {
    transform: scale(1.1); /* Scale up the image on hover */
}

/* white line Seperate car image */
.car-item {
    margin: 2px; /* Adjust margin */
    border-left: 1px solid white; /* Add vertical white line */
    padding-left: 15px; /* Add some padding to separate the line from the image */
}

/* Improved Footer Styles */
footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    overflow-x: hidden;
}

footer .business_card {
    margin-bottom: 23px;
}

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);
}

/* Improved 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;
}

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 card */
.business_card img {
    width: 35%; /* Adjust the width of the business card footer */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure block-level display */
    margin: 0 auto; /* Center the icon horizontally */
    box-shadow: 1px 1px 15px blue
}


video{
    pointer-events: none;
}



/* Responsive Styles for Mobile Phones */
@media screen and (max-width: 599px) {

    video{
        pointer-events: none;
    }
    

    body html footer{
        overflow-x: hidden;
    }

    nav {
        height: 50px; /* Adjust height of the navigation bar */
    }
    
    /* Remove display: none; to keep menu visible */
    
    .logo img {
        height: 30px; /* Decrease logo size */
        max-width: 50px;
    }
    
    .dealer {
        font-size: 8px; /* Decrease font size */
        padding: 5px 10px; /* Adjust padding */
    }
    
    .dealer button {
        margin-right:22px;
    }

    #overlay {
        width: 100%; /* Full width */
        left: -100%; /* Initially off-screen */
    }
    
    #overlay.open {
        left: 0; /* Slide in from the left */
    }
    
    #menu-content {
        width: 90%; /* Adjust width */
        padding: 10px; /* Adjust padding */
        font-size: 1.0rem; /* Decrease font size */
    }
    
    .video-section {
        margin-top: 50px; /* Adjust margin */
    }
    
    .video-container {
        height: 50vh; /* Decrease height */
    }
    
    .hover-button {
        padding: 8px 12px; /* Adjust padding */
    }
    
    .explore-section h3 {
        font-size: 1.5rem; /* Decrease font size */
    }
    
    .explore-section p {
        font-size: 1rem; /* Decrease font size */
    }
    
    .car-item {
        margin: 5px; /* Adjust margin */
    }

    .car-item {
        border-right: none; /* Remove the border on smaller screens */
        padding-right: 0; /* Remove the padding */

    }

    .business_card img {
        width: 100%; /* Adjust the width for smaller screens */
    }

    /* link underline display when hover */
    footer .footer-links ul li:hover {
        text-decoration: underline;
    }
    
    video{
        pointer-events: none;
    }

}