@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allerta&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allerta&family=Allura&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allerta&family=Allura&family=Archivo:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* For easier rem calculations */
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
}

.navbar {
    width: 100%;
    background-color: white;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
    padding: 0.1rem 2rem;
    position: fixed; /* Optional: Fix navbar at the top */
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px; /* Center content with max width */
    margin: 0 auto;
}

.logo{
    margin-left:5%;
}

.logo img {
    width: 120px; /* Adjust logo size */
}

.menu-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem; 
    margin-right: 40%;
}

.menu-items li {
    list-style: none;
}

.menu-items a {
    text-decoration: none;
    color: black;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}

.menu-items a:hover {
    color: #379AE6;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%; /* Position below the parent item */
    left: 0;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    border-radius: 0.5rem;
    z-index: 999;
    min-width: 200px; /* Consistent dropdown width */
}

.dropdown-menu li {
    padding: 0.8rem 1.5rem;
    white-space: nowrap; /* Prevent text wrapping */
}

.dropdown-menu li a {
    color: black;
    font-size: 1.5rem;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    color: #379AE6;
    background-color: white;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.home-container{
    min-height: 95vh;
    width: auto;
    background-image: url(image/home.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 1%;
}

.home-page{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1.9em;
}
.home-text{
    padding: 7% 0 0 0;
    font-size: 4rem;
}

.heading{
    color: white;
    padding: 25% 0 0 0;
    text-align: center;
    font-family: 'Allerta';
}
.heading-part{
    color: white;
    font-family: 'Allura';
}

.description{
    color: white;
    font-family: 'Inter';
    font-size: 1.7rem;
    text-align: center;
}

.shop-button{
    padding: 0 0 0 40%;
}

.btn{
    align-items: center;
    display: inline-block;
    padding: 0.8em 1.5em;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    margin-top: 1em;
    font-weight: 500;
    font-size: 1.2rem;
}

.button{
    color: white;
    background: #379AE6;
    text-decoration: none;
    transition: transform 0.3s ease; 

}

.button:hover{
    transform: scale(1.05);

}

/* General Showcase Styles */
.showcase-container {
    width: 100%;
    padding: 2rem;
    background-color: white;
    text-align: center;
}

.showcase-content {
    max-width: 1200px;
    margin: 0 auto;
}

.text {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #333;
    margin-top: 5%;
}

.button-shop {
    margin-bottom: 2rem;
}

.butn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.butn.active {
    background: #379AE6;
    color: white;
}

.butn:not(.active) {
    background: transparent;
    color: #379AE6;
}

.butn:not(.active):hover {
    background: #297BB5;
    color: white;
}

#best-sellers.active {
    background-color: #379AE6;
    color: white;
}

#new-products.active {
    background-color: #379AE6;
    color: white;
}

/* Products Section */
.products-container {
    position: relative;
}

.products {
    display: none;
}

.products.active {
    display: block;
}

/* Carousel Styling */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.product-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 0;
    width: 100%;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
}

.left-btn {
    left: 1rem;
}

.right-btn {
    right: 1rem;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Product Card Styling */
.product {
    flex: 0 0 auto;
    width: 13em;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s;
}

.product:hover {
    transform: scale(1.05);
}

.product-link {
    text-decoration: none;
    color: inherit;
}

.product-image-container {
    position: relative;
}

.product-image {
    width: 100%;
    height: 12em;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #379AE6;
    color: white;
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 3px;
}

.product-details {
    padding: 1rem;
}

.product-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-details p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #777;
}

.original-price {
    text-decoration: line-through;
    color: gray;
    margin-right: 8px;
    font-size: 1.2em;
}

.discounted-price {
    color: #379AE6;
    font-weight: bold;
    font-size: 1.2em;
}



@media (max-width: 768px) {
    .product {
        width: 13em;
    }

    .carousel-btn {
        padding: 0.8rem;
    }
}

.quality-container {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.quality-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; 
    gap: 11rem;
    align-items: center;
    padding-top: 0
}

.quality {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    max-width: 200px; 
    transition: transform 0.3s ease;

}

.quality:hover{
    transform: scale(1.05);

}

.quality img {
    width: 90%;
    height: auto;
    margin-bottom: 1rem;
}

.quality-text {
    font-size: 2rem;
    word-wrap: break-word; 
    color: #323842;
    font-family: 'Archivo';
    padding-top: 2%;
}


footer {
    background-color: #1D2128;
    color: #ffffff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 10%;
    width: 100%;
    min-height: 42vh;
    font-family: 'Inter';
}


.footer-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
    flex-wrap: wrap;
    flex-direction: row;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-contact{
    text-align: left;
    padding-right: 8em;
}

.footer-logo img {
    width: 20vw;
    height: auto;
}


.footer-contact h3 {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.footer-contact p {
    margin: 5px 0;
    font-size: 0.8em;
}

.footer-menu{
    padding: 9em 0 0 15em;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu ul li {
    display: inline;
    margin: 0 1em 0 1em;
}

.footer-menu ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1em;
}

.footer-menu ul li a:hover {
    text-decoration: underline;
}


.footer-bottom-wrapper {
    border-top: 1px solid #555555; 
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}


.footer-bottom {
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
    font-size: 1.2rem;
}
.hamburger {
    display: none;
}

.contact-container{
    width: auto;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background-color: white;

}

.contact-content {
    width: 80%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 9%;
}

.contact-text {
    width: 50%;
    padding: 4% 4% 1% 4%;
    box-sizing: border-box;
}

.contact-us-text{
    font-family: 'Archivo';
    color: #323842;
    font-size: 5rem;
    padding-bottom: 2%;
}

.contact-us-para{
    font-family: 'Archivo';
    color: #323842;
    font-size: 1.3rem;
    padding-bottom: 2%;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label{
    font-family: 'Inter';
    color: #424955;
    font-size: 1.5rem;
    padding: 2% 0;
    font-weight: bold;
}

.contact-form input{
    padding: 2%;
    border-radius: 1.3rem;
    border: 1px solid #BCC1CA;
}

.contact-form textarea{
    padding: 2%;
    border-radius: 1.3rem;
    border: 1px solid #BCC1CA;
    margin-bottom: 5%;
}

.contact-form button{
    padding: 2%;
    color: white;
    background-color: #379AE6;
    border-radius: 2rem;
    border: 1px solid #379AE6;
    width: 40%;

}


.contact-image {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.contact-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 0.5vh;
        cursor: pointer;
        position: absolute;
        left: 2.5vw;
        top: 50%; 
        transform: translateY(-50%);
    }

    .hamburger span {
        display: block;
        height: 0.5vh;
        width: 5vw;
        background-color: #333;
        border-radius: 0.2vw;
    }

    .logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .menu-items {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: absolute;
        top: 8vh;
        left: 0;
        width: 60%;
        background-color: #fff;
        padding: 2vh 2vw;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        min-height: calc(100vh - 8vh);
        overflow-y: auto;
    }

    .menu-items.active {
        display: flex;
    }

    .menu-items li {
        width: 100%;
        text-align: left;
    }

    .menu-items a {
        font-size: 4.2vw;
        padding: 1vh 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
        padding-left: 2vw;
    }

    .dropdown-menu li a {
        padding: 1vh 0;
        font-size: 4.2vw;
    }

    .home-container{
        min-height: 90vh;
        width: auto;
        background-image: url(./image/home.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding-top: 1%;
    }

    .home-text{
        padding: 50% 0 0 0;
        font-size: 2.7rem;
    }
    
    .description{
        font-size: 1.6rem;
    }

    .text{
        font-size: 3.3rem;
    }

    .footer-menu{
        display: none;
    }

    .footer-bottom-wrapper{
        margin-top: 40%;
    }

    .footer-logo img{
        width: 70vw;
        margin-top: 10%;
        margin-left: 10%;
    }

    .footer-contact{
        padding-left: 4.5em;
        text-align: center;
        padding-right: 0;
    }

    .quality-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 2rem; 
        max-width: 1200px;
        margin: 0 auto; 
        align-items: center;
    }
    
    .quality {
        display: flex;
        flex-direction: column; 
        align-items: center;
        text-align: center;
        max-width: 200px; 
        transition: transform 0.3s ease;
    }
    
    .quality:hover {
        transform: scale(1.05);
    }
    
    .quality img {
        width: 50%;
        height: auto;
        margin-bottom: 1rem;
    }
    
    .quality-text {
        font-size: 1.5rem;
        word-wrap: break-word; 
        color: #323842;
        font-family: 'Archivo';
        padding-top: 2%;
        padding-left: 3%;
    }

    .contact-container{
        padding-top:25%;
    }
    .contact-content {
        flex-direction: column;
    }
    .contact-text, .contact-image {
        width: 100%;
    }
    .contact-image {
        margin-top: 20px;
    }
    .contact-us-text{
        font-size: 4rem;
        text-align: center;
    }

    .contact-us-para{
        font-size: 1.2rem;
        text-align: center;
    }
    
}

