﻿.move-bar {
    width: 100%;
    height: 45px;
    background-color: red;
}

.nav-div {
    background: rgba(128, 128, 128, 0);
    position: absolute;
    width: 100%;
    z-index: 100;
}

.first-nav {
    z-index: 100;
}

.nav-div:hover .logoo {
    color: black !important;
}

.nav-div:hover .item {
    color: black !important;
}

.nav-div:hover .icons {
    color: black !important;
}

.nav-div:hover .open {
    color: black;
}

.item:hover a {
    color: black;
}

.nav-home {
    height: 100px;
    z-index: 100;
}

.nav-logo {
    text-align: center;
    text-decoration: none;
    font-size: 35px;
    margin: auto;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    display: inline-block;
    z-index: 1000;
}

.logoo {
    text-decoration: none;
    color: white;
    z-index: 100;
    margin-right: 50px;
}

.nav-logo:hover {
    color: white;
}

.nav-links {
    margin-left: 25px;
    position: relative;
    z-index: 10;
}

.navbar-nav {
    height: 35px;
    margin-top: 30px;
}

.nav-link:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.item {
    margin-left: 35px;
    font-size: 15px;
    color: rgb(255, 255, 255) !important;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    height: 10px;
}

nav .navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px 0px;
    max-width: 100%;
}

.nav-item:hover .nav-hr {
    background-color: black;
}

.nav-hr {
    background-color: white;
    margin-top: -1px;
    margin: auto;
    display: none;
}

.item:hover hr {
    display: block;
}

.item:focus hr {
    display: block;
    background-color: black;
}

/* Restyled main dropdown menu for Clothes */
.clothes .menu {
    background-color: white;
    list-style: none;
    display: none;
    position: absolute;
    margin-top: 15px;
    padding: 0;
    width: calc(100% - 35px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    left: 50%;
    transform: translateX(-50%);
}

    .clothes .menu .btn-group {
        display: block;
        margin-bottom: 0;
        width: 100%;
    }

.clothes .nav-top {
    width: 100%;
    text-decoration: none;
    color: black;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.clothes .arrow-top,
.clothes .arrow-topscroll {
    margin-left: 0;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.clothes .nav-top.active .arrow-top,
.clothes .nav-top.active .arrow-topscroll {
    transform: rotate(0deg);
}

.clothes .nav-top:hover {
    background-color: rgb(87, 87, 87);
    color: white;
}

    .clothes .nav-top:hover .arrow-top,
    .clothes .nav-top:hover .arrow-topscroll {
        color: white;
    }

.clothes .menu1 {
    margin-top: 0;
    display: none;
    background-color: #f9f9f9;
    padding: 5px 0;
    border-top: 1px solid #e0e0e0;
}

    .clothes .menu1 a {
        display: block;
        text-decoration: none;
        color: black;
        margin-left: 0;
        padding: 8px 20px;
        font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
        font-size: 13px;
    }

.clothes .menu1-ele:hover {
    background-color: rgb(87, 87, 87);
    color: white;
}

.menu2 {
    margin-top: 10px;
    display: none;
}

    .menu2 a {
        display: block;
        text-decoration: none;
        color: black;
        margin-left: 25px;
        padding-left: 5px;
        padding-top: 7px;
        padding-bottom: 7px;
        font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    }

.btn:focus {
    outline: none;
    box-shadow: none;
}

.btn:hover {
    background-color: rgb(238, 238, 238) !important;
    border-radius: 0px;
}

.clothes:hover .menu {
    display: block;
}

.icons {
    position: absolute;
    margin-top: 12px;
    right: 2px;
    text-align: center;
    font-size: 20px;
    color: rgb(255, 255, 255);
    z-index: 10;
}

.login-icon {
    margin-right: 23px;
}

    .login-icon:hover {
        transform: scale(1.1, 1.1);
        transition: 0.3s;
        cursor: pointer;
    }

.fav-icon {
    margin-right: 22px;
}

    .fav-icon:hover {
        transform: scale(1.1, 1.1);
        transition: 0.3s;
        cursor: pointer;
    }

.cart-icon:hover {
    transform: scale(1.1, 1.1);
    transition: 0.3s;
    cursor: pointer:;
}

.nav-div:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: -1px;
    left: 0;
    opacity: 0;
    background-color: white;
}

.nav-div:hover::after {
    width: 100%;
    height: 157px;
    opacity: 1;
    transition: 0.3s;
    z-index: 1;
}

/* Default styling */
.swipper {
    width: 100%;
    height: 100vh;
    background-color: rgb(207, 207, 207);
    overflow: hidden;
}

/* Tablets */
/* Default */
.swipper {
    width: 100%;
    height: 100vh;
    background-color: rgb(207, 207, 207);
    overflow: hidden;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
}

.carousel-caption {
    margin-bottom: 120px;
}

    .carousel-caption a {
        text-decoration: none;
        color: white;
    }

.label-div {
    width: 0px;
    height: 2px;
    background-color: white;
    margin: auto;
    transition: 0.5s;
}

.slide-label:hover .label-div {
    width: 130px;
}

.carousel-caption p {
    margin-top: 10px;
}

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #dc2626;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    display: none;
    min-width: 20px;
    text-align: center;
    z-index: 10;
}

/* Responsive Swipper Only */
@media screen and (max-width: 1400px) {
    .swipper {
        height: 100vh;
    }
}

@media screen and (max-width: 992px) {
    .swipper {
        height: 60vh;
    }
}

@media screen and (max-width: 768px) {
    .swipper {
        height: 50vh;
    }

    .carousel-item img {
        height: 50vh;
        object-fit: cover;
    }
}

@media screen and (max-width: 576px) {
    .swipper {
        height: 80vh;
    }

    .carousel-item img {
        height: 40vh;
        object-fit: cover;
    }

    .carousel-caption {
        display: block !important;
    }
}

@media screen and (max-width: 400px) {
    .swipper {
        height: 90vh;
    }

    .carousel-item img {
        height: 35vh;
        object-fit: cover;
    }
}

/* ///////////////////////////////////////////////////// */

.hide-nav {
    opacity: 0;
    visibility: hidden;
}



.hide-nav {
    display: none;
}

.fixed-header {
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    z-index: 999;
}

.show-nav {
    display: flex;
    position: absolute;
    top: 80px;
    width: 100%;
    background-color: white;
    z-index: 998;
    transition: all 0.3s ease-in-out;
}

header {
    width: 100%;
    height: 50px;
    background-color: #ffffff00;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 10000;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-bb {
    color: #111;
    z-index: 100;
    font-size: 20px;
}

/* /////////////////////////////////////////////////////////////// */

.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fffbfb;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 100000;
}

    .side-nav a {
        padding: 10px 15px;
        text-decoration: none;
        font-size: 15px;
        color: rgb(3, 0, 0);
        display: block;
        transition: 0.3s;
        font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    }

        .side-nav a:hover {
            background-color: #575757;
            color: white;
        }

    .side-nav .close-btn {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 30px;
        cursor: pointer;
        color: rgb(0, 0, 0);
    }

.open-btn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
    position: absolute;
    top: 20px;
    left: 20px;
}

.cta-button {
    display: block;
    width: 80%;
    margin: 20px auto;
    padding: 10px;
    background-color: #575757;
    color: white;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

    .cta-button:hover {
        background-color: #777;
    }

.open {
    color: white;
    z-index: 10000;
    visibility: hidden;
    cursor: pointer;
}

.nav-homee {
    height: 120px;
    z-index: 100;
    display: none;
    position: fixed;
    width: 100%;
    background-color: white;
}

    .nav-homee .item {
        color: black !important;
    }

    .nav-homee .nav-links {
        margin-top: 30px;
    }

.s {
    z-index: 100;
    color: white;
    margin-left: 15px;
    cursor: pointer;
    font-size: 17px;
    transition: visibility 0.3s ease-in-out;
}

/* Updated Search Bar Container */
.search-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 100001;
    padding: 10px 15px;
    gap: 10px;
}

    .search-container form {
        flex-grow: 1;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.search-box {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}

.search-btn,
.close-btn {
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 8px 12px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn {
    color: #333;
    font-size: 20px;
}

.search-container.open {
    opacity: 1;
    visibility: visible;
}

    /* Hide search icon when search container is open */
    .search-container.open ~ .s {
        visibility: hidden;
    }

.side-nav .submenu#clothesSubmenu {
    display: none;
    padding-left: 15px;
    background-color: #f5f5f5;
    border-left: 2px solid #e0e0e0;
}

    .side-nav .submenu#clothesSubmenu .sidetop {
        padding: 10px 15px;
        text-decoration: none;
        font-size: 15px;
        color: rgb(3, 0, 0);
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: 0.3s;
        font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
        font-weight: 500;
    }

    .side-nav .submenu#clothesSubmenu .arrowTop {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .side-nav .submenu#clothesSubmenu .sidetop.active .arrowTop {
        transform: rotate(0deg);
    }

    .side-nav .submenu#clothesSubmenu .sidetop:hover {
        background-color: #575757;
        color: white;
    }

        .side-nav .submenu#clothesSubmenu .sidetop:hover .arrowTop {
            color: white;
        }

    .side-nav .submenu#clothesSubmenu a.topSub {
        display: block;
        padding: 8px 20px;
        text-decoration: none;
        font-size: 14px;
        color: rgb(3, 0, 0);
        transition: 0.3s;
        font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    }

        .side-nav .submenu#clothesSubmenu a.topSub:hover {
            background-color: #575757;
            color: white;
        }

@media screen and (max-width: 1400px) {
    .nav-div:after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0;
        top: -1px;
        left: 0;
        opacity: 0;
        background-color: white;
    }

    .nav-div:hover::after {
        width: 100%;
        height: 182px;
        opacity: 1;
        transition: 0.3s;
        z-index: 1;
    }

    .navbar-nav {
        margin-right: 50px;
    }
}

@media screen and (max-width: 768px) {
    .nav-div:after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0;
        top: -1px;
        left: 0;
        opacity: 0;
        z-index: 0;
    }

    .nav-div:hover::after {
        width: 100%;
        height: 60px;
        opacity: 1;
        transition: 0.3s;
        z-index: 1;
    }

    .open {
        visibility: visible;
        z-index: 5000;
    }

    .login-icon {
        display: none;
    }

    .icons {
        margin-right: 10px;
    }

    .nav-home {
        display: none;
    }

    .swipper {
        min-height: 30vh;
    }
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-right: 50px;
}

.navbar-nav2 {
    top: 80px;
}

.side-nav .submenu {
    display: none;
    padding-left: 25px;
}

    .side-nav .submenu a {
        display: block;
        padding: 5px;
    }

.arrow {
    margin-left: 100px;
}

.sideclothes:hover .arrow {
    color: white;
}

.sidetop:hover .arrowTop {
    color: white;
}

.arrowTop {
    margin-left: 140px;
}

.sidebottom:hover .arrowBottom {
    color: white;
}

.arrowBottom {
    margin-left: 123px;
}

.carousel-item {
    height: 100vh;
    overflow: hidden;
}

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

html,
body {
    width: 100%;
    overflow-x: hidden;
}

.carousel-caption {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0.5;
    z-index: 100;
}

    .carousel-caption h5 {
        color: white;
        margin-bottom: 10px;
    }

    .carousel-caption .slide-label {
        display: inline-block;
        position: relative;
        z-index: 100;
    }

    .carousel-caption .label-div {
        width: 0;
        height: 2px;
        background-color: white;
        margin: auto;
        transition: 0.5s;
    }

    .carousel-caption .slide-label:hover .label-div {
        width: 130px;
    }

    .carousel-caption p {
        color: white;
        margin-top: 10px;
    }

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .carousel-caption {
        font-size: 14px;
    }
}

@media screen and (max-width: 576px) {
    .carousel-caption {
        font-size: 12px;
    }
}

/* Default state of arrows, pointing down */
.arrow-top,
.arrow-topscroll,
.arrowTop,
.arrow {
    transform: rotate(180deg);
}

@media screen and (max-width: 768px) {
    .login-icon {
        display: inline-block; /* Restore visibility */
        font-size: 1.4rem; /* Larger icon for better visibility */
        padding: 10px; /* Increase touch target size */
        cursor: pointer; /* Ensure it looks clickable */
    }
    .icons {
        z-index: 1000; /* Prevent overlap by nav-div::after */
        margin-right: 10px; /* Maintain spacing */
    }

    .login-icon {
        margin-right: 11px;
    }
}

/* Ensure cart icon outline is black when scrolled */
.nav-div.scrolled .cart-icon {
    -webkit-text-stroke-color: black !important;
    color: transparent !important; /* Maintain transparent fill */
}

/* Ensure cart icon outline is black on hover, consistent with other icons */
.nav-div:hover .cart-icon {
    -webkit-text-stroke-color: black !important;
    color: transparent !important;
}

/* Ensure cart icon is black when the page is scrolled */
.fixed-header .cart-icon {
    -webkit-text-stroke-color: black !important;
    color: transparent !important;
}

.nav-top{
    cursor:pointer;
}


.nav-div:hover .s {
    color: black !important; /* Matches .icons, .logoo, .item */
}


/* Ensure search icon is black in scrolled state */
.fixed-header .s,
.nav-div.scrolled .s {
    color: black !important;
}

/* Ensure search icon remains black on hover in scrolled state */
.fixed-header .nav-div:hover .s,
.nav-div.scrolled:hover .s {
    color: black !important;
}

/* Ensure the dropdown menu is above other elements */
.clothes .menu {
    z-index: 1000; /* Higher than .nav-div::after (z-index: 1) and .fixed-header (z-index: 999) */
}

/* Ensure navbar-nav is accessible in scrolled state */
.fixed-header .navbar-nav,
.show-nav .navbar-nav {
    z-index: 1000; /* Higher than .fixed-header (z-index: 999) and .show-nav (z-index: 998) */
}

/* Ensure nav-div::after doesn't overlap the dropdown */
.nav-div:hover::after {
    z-index: 1; /* Keep low to avoid covering .clothes .menu */
}



.swipper {
    z-index: 0; /* Ensure carousel stays behind navigation */
}


.nav-top {
    text-transform: uppercase;
}


/* Ensure burger icon is black in scrolled state */
.fixed-header .open,
.nav-div.scrolled .open {
    color: black !important;
}

/* Ensure burger icon remains black on hover in scrolled state */
.fixed-header .nav-div:hover .open,
.nav-div.scrolled:hover .open {
    color: black !important;
}


/* Ensure the swipper and its containers take full width */


@media screen and (min-width: 768px) {
    .swipper {
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

        .swipper .carousel-inner {
            width: 100%;
            max-width: 100vw;
        }

        .swipper .carousel-item {
            width: 100% !important;
            max-width: 100vw !important;
        }

            .swipper .carousel-item img {
                width: 100% !important;
                height: auto !important;
                min-height: 0 !important; /* Remove fixed minimum height */
                max-height: none !important; /* Allow natural height */
                object-fit: contain !important; /* Ensures the entire image is visible */
                object-position: center top !important; /* Keeps heads visible, but allows full height */
            }
}

@media screen and (max-width: 768px) {
    .nav-logo {
        font-size: 30px; /* Reduce font size for smaller screens */
        margin-right: auto; /* Ensure it stays aligned to the left */
    }

    .icons {
        bottom: 1px;
    }

    .logoo {
        margin-left: -30px; /* Reduce the right margin to prevent overlap with icons */
    }

}