/* styles_uniformes.css */

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}
/* Estilos para el menú desplegable de servicios */
.menu {
    position: relative;
    z-index: 10; /* Aseguramos que el menú tenga un z-index mayor que el hero-text */
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style: none;
    padding: 10px;
    display: none;
    z-index: 11; /* El submenu tiene prioridad sobre el hero-text */
}

.submenu.visible {
    display: block;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}


.hero {
    position: relative;
    text-align: center;
    color: white;
}

.hero img {
    width: 100%;
    height: auto;
}
/* Estilos del Main */
main {
    position: relative;
    text-align: center;
}

.hero-text {
    position: absolute;
    bottom: 20px; /* Coloca el texto en la parte inferior de la imagen */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 5;
    width: 100%; /* Asegúrate de que ocupe el 100% del ancho */
}

/* Estilos para ocultar el menú desplegable */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(49, 46, 46);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content.show {
    display: block;
    line-height: 1.8;
}
/* Estilos para el botón Servicios */
.dropbtn {
    background-color: transparent; /* Elimina el fondo blanco */
    color: #fff; /* Color del texto */
    border: none; /* Elimina bordes si es necesario */
    padding: 0px 20px;
    cursor: pointer;
    font-size: 16px;
}
.servicio-descripcion,
.caracteristicas {
    font-size:x-large;
}

.galeria,
.catalogo {
    margin-top: 0px;
}
.cta {
    padding: 40px;
    background-color: #fff;
    margin: 20px 0;
}

.caracteristicas ul {
    list-style: disc;
    margin-left: 0px;
    list-style-type: none; /* Elimina los puntos */
}

.catalogo-imagenes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.catalogo-imagenes .fila {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.catalogo-imagenes .fila img {
    width: 32%;
    border: 1px solid #ddd;
    padding: 5px;
    transition: transform 0.3s ease;
}

.catalogo-imagenes .fila img:hover {
    transform: scale(1.05);
}

.cta {
    text-align: center;
    background-color: #333;
    color: #fff;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.cta .btn {
    background-color: #507cf5;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}
/* Método Responsive */
@media (max-width: 768px) {
    .hero-text {
        font-size: 18px;
        bottom: 15px;
        width: 90%; /* Ajustamos el ancho del texto para que no se superponga */
    }
}

/* Media Query para pantallas pequeñas (móviles) */
@media (max-width: 480px) {
    .hero-text {
        font-size: 16px;
        bottom: 10px;
        width: 80%; /* Reducimos el ancho para evitar superposición en pantallas muy pequeñas */
        line-height: 1.2; /* Ajustamos el interlineado para que el texto se vea mejor */
    }
}