/* Variables que sabe facer Meri */
:root {
    --cor-clara: #f6f6e9; /* Cor crema como no sabes a data */
    --cor-escura: #0d3f18; /* Cor verde */
    --cor-verde-medio: #2e7d32; /* Verde medio (botóns) */
    --cor-beige: #d7ccc8;       /* Beige (fondos secundarios) */
    --cor-dourada: #ffd700;     /* Dourado (acentos) */
}

/* Reset de estilos por defecto */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Georgia', serif;
    background-color: var(--cor-beige);
}

/* Estilos para o menú de navegación */
nav ul {
    display: flex;
    justify-content: center;
    background-color: var(--cor-escura);
    padding: 10px 0;
    list-style-type: none;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

nav ul li a:hover {
    color: #ffde59;
}

/* Estilos para a landing */
.landing {
    height: 70vh;
    overflow: hidden;
}

.background-image {
    background-image: url('img/foto01.webp');
    background-size: cover;
    background-position: center;
    height: 70vh;
    position: absolute;
    width: 100%;
    filter: brightness(50%); /* Engade un filtro para que o texto resalte */
    z-index: -1; /* para que se vexa o texto por riba (?) */
}

#main {
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    width: 100%;
    color: white;
}

.title-container {
    position: relative;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Estilos para as fotos */
.galeria {
    display: flex;
    justify-content: center;
    gap: 1rem 4rem;
    margin: 6rem 1rem;
    flex-wrap: wrap;
}
.galeria img {
    max-width: 300px;
}

.foto {
    width: 100%;
    max-width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;

}
.foto:hover {
    transform: scale(1.03);
}

.foto-pe {
    width: 100%;
    position: relative;
}
.foto-pe img {
    width: 100%;
    display: block;
}

.credito {
    color: white;
    font-size: .7rem;
    position: absolute;
    top: 100%;
    transform: translateY(-20px);
    margin: 0;
}

.credito a {
    color: white;
}

#ampliacion {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}
#foto-ampliada {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-align: center;
}

.title {
    font-family: 'Della Respira', 'Georgia', serif;
}

.subtitle {
    font-family: 'Montserrat', 'Georgia', serif;
    color: var(--cor-dourada);
    text-shadow: black 2px 2px 5px;
}

p {
    font-size: 1.8rem;
}

/* Estilos para as preguntas frecuentes */
#info {
    padding: 60px 20px;
    text-align: center;
    color: var(--cor-escura);
    max-width: 900px;
    margin-inline: auto;
}

h2 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #603d09; /* Marrón terroso */
    margin-bottom: 40px;
    margin-top: 60px;
}

.info-item {
    background-color: var(--cor-clara);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.info-item h3 {
    font-size: 2rem;
    color: var(--cor-escura);
    margin-bottom: 16px;
}

.info-item h4 {
    margin: -8px 0 16px 0;
}

.info-item p {
    font-size: 1.5rem;
    color: var(--cor-escura);
    line-height: 1.6;
}
