/* BMStore - Estilos Gerais */

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --success-color: #27ae60;
    --text-color: #333;
    --light-color: #ecf0f1;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 350px;
    min-width: 200px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
    transition: var(--transition);
    object-fit: contain;
}

/* Support for SVG */
svg.logo-image {
    height: 70px;
    width: auto;
}

.logo-image:hover {
    filter: drop-shadow(0 4px 10px rgba(233, 69, 96, 0.5));
    transform: scale(1.02);
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 0.5rem;
}

.logo-text {
    /* Removido - usando imagem SVG agora */
    display: none;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.navbar a:hover {
    color: var(--accent-color);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.contact-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.whatsapp-btn {
    background-color: #25d366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.whatsapp-btn:hover {
    background-color: #1fA860;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a2e" width="1200" height="600"/><circle cx="100" cy="100" r="50" fill="%23e94560" opacity="0.1"/><circle cx="1100" cy="500" r="80" fill="%23e94560" opacity="0.1"/></svg>');
    background-attachment: fixed;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: slideInDown 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ddd;
    animation: slideInUp 0.8s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.highlight {
    text-align: center;
    padding: 1rem;
}

.highlight-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.highlight p {
    font-size: 0.95rem;
    color: white;
    font-weight: 600;
}

/* Botões */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #d13d51;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
}

.btn-add-cart {
    background-color: var(--success-color);
    color: white;
    width: 100%;
}

.btn-add-cart:hover {
    background-color: #229954;
}

/* Seção de Consoles */
.consoles {
    padding: 4rem 0;
    background-color: white;
}

.consoles h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.console-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.console-card {
    background: white;
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.console-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.2);
    transform: translateY(-5px);
}

.console-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.console-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.console-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Seção de Produtos */
.produtos {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.produtos h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Seção de Ofertas */
.ofertas {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.ofertas h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 10;
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.product-card .price {
    padding: 0 1.5rem;
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.product-card .description {
    padding: 0 1.5rem 1rem;
    color: #666;
    font-size: 0.9rem;
}

.product-card .specs {
    padding: 0 1.5rem 0.5rem;
    color: #999;
    font-size: 0.85rem;
    font-style: italic;
}

.product-card .btn {
    margin: 1rem;
    width: calc(100% - 2rem);
}

/* Seção Troca Games */
.troca-games {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.troca-games h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.troca-games .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 3rem;
}

.troca-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.troca-info h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.troca-info ol {
    list-style-position: inside;
    line-height: 2;
    font-size: 1rem;
    color: #ddd;
}

.troca-info li {
    margin-bottom: 0.5rem;
}

.troca-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-color);
    text-align: center;
}

.troca-cta p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: white;
}

/* Seção About */
.about {
    padding: 4rem 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
}

/* Seção Contato */
.contato {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: white;
}

.contato h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.contact-form button {
    align-self: center;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 3px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.footer-logo p {
    color: #bbb;
    font-size: 0.9rem;
}

.footer-info h4,
.footer-social h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-info p {
    color: #ddd;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-number {
        font-size: 1.8rem;
    }

    .logo-name {
        font-size: 1.3rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .console-grid,
    .product-grid,
    .features {
        grid-template-columns: 1fr;
    }

    .consoles h2,
    .produtos h2,
    .about h2,
    .contato h2,
    .ofertas h2,
    .troca-games h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        display: none;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-number {
        font-size: 1.4rem;
    }

    .logo-name {
        font-size: 1rem;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .hero-highlights {
        flex-direction: column;
    }
}
