/* --- VARIABLES DE COLOR --- */
:root {
    --bg-base: #050505;
    --bg-panel: #111111;
    --bg-card: #1a1a1a;
    --accent: #cc0000;
    --accent-hover: #ff1a1a;
    --text-main: #f2f2ef;
    --text-dim: #888888;
    --border: #333333;
}

/* --- RESET Y TIPOGRAFÍA --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
}

/* --- BARRA DE NAVEGACIÓN --- */
nav {
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.nav-logo-img {
    height: 70px; /* Tamaño optimizado para visibilidad */
    border-radius: 4px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--text-main);
}

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

/* --- SECCIÓN: INICIO (HERO) --- */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 85vh;
    padding: 20px;
    background: radial-gradient(circle at center, #1a0000 0%, var(--bg-base) 60%);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(204,0,0,0.3);
}

.hero .subtitle {
    font-family: 'Roboto Mono', monospace;
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-image-container {
    width: 800px;
    max-width: 95%;
    height: auto;
    min-height: 300px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    overflow: visible;
    animation: floatImage 4s ease-in-out infinite;
}

.hero-logo-display {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(204, 0, 0, 0.4));
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Resto de estilos del catálogo y carrito se mantienen igual para funcionalidad */
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-btn { background: none; border: none; color: var(--text-dim); cursor: pointer; text-transform: uppercase; font-weight: 500; font-size: 0.85rem; }
.nav-btn.active { color: var(--text-main); font-weight: 800; border-bottom: 2px solid var(--accent); }
.tab-content { display: none; padding-top: 90px; min-height: 100vh; animation: fadeIn 0.4s ease forwards; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.cta-btn { background-color: var(--accent); color: white; border: none; padding: 12px 30px; font-weight: 800; text-transform: uppercase; cursor: pointer; border-radius: 4px; transition: all 0.3s ease; }
.cta-btn:hover { background-color: var(--accent-hover); transform: translateY(-2px); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 20px; }
.amp-card { background-color: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease; }
.amp-img-placeholder { height: 200px; display: flex; justify-content: center; align-items: center; font-size: 2rem; color: #222; }
.amp-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; max-width: 1000px; margin: 0 auto; padding: 20px; }
.feature-card { background-color: var(--bg-card); border-left: 3px solid var(--accent); padding: 30px; border-radius: 8px; }
.cart-box { background-color: var(--bg-card); border: 1px solid var(--border); padding: 30px; border-radius: 8px; }
.cart-total span { font-size: 2.5rem; font-weight: 900; }
footer { background-color: var(--bg-panel); text-align: center; padding: 30px; margin-top: 50px; color: var(--text-dim); font-size: 0.8rem; }