@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=devanagari,latin-ext');

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 23px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: rgba(10, 10, 20, 0.4);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 20px;
    transition: all 0.3s ease;
}

.logo img {
    height: 70px;
    transition: all 0.3s ease;
}

.logo p {
    color: transparent;
    font-size: 15px;
    position: absolute;
    left: 70px;
    padding-bottom: 0;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: 'Poppins', sans-serif;
}

.logo:hover img {
    transform: translateX(-20px) scale(1.1);
    filter: drop-shadow(0 0 10px black);
}

.logo:hover p {
    color: white;
    text-shadow: 0 0 10px black;
    transform: translateX(0);
    opacity: 1;
    padding: 8px;
    font-weight: bold;
    top: -15px;
    left: 50px;
    animation: popIn 0.5s ease forwards;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 80px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    left: 550px;
    top:-5px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    padding: 3px 3px;
    font-weight: bold;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: white;
    text-shadow: 0 0 10px black;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px white);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(10, 10, 20, 0.9);
    min-width: 160px;
    max-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: none;
    flex-direction: column;
    margin-top:10px;
}

.dropdown-menu li {
    display: flex;
    align-items: center;
    padding: 20px;
    left:-50px;
}

.dropdown-menu li i {
    margin-right: 10px;
    font-size: 16px;
    line-height: 1;
}

.dropdown-menu li a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    line-height: 1;
    display: flex;
    align-items: center;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.nav-links li:hover .dropdown-menu {
    display: block;
}

.character {
    position: absolute;
    right:240px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1001;
}

.character img {
    width: 40px;
    height: auto;
    transition: transform 0.3s ease;
}

.character img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px white);
    transform: scale(1.1);
    animation: popIn 0.5s ease forwards;
}

.character:active img {
    transform: scale(0.95);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    left: 480px;
}

.social-icons a img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.social-icons a img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px white);
    transform: scale(1.1);
    animation: popIn 0.5s ease forwards;
}

.shopping-cart {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    left: -400px;
}

.shopping-cart a img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.shopping-cart p {
    color: transparent;
    font-size: 15px;
    position: absolute;
    left: 70px;
    padding-bottom: 0;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: 'Poppins', sans-serif;
}

.shopping-cart:hover img {
    transform: translateX(-20px) scale(1.1);
    filter: drop-shadow(0 0 10px black);
}

.shopping-cart:hover p {
    color: white;
    text-shadow: 0 0 10px black;
    transform: translateX(0);
    opacity: 1;
    padding: 8px;
    font-weight: bold;
    width: 200px;
    top: -20px;
    left: 30px;
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.product-display {
    display: flex;
    margin-top: 100px;
    padding: 20px;
    background: #fff;
}

.product-image img {
    width: 592px;
    height: 855px;
    margin-left: 300px;
    margin-right: 100px;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;


}

.color-circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;

}

.color-circle:hover {
    transform: scale(1.55);
}

.product-description {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    left:50px;
}

.toggle-section {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: grey;
    font-weight: bold;
    cursor: pointer;
    margin-right: 30px;
    position: relative;
    transition: color 0.3s ease;
}

.toggle-section::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.toggle-section:hover::after {
    background-color: grey;
}

.toggle-section.active {
    color: black;
}

.toggle-section.active::after {
    background-color: black;
}

.description-content {
    margin-top: 20px;
    overflow: hidden;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    position: relative;
}

.description-text {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    text-align: justify;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
}

.description-text.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.rating {
    color: #f80;
    font-size: 16px;

}

.price {
    font-size: 24px;
    color: #111;

}

.size-selection {
    font-family: 'Poppins', sans-serif;
    margin-bottom:50px;
    margin-top:40px;

}

.size-selection label,
.size-selection select {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #333;
}

.size-selection select {
    padding: 8px;
    border: 3px solid #ccc;
    border-radius: 4px;
    background-color: white;
    margin-left:5px;
    font-weight: bold;
}

.btn-add-to-cart {
    padding: 10px 20px;
    background: #545454;
    color: white;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;

}

.btn-add-to-cart:hover {
    background-color: #555;
    transform: scale(1.05);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-section {
    position: relative;
    top:20vh;
    background-color:rgba(10, 10, 20, 0.8);
    color: white;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
}

.footer-section h6 {
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 15px;
}

.footer-section p,
.footer-section a {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ddd;
    text-decoration: underline;
}

.footer-section hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.footer-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-section .col-md-3,
.footer-section .col-md-2,
.footer-section .col-md-4 {
    margin-bottom: 20px;
    width:200px;
}

.footer-section .social-icons {
    display: flex;
    justify-content: flex-end;
    left:-10px;
}

.footer-section .social-icons .btn {
    border-radius: 50%;
    font-size: 14px;
    line-height: 35px;
    height: 25px;
    width: 25px;
    margin-left: 20px;
    border-color: white;
}

.footer-section .social-icons .btn i {
    color: white;
}

@media (max-width: 768px) {
    .footer-section .row {
        text-align: center;
        flex-direction: column;
    }

    .footer-section .col-md-3,
    .footer-section .col-md-2,
    .footer-section .col-md-4 {
        margin-bottom: 20px;
    }

    .footer-section .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .product-display {
        flex-direction: column;
        align-items: center;
    }

    .product-image img {
        max-width: 100%;
    }
}
