/* CSS GENERAL MEJORADO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
/* Fondo fijo para toda la página */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('imagenes/Camino1.jpg') center/cover no-repeat;
    z-index: -2; 
    opacity: 0.9;
}

/* Fondo de respaldo  contenido */
body {
    position: relative;
    background-color: #f5f5f5; /* */
}

/* MENÚ SUPERIOR CON LOGO () */
.menu {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(69, 157, 170, 0.834);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 100px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

#menu-toggle {
    display: none;
}

.menu-icono {
    display: none;
    cursor: pointer;
    height: 30px;
    filter: invert(1);
}

.navbar ul {
    display: flex;
    gap: 5px;
    list-style: none;
}

.nav-link {
    color: white;
    padding: 10px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.nav-link:hover {
    background: #8b8113;
    transform: translateY(-2px);
}

.nav-link.active, 
.nav-link.activo {
    background: rgba(139, 69, 19, 0.7) !important;
}

/* SECCIÓN HOME */
.home {
    height: 100vh;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('imagenes/Camino1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px; 
}

.home-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.home p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* SECCIONES GENERALES */

.section {
    padding: 6rem 2rem;
    min-height: 100vh;
    position: relative;
    background-color: transparent; /* Fondo transparente */
    color: white; /* Texto blanco */
}

/* Ajustes para el contenido */
.content {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.1rem;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(3px); /* Efecto vidrio */
    color: white; /* Texto blanco */
}

/* Títulos de sección */
.section-title {
    color: white; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* GALERÍA DE IMÁGENES */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.grid-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.grid-img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* MAPA */
.mapa {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* DISEÑO RESPONSIVE */
@media (max-width: 992px) {
    .home-title {
        font-size: 3rem;
    }
    
    .section {
        padding: 5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu {
        padding: 10px;
    }
    
    .menu-icono {
        display: block;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease;
    }
    
    #menu-toggle:checked ~ .navbar {
        clip-path: circle(150% at 100% 0);
    }
    
    .navbar ul {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .home-title {
        font-size: 2.5rem;
    }
    
    .home p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .logo {
        height: 40px;
    }
    
    .home-title {
        font-size: 2rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
 
    }

.tradicion-item {
    margin-bottom: 4rem;
}

.tradicion-titulo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    color: #fff;
}

.tradicion-descripcion {
    margin-bottom: 1.5rem;
    color: #fff;
}

}

/* GASTRONOMÍA - ESTILOS PRINCIPALES */
.gastronomia-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gastronomia-item {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.gastronomia-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.gastronomia-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gastronomia-info {
    padding: 1.5rem;
    color: white;
}

.gastronomia-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.gastronomia-info p {
    font-size: 1rem;
    line-height: 1.5;
    color: #f1f1f1;
}

/* GASTRONOMÍA - AJUSTES RESPONSIVE PARA MÓVIL */
@media (max-width: 576px) {
    .gastronomia-info h3 {
        font-size: 1.3rem;
    }

    .gastronomia-info p {
        font-size: 0.95rem;
    }
}

/* SECCIÓN TURISMO */
.turismo-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    overflow: hidden;
    margin-top: 2rem;
}

.turismo-img {
    flex: 1 1 400px;
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
}

.turismo-info {
    flex: 1 1 400px;
    padding: 2rem;
    color: white;
}

.turismo-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #00CED1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.turismo-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .turismo-container {
        flex-direction: column;
    }

    .turismo-img {
        border-radius: 12px 12px 0 0;
        height: 250px;
    }

    .turismo-info {
        padding: 1.5rem;
    }

    .turismo-info h3 {
        font-size: 1.4rem;
    }

    .turismo-info p {
        font-size: 1rem;
    }
}


/* SECCIÓN INFRAESTRUCTURA */
.infraestructura-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.infraestructura-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.infraestructura-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.infra-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.infra-info {
    padding: 1.5rem;
    color: white;
}

.infra-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    color: #87CEFA;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.infra-info p {
    font-size: 1rem;
    line-height: 1.5;
    color: #f0f0f0;
}

/* Responsive */
@media (max-width: 576px) {
    .infra-info h3 {
        font-size: 1.2rem;
    }

    .infra-info p {
        font-size: 0.95rem;
    }
}

/* SECCIÓN OFICIOS */
.oficios-intro {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(4px);
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.oficios-galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.oficio-img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.oficio-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 576px) {
    .oficio-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

.footer {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.95rem;
    backdrop-filter: blur(3px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

.footer p {
    margin: 0;
}

.footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 1rem;
    border-top: 1px solid #444;
}

.footer p {
    margin: 0.5rem 0;
}

.content p,
.gastronomia-info p,
.turismo-info p,
.infra-info p,
.oficios-intro {
    text-align: justify;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.lightbox img:hover {
    transform: scale(1.02);
    cursor: zoom-out;
}

/* ESTILOS PARA CRÉDITOS - TEXTO BLANCO */
#creditos {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

#creditos .section-title {
    color: white;                   /* Título en blanco */
    font-size: 1.8em;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Sombra para mejor legibilidad */
}

#creditos .content p {
    margin: 10px 0;
    font-size: 1.1em;
    line-height: 1.6;
    color: white;                   /* Texto en blanco */
}

#creditos strong {
    color: #4CAF50;                 /* Destacados en verde */
    font-weight: normal;            /* Opcional: quita negrita si prefieres */
}
