/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #111;
    background: #f1f1f1;
    /* fundo claro padrão */
}

/* ===== HEADER ===== */
.header {
    width: 100%;
    background: #111;
    color: #fff;
    position: fixed;
    top: 0;
    z-index: 2000;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* LOGO */
.logo h2 {
    font-weight: 700;
    cursor: pointer;
}

/* NAV */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff3c3c;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
}

/* RESPONSIVO HEADER */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #111;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links {
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        gap: 20px;
    }

    .hamburger {
        display: flex;
    }
}

/* ===== HERO BANNER ===== */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero .slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero .slider img.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }
}

/* ===== SEÇÕES ===== */

/* VEM SER LIZARD - branca */
.vem-ser-lizard {
    padding: 80px 0;
    background: #fff;
    color: #111;
    text-align: center;
}

.vem-ser-lizard h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vem-ser-lizard p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin: auto;
    line-height: 1.5;
}

.vem-ser-lizard .cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.vem-ser-lizard .card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.vem-ser-lizard .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.vem-ser-lizard .card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.vem-ser-lizard .card h3 {
    font-size: 1.2rem;
}

/* SEÇÕES ESCURAS */
.regatas,
.camisas,
.bermudas,
.combos {
    padding: 80px 0;
    background: #111;
    color: #fff;
    text-align: center;
}

.regatas h2,
.camisas h2,
.bermudas h2,
.combos h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.regatas p,
.camisas p,
.bermudas p,
.combos p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin: auto;
    line-height: 1.5;
}

.regatas .cards,
.camisas .cards,
.bermudas .cards,
.combos .cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.regatas .card,
.camisas .card,
.bermudas .card,
.combos .card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    color: #111;
}

.regatas .card:hover,
.camisas .card:hover,
.bermudas .card:hover,
.combos .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.regatas .card img,
.camisas .card img,
.bermudas .card img,
.combos .card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.regatas .card h3,
.camisas .card h3,
.bermudas .card h3,
.combos .card h3 {
    font-size: 1.2rem;
    color: #111;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .regatas h2,
    .camisas h2,
    .bermudas h2,
    .combos h2,
    .vem-ser-lizard h2 {
        font-size: 2.2rem;
    }

    .regatas p,
    .camisas p,
    .bermudas p,
    .combos p,
    .vem-ser-lizard p {
        font-size: 1rem;
    }

    .regatas .cards,
    .camisas .cards,
    .bermudas .cards,
    .combos .cards,
    .vem-ser-lizard .cards {
        gap: 15px;
        justify-content: center;
    }

    .regatas .card,
    .camisas .card,
    .bermudas .card,
    .combos .card,
    .vem-ser-lizard .card {
        width: 90%;
        margin-bottom: 20px;
        padding: 15px;
    }
}

/* ===== MODAL PRODUTO ===== */
.product-modal,
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 5000;
    justify-content: center;
    align-items: center;
}

.product-modal .modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    /* ocupa boa parte da tela */
    max-width: 600px;
    /* não fica gigante em telas grandes */
    text-align: center;
    position: relative;
    max-height: 90vh;
    /* ocupa até 90% da altura da tela */
    overflow-y: auto;
    /* só ativa scroll se passar da altura da tela */
}

.product-modal img {
    width: auto;
    /* mantém proporção real */
    max-width: 65%;
    /* ocupa no máximo 80% do modal */
    height: auto;
    /* mantém proporção */
    max-height: 250px;
    /* limita altura máxima */
    object-fit: contain;
    /* mantém a imagem inteira sem corte */
    border-radius: 10px;
    margin-bottom: 20px;
    max-width: 85%;
    /* usa melhor o espaço no mobile */
    max-height: 220px;
    /* um pouco menor ainda */
    margin-top: 0;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
}

.modal-slider img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    display: none;
}

.modal-slider img.active {
    display: block;
}

.thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
}

.thumbnails img.active {
    border-color: #ff3c3c;
}

/* Botão comprar */
.buy-btn {
    background: #ff3c3c;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.buy-btn:hover {
    background: #e63636;
}

/* ===== CARRINHO ===== */
.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.4rem;
}

.cart-icon span {
    background: red;
    color: #fff;
    font-size: 0.8rem;
    padding: 3px 7px;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    right: -10px;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 1500;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    background: #111;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.quantity-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 5px;
}

.quantity-controls button {
    padding: 2px 8px;
    cursor: pointer;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
}

.cart-footer button {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* ===== FOOTER ===== */
.footer {
    background: #111;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-top: 2px solid #ff3c3c;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-title {
    font-size: 28px;
    font-weight: 700;
}

.footer-text {
    font-size: 14px;
    opacity: 0.8;
    max-width: 500px;
}

.footer-social {
    display: flex;
    gap: 25px;
    margin-top: 10px;
}

.footer-social a {
    font-size: 26px;
    color: #fff;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #ff3c3c;
    transform: scale(1.2);
}

.footer-bottom {
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.6;
}