* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

/* Navbar */



.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px; /* Add padding for spacing */
}



.navbar .logo img {
    width: 125px;
}

.navbar .menu-icon {
    cursor: pointer;
}

.navbar img {
    margin-top: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
}

nav ul li a:hover {
    color: #ff523b;
}

/* Base styling for the bottom navigation bar */
.fixed {
    display: none; /* Hide by default */
    position: fixed; /* Ensure it sticks to the bottom */
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4rem; /* Adjust height if needed */
    background: #ff523b;
    border-top: 1px solid #e5e7eb; /* Light border for separation */
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
    z-index: 50; /* Ensure it's above other content */
}

/* Grid setup for buttons in the navigation bar */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four equal columns */
    max-width: 1000px; /* Limit the maximum width */
    margin: 0 auto; /* Center the grid */
    height: 100%; /* Make sure grid takes full height */
}

/* Medium font weight for text */
.font-medium {
    font-weight: 500; /* Medium font weight for text */
}

/* Styling for each button */
button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease; /* Smooth transitions */
}

button:hover {
    background-color: #f9fafb; /* Light gray background on hover */
}

button i {
    font-size: 1.25rem; /* Adjust size of icons */
    margin-bottom: 0.25rem; /* Space between icon and text */
    color: #ffffff; /* Gray color for icons */
    transition: color 0.3s ease; /* Smooth transition for icon color */
}

button.active i {
    color: #ff523b; /* Red color for active icon */
}

button:hover i {
    color: #3b82f6; /* Blue color for icons on hover */
}

button span {
    font-size: 0.875rem; /* Font size for text */
    color: #ffffff; /* Gray color for text */
    transition: color 0.3s ease; /* Smooth transition for text color */
}

button.active span {
    color: #ff523b; /* Red color for active text */
}

button:hover span {
    color: #3b82f6; /* Blue color for text on hover */
}

/* Dark mode styles */
.dark .fixed {
    background: #374151; /* Dark background */
    border-top: 1px solid #4b5563; /* Darker border for separation */
}

.dark button:hover {
    background-color: #4b5563; /* Dark gray background on hover */
}

.dark button i {
    color: #9ca3af; /* Lighter gray for icons in dark mode */
}

.dark button.active i {
    color: #ff523b; /* Red color for active icon in dark mode */
}

.dark button:hover i {
    color: #60a5fa; /* Blue color for icons on hover in dark mode */
}

.dark button span {
    color: #9ca3af; /* Lighter gray for text in dark mode */
}

.dark button.active span {
    color: #ff523b; /* Red color for active text in dark mode */
}

.dark button:hover span {
    color: #60a5fa; /* Blue color for text on hover in dark mode */
}

/* Media query to show the bottom navigation bar only on small screens */
@media (max-width: 768px) {
    .fixed {
        display: block; /* Show the bottom navigation bar on small screens */
    }

    .cart-icon {
        display: none; /* Hide cart image on small screens */
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row; /* Keep the logo and menu icon in one line */
        justify-content: space-between; /* Space between logo and menu icon */
    }

  
    
    

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
}

/* Additional styles */
p {
    color: #555;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.col-2 {
    flex-basis: 50%;
    min-width: 300px;
}

.col-2 img {
    max-width: 100%;
    padding: 50px 0;
}

.col-2 h1 {
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}

.btn {
    display: inline-block;
    background-color: #ff523b;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: background 0.5s;
}

.header {
    background: radial-gradient(#fff, #ffd6d6);
}

.header .row {
    margin-top: 70px;
}

.btn:hover {
    background: #563434;
}

.catergories {
    margin: 70px 0;
}

.col-3 {
    flex-basis: 30%;
    min-width: 30px;
    margin-bottom: 30px;
}

.col-3 img {
    width: 100%;
}

.small-container {
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.small-container .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Ensures spacing between items */
}

.col-4 {
    flex-basis: 23%; /* Adjust this value to control the width and spacing */
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
    border: 1px solid #ff523b;
    border-radius: 5px;
    box-sizing: border-box;
}


.col-4 .shop-btn {
    margin: 5px;
    
}

.col-4 .shop-btn a {
    text-decoration: none;
    padding: 8px 8px; /* Adjusted padding for better appearance */
    border: 1px solid #ff523b;
    color: #ff523b;
    background: #fff;
    border-radius: 5px;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin-right: 10px; /* Space between buttons */

}

/* Ensure the last button in the row has no right margin */
.col-4 .shop-btn a:last-child {
    margin-right: 0;
}

.col-4 .shop-btn a:hover {
    color: #fff;
    background: #ff523b;
    border-color: #ff523b;
    transform: translateY(-2px); /* Slight lift effect */
}

/* Add a subtle shadow on hover */
.col-4 .shop-btn a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.col-4 .shop-btn a:hover::before {
    opacity: 1;
}

.col-4 .shop-btn a:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Shadow on hover */
}


/* Media Query for Small Screens */
@media (max-width: 768px) {
    .col-4 .shop-btn a {
        margin-right: 10px; /* Maintain space between buttons */
    }

    .col-4 .shop-btn a:last-child {
        margin-right: 0;
    }

    .col-4 .shop-btn a:hover {
        color: #fff;
        background: #ff523b;
        border-color: #ff523b;
        transform: translateY(-2px); /* Slight lift effect */

    }

    .col-4 .shop-btn a{
        color: #fff;
        background: #ff523b;
    }

    .col-4 .shop-btn a::before {
        transition: opacity 0.3s ease;
    }

    .col-4 .shop-btn a:hover::before {
        opacity: 1;
    }

    .col-4 .shop-btn a:hover {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Shadow on hover */
    }

    .footer .container{
        margin-bottom: 70px;
    }
    
}


.col-4 img {
    width: 100%;
}

.title {
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: #555;
}

.title:after {
    content: '';
    background: #ff523b;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.rating {
    margin-bottom: 10px;
    /* Space below the rating */
    color: #ff523b;
}

.col-4 p {
    font-size: 14px;
}

h4 {
    color: #555;
    font-weight: normal;
    margin: 5px;
}

.col-4:hover {
    transform: translateY(-5px);
}

.offer {
    background: radial-gradient(#fff, #ffd6d6);
    margin-top: 80px;
    padding: 30px 0;
}

.col-2 .offer-img {
    padding: 50px;
}

small {
    color: #555;
}



/* ---------------testimonials----------------------- */

.testimonial {
    padding-top: 100px;
}

.testimonial .col-3 {
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.5s;
}

.testimonial .col-3 img {
    width: 50px;
    margin-top: 20px;
    border-radius: 50%;
}

.testimonial .col-3:hover {
    transform: translateY(-10px);
}

.fa-quote-left {
    font-size: 34px;
    color: #ff523b;
}

.col-3 p {
    font-size: 12px;
    margin: 12px 0;
    color: #777;
}

.testimonial .col-3 h3 {
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

/* --------------brands----------------- */
.brands {
    margin: 100px auto;
}

.col-5 {
    width: 160px;
}

.col-5 img {
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%);
}

.col-5 img:hover {
    filter: grayscale(0);

}



.footer {
    background: #000;
    color: #8a8a8a;
    font-size: 14px;
    padding: 60px 0 20px;

}

.footer a{
    text-decoration: none;
    color: #fff;
}


.footer p {
    color: #8a8a8a;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col-1,
.footer-col-2,
.footer-col-3,
.footer-col-4 {
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-col-1 {
    flex-basis: 30%;
}

.footer-col-2 {
    flex: 1;
    text-align: center;
}

.footer-col-2 img {
    width: 180px;
    margin-bottom: 20px;
}

.footer-col-3,
.footer-col-4 {
    flex-basis: 12%;
    text-align: center;
}

.footer  li a{
    color: gray;
}

ul {
    list-style-type: none;
}

ul li {
    margin: 5px;
}

.app-logo {
    margin-top: 20px;
}

.app-logo img {
    width: 140px;
}

.footer hr {
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin-top: 20px 0;
}

.copyright {
    text-align: center;
    margin: 10px;
}



.menu-icon {
    width: 28px;
    margin-left: 90px;
    display: none;
}



/* ---------------media for index less then 800---------------- */
@media only screen and (max-width: 800px) {
    .logo img {
        margin-right: 50px;
    }

    nav ul {
        position: absolute;
        top: 70px;
        left: 0;
        background: #ff523b;
        width: 100%;
        overflow: hidden;
        transition: max-height 0.5s;
        z-index: 2000; /* Ensure the menu appears above other content */
    }

    nav ul li {
        display: block;
        margin-right: 50px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    nav ul li a {
        color: #fff;
    }

    .menu-icon {
        display: block;
        cursor: pointer;
        margin-left: 20px;
        z-index: 2000; /* Ensure the menu icon appears above other content */
    }

    .col-5 img {
        filter: grayscale(0);
    }

    .navbar {
        z-index: 1000; /* Ensure the navbar stays on top but below the menu */
    }
}




/* ---------------media for index less then 600---------------- */
@media only screen and (max-width:600px) {
    .row {
        text-align: center;
    }

    .col-2,
    .col-3,
    .col-4 {
        flex-basis: 100%;
    }
}
















/* ----------------------ALL PRODUCTS___________________________________ */


.row-2 {
    justify-content: space-between;
    margin: 100px auto 50px;
}

select {
    border: 1px solid #ff523b;
    padding: 5px;
}

select:focus {
    outline: none;
}

.page-btn {
    margin: 0 auto 80px;

}

.page-btn span {
    display: inline-block;
    border: 1px solid #ff523b;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

.page-btn span:hover {
    background-color: #ff523b;
    color: #fff;
}

/* Style for the banner section */
.banner-section {
    position: relative; /* Ensure the banner section is positioned relative */
    height: 200px; /* Reduced height */
    overflow: hidden; /* Hide overflow to keep the design clean */
}

/* Style for the banner image */
.banner-section img {
    width: 100%;
    height: 100%; /* Make the image cover the entire banner section */
    object-fit: cover; /* Ensure the image covers the section without distortion */
}

/* Black overlay effect */
.banner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Black overlay with low opacity */
    z-index: 1; /* Place the overlay above the image */
}

/* Ensure the image stays beneath the overlay */
.banner-section img {
    position: relative;
    z-index: 0; /* Place the image below the overlay */
}

/* Adjustments for small screens */
@media (max-width: 768px) {
    .banner-section {
        height: 150px; /* Further reduced height for smaller screens */
    }

    .banner-section::before {
        background: rgba(0, 0, 0, 0.1); /* Slightly darker overlay for better visibility on smaller screens */
    }
}

@media (max-width: 480px) {
    .banner-section {
        height: 120px; /* Further reduced height for very small screens */
    }

    .banner-section::before {
        background: rgba(0, 0, 0, 0.5); /* Less transparency on very small screens for better visibility */
    }


    
}



