/* General Reset */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    font-family: "Arial", sans-serif;
}

/* Header */
.header {
    background: #000;
    padding: 15px 0px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: auto;
}

.container{
    max-width: 90%;
}

.logo {
    color: #f39c12;
    font-size: 24px;
}

nav {
    display: flex;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row-reverse;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #f39c12;
}

.login-btn {
    background: #f39c12;
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.login-btn:hover {
    background: #e67e22;
}

/* Mobile Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 18px;
    }

    .menu-toggle {
        display: flex;
    }

    nav ul.active {
        display: flex;
    }
}


/* Full-Screen Hero Section */
.hero {
    background: url('one.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
}

.hero h2 {
    font-size: 36px;
}

.hero p {
    font-size: 18px;
}

.shop-now {
    display: inline-block;
    margin-top: 10px;
    background: #f39c12;
    padding: 10px 20px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.shop-now:hover {
    background: #e67e22;
}

/* Featured Products */
.featured {
    text-align: center;
    padding: 40px 20px;
}

.featured h2 {
    margin-bottom: 20px;
}

.products {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product {
    background: #f9f9f9;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    transition: 0.3s;
    width: 300px;
}

.product:hover {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.product img {
    width: 100px;
    height: 120px;
    object-fit: cover;
}

.product p {
    font-size: 16px;
    margin-top: 10px;
}

.product span {
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

/* Categories */
.categories {
    text-align: center;
    padding: 40px 20px;
    background: #f2f2f2;
}

.category-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category {
    text-align: center;
    width: 150px;
}

.category img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}



/*second page*/

/* Ensure the page layout has a full height */
html, body {
    height: 100%;
    margin: 0;
}

/* Products Page Styles */
/* Products Page Section */
body.products-page .products-section {
    padding: 80px 20px;
    text-align: center;
    margin-top: 60px;
}

body.products-page .products-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

body.products-page .products-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

body.products-page .product {
    background: #fff;
    padding: 15px 0;
    text-align: center;
    border-radius: 5px;
    transition: 0.3s;
    width: 250px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

body.products-page .product:hover {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

body.products-page .product img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

body.products-page .product-name {
    font-size: 18px;
    font-weight: bold;
}

body.products-page .product-price {
    font-size: 14px;
    color: #f39c12;
    font-weight: bold;
}

body.products-page .footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: auto;
    width: 100%;
    position: fixed;  /* Ensure footer stays at bottom */
    bottom: 0;
}
