


header {
    background-color: #00695c;
    color: white;
    padding: 20px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Secciones */
section {
    padding: 40px 20px;
    background-color: white;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
    color: #004d40;
}

/* Galería */
.galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.galeria img {
    width: 30%;
    border-radius: 10px;
}

/* Formulario de contacto */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #00796b;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #004d40;
}

/* Pie de página */
footer {
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 15px;
}

/* Página activa del menú */
nav ul li a.activo {
    text-decoration: underline;
    color: #ffcc80;
       }

       /* --- Actividades --- */
.lugares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.lugar {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lugar:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.lugar img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.lugar h3 {
    color: #004d40;
    margin-bottom: 5px;
}

.botones-lugar {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Botón WhatsApp */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Botón Google Maps */
.btn-maps {
    background-color: #4285F4;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-maps:hover {
    background-color: #0b62d1;
}

/* --- Reseñas --- */
.estrellas {
    color: #FFD700;
    font-size: 1.2em;
    margin-bottom: 8px;
}

/* Botón de reseña */
.btn-resena {
    background-color: #f9a825;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-resena:hover {
    background-color: #f57f17;
}

/* --- Popup de reseña --- */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

/* cuando se abre (por el #popup del href) */
.popup:target {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-contenido {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: center;
}

.popup-contenido input,
.popup-contenido textarea {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup-contenido button {
    background-color: #00796b;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.popup-contenido button:hover {
    background-color: #004d40;
}

/* Botón cerrar */
.popup .cerrar {
    display: inline-block;
    margin-top: 10px;
    color: #00796b;
    text-decoration: none;
    font-weight: bold;
}

.popup .cerrar:hover {
    text-decoration: underline;
}


/* --- Reseñas --- */
.resenas {
    background-color: #fafafa;
    border-top: 1px solid #ddd;
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
}

.resenas h4 {
    color: #00796b;
    margin-bottom: 8px;
    text-align: left;
}

.resena {
    background: #fff;
    border-left: 4px solid #00796b;
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    text-align: left;
}

.resena strong {
    display: block;
    color: #333;
    margin-bottom: 3px;
}

.resena p {
    font-size: 0.95em;
    color: #555;
}

/* Botón reseña */
.btn-resena {
    background-color: #f9a825;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-resena:hover {
    background-color: #f57f17;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.popup:target {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-contenido {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: center;
}

.popup-contenido input,
.popup-contenido textarea {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup-contenido button {
    background-color: #00796b;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.popup-contenido button:hover {
    background-color: #004d40;
}

.popup .cerrar {
    display: inline-block;
    margin-top: 10px;
    color: #00796b;
    text-decoration: none;
    font-weight: bold;
}

.popup .cerrar:hover {
    text-decoration: underline;
}

/* --- Fondo general del sitio --- */
body {
    background-image: url(desvanecido/epi_el_alto.jpg);
    margin: 0;
    background-size: cover; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    background-position: center;
    color: #333; 
    font-family: Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(39, 24, 24, 0.7); 
    z-index: -1; 
}



/* ------------------------------
    FONDO GENERAL RESPONSIVO
--------------------------------*/
body {
    background-image: url("desvanecido/epi_el_alto.jpg"); 
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
}

/* Capa semitransparente para mejor lectura */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(44, 37, 37, 0.8); 
    z-index: -1;
}

/* ------------------------------
    TARJETAS / GRID DE LUGARES
--------------------------------*/
.lugares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* ------------------------------
    MENÚ RESPONSIVO
--------------------------------*/
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

nav ul li {
    margin: 10px 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav ul li a:hover,
nav ul li a.activo {
    background-color: #00796b;
    color: white;
}

/* ------------------------------
    BOTONES
--------------------------------*/
.botones-lugar a {
    display: inline-block;
    margin: 5px 5px 0 0;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-whatsapp { background-color: #25D366; }
.btn-whatsapp:hover { background-color: #128C7E; }

.btn-maps { background-color: #4285F4; }
.btn-maps:hover { background-color: #3367D6; }

.btn-resena { background-color: #f9a825; }
.btn-resena:hover { background-color: #f57f17; }

/* ------------------------------
    RESEÑAS
--------------------------------*/
.resenas {
    background-color: #fafafa;
    border-top: 1px solid #ddd;
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
}

.resenas h4 { color: #00796b; margin-bottom: 8px; text-align: left; }

.resena {
    background: #fff;
    border-left: 4px solid #00796b;
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    text-align: left;
}

.resena strong { display: block; color: #333; margin-bottom: 3px; }

.resena p { font-size: 0.95em; color: #555; }

/* ------------------------------
    POPUP RESEÑA
--------------------------------*/
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.popup:target { display: flex; align-items: center; justify-content: center; }

.popup-contenido {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: center;
}

.popup-contenido input,
.popup-contenido textarea {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup-contenido button {
    background-color: #00796b;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.popup-contenido button:hover { background-color: #004d40; }

.popup .cerrar {
    display: inline-block;
    margin-top: 10px;
    color: #00796b;
    text-decoration: none;
    font-weight: bold;
}

.popup .cerrar:hover { text-decoration: underline; }

/* telefonos */
@media (max-width: 600px) {
    body { font-size: 14px; }

    nav ul { flex-direction: column; align-items: center; }

    .botones-lugar a { padding: 6px 10px; font-size: 0.9em; }

    .lugares-grid { grid-template-columns: 1fr; padding: 10px; }

    .popup-contenido { padding: 20px; }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 992px) {
    body { font-size: 15px; }
    .lugares-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}



/* Grid de contactos */
.contactos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.contacto {
    background: rgba(255,255,255,0.85);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contacto h3 {
    color: #00796b;
    margin-bottom: 10px;
}

.contacto p a {
    color: #00796b;
    text-decoration: none;
}

.contacto p a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .contactos-grid { grid-template-columns: 1fr; padding: 10px; }
}