
/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #0f0f19;
    color: white;
    position: fixed; /* Fixes navbar at the top */
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensures it stays above other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Shadow for visual appeal */
}

/* Left Section (Hamburger + Search Icon) */
.left-icons {
    display: flex;
    align-items: center;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}

/* Search Icon */
.search-icon {
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

/* Search Popup */
.search-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    display: none;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
    width: 300px;
    max-width: 90%;
    z-index: 100;
}

.search-popup input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
}

.search-popup button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    color: #333;
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
    .left-icons {
        justify-content: flex-end;
    }
    
    .hamburger {
        display: block;
    }
}


/* Logo Styling */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-width: 250px; /* Adjust size for laptops and larger screens */
    height: auto;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .logo {
        position: static;
        transform: none;
        text-align: center;
        margin: 0 auto;
    }

    .logo img {
        max-width: 200px; /* Smaller size for mobile screens */
    }
}

/* Right Icons (User + Cart) */
.right-icons {
    display: flex;
    gap: 15px;
}

.right-icons i {
    font-size: 20px;
    color: white;
}

/* Navigation Links (for desktop) */
.nav-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    font-size: 19px;
    font-weight: bold;
    padding-top: 80px;
    margin: 0 auto;
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.nav-links a:hover {
    color: #cccccc;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Aligns below the "Categories" link */
    left: 0;
    background-color: #333;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 5px;
    text-align: left;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 5px 10px;
    font-size: 16px;
}

/* Hover effect for dropdown links */
.dropdown-content a:hover {
    background-color: #444;
    color: #cccccc;
}

/* Show the dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}


/* Mobile Specific Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px;
        transition: left 0.3s ease-in-out;
        background-color: white;
    }

    .nav-links.active {
        display: flex;
        background-color: white;
    }

    .nav-links a {
        color: black;
        font-size: 16px;
        padding: 5px 0;
    }

    .hamburger {
        display: flex;
    }
}


/* Footer Styling */
.footer {
    background-color: #0f0f19;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-left, .footer-middle, .footer-right {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer p {
    margin: 5px 0;
    line-height: 1.6;
}

.footer-middle ul, .footer-right ul {
    list-style: none;
    padding: 0;
}

.footer-middle li, .footer-right li {
    margin-bottom: 10px;
}

.footer-middle a, .footer-right a {
    color: white;
    text-decoration: none;
}

.footer-middle a:hover, .footer-right a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.footer-payment {
    flex: 2;
}

.payment-methods img, .pay-later img {
    max-width: 50px;
    height: auto;
    margin-top: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #cccccc;
}

.footer-copyright {
    margin-top: 50px;
    text-align: center;
    font-size: 14px;
}


.fixed-whatsapp {
    position: fixed; /* Keeps it fixed while scrolling */
    bottom: 20px; /* Distance from the bottom of the screen */
    right: 20px; /* Distance from the right side of the screen */
    z-index: 1000; /* Ensures it's on top of other elements */
}

.fixed-whatsapp .whatsapp-icon {
    width: 80px; /* Adjust size as needed */
    height: 50px;
    border-radius: 50%; /* Makes it circular */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: adds a shadow */
    cursor: pointer;
    transition: transform 0.2s ease; /* Smooth hover animation */
}

.fixed-whatsapp .whatsapp-icon:hover {
    transform: scale(1.1); /* Enlarges slightly on hover */
}
