/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fontes e cores globais */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #F7F7F7;
    color: #737B97;
}

/* Header */
header {
    background-color: #12155D;
    padding: 15px 20px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

header .logo img {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease;
}

header .logo img:hover {
    transform: scale(1.1);
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

header nav ul li a {
    color: #737B97;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

header nav ul li a:hover {
    color: #702DFA;
    transform: scale(1.05);
}

/* Botões especiais */
header nav ul li:first-child a {
    background-color: #f0582c;
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

header nav ul li:first-child a:hover {
    background-color: #218838;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(33, 136, 56, 0.5);
}

/* Barra de busca */
header .search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .search-bar input {
    padding: 10px;
    border: 1px solid #A376FF;
    border-radius: 25px;
    font-size: 14px;
    flex: 1;
}

header .search-bar button {
    padding: 10px 15px;
    background-color: #702DFA;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

header .search-bar button:hover {
    background-color: #A376FF;
}

/* Banner */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 500px;
}

.banner-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Produtos */
.products {
    padding: 40px 20px;
    background-color: #FFFFFF;
    text-align: center;
}

.product-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product-card {
    background-color: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 calc(20% - 20px);
    max-width: calc(20% - 20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-card h3 {
    font-size: 18px;
    color: #702DFA;
    margin: 15px 0;
}

.product-card .price {
    color: #0FB930;
    font-weight: bold;
}

.product-card .old-price {
    color: #606781;
    text-decoration: line-through;
}

.product-card .btn-primary {
    background-color: #702DFA;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.product-card .btn-primary:hover {
    background-color: #A376FF;
}

/* Footer */
footer {
    background-color: #12155D;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 1200px) {
    .product-card {
        flex: 1 1 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    header .search-bar input {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .search-bar {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    header .search-bar input {
        width: 100%;
    }
}
