/* site/home/index.css */

/* --- Variáveis de Cores (Baseadas nas imagens) --- */
:root {
    --bg-color: #06060c; /* Roxo extremamente escuro, quase preto */
    --card-bg-color: #11111f; /* Roxo escuro para cards */
    --text-color: #ffffff;
    --text-muted: #888899;
    --primary-neon: #a040ff; /* Roxo neon principal */
    --secondary-neon: #bf80ff; /* Roxo neon mais claro */
    --highlight-pink: #ff00ff; /* Opcional: Rosa neon para detalhes */
    --border-color: #2a2a40;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Fonte padrão limpa */
}

/* --- Resets Básicos --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

/* --- Header & Navbar (image_0.png) --- */
header {
    background-color: rgba(6, 6, 12, 0.95); /* Semi-transparente */
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--primary-neon);
    background-color: #201040; /* Fundo do ícone */
    padding: 10px;
    border-radius: 12px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-muted);
    font-size: 1rem;
}

nav a:hover, nav a.active {
    color: var(--text-color);
}

nav a.active {
    background-color: #1a1a30;
    padding: 8px 15px;
    border-radius: 8px;
}

.cart-icon {
    font-size: 1.3rem;
    color: var(--text-muted);
}

/* --- Hero Section (image_0.png) --- */
.hero {
    padding-top: 150px; /* Desconto do header fixed */
    padding-bottom: 100px;
    position: relative;
    text-align: center;
    background-image: linear-gradient(to bottom, rgba(6,6,12,0.8), rgba(6,6,12,1)), url('city_neon.jpg'); /* Adicione uma imagem se tiver */
    background-size: cover;
    background-position: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    position: relative;
}

.badge {
    background-color: rgba(160, 64, 255, 0.15);
    color: var(--secondary-neon);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(160, 64, 255, 0.3);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero .highlight {
    color: var(--primary-neon);
    text-shadow: 0 0 15px rgba(160, 64, 255, 0.7);
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: var(--primary-neon);
    color: white;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background-color: var(--secondary-neon);
    box-shadow: 0 0 15px rgba(160, 64, 255, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 15px 30px;
}

.btn-secondary:hover {
    background-color: var(--card-bg-color);
}

/* --- Categorias Base (image_1.png e image_2.png) --- */
.categories, .categories-advanced {
    display: grid;
    gap: 20px;
    margin-bottom: 60px;
}

.categories {
    grid-template-columns: repeat(3, 1fr);
}

.categories-advanced {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 20px; /* Espaço para as tags abaixo */
}

.category-card, .category-card-lg {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 20px;
    transition: 0.3s;
}

.category-card:hover, .category-card-lg:hover {
    border-color: var(--primary-neon);
    transform: translateY(-5px);
}

.category-card {
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-card-lg {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    text-align: center;
    height: 150px; /* Exemplo de altura maior para image_2.png */
}

.cat-icon {
    color: var(--primary-neon);
    font-size: 1.3rem;
}

.cat-icon-lg {
    color: var(--primary-neon);
    font-size: 2.5rem;
}

/* --- Mini Tags (image_2.png) --- */
.mini-tags-container {
    grid-column: 1 / -1; /* Ocupa todas as colunas do grid */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px 0;
}

.mini-tag {
    background-color: var(--card-bg-color);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.mini-tag:hover {
    color: var(--text-color);
    border-color: var(--text-muted);
}

/* --- Destaques & Produtos (image_3.png e image_4.png) --- */
.featured {
    margin-bottom: 100px;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    position: relative;
}

.featured-header h2 {
    font-size: 2rem;
}

.featured-header p {
    color: var(--text-muted);
}

.see-all {
    color: var(--primary-neon);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Conforme image_3.png */
    gap: 20px;
}

.product-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.product-card:hover {
    border-color: rgba(160, 64, 255, 0.5);
}

.product-image-placeholder {
    height: 200px; /* Altura da área da imagem */
    background-color: #0c0c16; /* Fundo interno ligeiramente diferente */
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.product-box-icon {
    font-size: 3rem;
    color: rgba(136, 136, 153, 0.2); /* Ícone de caixa muito suave, como na imagem */
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--primary-neon);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-neon);
}

.add-to-cart-btn {
    background-color: #1a1a30;
    color: var(--primary-neon);
    padding: 10px;
    border-radius: 8px;
}

.add-to-cart-btn:hover {
    background-color: var(--primary-neon);
    color: white;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Adicione ao final do index.css */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--highlight-pink);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
    border: 2px solid var(--bg-color);
}

.product-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.5s;
}

.product-card:hover img {
    opacity: 1;
    transform: scale(1.05);
}