/* General body styles */
body {
    font-family: 'Oswald', Arial, sans-serif; /* Use Oswald as the primary font */
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* Light grey background */
}

/* Upper header styles */
.upper-header {
    background-color: #2c3e50; /* Dark Blue */
    color: #ecf0f1; /* Light Grey */
    padding: 10px;
    text-align: right;
}

.upper-header a {
    color: #ecf0f1;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.upper-header a:hover {
    color: #bdc3c7; /* Light Silver */
}

/* Main header styles */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #ecf0f1; 
    border-bottom: 2px solid #2980b9; 
    position: sticky;
    top: 0; 
    z-index: 1000; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.logo h1 {
    margin: 0;
    font-family: 'Oswald', Arial, sans-serif;
    color: #2980b9; 
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #2980b9; 
    transition: color 0.3s ease;
}

nav a:hover {
    color: #34495e; 
}

/* Search bar styles */
.search-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px; /* Space between the cart icon and the search input */
}

/* Style for the cart icon */
.fa-solid{
    color: orange;
}
.search-bar input {
    padding: 5px;
    border: 1px solid #2980b9;
    border-radius: 5px 0 0 5px;
    transition: border-color 0.3s ease;
}

.search-bar .search-button {
    padding: 4px 10px;
    border: 1px solid #2980b9;
    border-left: none;
    background-color: #2980b9;
    color: #ecf0f1;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.search-bar .search-button:hover {
    background-color: #ecf0f1;
    color: #2980b9;
    border-color: #2980b9;
}

.search-bar input:focus {
    border-color: #34495e;
}



/* Banner styles */
.banner {
    display: flex;
    justify-content: flex-start;
    padding: 20px;
    background-color: #ecf0f1; 
    border-bottom: 2px solid #2980b9; 
    max-width: 1200px;
    margin: 0 auto;
}

.slider {
    width: 55%;
    height: auto;
    max-height: 500px;
    position: relative;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 1s ease;
    height: 100%;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.right-image {
    width: 45%;
    height: auto;
    overflow: hidden;
}

.right-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sample products styles */
.sample-products {
    padding: 20px;
    background-color: #fff; 
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.sample-products h2 {
    font-family: 'Oswald', Arial, sans-serif;
    margin-bottom: 20px;
    text-align: center;
    color: #2980b9; 
}
.product-name {
    font-size: 16px;
    color: #333;
    margin: 5px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product {
    text-align: center;
    background-color: #ecf0f1; 
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.price {
    font-size: 18px;
    color: #2980b9; 
    margin: 10px 0;
}

.rating {
    display: flex;
    justify-content: center;
    gap: 5px; /* Adds horizontal spacing between each star */
    margin-bottom: 15px; /* Adds space below the rating */
}

.star {
    color: #f1c40f; 
    font-size: 20px;
}

.add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff8c00; /* Retaining the orange color */
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 20px; /* Adds space above the Add to Cart button */
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.add-to-cart i {
    margin-right: 5px;
}

.add-to-cart:hover {
    background-color: #34495e; 
}

/* Top Brands Section Styles */
.top-brands-section {
    padding: 20px;
    background-color: #ecf0f1; 
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
}

.top-brands-section h2 {
    font-family: 'Oswald', Arial, sans-serif;
    margin-bottom: 20px;
    text-align: center;
    color: #2980b9; 
}

/* Top Brands Slider Styles */
.top-brands-slider {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.top-brands-slider-container {
    flex: 1;
    overflow: hidden;
}

.top-brands-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    white-space: nowrap;
}

.top-brands-slider-wrapper img {
    width: 200px;
    height: auto;
    margin-right: 20px;
}

/* Arrows */
.arrow {
    background-color: #2980b9; 
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 40px; 
    height: 40px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px; 
}

.arrow:hover {
    background-color: #34495e; 
}


/* Footer styles */
footer {
    background-color: #2c3e50; 
    color: #ecf0f1; 
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    border-top: 2px solid #2980b9; 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 0 10px;
}

.footer-column h3 {
    font-family: 'Oswald', Arial, sans-serif;
    margin-bottom: 20px;
    color: #2980b9; 
}

.footer-column a {
    color: #ecf0f1; 
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #bdc3c7;
}

.footer-column p {
    margin: 5px 0;
    color: #bdc3c7; 
}


.footer-bottom {
    text-align: center;
    margin-top: 30px;
    color: #bdc3c7; 
}

.footer-bottom p {
    margin: 0;
}

/* Men's Collection Banner Styles */
.men-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-bottom: 2px solid #2980b9; 
}

.men-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.men-products {
    padding: 20px;
    background-color: #fff; 
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.men-products h2 {
    font-family: 'Oswald', Arial, sans-serif;
    margin-bottom: 20px;
    text-align: center;
    color: #2980b9; 
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
/*-------------------WOMENS---------------------------------------*/
.women-banner{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-bottom: 2px solid #2980b9; 
}
.women-banner img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.women-products{
    padding: 20px;
    background-color: #fff; 
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.women-products h2 {
    font-family: 'Oswald', Arial, sans-serif;
    margin-bottom: 20px;
    text-align: center;
    color: #2980b9; 
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.product img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
/*-------------------------------------KIDS -----------------------------*/

.kids-banner{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-bottom: 2px solid #2980b9;
}
.kids-banner img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.kids-products{
    padding: 20px;
    background-color: #fff; 
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.kids-products h2 {
    font-family: 'Oswald', Arial, sans-serif;
    margin-bottom: 20px;
    text-align: center;
    color: #2980b9; 
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.product img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/*---------------cosmetics---------*/

.cosmetics-banner{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-bottom: 2px solid #2980b9; 
}
.cosmetics-banner img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.cosmetics-products{
    padding: 20px;
    background-color: #fff; 
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.cosmetics-products h2 {
    font-family: 'Oswald', Arial, sans-serif;
    margin-bottom: 20px;
    text-align: center;
    color: #2980b9; 
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.product img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
/*----------------login and signup formm-------------------------*/
.login-container, .signup-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  h2 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
  }
  
  .input-group i {
    color: #555;
    margin-right: 10px;
  }
  
  .input-group input {
    border: none;
    outline: none;
    width: 100%;
    padding: 10px;
    background: none;
    color: #333;
  }
  
  button {
    width: 100%;
    padding: 10px;
    background-color: #ff6600;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #e65c00;
  }
  
  .social-login, .social-signup {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
  }
  
  .social-login a, .social-signup a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
  }
  
  .facebook {
    background-color: #3b5998;
  }
  
  .email {
    background-color: #d44638;
  }
  
  .facebook:hover {
    background-color: #2d4373;
  }
  
  .email:hover {
    background-color: #c23321;
  }

  /* Auth container (modal) styles */
#auth-container {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 2000; 
    justify-content: center;
    align-items: center;
}

.auth-form {
    background-color: #fff; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); 
    width: 400px;
    max-width: 90%;
}

/* Close button styles */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

/*-------------about us--------*/
/* About Me Section */
#about-me {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-layout {
    display: flex;
    flex-direction: row;
}

.left-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #ff6f61;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-icons {
    margin: 15px 0;
}

.social-icons a {
    font-size: 24px;
    color: #333;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff6f61;
}

.download-btn {
    background-color: #ff6f61;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #e65b50;
}

.right-side {
    max-width: 400px;
}

.right-side h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #333;
}

.quote {
    font-style: italic;
    color: #777;
    margin-bottom: 20px;
    font-size: 20px;
}

.testimony {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/*--------------CART-----------------*/

/* Style for the cart icon in the header */


/* Cart page styling */
#cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px; 
    margin: 0 auto; 
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

.cart-item h3 {
    font-size: 1.2em;
}

.cart-item p {
    font-size: 1.1em;
}

.cart-item input[type="number"] {
    width: 60px;
    padding: 5px;
    font-size: 1em;
}

.cart-item button {
    background-color: #ff5733;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
}

.cart-item button:hover {
    background-color: #c44129;
}

#cart-total {
    margin-top: 20px;
    font-size: 1.5em;
    text-align: right;
    font-weight: bold;
}
*/

header h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 2em;
}

header .cart-icon {
    position: absolute;
    right: 20px;
    top: 20px;
}

/* Base Styles for Mobile Devices */
@media (max-width: 768px) {
    body {
        font-size: 14px; 
        padding: 10px; 
    }

    /* Header Styles */
    header {
        display: flex;
        flex-direction: column; 
        align-items: center; 
    }

    .logo {
        width: 80%; /* Make the logo responsive */
        max-width: 150px; 
    }

    .search-container {
        width: 100%;
        margin-top: 10px; 
    }

    .search-button {
        padding: 10px 15px; 
        font-size: 16px; 
    }

    /* Navigation Links */
    nav ul {
        flex-direction: column; 
        padding: 0;
        margin: 0;
    }

    nav ul li {
        margin: 10px 0; 
    }

    /* Product Grid */
    .product-grid {
        display: flex; 
        overflow-x: auto; 
        padding: 10px 0; 
        scroll-snap-type: x mandatory; 
    }

    .product-card {
        min-width: 150px; 
        margin-right: 10px; 
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
        border-radius: 8px; 
        scroll-snap-align: start; 
        flex: none; 
    }

    /* Footer Styles */
    footer {
        padding: 20px 0; 
        text-align: center; 
    }

    /* Adjust Button Styles */
    .btn {
        width: 100%; 
        padding: 15px; 
        font-size: 16px; 
        margin-top: 10px; 
    }
}
