@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #111;
    color: #00ffff;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background-color: #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo img {
    height: 65px;
    width: auto;
}

.navbar-links {
    display: flex;
    gap: 20px;
}

.navbar-links a {
    color: #00ffff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.navbar-links a:hover {
    background-color: #333;
    border-radius: 5px;
}

/* Hamburger Menu (Initially hidden) */
.hamburger {
    display: none;  /* Hide hamburger by default on large screens */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #00ffff;
    border-radius: 5px;
}

/* Search Bar */
.search-bar {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.search-bar input {
    width: 300px;
    padding: 10px;
    border: 1px solid #00ffff;
    border-radius: 5px;
    background-color: #222;
    color: #00ffff;
    font-size: 18px;
    outline: none;
    transition: background-color 0.3s;
}

.search-bar input:focus {
    background-color: #333;
}
.search-btn{
    background-color: #00ffff;
    padding: 12px;
    border-radius: 10px;}

.search-btn:hover{
     background-color: #009999; /* slightly darker shade */
  color: #fff;
}




/* Hero Section */
/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;  /* Stack text and line vertically */
    height: 50vh;
    background: url('hero-background.png') no-repeat center center;
    background-size: contain;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
    padding-top: 50px;
    margin-bottom: 30px;
}

/* Heading Style */
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 255, 255, 0.5);
}

/* Line under the text */
.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 20px;
    position: relative;
    line-height: 1.6;  /* Adjust line height for readability */
}

.hero p:after {
    content: "";
    display: block;
    width: 60px;  /* Adjust the width of the line */
    height: 2px;  /* Thickness of the line */
    background-color: #00ffff;  /* Line color */
    margin: 10px auto 0;  /* Centers the line */
}



/* Category Bar */
.category-bar {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #222;
    margin-top: 30px;
    overflow-x: auto;
}

.category-bar a {
    color: #00ffff;
    font-size: 18px;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.category-bar a:hover {
    background-color: #333;
}
/* Category Bar */
.category-bar a {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
}

.category-bar a:hover {
    background-color: #ddd;
}

/* Product List */
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Individual Product Card */
.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 250px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
}

/* Product Image */
.product-image{
    width: 100%;
    height: 260px;
    object-fit: contain;
    object-fit: cover;
    background-color: #111;
    border-radius: 8px;
    
}

/* Product Title */
.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
}
.product-card:hover .product-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}


/* Product Description */
.product-description {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

/* Product Price */
.product-price {
    font-size: 16px;
    color: #000;
    font-weight: bold;
    margin: 10px 0;
}

/* Add to Cart Button */
.add-to-cart {
    background-color: #222;
    color: #00ffff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #a9a9a9;
}


/* Contact Us Section */
.contact-us {
    text-align: center;
    margin: 50px 0;
    padding: 30px;
    background-color: #222;
    border-radius: 8px;
}

.contact-us h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-us p {
    font-size: 1.2rem;
    color: #888;
}

/* Social Media Links */
.social-media {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.social-media a {
    display: inline-block;
    color: #00ffff;
    font-size: 2rem;
    transition: transform 0.3s, color 0.3s;
}

.social-media a:hover {
    color: #33ffff;
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: #222;
    color: #00ffff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer a {
    color: #00ffff;
    text-decoration: none;
}

.footer a:hover {
    color: #33ffff;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    /* Adjust navbar */
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    /* Logo size */
    .navbar .logo img {
        height: 30px;
        width: auto; /* Smaller logo for mobile */
    }

    /* Stack navbar links vertically */
    .navbar-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .navbar-links a {
        padding: 15px;
        width: 100%;
        text-align: center;
    }

    /* Show the hamburger menu on small screens */
    .hamburger {
        display: flex;
    }

    /* Show the links when hamburger is clicked */
    .navbar-links.active {
        display: flex;
    }

    /* Social Media Icons (smaller version) */
    .social-media a {
        font-size: 1.5rem;
    }
}








/* Cart Button Styles */
.cart-button-container {
    position: fixed; /* Fixes the button to the screen */
    bottom: 20px; /* Adjust the distance from the bottom of the screen */
    right: 20px; /* Adjust the distance from the right side of the screen */
    z-index: 100; /* Make sure the button stays on top of other content */
}

#cart-button {
    background-color: #ff9800; /* Button color */
    color: white; /* Text color */
    padding: 15px 30px; /* Padding for the button */
    border-radius: 50px; /* Rounded corners */
    border: none; /* Remove the border */
    font-size: 16px; /* Font size */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; /* Show pointer cursor when hovering */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Optional: shadow for better visibility */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

#cart-button:hover {
    background-color: #ff5722; /* Darker color when hovered */
}

#cart-item-count {
    font-weight: bold; /* Make the count bold */
    margin-right: 5px; /* Space between the count and the text */
}

