/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #007b9e;
    color: #fff;
    padding: 10px 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 60px;
    width: auto;
}

header h1 {
    margin: 0 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.hero {
    text-align: center;
    padding: 100px 20px;
    background-image: url('../fotos_y_otros/camara_seguridad_banner.jpg'); /* Ruta de la imagen de fondo */
    background-size: cover;
    background-position: center;
    color: #fff; /* Texto en blanco para que contraste con el fondo */
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Capa de color oscuro para mejorar el contraste*/
    z-index: 1;
}

.hero h2,
.hero p,
.hero .cta {
    position: relative;
    z-index: 2; /* Asegura que el texto esté sobre la capa de color */
}




#oferta {
    background-color: #ffcc00;
    padding: 10px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
}

#catalogo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.producto {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 300px;
    text-align: center;
}

/* Ajuste para las imágenes del producto */
.producto-imagen {
    width: 100%;
    height: 200px; /* Todos con el mismo tamaño */
    object-fit: contain; /* Ajusta la imagen sin recortarla, manteniendo su proporción */
    border-radius: 8px;
    margin-bottom: 15px;
}


/* .producto-imagen {
    width: 100%;
    height: 200px; /* Todos con el mismo tamaño *
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
} */

.producto h3 {
    color: #007b9e;
}

.oferta {
    color: #d9534f;
    font-size: 1.2em;
    margin-top: 10px;
}

/* Ajustes para el precio */
.producto p {
    font-size: 1em;
}

.producto label {
    margin-right: 10px;
}

.producto input {
    width: 60px;
    padding: 5px;
}

.producto button {
    background-color: #007b9e;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.producto button:hover {
    background-color: #005f7f;
}

footer {
    background-color: #007b9e;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}