/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1b1b1b;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Header Styling */
/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: transparent; /*rgba(0, 0, 0, 0.7);*/ /* Transparent background */
    position: sticky;
    top: 0;
    z-index: 1000;
    /*backdrop-filter: blur(10px);*/ /* Blurring background for a modern glassy effect */
    transition: background 0.3s ease;
}

.logo img {
    width: 90px;
	height: 70px;
    transition: transform 0.3s ease; /* Smooth scaling effect */
}

.logo img:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px; /* Modern spacing between links */
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    padding: 10px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-links li a:hover {
    color: #f39c12;
    border-bottom: 2px solid #f39c12; /* Modern underline effect on hover */
}

/* Burger Menu Styling */
.burger {
    display: none;
    cursor: pointer;
    z-index: 2000;
}

.burger i {
    font-size: 28px;
    color: #fff;
    transition: color 0.3s ease;
}

.burger:hover i {
    color: #f39c12;
}

/* Responsive Navigation */
@media only screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
    }

    .nav-links li a {
        font-size: 22px;
        margin: 15px 0;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
    }
}

/* Header transition effect when scrolling */
header.scrolled {
    background: rgba(0, 0, 0, 0.9); /* Darker background when scrolled */
    transition: background 0.3s ease;
}


/* Responsive */
@media only screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: #333;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 200px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links li a {
        font-size: 18px;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }
}

/* Sections */
.section {
    padding: 40px 0;
    text-align: center;
}

/* Footer */
footer {
    background-color: #333;
    text-align: center;
    padding: 20px;
}

.social-icons a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
}

.social-icons a:hover {
    color: #f39c12;
}

/* Responsive */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
	height: 200px;
	width: 400px;
}

.carousel-item img {
    max-width: 100%;
    height: 200px;
	width: 400px;
	
}

/* Responsive Styles */
@media (max-width: 768px) {
    .carousel-item {
        padding: 0.5rem; /* Less padding on smaller screens */
    }
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.service-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.service-item h3 {
    margin-bottom: 10px;
}

.service-item p {
    font-size: 14px;
    color: #ccc;
}

/* Contact and Location Side by Side */
.contact-location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 0;
}

.contact-form {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input, .contact-form textarea, .contact-form button {
    padding: 10px;
    border-radius: 5px;
    border: none;
}

.contact-form button {
    background-color: #f39c12;
    color: #fff;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #e67e22;
}

.location-map {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
}

#map {
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
}
.google-map {
     padding-bottom: 50%;
     position: relative;
}

.google-map iframe {
     height: 100%;
     width: 100%;
     left: 0;
     top: 0;
     position: absolute;
}

address {
    color: #ccc;
}

/* Responsive Adjustments */
@media only screen and (max-width: 768px) {
    .service-grid, .contact-location-grid {
        grid-template-columns: 1fr;
    }
}
/* Tire Content Layout */
.tire-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
}

.tire-image {
    width: 150px;
    margin-right: 20px;
}

.tire-details {
    flex-grow: 1;
}

.tire-specs {
    margin-top: 10px;
}

.tire-specs div {
    margin-bottom: 5px;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .tire-content {
        flex-direction: column;
        text-align: center;
    }

    .tire-image {
        margin: 0 auto 10px;
    }

    .tire-details {
        width: 100%;
    }

    .tire-specs {
        margin: 10px auto;
    }
}
/* Tire Collage Layout */
.tire-collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tire-item {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tire-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.tire-item h4 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: #fff;
}

.tire-item p {
    font-size: 1rem;
    color: #CCC;
}

/* Hover effect */
.tire-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tire-collage {
        grid-template-columns: 1fr;
    }
}

