* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}

body {
    margin: 0;
    font-family: 'Kumbh Sans';
    background-color: #141414;
    color: #fff;
}

/*Navigation Bar*/
.navbar {
    background-color: #131313;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: #ffff00;
    background-image: linear-gradient(to top, #ffff00 0%, #ffa500 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: #ffa500;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    
}


.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
    gap: 1rem;
}

.navbar__item {
    padding: 0 20px;
}

.navbar__links {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px 15px;
    height: 100%;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    background-color: #fff;
    height: 3px;
    width: 25px;
    margin: 5px;
    transition: all 0.3s ease-in-out;
}


.navbar__links:hover {
    color: #ffa500;
    transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: flex;
        flex-direction: column;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -300px;
        left: 0;
        opacity: 0;
        height: 50vh;
        z-index: -1;
        background: #131313;
        transition: top 0.3s ease;
    }

    .navbar__menu.is-active {
        top: 80px; 
        opacity: 1;
        z-index: 99;
    }
    .navbar__toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        display: block;
        cursor: pointer;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
        color: #fff;
    }

    #mobile__menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    #mobile__menu.is-active + .navbar__menu {
        top: 80px;
        opacity: 1;
        z-index: 99;
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }


    #mobile__menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile__menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile__menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/*Main section*/
.main__container {
    padding: 2rem;
    text-align: center;
}

.section__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/*Category buttons*/
.category__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.filter__btn {
    background-image: linear-gradient(to top, #ff0844 0%, #ffa500 100%);
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter__btn.active,
.filter__btn:hover {
    background-color: #ffa500;
    color: #fff;
}

.view__cart__container {
    text-align: right;
    margin: 1rem 2rem;
}

#viewCartBtn {
    background-image: linear-gradient(to top, #ffa500 0%, #ff0844 100%);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px rgba(255, 165, 0, 0.3);
}

#viewCartBtn:hover {
    background-image: linear-gradient(to top, #ff0844 0%, #ff5500 100%);
    transform: scale(1.05);
}

/*Product grid*/
.product__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product__card {
    background-color: #1e1e1e;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(255, 165, 0, 0.2);
    transition: transform 0.3s ease;
}

.product__card:hover {
    transform: translateY(-5px);
}

.product__card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.controls input[type="text"],
.controls select {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    outline: none;
}

.controls input[type="text"] {
    width: 250px;
}

.controls select {
    background-color: #ffa500;
    color: #141414;
    font-weight: bold;
}

/*Modal Styling*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal__content {
    background-color: #1e1e1e;
    box-shadow: 0px 4px 10px rgba(255, 165, 0, 0.2);
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
}

.modal__content img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 1rem;
} 

.modal__content .close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
}