/* Reset and general styles */

/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */

/* General Header Styles */
header {
    background-color: #ffffff;
    padding: 1em 0;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-logo {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1em;
}

.logo img {
    max-height: 60px;
}

.search-bar {
    flex: 1;
    margin: 0 1em;
    text-align: center;
}

.search-bar form {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    outline: none;
    
}

.search-bar button {
    background-color: #131313;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
}

.header-icons {
    display: flex;
    gap: 15px;
}

.header-icons .icon {
    font-size: 20px;
    color: #232323;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-icons .icon:hover {
    color: #555;
}

/* Main Navigation */
.main-nav {
    background-color: #ffffff;
    color: rgb(9, 9, 9);
    text-align: center;
    padding: 0.5em 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1000;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2em;
}

.main-nav ul li a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: 600;
    padding: 0.5em;
}

.main-nav ul li a:hover {
    color: #655858;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    background: #fff;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.dropdown-image {
    flex: 1;
    position: relative;
    text-align: center;
}

.dropdown-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.dropdown-categories {
    flex: 3;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Horizontal Line */
.category-group hr {
    border: none;
    border-top: 2px solid #6e6e6e;
    margin: 8px 0;
}

.single-column ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-group {
    flex: 1;
    min-width: 200px;
}

.category-group h3 {
    font-size: 16px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.category-group h3 a {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

.category-group h3 a:hover {
    color: rgb(200, 0, 0);
}

.category-group ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.category-group ul li {
    margin-bottom: 5px;
}

.category-group ul li a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
}

.category-group ul li a:hover {
    color: rgb(200, 0, 0);
}

/* Banner Section */
.banner {
    position: relative;
    overflow: hidden;
    height: 400px;
    width: 100%;
}

.banner .slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner .slide.active {
    display: block;
}

.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dots .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dots .dot.active {
    background-color: #fff;
}

/* Categories Section */
.categories-section {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

/* Slider Container */
.categories-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Slider Track */
.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Individual Slide */
.category-slide {
    flex: 0 0 25%;
    text-align: center;
    padding: 15px;
}

/* Image Styling */
.category-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.category-slide img:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.category-slide a {
    text-decoration: none;
    font-weight: 600;
    color: #000000;
    transition: color 0.3s ease;
}

.category-name {
    margin-top: 10px;
    font-size: 16px;
    color: #090909;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-slide {
        flex: 0 0 50%;
    }

    .category-slide img {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .category-slide {
        flex: 0 0 100%;
    }

    .category-slide img {
        width: 70%;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .search-bar form {
        flex-direction: column;
    }

    .top-bar {
        flex-direction: column;
        text-align: center;
    }
}



/* Trending Section */
.trending-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    position: relative;
}

.section-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.trending-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trending-container {
    display: flex;
    overflow: hidden; /* Hide scrollbar */
    gap: 20px;
    width: calc(260px * 5 + 80px); /* 5 cards with 20px gap */
}

.product-card {
    min-width: 260px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.product-details {
    padding: 15px;
}

.product-details h3 {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
}

.product-details p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.product-details .price {
    font-weight: bold;
    color: #c00;
    margin: 10px 0;
}

.add-to-bag {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.add-to-bag:hover {
    background-color: #333;
}

.new-in {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: #fff;
    background-color: #c00;
    padding: 4px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* Navigation Buttons */
.arrow {
    background-color: #c4c4c4;
    color: #000000;
    border: none;
    padding: 10px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.arrow:hover {
    background-color: #333;
}

/* New Arrivals Section */
.new-arrivals {
    padding: 20px 10px;
    background-color: #fff;
    text-align: center;
}

.new-arrivals .section-title {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
}

.new-arrivals-container {
    display: flex;
    justify-content: center; /* Center the container */
    align-items: flex-start;
    gap: 100px;
    padding: 10px; /* Optional: Add padding to the entire section */
}

.left-column {
    flex: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.large-image {
    width: 300px; /* Match the width of circular images/cards */
    height: 450px; /* Match the height of circular images/cards */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Hide overflow when image is zoomed */
}

.large-image img {
    width: 100%; /* Ensure it fully fits within the container */
    height: 100%; /* Maintain the aspect ratio */
    object-fit: cover; /* Crop to fill the container while maintaining proportions */
    border-radius: 10px; /* Optional: Round corners slightly */
    transition: transform 0.3s ease-in-out; /* Smooth zoom effect */
}

/* Zoom effect on hover */
.large-image img:hover {
    transform: scale(1.2); /* Scale up image */
}

.right-column {
    flex: 6;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.circular-image-wrapper {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px;
    margin-right: 60px;
}

.circle-item {
    text-align: center;
    cursor: pointer;
}

.circle-item a {
    text-decoration: none;
    color: #333;
}

.circle-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.circle-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.circle-item p {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.circle-item p:hover {
    color: #c00;
}

.small-cards-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap; /* Ensures it wraps on small screens */
}

.new-arrivals-card {
    flex: 1;
    min-width: 220px;
    max-width: 240px;
    text-align: center;
    margin-right: 60px;
}

.new-arrivals-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.new-arrivals-card p {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.new-arrivals-card a {
    text-decoration: none;
    color: inherit;
}

.new-arrivals-card img:hover {
    transform: scale(1.05);
}

.products {
    padding: 2em;
}

.products h2 {
    font-size: 2em;
    margin-bottom: 1em;
}

.products .product {
    border: 1px solid #ddd;
    padding: 1em;
    text-align: center;
}

.intro {
    background-color: #f4f4f4;
    padding: 3em 0;
    text-align: center;
}

.intro .banner-text h1 {
    font-size: 2.5em;
    color: #333;
}

.intro button {
    padding: 0.75em 2em;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer Styling */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 3em 0; /* Increased padding for a spacious feel */
}

footer .footer-logo {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 1em;
}

footer p {
    font-size: 1.1em;
    color: #ddd; /* Light color for footer text */
}

/* Footer Container Layout */
.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    background-color: #f8f8f8;
    flex-wrap: wrap;
    gap: 20px; /* Balanced gap between columns */
}

.footer-container div {
    width: 22%;
    margin-bottom: 20px;
}

.footer-container h3 {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #000;
}

.footer-container p,
.footer-container a {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.footer-container a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-container a:hover {
    color: #0056b3;
}

/* Newsletter Section */

.footer-column.newsletter {
    text-align: center;
}


.important-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}



.subscribe-input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}


.subscribe-input input[type="email"] {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.subscribe-input button {
    background-color: #131313;
    color: white;
    padding: 12px 20px;
    border: none;
    font-size: 16px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-input button:hover {
    background-color: #ff0000;
}

/* Social Media Icons */
/* Social Media Icons */
.social-media {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    align-items: center;
    position: relative;
}

.social-media a {
    font-size: 32px;
    color: #333;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    position: relative; /* Important for positioning tooltip */
}

/* Hover Effects */
.social-media a:hover {
    transform: scale(1.1);
}

.social-media a:nth-child(1):hover {
    color: #3b5998;
}

.social-media a:nth-child(2):hover {
    color: #e4405f;
}

.social-media a:nth-child(3):hover {
    color: #ff0000;
}

/* Tooltip Styling */
.social-media a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px; /* Adjusted to ensure visibility */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.social-media a:hover::after {
    opacity: 1;
    visibility: visible;
}


/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 20px;
    background-color: #dedede;
}

.footer-bottom p {
    font-size: 17px;
    font-weight: bold;
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-container div {
        width: 100%;
    }

    .subscribe-input {
        flex-direction: column;
        width: 80%;
    }

    .subscribe-input input[type="email"] {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        flex-direction: column;
        gap: 15px;
    }

    .footer-container div {
        width: 100%;
    }

    .social-media {
        gap: 15px;
    }

    .social-media a {
        font-size: 25px;
    }

    .subscribe-input {
        flex-direction: column;
    }

    .subscribe-input input[type="email"] {
        margin-bottom: 10px;
    }
}
