/* Variables CSS para colores y fuentes */
:root {
    --primary-red: #ac0505;
    --black: #000000;
    --gray: #ddd;
    --text-gray: #ac0505 !important;
    --font-main: 'Poppins', sans-serif;
}

/* Estilos generales */
body {
    font-family: var(--font-main);
    color: var(--black);
    margin: 0;
    padding: 0;
}

h3, h4 {
    font-size: 32px !important;
    color: #ac0505 !important;
}

h2 {
    font-size: 46px !important;
    color: #ac0505 !important;
}

p, li {
    color: #000000 !important;
}


.parallax-window {
    width: 100%;
    background-size: cover;
    background-position: center;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

/* Footer */
.footer .footer-logo {
    width: 211px;
}

.footer .footer-list-link {
    color: var(--black);
}

/* Tablas generales */
table {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}

th, td {
    border: 1px solid var(--gray);
    padding: 8px;
    text-align: center;
}

th {
    background-color: var(--primary-red);
    color: white;
}

/* Titulares globales: h1-h6 con la fuente más grande y responsiva */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main) !important;
    color: var(--primary-red);
    font-size: 50px;
    font-weight: 700;
    margin: 0.5em 0;
}

/* Responsividad para títulos en dispositivos móviles */
@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 32px; }
    h3 { font-size: 28px; }
    h4 { font-size: 24px; }
    h5 { font-size: 20px; }
    h6 { font-size: 16px; }
}

/* Párrafos */
p {
    color: var(--black);
    font-size: 15px;
    margin: 0.5em 0;
}

/* Logo de la navbar */
.navbar .logo-img {
    width: 300px;
    height: auto;
}

/* Tablas adicionales */
.table {
    width: 100%;
    margin-top: 20px;
}

.table-bordered th,
.table-bordered td {
    padding: 12px;
    text-align: left;
}

/* Filas intercaladas en tablas */
.table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.table tbody tr:nth-child(even) {
    background-color: #ffcccc;
}

/* Estilos de header y navbar */
.header,
.navbar {
    background-color: var(--black);
    border: none;
}

/* Elementos destacados */
em,
li,
li a {
    font-size: 25px;
    font-weight: 500;
    color: var(--text-gray);
}

/* Imagen redondeada */
.rounded-image {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border: 10px solid var(--primary-red);
    background-color: var(--primary-red);
}

/* Título para tablas */
.table-title {
    color: var(--primary-red);
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Header "Supresores" */
.supre {
    color: var(--primary-red);
    font-size: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 1px white;
}

/* Tarjetas (cards) */
.contenedor-tarjetas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.tarjeta {
    padding: 20px;
    width: 30%;
    box-sizing: border-box;
    border: 2px solid var(--black);
    box-shadow: 10px 5px 5px var(--black);
    text-align: center;
    cursor: pointer;
}

.tarjeta img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.tarjeta img:hover {
    transform: scale(1.05);
}

.nombre-clasificacion {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.nombre,
.clasificacion {
    border: 2px solid var(--black);
    padding: 8px;
    font-size: 20px;
}

.tarjeta p {
    margin-top: 10px;
    line-height: 1.5;
}

/* Responsividad para tarjetas */
@media (max-width: 768px) {
    .tarjeta {
        width: 100%;
        margin-bottom: 20px;
    }
    .nombre-clasificacion {
        flex-direction: column;
    }
    .nombre,
    .clasificacion {
        padding: 6px;
        font-size: 12px;
    }
}

/* Modal para imagen completa */
.modal-imagen {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-contenido {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-imagen img {
    width: 60%;
    height: auto;
    display: block;
    margin: auto;
    border-radius: 10px;
}

.cerrar {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.cerrar:hover {
    color: #ff0000;
}

/* Footer de ancho completo */
.full-width-footer {
    width: 100%;
    background-color: var(--black);
    color: white;
    padding: 20px 0;
    margin: 0;
}

.full-width-footer a {
    color: white;
}
