/* =================================
   ROCHA CAPS - OFFICIAL DESIGN
================================= */

:root {
    --black: #050505;
    --dark: #101010;
    --red: #ed1018;
    --white: #ffffff;
    --gray: #aaaaaa;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
}

/* ANNOUNCEMENT */

.announcement {
    background: var(--red);
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
}

/* HEADER */

.header {
    min-height: 85px;
    padding: 20px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #080808;
    border-bottom: 1px solid #292929;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    color: white;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1px;
    white-space: nowrap;
    text-decoration: none;
}

.logo span {
    color: var(--red);
}

.navigation {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.navigation a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    transition: 0.3s;
}

.navigation a:hover {
    color: var(--red);
}

.header-actions button {
    background: transparent;
    color: white;
    border: 1px solid #555;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: bold;
}

#wishlistCount {
    color: var(--red);
}

/* HERO */

.hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px 7%;
    text-align: center;
    background:
        radial-gradient(
            ellipse at center,
            #260606 0%,
            #100303 35%,
            #050505 75%
        );
    border-bottom: 1px solid #252525;
}

.hero-content {
    width: 100%;
    max-width: 950px;
}

.hero-label {
    color: var(--red);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

/* ANIMATED LOGO */

.hero-logo-animation {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 25px;
    overflow: hidden;
}

.brand-video {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    margin: auto;
    mix-blend-mode: screen;
}

/* HERO TEXT */

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--red);
}

.hero-description {
    color: #cccccc;
    font-size: 15px;
    line-height: 1.8;
    max-width: 550px;
    margin: 22px auto 30px;
}

.hero-button {
    display: inline-block;
    padding: 17px 32px;
    background: var(--red);
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: 0.3s;
}

.hero-button:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
}

/* SECTION HEADINGS */

.categories,
.products-section,
.wishlist-section {
    padding: 85px 7%;
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading p {
    color: var(--red);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* CATEGORIES */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-card {
    min-height: 180px;
    padding: 25px;
    background: linear-gradient(145deg, #1d1d1d, #101010);
    border: 1px solid #292929;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}

.category-card span {
    color: var(--red);
    font-size: 13px;
}

.category-card h3 {
    font-size: 20px;
    letter-spacing: 1px;
}

.category-card:hover {
    border-color: var(--red);
    background: #1b0808;
    transform: translateY(-5px);
}

/* PRODUCTS */

.products-section {
    background: #101010;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: #171717;
    border: 1px solid #292929;
    overflow: hidden;
    transition: 0.3s;
}

.product-card:hover {
    border-color: var(--red);
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #222;
}

.product-info {
    padding: 18px;
}

.product-info h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.product-info p {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 12px;
}

.product-price {
    color: var(--red);
    font-size: 18px;
    font-weight: bold;
}

.product-card button {
    width: 100%;
    padding: 13px;
    margin-top: 15px;
    background: var(--red);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* WISHLIST */

.wishlist-section {
    background: #080808;
}

#wishlistItems {
    color: #cccccc;
    padding: 20px 0;
}

#shareWishlistButton {
    padding: 15px 25px;
    margin-top: 20px;
    background: var(--red);
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* FOOTER */

.footer {
    padding: 55px 7%;
    text-align: center;
    background: #111;
    border-top: 1px solid #292929;
}

.footer .logo {
    margin-bottom: 20px;
}

.footer p {
    color: #888;
    font-size: 11px;
    margin-top: 15px;
    letter-spacing: 1px;
}

/* MOBILE */

@media (max-width: 900px) {
    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header {
        flex-wrap: wrap;
    }

    .hero {
        min-height: 600px;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 18px 5%;
    }

    .navigation {
        width: 100%;
        gap: 15px;
    }

    .hero {
        min-height: 550px;
        padding: 50px 5%;
    }

    .brand-video {
        max-height: 300px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .categories,
    .products-section,
    .wishlist-section {
        padding: 55px 5%;
    }

    .category-card {
        min-height: 140px;
        padding: 15px;
    }

    .category-card h3 {
        font-size: 16px;
    }

    .section-heading h2 {
        font-size: 26px;
    }
}