/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('fondo.png');
    background-repeat: repeat;
    color: #333;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #9db2b3;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

/* Logo */
.logo {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
    border-radius: 8px;
}

/* Títulos */
h1 {
    text-align: center;
    color: #8B0000;
    margin-bottom: 30px;
}

/* Secciones de menú */
.menu-section {
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 8px;
}

.menu-section h2 {
    color: #8B0000;
    border-bottom: 2px solid #8B0000;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* Items del menú */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.menu-item {
    background-color: #aebaba;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.menu-item:hover {
    background-color: #6cdde2;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.menu-item h3 {
    margin: 0;
    color: #555;
    font-size: 16px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
}

.modal-content {
    display: block;
    margin: 5% auto;
    max-width: 80%;
    max-height: 80%;
    border: 3px solid #fff;
    border-radius: 5px;
}

/* INICIO: Cierre modificado */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: red;
    font-size: 80px;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 
        -4px -4px 0 #FFF, 
        4px -4px 0 #FFF, 
        -4px 4px 0 #FFF, 
        4px 4px 0 #FFF;
}

/* FIN: Cierre modificado */

.close:hover {
    color: #ccc;
    text-shadow: none; /* Quitamos el borde al pasar el mouse para el efecto */
}

/* Responsive */
@media (max-width: 768px) {
    .menu-items {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

}

@media (max-width: 600px) {
    .container {
        margin: 10px;
        padding: 10px;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .close {
        font-size: 80px;
        top: 10px;
        right: 20px;
        text-shadow: 
            -2px -2px 0 #FFF, 
            2px -2px 0 #FFF, 
            -2px 2px 0 #FFF, 
            2px 2px 0 #FFF; /* Aplicar sombra/borde también en responsive */
    }
    
.facebook{
    width: 50%;
    text-align: center;
}
    
}
.logo_domm{
    width: 50%;
    float: right;
}
.dir{
    text-align: center;
}
.iconito{
    width: 70px;;
}
.iconofacebook{
    text-align: center;
}
.mapa{
    text-align: center;
}
iframe{
    width: 100%;
    height: 400px;
    border: none;
}
/* He eliminado un corchete '}' extra que estaba aquí al final del CSS original. */