body {
    margin: 0;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color:  #c4bba1;
}

div, body, header, nav, ul, footer {
    box-sizing: border-box;
}

/* --- Header --- */

header {
    background-color: #a08c64;
    width: 100%;
    top: 0;
    position: sticky;
    z-index: 1000;
}

.header_nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.header_list {
    display: flex;
    padding: 0;
    justify-content: center;
}

.header_item{
    list-style: none;
    margin: 9px;
}

a {
    color: #fff;
    display: inline-block;
    padding: 6px 9px;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

/* --- Menú responsive --- */

.menu_toggle {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    padding: 15px;
}

@media (max-width: 768px) {

    .header_nav {
        justify-content: space-between;
    }

    .menu_toggle {
        display: block;
    }

    .header_list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        width: 100%;
        left: 0;
        background-color: #a08c64;
        margin: 0;
        padding: 0;
    }

    .header_list.active {
        display: flex;
    }

    .header_item {
        text-align: center;
        border-top: 1px solid #ffffff33;
    }

    .header_item a {
        padding: 15px;
        width: 100%;
    }
}



/* --- Section info --- */

h1 {
    text-align: center;
    font-size: 3rem;
    font-family: "Platino Linotype", Platino, serif;
    letter-spacing: 1px;

}

.info {
    position: relative;
    width: 100%;
    min-height: 70vh;
}

.boda {
    position: absolute;
    inset: 0;
    background-image: url(IMG_6254\ 2.jpeg);
    width: 100%;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    opacity: 0.30;
    z-index: 0;
}

.info_item {
    position: relative;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    text-wrap: balance;
    margin: auto;
    padding: 150px;
    z-index: 1;
    max-width: 60%;
    color: #7d6432;
}

.info_item p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.numeros {
    display: flex;
    gap: 40px;
    justify-content: center;
    text-align: center;
    font-size: 1.1rem;
    font-family: sans-serif;
    color: #7d6432;
}


@media (max-width: 768px) {
    .info {
        min-height: auto;
    }

    .boda {
        min-height: 100%;
    }

    .info_item {
        padding: 60px 20px;
        max-width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    .info_item p {
        font-size: 1.1rem;
    }

    .numeros {
        flex-direction: column;
        gap: 15px;
        }
}


/* --- Confirmacion --- */

.conf {
    font-size: 2rem;
}
.confirmar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    margin: 100px 0;
    background-color: #ece8e0;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 10px 25px #0006;
    color: #a08c64;
}

form {
    padding: 20px;
    max-width: 600px;
    width: 100%;
    display: grid;
    gap: 10px;
    margin: 0 auto ;
    box-sizing: border-box;
}

.input_form :is(input, textarea) {
    width: 100%;
    padding: 9px;
    font-size: 16px;
    margin: 8px 0;
    box-shadow: 2px 2px 4px #0003;
    box-sizing: border-box;
}

.opciones {
    display: flex;
    gap: 15px;
    
}

.asistencia label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.botones {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

.botones button[type="submit"] {
    padding: 12px;
    background-color: #a08c64;
    color: #fff;
    border: solid;
    cursor: pointer;
    border-radius: 12px;
}

.botones button[type="reset"] {
    padding: 12px;
    color: #fff;
    border: solid;
    cursor: pointer;
    border-radius: 12px;
    background-color: #c4bba1;
}

@media (max-width: 768px) {
    .confirmar {
        margin: 40px 10px;
        padding: 30px 0;
        width: auto;
    }

    form {
        padding: 10px;
    }

    .botones {
        flex-direction: column;
    }

    .botones button {
        width: 100%;
    }
}

/* --- Lugar --- */

.lugar {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 100px 0;
    background-color: #ece8e0;
    border-radius: 12px;
    max-width: 1300px;
    width: 100%;
    box-shadow: 0 10px 25px #0006;
    overflow: hidden;
}

.lugar_info {
    flex: 1;
    color: #a08c64;
    text-align: left;
    text-wrap: balance;
    padding: 40px;
    background-color: #ece8e0;
}

.img_eguren{
    flex: 2;
    background-image: url(galeria-bodega-y-viñedo7.jpg.webp);
    background-size:cover;
    background-position: right;
    border-radius: 0px;
    min-height: 400px;
}

.alojamiento {
    flex: 1;
    color: #a08c64;
    padding: 40px;
    text-align: justify;
}

.alojamiento_lista {
    list-style: none;
    
}

.alojamiento_lista a {
    color: #a08c64;
    text-align: justify;
}

.alojamiento_lista a:hover {
    color: #7a6859; /* un poco más oscuro */
}

.alojamiento_lista a:visited {
    color: #a08c64;
}

@media (max-width: 768px) {
    .lugar {
        flex-direction: column;
        margin: 40px 10px;
        width: auto;
    }

    .lugar_info,
    .alojamiento {
        padding: 30px 20px;
    }

    .img_eguren {
        min-height: 220px;
        background-position: center;
    }
}

/* --- Spotify --- */

.spotify {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 100px 0;
    padding: 40px 20px;
    background-color: #ece8e0;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 10px 25px #0006;
    color: #a08c64;
}

.spotify_link {
    margin-top: 20px;
    padding: 14px 22px;
    background-color: #1DB954; /* Verde Spotify */
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.spotify_link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .spotify {
        margin: 40px 10px;
        padding: 30px 20;
        width: auto;
    }
}


/* --- Detalle --- */

.detalle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 100px 0 120px 0;
    background-color: #ece8e0;
    border-radius: 12px;
    max-width: 800px;
    width: 80%;
    box-shadow: 0 10px 25px #0006;
    color: #a08c64;
    text-align: center;
    padding: 15px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .detalle {
        margin: 40px 10px;
        padding: 30px 20px;
        width: auto;
        text-decoration: none;
    }
}

/* --- Frase --- */
.frase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 100px 0 120px 0;
    background-color: #ece8e0;
    border-radius: 12px;
    max-width: 800px;
    width: 80%;
    box-shadow: 0 10px 25px #0006;
    color: #a08c64;
    text-align: center;
    padding: 15px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

@media (max-width: 768px) {
    .frase {
        margin: 40px 10px;
        padding: 30px 20px;
        width: auto;
        text-decoration: none;
    }
}

/* --- Footer --- */


footer {
    padding: 60px;
    text-align: center;
    background-color: #a08c64;
    color: #fff;
    font-size: 22px;
    min-width: 100%;
}