/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-image: url('./Images/background.jpg');
    background-attachment: fixed;
    background-size: cover;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

/* Header and Navbar Styles */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0c0a1a;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header a {
    text-decoration: none;
    display: flex;
}

header a h1 {
    position: relative;
    top: 6px;
}

.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: white;
}

nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #e76f51;
    border-radius: 5px;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo h1 {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin: 0;
}

#nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

#nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

#nav-links a:hover {
    color: #e76f51;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: #444;
    color: #fff;
}

/* Home Section Styles */
#home {
    background-color: #1a1a2e;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh;
    position: relative;
    text-align: center;
    color: #fff;
}

#home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#home h1,
#home p {
    z-index: 2;
    margin: 0;
}

#home h1 {
    color: #e76f51;
    text-transform: uppercase;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#home p {
    font-size: 20px;
    max-width: 600px;
    margin-top: 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* About Us Section Styles */
#about {
    padding: 60px 20px;
    background-color: #1a1a2e;
    opacity: 0.9;
    text-align: center;
    margin: 20px auto;
}

#about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #e76f51;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Section Heading Styles */
.section-heading {
    font-size: 36px;
    margin-bottom: 20px;
    color: #e76f51;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Product and Service Styles */
#products,
#services {
    padding: 60px 20px;
    background-color: #1a1a2e;
    opacity: 0.95;
    text-align: center;
    margin: 20px auto;
}

#products h2,
#services h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #e76f51;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.product-list,
.service-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.product-item,
.service-item {
    background-color: #1f1c3d;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    border: 1px solid #e76f51;
    width: calc(33% - 40px);
    margin: 10px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover,
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
    background-color: #1a1a2e;
}

.product-item h3,
.service-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #e76f51;
}

.product-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
    background-color: #1f1c3d;
    padding: 20px;
    border-radius: 8px;
}

.product-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
}

.product-image {
    flex: 1 1 40%;
}

.product-content {
    flex: 1 1 55%;
    color: white;
}

.product-content h3 {
    color: #e76f51;
    font-size: 24px;
    margin-bottom: 10px;
}

.product-content p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.order-button {
    background-color: #e76f51;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    transition: background-color 0.3s;
}

.order-button:hover {
    background-color: #bb4b34;
}

/* Order Now button */
.order-button {
    background-color: #e76f51;
    color: #fff;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #e76f51;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    border-radius: 4px;
}

.order-button:hover {
    background-color: #0c0a1a;
    color: #e76f51;
}

/* Feedback Section */
#feedback {
    background-color: #0c0a1a;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#feedback h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #e76f51;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

#feedback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#feedback-form textarea {
    width: 100%;
    height: 120px;
    padding: 10px;
    border-radius: 4px;
    border: none;
    resize: vertical;
    font-size: 16px;
    background-color: #1f1c3d;
    color: #fff;
}

#feedback-form button {
    background-color: #e76f51;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #e76f51;
    transition: background-color 0.3s ease;
}

#feedback-form button:hover {
    background-color: #0c0a1a;
    color: #e76f51;
}

/* Comment Section Styles */
#comments-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.comment {
    background-color: #1f1c3d;
    padding: 15px;
    border-left: 4px solid #e76f51;
    margin-top: 15px;
    border-radius: 6px;
}

.comment-time {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #ccc;
}

/* Contact Us Section */
#contact {
    padding: 60px 20px;
    background-color: #1a1a2e;
    text-align: center;
    margin: 0px;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #e76f51;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Footer Styles */
footer {
    background-color: #0c0a1a;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #e76f51;
}

.contact-info p,
.contact-info a {
    color: #ffffff;
}

.contact-info a:hover {
    color: #e76f51;
}

footer .copyright {
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
}


/* About see more */
.seemore {
    display: inline-block;
    background-color: #e76f51;
    /* Tire Dot Com red */
    color: #fff;
    padding: 8px 8px;
    border: 1px solid #e76f51;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.seemore:hover {
    background-color: #1a1a2e;
    color: #e76f51;
    transform: translateY(-2px);
}


.subproduct {
    color: white;
    text-decoration: none;
}

.subservice {
    color: white;
    text-decoration: none;
}

.vpwidth {
    width: 100%;
}

/* Responsive Image Grid */
.box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 20px;
}

.container {
    flex: 1 1 calc(25% - 30px);
    /* 4 per row on large screens */
    max-width: calc(25% - 30px);
}

.shopimg {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.hidden {
    display: none !important;
}

/* Media Queries Styles */

@media (max-width: 1000px) {

    .container {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    #home h1 {
        font-size: 35px;
    }

    .product-item,
    .service-item {
        width: calc(100% - 40px);
    }

    .hamburger {
        display: block;
    }

    nav ul {
        display: none !important;
        flex-direction: column;
        position: absolute;
        right: 10px;
        top: 60px;
        background: #222;
        width: fit-content;
        max-width: 200px;
        padding: 10px;
        border-radius: 5px;
        animation: fadeIn 0.3s ease-in-out;
    }

    nav ul.show {
        display: block !important;
    }

    nav ul li {
        margin: 5px 0;
    }

    nav ul li a {
        display: block;
        width: 100%;
    }

    .home-content {
        padding: 20px;
        font-size: 0.9rem;
    }

    .navbar-container {
        flex-direction: column;
        align-items: center;
    }

    #nav-links {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
}

/* Animation Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}