/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background-gradient: linear-gradient(#200016, #10001f);
    --white: #fff;
    --black-translucent: rgba(0, 0, 0, 0.3);
    --grey: #555;
}

body {
    background: var(--background-gradient);
    font-family: system-ui, sans-serif;
    color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--white);
}

header {
    position: absolute;
    width: 95%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px;
}

header .logo {
    font-size: 30px;
    text-transform: uppercase;
}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

header ul li {
    margin-right: 30px;
}

header ul li a {
    padding: 6px 15px;
    border-radius: 20px;
}

header ul li a:hover, .active {
    background: var(--white);
    color: #200016;
}


/* Product page styles */

.shop {
    margin-top: 2rem;
    padding: 0 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 150px;
}

.shop-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px var(--black-translucent);
}

.product-img {
    width: 100%;
    height: 350px;
    display: block;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.2rem;
    margin: 10px 0;
    color: var(--white);
}

.product-price {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.add-cart {
    font-size: 2rem;
    color: var(--white);
    text-align: center;
    margin-top: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}
