/* Estilos generales */
body {
    font-family: 'Arial', sans-serif; /* Aplicar Arial, sans-serif en toda la web */
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    padding-top: 56px; /* Ajuste para el menú fijo */
}

/* Asegurar que todos los elementos hereden la tipografía */
* {
    font-family: inherit; /* Heredar la tipografía del body */
}

/* Header */
header {
    background: #000; /* Fondo negro */
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000; /* Asegura que el menú esté por encima de otros elementos */
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

/* Estilos para el botón de WhatsApp */
.btn-whatsapp {
    background-color: #25D366; /* Color de WhatsApp */
    color: #000;
    padding: 10px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128c7e; /* Color de WhatsApp más oscuro al pasar el mouse */
}

.btn-whatsapp i {
    font-size: 20px;
}

/* Portada */
.portada {
    height: 90vh; /* Altura panoramica */
    background: url('/img/cerrajeria0.webp') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.portada .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay oscuro */
    z-index: 0;
}

.portada h1, .portada p {
    position: relative;
    z-index: 1;
}

/* Ajustes para los bloques */
.bloque {
    padding: 80px 0;
}

/* Estilos para im芍genes con relacion de aspecto 1:1 (cuadradas) */
.img-1x1 {
    width: 100%; /* Ocupa el 100% del ancho del contenedor */
    aspect-ratio: 1/1; /* Relacion de aspecto 1:1 */
    object-fit: cover; /* Ajusta la imagen para cubrir el espacio sin distorsionarla */
    border-radius: 10px; /* Bordes redondeados (opcional) */
}

/* Footer */
footer iframe {
    display: block;
    border: none;
}