*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: IBM Plex Sans;
    color: white;
    background: #171717;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* HEADER */

header {

    top: 0;
    left: 0;
    width: 100%;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    width: 150px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 35px;
}

.cart-icon {
    position: relative;
    margin-left: 15px;
    cursor: pointer;
}

.cart-icon img {
    width: 32px;
    height: 32px;
    transform: translateY(1.2px);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -8px;
    background: red;
    color: white;
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#menu-toggle {
    display: none;
}

.hamburger-menu {
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
    margin-right: 10px;
}

.hamburger-menu:hover {
    opacity: 60%;
}

.hamburger-menu img {
    width: 100%;
    height: auto;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 12000;
}

#menu-toggle:checked ~ .mobile-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu .logo {
    width: 260px;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.mobile-menu-links a{
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
}

.mobile-menu-links a:hover {
    opacity: 0.6;
}

.social-media-mobile-menu {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 60px;
}

.social-media-mobile-menu img {
    width: 35px;
    height: 35px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.social-media-mobile-menu img:hover {
    opacity: 1;
}

/* STORE HEADER */
.store-header {
    margin-top: 90px;
    margin-left: 80px;
    margin-bottom: 40px;
}

.store-header h1 {
    background: white;
    color: #131514;
    display: inline-block;
    padding: 0px 20px;
    font-size: clamp(2rem, 3rem, 4rem);
    text-transform: uppercase;
    font-weight: 500;
}

.store-header p {
    margin-top: 10px;
    color: #ccc;
    font-size: clamp(1rem, 1.4rem, 1.6rem);
}

/* STORE GRID */
.store-grid {
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.store-card {
    position: relative;
    height: 500px; /* mai mare decât 420px */
    overflow: hidden;
    cursor: pointer;
}

.store-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.store-card:hover .store-img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.store-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.store-card:hover .store-overlay {
    opacity: 1;
}

.store-overlay h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.store-overlay p {
    margin-bottom: 1rem;
    color: #ccc;
}
/*
.store-btn {
    border: 2px solid white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.store-btn:hover {
    background: white;
    color: #131514;
}
*/
/* FOOTER */

footer {
    text-align: center;
    margin-top: 70px;

}

footer .footer-logo {
    margin-bottom: 25px;
    height: 85px;
}

footer .social {
    text-align: center;
    margin-bottom: 10px;
}

.social a {
    text-decoration: none;
}

.social img {
    width: 30px;
    height: 30px;
    margin-left: 15px;
    margin-right: 15px;
    display: inline-block;
    transition: opacity 0.3s;
}

.social img:hover {
    opacity: 60%;
}

footer ul {
    margin-top: 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}

footer ul > li {
    display: inline-block;
    padding: 0 15px;
}

footer ul li a {
    text-decoration: none;
    color: white;
    transition: opacity 0.3s;
}

footer ul li a:hover {
    opacity: 60%;
}

footer .copyright {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    margin-bottom: 30px;
    color: #ccc;
}

@media (max-width: 1200px) {
    .store-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 40px;
    }
}

@media (max-width: 600px) {
    .store-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .store-card {
        height: 350px;
    }
}


@media (max-width: 768px) {
    .store-header {
        margin: 90px 1.5rem 30px 1.5rem;
    }

    .store-header h1 {
        font-size: 2rem;
        padding: 4px 14px;
    }

    .store-header p {
        font-size: 1.1rem;
    }

    .store-grid {
        padding: 0 1.5rem;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .store-card {
        height: 340px;
    }
}

@media (max-width: 600px) {

    .logo {
        width: 128px;
    }

    .nav {
        padding: calc(env(safe-area-inset-top, 0px) + 1.2rem) 1.15rem 0.6rem;
    }

    .hamburger-menu {
        width: 34px;
        height: 34px;
        margin-right: 0;
    }

    .close-menu {
        top: calc(env(safe-area-inset-top, 0px) + 1.1rem);
        right: 1.1rem;
        font-size: 2.8rem;
    }

    .mobile-menu .logo {
        width: 280px;
    }

    .mobile-menu-links {
        gap: 2.8rem;
    }

    .mobile-menu-links a {
        font-size: 1.75rem;
        letter-spacing: 0.16em;
    }

    .social-media-mobile-menu {
        gap: 30px;
        margin-top: 70px;
    }

    .social-media-mobile-menu img {
        width: 40px;
        height: 40px;
    }

    .store-header {
        margin: 80px 1rem 25px 1rem;
        text-align: left;
    }

    .store-header h1 {
        font-size: 1.6rem;
        padding: 3px 10px;
    }

    .store-header p {
        font-size: 0.95rem;
    }

    .store-grid {
        padding: 0 1rem;
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .store-card {
        height: 280px;
    }

    .store-overlay h3 {
        font-size: 1.1rem;
    }

    .store-overlay p {
        font-size: 0.85rem;
    }
/*
    .store-btn {
        padding: 0.35rem 0.9rem;
        font-size: 0.9rem;
    }
*/
    footer .footer-logo {
        height: 72px;
    }

    .social img {
        width: 30px;
        height: 30px;
        margin: 0 11px;
    }

    footer ul {
        font-size: 15px;
        line-height: 1.75;
    }

    footer ul li {
        display: block;
        padding: 4px 0;
    }

    footer .copyright {
        margin-top: 12px;
        margin-bottom: 24px;
    }
}

