/* Configuración General */
:root {
    --danger-red: #E63946;
    --black-matte: #0b0b0b;
}

body {
    font-family: 'Roboto', sans-serif;
    padding-top: 70px; /* Evita que el hero se meta bajo el navbar en desktop */
}

.oswald-font { font-family: 'Oswald', sans-serif; letter-spacing: 1px; }

/* NAVBAR: Logo y Filtro */
.custom-nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-img {
    height: 40px;
    width: auto;
    /* FILTRO MÁGICO: Convierte el logo negro en blanco brillante */
    filter: invert(1) brightness(2);
}

/* HERO SECTION: Solución Mobile Overlap */
.hero-section {
    position: relative;
    height: 80vh; /* Altura más segura que 100vh para móviles */
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?q=80&w=1920') no-repeat center center/cover;
    display: flex;
    align-items: center;
}

.hero-container {
    z-index: 2;
    padding-top: 20px;
}

.overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(11,11,11,1) 100%);
}

/* Tipografía Fluida (Evita que se monte en móviles) */
.hero-title {
    font-weight: 900;
    font-size: calc(2.5rem + 3vw); /* Escala según el ancho de pantalla */
    line-height: 1;
    margin-bottom: 0;
}

.hero-subtitle {
    font-size: calc(1.5rem + 2vw);
    margin-top: -5px;
}

/* Cards Modernas */
.category-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-top: 3px solid var(--danger-red);
    transition: 0.3s;
}

.category-card:hover {
    background: #222;
    transform: translateY(-5px);
}

/* Ajustes específicos para Smartphones (Motorola G15 / Android) */
@media (max-width: 576px) {
    body { padding-top: 60px; }
    .hero-section { height: 70vh; min-height: 450px; }
    .hero-title { font-size: 3.2rem; }
    .hero-subtitle { font-size: 1.8rem; }
    .btn-lg { width: 100%; font-size: 1rem; }
}
