*{
    padding:0;
    margin: 0;
    font-family: Arial, Serif, Helvetica Neue;
    box-sizing: border-box;
}

.queen16logo{
    height: 60px;
    width: 120px;
    background-image: url("../images/logos/queen16 logo.png");
    background-size: cover;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    padding: 20px 40px;
    background: rgba(212, 212, 212, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(50px);
    border-radius: 20px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin: -100px auto;
    left: 0;
    right: 0;
}

/* Ensure this isn't being overridden by other selectors */
.navbar.product-navbar, 
.navbar.home-navbar,
.product-navbar.home-navbar {
    width: 90% !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.navtext{
    display: flex;
    list-style: none;
    gap: 100px;
}

a{
    text-decoration: none;
    color: black;
}
a:hover{
    /* color: rgb(191, 0, 255); */
}

.icons{
    display: flex;
    gap: 20px;
    /* transform: scale(1.3); */
}

.icons i {
    font-size: 20px; /* Set a consistent font-size for all icons */
    color: #333;
}

.icons a {
    display: flex; /* Ensure links properly wrap icons */
}

.icons a:hover i,
.icons i:hover {
    color: #A703F3;
    cursor: pointer;
}

.herosection{
    height: 600px;
    margin-top: 150px;
    width: 100%;
    background-image: url("../images/banners/crown your style.png");
    background-size: cover;
    background-position: center;
}

.products{
    height: 600px;
    width: 100%;
    margin-top: 40px;
}

h1{
    display: flex;
    justify-content: center;
}

.productcards {
    height: auto;
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: flex-start;
}
.imagecontainerphoto{
    height: 360px;
    width: 100%;
    border: 1px solid rgb(219, 219, 219);
    background-color: #FAF1FF;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
#photo1, #photo2, #photo3, #photo4 {
    height: 270px;
    width: 90%;
    transform: scale(0.85);
}

#photo1{
    background-image: url("../images/earrings/e1.png");
    background-size: cover;
    background-position: center;
}

#photo2{
    background-image: url("../images/earrings/e3.png");
    background-size: cover;
    background-position: center;
}

#photo3{
    background-image: url("../images/earrings/e2.png");
    background-size: auto 300px;
    background-position: center;
    background-repeat: no-repeat;
}

#photo4{
    background-image: url("../images/earrings/e7.png");
    background-size: cover;
    background-position: center;
    
}

.cardpara{
    /* margin-top: 12px; */
    padding: 6px 0 0 0;
    height: 70px;
    font-size: 1.1rem;
    line-height: 1.6rem;
    /* background-color: black; */
}
.text1{
    color:rgb(42, 42, 42);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px; /* Adjusted for the 300px width of home page cards */
}

.text2{
    font-weight: 600;
    color:rgb(216, 136, 252);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px; /* Adjusted for the 300px width of home page cards */
}

.one, .two, .three, .four {
    height: auto;
    width: 300px;
}

.category {
    height: 700px;
}

.categorycontent{
    height: 100%;
    margin-top: 10px;
}
.uppercategory{
    height: 46%;
    display: flex;
    justify-content: center;
    margin-top: 60px;
    gap: 15px;
}

.bracelet{
    height: 100%;
    width: 43.2%;
    background-color: aquamarine;
    background-image: url("../images/bracelets/conn_brac2.webp");
    background-size: cover;
    background-position: center;
}

.earring{
    height: 100%;
    width: 43.2%;
    background-color: navy;
    background-image: url("../images/earrings/earring.png");
    background-size: cover;
    background-position: center;
}

.lowercategory{
    height: 46%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.necklace{
    height: 100%;
    width: 87.4%;
    background-color: pink;
    background-image: url("../images/necklaces/rubans-rose-gold-plated-handcrafted-zircon-stone-necklace-set-necklace-set-30922700357806.jpg");
    background-size: cover;
    background-position: center;
    transition-property: all;

}

.overlay{
    height: 100%;
    background-color: rgba(40, 40, 40, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    transition-property: all;
    transition-duration: 500ms;
}

.overlay:hover{
    background-color:rgba(174, 0, 255, 0.47);
    box-shadow: 5px 10px 20px rgb(145, 145, 145);
    transform: scale(1.01);
    cursor: pointer;
}

.iconcontainer{
    text-align: center;
}

.braceleticon{
    height: 84px;
    width: 84px;
    background-image: url("../images/bracelets/bracelet 1.png");
    background-size: cover;
}

.braceleticontext{
    margin-top: 20px;
    font-size: 1.4rem;
    color: white;

}

.earringicon{
    height: 84px;
    width: 84px;
    background-image: url("../images/earrings/earring1.png");
    background-size: cover;
}

.earringicontext{
    margin-top: 20px;
    font-size: 1.4rem;
    color: white;

}

.necklaceicon{
    height: 84px;
    width: 84px;
    background-image: url("../images/necklaces/necklace.png");
    background-size: cover;
}

.necklaceicontext{
    margin-top: 20px;
    font-size: 1.4rem;
    color: white;

}

/* Wishlist button styling */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #D06AFF;
    transition: all 0.2s ease;
    z-index: 10;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    color: #A703F3;
}

/* Notification popup */
.notification-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 16px;
    max-width: 350px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.notification-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-popup.hide {
    opacity: 0;
    transform: translateY(100%);
}

.notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99999;
}

.notification-popup .header-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.notification-popup .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A703F3;
    font-size: 22px;
}

.notification-popup .title {
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

.notification-popup .message {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.notification-popup .close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #777;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: transform 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle.active {
    transform: rotate(90deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -70%;
    width: 60%;
    height: 100%;
    background-color: white;
    z-index: 2001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 120px 0 0 0;
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    transition: transform 0.3s ease;
    padding: 10px;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.mobile-navtext {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: left;
}

.mobile-navtext li {
    margin-bottom: 25px;
}

.mobile-navtext a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    gap: 15px;
    padding-left: 40px;
}

.mobile-navtext a.nav-active {
    color: #A703F3;
}

.mobile-navtext a i {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar {
        width: 90%;
        padding: 15px 30px;
    }
    
    .navtext {
        gap: 50px;
    }
    
    .productcards {
        flex-wrap: wrap;
        height: auto;
        justify-content: center;
        gap: 15px;
    }
    
    .one, .two, .three, .four {
        width: 45%;
        max-width: 280px;
        margin-bottom: 20px;
    }
    
    .imagecontainerphoto {
        height: 280px;
    }
    
    .bracelet, .earring {
        width: 45%;
    }
    
    .necklace {
        width: 91%;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 12px 20px;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .navtext {
        display: none;
    }
    
    .icons {
        display: none;
    }
    
    .herosection {
        height: 350px;
        margin-top: 100px;
        background-size: contain;
    }
    
    .products {
        height: auto;
        padding: 0 15px;
    }
    
    .productcards {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }
    
    .one, .two, .three, .four {
        width: 47%;
        margin-bottom: 20px;
    }
    
    .imagecontainerphoto {
        height: 250px;
    }
    
    .category {
        height: auto;
    }
    
    .uppercategory, .lowercategory {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .navbar {
        width: 90%;
        padding: 10px 20px;
        margin: 20px auto;
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.95);
    }
    
    .queen16logo {
        height: 50px;
        width: 100px;
    }
    
    .productcards {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: space-between;
    }
    
    .one, .two, .three, .four {
        width: calc(50% - 8px);
        margin-bottom: 15px;
    }
    
    .imagecontainerphoto {
        height: auto;
        aspect-ratio: 1/1;
    }
    
    #photo1, #photo2, #photo3, #photo4 {
        height: auto;
        width: 80%;
    }
    
    .cardpara {
        padding: 5px 0;
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
    
    .text1, .text2 {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .navbar, .product-navbar, .home-navbar {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 15px 25px !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        position: fixed !important;
        z-index: 1000 !important;
    }
    
    .queen16logo {
        height: 50px;
        width: 100px;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 28px;
    }
    
    .navtext {
        display: none;
    }
    
    .icons {
        display: none;
    }
    
    .herosection {
        height: 200px;
        margin-top: 100px;
        background-size: contain;
    }
    
    .products {
        height: auto;
        margin-top: 40px;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .productcards {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
        padding: 0 10px;
    }
    
    .one, .two, .three, .four,
    .product-animation-container {
        width: calc(50% - 5px) !important;
        margin-bottom: 15px;
    }
    
    .imagecontainerphoto {
        height: auto;
        aspect-ratio: 1/1;
        padding: 10px;
        border-radius: 10px;
    }
    
    #photo1, #photo2, #photo3, #photo4 {
        height: auto;
        width: 80%;
        transform: none;
    }
    
    .cardpara {
        padding: 5px 0;
        font-size: 0.8rem;
        line-height: 1.2rem;
    }
    
    .text1, .text2 {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Mobile menu specific styling */
    .mobile-menu {
        padding-top: 100px;
    }
    
    .mobile-navtext a {
        font-size: 16px;
        padding-left: 25px;
    }
    
    .mobile-navtext li {
        margin-bottom: 20px;
    }
}

/* Extra small devices (iPhone SE, etc) */
@media (max-width: 375px) {
    .navbar {
        padding: 12px 15px !important;
    }
    
    .queen16logo {
        height: 45px;
        width: 90px;
    }
    
    .mobile-menu-toggle {
        font-size: 24px;
    }
    
    .products {
        padding: 0 8px;
    }
    
    h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .productcards {
        gap: 8px;
    }
    
    .one, .two, .three, .four,
    .product-animation-container {
        width: calc(50% - 4px) !important;
    }
    
    .imagecontainerphoto {
        padding: 8px;
        border-radius: 8px;
    }
    
    #photo1, #photo2, #photo3, #photo4 {
        width: 75%;
    }
    
    .cardpara {
        padding: 3px 0;
        font-size: 0.75rem;
        line-height: 1.1rem;
    }
    
    .text1, .text2 {
        font-size: 0.75rem;
    }
    
    /* Mobile menu on very small screens */
    .mobile-menu {
        width: 70%;
        padding-top: 80px;
    }
    
    .mobile-navtext a {
        font-size: 15px;
        padding-left: 20px;
    }
    
    .mobile-navtext li {
        margin-bottom: 18px;
    }
    
    .mobile-menu-close {
        top: 20px;
        right: 20px;
        font-size: 24px;
    }
}


