/* Reset CSS */
@import url('https://fonts.googleapis.com/css?family=Roboto:wght@100;300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
}

body {
    width: 100%;
    height: 100vh;
    background-image: url(Images/Screenshot\ 2024-07-16\ 192509.png); /* Background image */
    background-size: cover;
    background-position: center;
    transition: .2s linear;
}

html {
    font-size: 95.5%; /* Font size adjustment */
    overflow-x: hidden; /* Hide horizontal overflow */
    scroll-padding-top: 9rem;  /* Padding for smooth scrolling */
    scroll-behavior: smooth; /* Smooth scrolling behavior */
}

html::-webkit-scrollbar {
    width: .8rem; /* Width of scrollbar */
}

html::-webkit-scrollbar-track {
    background: transparent; /* Track color of scrollbar */
}

html::-webkit-scrollbar-thumb {
    background: #fff; /* Thumb color of scrollbar */
    border-radius: 5rem; /* Thumb border radius */
}




/* Navigation Bar */
.navbar {
    width: 85%; /* Navbar width */
    margin: auto;
    padding: 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.icon img {
    float: left; /* Float image left */
    background-color: rgba(8, 4, 0, 0.8); /* Background color */
    border-radius: 50%; /* Border radius */
}

/* Logo */
.logo {
    color: white; /* Logo color */
    font-size: 30px; /* Font size */
    font-family: 'Caveat', cursive; /* Font family */
    padding-left: 10px;
    float: left; /* Float logo left */
    padding-top: 10px;
}

.navbar ul li {
    list-style: none; /* Remove list style */
    display: inline-block;
    margin: 0 20px; /* Margin */
    position: relative;
}

.navbar ul li a {
    text-decoration: none; /* Remove underline */
    color: white; /* Link color */
    text-transform: uppercase; /* Uppercase text */
    font-weight: bold; /* Font weight */
    font-family: Arial, Helvetica, sans-serif; /* Font family */
    font-size: 1.2rem; /* Font size */
}

/* Animation for Navigation Links */
.navbar ul li::after {
    content: '';
    height: 3px;
    width: 0%;
    background: white;
    position: absolute;
    left: 0;
    bottom: -10px;
    transition: 0.5s; /* Transition duration */
}

.navbar ul li:hover::after {
    width: 100%; /* Full width on hover */
}



/* Top Categories */
#top-categories {
    padding: 50px 0; /* Padding */
    text-align: center; /* Center align */
}

.heading2 {
    font-size: 36px; /* Font size */
    margin-bottom: 20px; /* Margin bottom */
}

.heading2 span {
    color: #ffd700; /* Color */
}

#top-categories .container {
    overflow: hidden; /* Clearfix for flex container */
}

.row.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col-md-4 {
    flex-basis: calc(33.33% - 20px); /* Adjust width for three items per row */
    margin-bottom: 20px; /* Margin bottom */
    transition: transform 0.3s; /* Transition duration */
}

.card {
    background-color: #fff; /* Background color */
    border: none; /* Remove border */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Box shadow */
    border-radius: 20px; /* Border radius */
    overflow: hidden; /* Ensure border radius is applied correctly */
}

.card img {
    width: 100%; /* Full width */
    height: 200px; /* Height */
    object-fit: cover; /* Maintain aspect ratio */
    border-radius: 20px; /* Border radius */
}

.card-body {
    padding: 20px; /* Padding */
    text-align: center; /* Center align */
}

.card-body h5 {
    font-size: 24px; /* Font size */
    margin-bottom: 10px; /* Margin bottom */
}

.card-body p {
    font-size: 16px; /* Font size */
    color: #666; /* Text color */
}

.card:hover {
    transform: translateY(-10px); /* Move up on hover */
   
}


/* Adjust margins for the first and third items */
.col-md-4:first-child {
    margin-left: 10px; /* Left margin */
}

.col-md-4:nth-child(3) {
    margin-right: 10px; /* Right margin */
}



/* Menu Section */
#menu {
    padding: 50px 0; /* Padding */
    background-color: #f8f8f8; /* Background color */
    text-align: center; /* Center align */
}

#menu .container {
    max-width: 1200px; /* Max width */
    margin: 0 auto; /* Center align */
    padding: 0 20px; /* Padding */
}

#menu .heading3 {
    font-size: 36px; /* Font size */
    margin-bottom: 20px; /* Margin bottom */
}

#menu .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#menu .col-md-3 {
    flex: 0 0 calc(25% - 20px); /* Flex basis */
    margin-bottom: 20px; /* Margin bottom */
    transition: transform 0.3s; /* Transition duration */
}

#menu .card {
    border: 1px solid #ccc; /* Border */
    border-radius: 5px; /* Border radius */
    overflow: hidden; /* Ensure border radius is applied correctly */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Box shadow */
}

#menu .card img {
    width: 380px; /* Width */
    height: 300px; /* Height */
    object-fit: cover; /* Maintain aspect ratio */
}

#menu .card-body {
    padding: 20px; /* Padding */
}

#menu .star {
    display: flex; /* Flex display */
    justify-content: center; /* Center justify */
    margin-bottom: 10px; /* Margin bottom */
}

#menu .star i {
    color: #ffd700; /* Star color */
}

#menu h3 {
    font-size: 24px; /* Font size */
    margin-bottom: 10px; /* Margin bottom */
}

#menu p1 {
    font-size: 16px; /* Font size */
    color: #666; /* Text color */
    font-weight: bold; /* Font weight */
}

del {
    text-decoration: line-through; /* Strikethrough text */
}

#menu .fa-cart-shopping {
    color: #333; /* Color */
    margin-left: 10px; /* Left margin */
}

#menu .card:hover {
    transform: translateY(-10px); /* Move up on hover */
}



/* Footer styles */
.footer {
    padding: 0px; /* Padding */
    margin: 0; /* Margin */
    box-sizing: border-box;
    background-color: black; /* Background color */
    color: white; /* Text color */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* Webkit blur effect */
    opacity: 0.9; /* Opacity */
}

.footer-container {
    width: 100%; /* Width */
    padding: 60px 30px 20px; /* Padding */
}

.footer-logo {
    text-align: center; /* Center align */
    margin-bottom: 20px; /* Margin bottom */
}

.footer-links {
    margin: 30px 0; /* Margin */
    text-align: center; /* Center align */
}

.footer-links h1 {
    font-size: 1.5em; /* Font size */
    margin-bottom: 20px; /* Margin bottom */
}

.footer-links ul {
    display: flex; /* Flex display */
    justify-content: center; /* Center justify */
    flex-wrap: wrap; /* Wrap flex items */
    list-style-type: none; /* Remove list style */
    padding: 0; /* Padding */
}

.footer-links ul li {
    margin: 10px; /* Margin */
}

.footer-links ul li a {
    color: white; /* Link color */
    text-decoration: none; /* Remove underline */
    font-size: 1.3em; /* Font size */
    opacity: 0.9; /* Opacity */
    transition: 0.5s; /* Transition duration */
}

.footer-links ul li a:hover {
    background-color: rgba(8, 4, 0, 0.8); /* Transparent dark brown color for hover effect */
    transition: 0.5s; /* Transition duration */
}

.footer-links ul li a:hover i {
    color: white; /* Icon color on hover */
    transition: 0.5s; /* Transition duration */
}

.social-icons {
    display: flex; /* Flex display */
    justify-content: center; /* Center justify */
    margin-top: 20px; /* Margin top */
}

.social-icons a {
    text-decoration: none; /* Remove underline */
    padding: 10px; /* Padding */
    background-color: white; /* Background color */
    margin: 10px; /* Margin */
    border-radius: 50%; /* Border radius */
    display: flex; /* Flex display */
    align-items: center; /* Align items */
    justify-content: center; /* Center justify */
}

.social-icons a i {
    font-size: 2em; /* Font size */
    color: black; /* Icon color */
    opacity: 0.9; /* Opacity */
}

.social-icons a:hover {
    background-color: rgba(8, 4, 0, 0.8); /* Transparent dark brown color for hover effect */
    transition: 0.5s; /* Transition duration */
}

.social-icons a:hover i {
    color: white; /* Icon color on hover */
    transition: 0.5s; /* Transition duration */
}

@media (max-width: 700px) {
    .footer-links ul {
        flex-direction: column; /* Column direction for small screens */
    }
    .footer-links ul li {
        width: 100%; /* Full width for list items */
        text-align: center; /* Center align */
    }
}
