@charset "utf-8";
/* CSS Document */

.gallery {
	width: 100%;
	text-align: justify;
	font-size: 20px;
	margin-top: 5%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}



.gallery-item {
	width: 19.5%;
	border-radius: 8px;
}

.gallery-item img {
	width: 100%;
	border-radius: 8px;
	transition: opacity 0.3s ease-in-out;
}


/* Estilos del botón flotante */
#accessibility-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

#accessibility-widget button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
}

/* Menú de opciones oculto por defecto */
#accessibility-menu {
    display: none;
    position: absolute;
    bottom: 50px;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 10px;
}

#accessibility-menu button {
    display: block;
    background: white;
    color: black;
    margin: 5px;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
}

/* 🎨 Modo Alto Contraste */
.high-contrast {
    background-color: black !important;
    color: yellow !important;
}

/* ✅ Ajustamos el color de los textos */
.high-contrast h1,
.high-contrast h2,
.high-contrast h3,
.high-contrast h4,
.high-contrast h5,
.high-contrast h6,
.high-contrast p,
.high-contrast a,
.high-contrast span,
.high-contrast li {
    color: yellow !important;
}

/* 🚀 Ajuste de botones en Alto Contraste */
.high-contrast button,
.high-contrast input[type="submit"],
.high-contrast input[type="button"] {
    background: yellow !important;
    color: black !important;
    border: 2px solid black !important;
}

/* 🔳 Capa de menú y otras áreas blancas se vuelven negras */
.high-contrast #menu, 
.high-contrast .menu-container, 
.high-contrast .header, 
.high-contrast .navbar, 
.high-contrast .footer, 
.high-contrast .sidebar, 
.high-contrast .content, 
.high-contrast .modal, 
.high-contrast .popup {
    background-color: black !important;
}

/* 🟨 Bordes de elementos destacados */
.high-contrast .menu-item, 
.high-contrast .nav-item, 
.high-contrast .btn, 
.high-contrast .card, 
.high-contrast .box, 
.high-contrast .section {
    border: 2px solid yellow !important;
}

/* 🎭 Imágenes en escala de grises con más contraste */
.high-contrast img {
    filter: grayscale(100%) contrast(200%) !important;
}

/* 🔳 Bordes visibles en cajas y elementos de navegación */
.high-contrast .menu-item a, 
.high-contrast .nav-item a, 
.high-contrast a {
    text-decoration: underline !important;
    border: 1px solid yellow !important;
}


* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .hero {
            width: 100%;
            height: 80vh; /* Ajusta a pantalla completa */
            background-size: cover;
            background-position: center;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            position: relative;
        }
		
		

        /* Capa oscura para mejorar la legibilidad del texto */
        .hero:hover::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5); /* Oscurece la imagen */
			pointer-events: none; /* Permite que el hover pase a la capa debajo */
        }

        .hero-content {
            position: absolute;
            top: 30px; /* Ajuste del título a 15px del top */
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            z-index: 1;
            width: 90%;
            max-width: 800px;
        }

        .hero h1 {
            font-size: 48px;
            font-weight: bold;
            margin-bottom: 10px;
        }
		
		/* Línea vertical */
        .linea {
            width: 1px; /* Grosor de la línea */
            height: 50px; /* Altura de la línea */
            background-color: white; /* Color de la línea */
            margin: 10px 0; /* Espaciado arriba y abajo */
            display: inline-block;
        }
		
        .hero p {
            font-size: 20px;
            margin-bottom: 20px;
        }

        .hero .btn {
            display: inline-block;
            padding: 12px 30px;
            font-size: 18px;
            color: white;
            background: #b89a62; /* Color dorado similar */
            text-decoration: none;
            border-radius: 5px;
            transition: 0.3s;
        }

        .hero .btn:hover {
            background: #a38555;
        }
		
		
.noticias-container {
	width: 90%;
	max-width: 1200px;
	margin: 50px auto;
	text-align: center;
}

.noticias-container h2 {
	font-size: 36px;
	color: #333;
	margin-bottom: 20px;
}

.noticias {
	display: flex;
	gap: 20px;
	justify-content: center;
}

.noticia {
	width: 30%;
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease-in-out;
	text-align: left;
}

.noticia:hover {
	transform: translateY(-5px);
}

.noticia img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.noticia-content {
	padding: 15px;
}

.noticia h3 {
	font-size: 20px;
	color: #444;
	margin-bottom: 5px;
}

.fecha {
	font-size: 14px;
	color: #888;
	margin-bottom: 10px;
	display: block;
}

.descripcion {
	font-size: 16px;
	color: #666;
	line-height: 1.5;
}

body, html, * {
    font-style: normal !important;
}

@media (max-width: 768px) {
	.noticias {
		flex-direction: column;
		align-items: center;
	}

	.noticia {
		width: 90%;
	}
}