html {
    scroll-behavior: smooth;
}

/* Menú lateral hamburguesa */
.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1003;
    width: 50px;
    height: 50px;
    background-color:#781403;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: #a31800;
    transform: scale(1.05);
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #5a4a42 0%, #4a3a32 100%);
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1002;
    transition: left 0.4s ease;
    overflow-y: auto;
    padding-top: 80px;
}

.side-menu.open {
    left: 0;
}

.side-menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu nav ul li a {
    display: block;
    padding: 18px 25px;
    color: #f4e8d0;
    text-decoration: none;
    font-family: 'Quattrocento', serif;
    font-size: 1.1em;
    transition: all 0.3s ease;
    position: relative;
}

.side-menu nav ul li a:hover {
    background-color: rgba(157, 132, 96, 0.3);
    color: #fff;
    padding-left: 35px;
}

.side-menu nav ul li a::before {
    content: '▸';
    position: absolute;
    left: 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.side-menu nav ul li a:hover::before {
    opacity: 1;
    left: 20px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .side-menu {
        width: 250px;
        left: -250px;
    }
    
    .menu-toggle {
        width: 45px;
        height: 45px;
    }
    
    .menu-toggle span {
        width: 25px;
    }
}


/* Selector de idioma */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.6;
}

.lang-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lang-btn.active {
    opacity: 1;
    box-shadow: 0 0 0 3px #b5c6ae;
}

.lang-btn img {
    display: block;
    width: 40px;
    height: auto;
    border-radius: 50%;
}


/* Estilos para el texto */
body.custom-body {
    /* background-color: #b5c6ae; */
    position: relative;
    font-family: "Parkinsans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 50px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 17px;
    color: #5a4a42;
}

/* Pseudo-elemento para la imagen de fondo con opacidad */
body.custom-body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/fondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
    opacity: 45%;
}




/* PORTADA */

header {
    height: auto;
    margin-top: 60px;
}

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
}


nav::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 5px;
    background-color: #9d8460;
    /* Color de la línea */
    animation: aparecerLinea 10s forwards;
    /* Animación para hacer aparecer la línea */
}

/* Google Maps */
#mapDiv {
    height: 300px;
    max-width: 90%;
    margin: 20px auto 40px;
}

/* GUÍA DE VALLADOLID */

#guia_valladolid {
    text-align: center;
    padding: 60px 20px;
}

#guia_valladolid h1 {
    color: #781403;
    font-family: 'Quattrocento', serif;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(120, 20, 3, 0.1);
}

.guide-subtitle {
    color: #000000;
    font-family: 'Quattrocento', serif;
    font-size: 17px;
    margin-bottom: 40px;
    font-weight: 400;
}

.guide-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.guide-card {
    background: #faf6f094;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 
        0 4px 15px rgba(90, 74, 66, 0.15),
        inset 0 0 20px rgba(157, 132, 96, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid #c4a57b;
    position: relative;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 20px rgba(90, 74, 66, 0.2),
        inset 0 0 20px rgba(157, 132, 96, 0.08);
}

.guide-card-intro {
    border-left: 6px solid #8b5a3c;
}

.guide-card-travel {
    border-left: 6px solid #7d2e2e;
}

.guide-card-festivities {
    border-left: 6px solid #a67c52;
}

.guide-card-personal {
    border-left: 6px solid #6b8e5f;
}

.guide-card-icon {
    font-size: 3em;
    margin-bottom: 15px;
    text-align: center;
    filter: grayscale(20%) sepia(20%);
}

.guide-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.guide-card-header .guide-card-icon {
    font-size: 2.5em;
    margin-bottom: 0;
}

.guide-card-title {
    color: #7d2e2e;
    font-family: 'Quattrocento', serif;
    font-size: 1.3em;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.guide-card-content {
    color: #5a4a42;
    font-size: 1.05em;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    opacity: 0;
}

.guide-card-content.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.guide-card-content.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 15px;
}

.guide-card-content p {
    margin: 15px 0;
}

.guide-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 15px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    #guia_valladolid {
        padding: 40px 15px;
    }
    
    #guia_valladolid h1 {
        font-size: 2em;
    }
    
    .guide-subtitle {
        font-size: 17px;
        color:#000000;

    }
    
    .guide-card {
        padding: 20px;
    }
    
    .guide-card-icon {
        font-size: 2.5em;
    }
    
    .guide-recommendations {
        grid-template-columns: 1fr;
    }
}

/* Estilos globales para botones toggle de tarjetas */
.card-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5a3c 0%, #a67c52 100%);
    color: #faf6f0;
    border: none;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 300;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(139, 90, 60, 0.3);
}

.card-toggle::before {
    content: '▼';
}

.card-toggle:hover {
    background: linear-gradient(135deg, #a67c52 0%, #bf9568 100%);
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(139, 90, 60, 0.4);
}

.card-toggle:focus {
    outline: none;
}

.card-toggle.active {
    transform: rotate(180deg);
}

.card-toggle.active::before {
    content: '▲';
}

/* DRESSCODE */

#dresscode {
    text-align: center;
    padding: 60px 20px;
}

#dresscode h1 {
    color: #781403;
    font-family: 'Quattrocento', serif;
    font-size: 2.5em;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(120, 20, 3, 0.1);
}

.dresscode-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.dresscode-card {
    background: #faf6f094;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 
        0 4px 15px rgba(90, 74, 66, 0.15),
        inset 0 0 20px rgba(157, 132, 96, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid #c4a57b;
    border-left: 6px solid #7d2e2e;
    position: relative;
}

.dresscode-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 20px rgba(90, 74, 66, 0.2),
        inset 0 0 20px rgba(157, 132, 96, 0.08);
    border-left-color: #9d4545;
}

.dresscode-card-icon {
    font-size: 3em;
    margin-bottom: 15px;
    text-align: center;
    filter: grayscale(20%) sepia(20%);
}

.dresscode-card-title {
    color: #7d2e2e;
    font-family: 'Quattrocento', serif;
    font-size: 1.3em;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.dresscode-card-content {
    color: #5a4a42;
    font-size: 1.05em;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    opacity: 0;
}

.dresscode-card-content.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.dresscode-card-content.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 15px;
}

.dresscode-card-content p {
    margin: 15px 0;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    #dresscode {
        padding: 40px 15px;
    }
    
    #dresscode h1 {
        font-size: 2em;
    }
    
    .dresscode-card {
        padding: 20px;
    }
    
    .dresscode-card-icon {
        font-size: 2.5em;
    }
}

/* FAQs */

#faqs {
    text-align: center;
    padding: 60px 20px;
}

#faqs h1 {
    color: #781403;
    font-family: 'Quattrocento', serif;
    font-size: 2.5em;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(120, 20, 3, 0.1);
}

.faqs-carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.faqs-carousel {
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
}

.faqs-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.faq-card {
    min-width: 100%;
    background: #faf6f094;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 
        0 4px 15px rgba(90, 74, 66, 0.15),
        inset 0 0 20px rgba(157, 132, 96, 0.05);
    border: 2px solid #c4a57b;
    border-left: 6px solid #7d2e2e;
    text-align: center;
    position: relative;
}

.faq-number {
    display: none;
}

.faq-question {
    color: #7d2e2e;
    font-family: 'Quattrocento', serif;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    padding-right: 40px;
    position: relative;
}

.faq-question:hover {
    color: #9d4545;
}

.faq-question::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7em;
    color: #8b5a3c;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(180deg);
    color: #7d2e2e;
}

.faq-toggle {
    display: none;
}

.faq-answer {
    color: #5a4a42;
    font-size: 1.05em;
    line-height: 1.7;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    opacity: 0;
}

.faq-answer.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.faq-answer.expanded {
    max-height: 500px;
    opacity: 1;
    margin-top: 15px;
}

.faqs-nav {
    background: linear-gradient(135deg, #8b5a3c 0%, #a67c52 100%);
    border: 2px solid #c4a57b;
    color: #faf6f0;
    font-size: 2em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(139, 90, 60, 0.3);
}

.faqs-nav:hover {
    background: linear-gradient(135deg, #a67c52 0%, #bf9568 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 90, 60, 0.4);
}

.faqs-nav:focus {
    outline: none;
}

.faqs-dots {
    text-align: center;
    margin-top: 25px;
}

.faq-dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #c4a57b;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #a67c52;
}

.faq-dot:hover {
    background-color: #7d2e2e;
    border-color: #7d2e2e;
}

.faq-dot.active {
    background-color: #7d2e2e;
    border-color: #7d2e2e;
    transform: scale(1.3);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    #faqs {
        padding: 40px 15px;
    }
    
    #faqs h1 {
        font-size: 2em;
    }
    
    .faq-card {
        padding: 25px;
    }
    
    .faq-question {
        font-size: 1.2em;
    }
    
    .faq-answer {
        font-size: 1em;
    }
    
    .faqs-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    
    .faqs-carousel-container {
        gap: 10px;
    }
}

/* BIENVENIDOS */

#bienvenidos {
    text-align: center;
}


#bienvenidos h1 {
    color: #781403;
    font-family: 'Quattrocento', serif;
    font-style: normal;
    font-size: 35px;
    letter-spacing: 2px;
}

.bienvenidos-texto p {
    text-align: center;
    padding: 15px;
    color: #000000;
    font-size: 16px;
    line-height: 1.7;
}

.bienvenidos-texto img {
    max-width: 50%;
    border-radius: 10px;
}


.cuenta-regresiva {
    background-color: #afa79a;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    filter: opacity(0.8);
    height: 150px;
    margin-top: 75px;
}

@media only screen and (max-width: 600px) {
    .cuenta-regresiva {
        background-size: cover;
    }
}


#cuenta-atras {
    display: flex;
    align-items: center;
}

.tiempo {
    text-align: center;
    font-size: 1.2em;
}

.barra {
    font-size: 1em;
    color: #666;
    margin: 0 10px;
}


/* LOCATION */

#general-information {
    text-align: center;
    padding: 20px;
}

#general-information h1 {
    color: #781403;
    font-family: 'Quattrocento', serif;
    font-style: normal;
    font-size: 35px;
    letter-spacing: 2px;
}

.general-information-texto p {
    text-align: center;
    padding: 15px;
    color: #000000;
    font-size: 1.05em;
    line-height: 1.7;
}

.collage-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    padding: 20px;
    margin-bottom: 60px;
}

.finca-item {
    position: relative;
    width: 250px;
}


.collage-img {
    width: 100%;
    border-radius: 10px;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
    transform: rotate(-5deg);
}

.texto-tarjeta {
    position: absolute;
    bottom: -70px;
    left: 55%;
    transform: translateX(-50%);
    background: #afa79a;
    color: white;
    padding: 5px 5px;
    font-size: 13px;
    border-radius: 8px;
    text-align: center;
    width: 80%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(90, 74, 66, 0.5);
}

.texto-tarjeta p {
    margin: 0;
}




/* ITINERARIO */

.timeline {
    position: relative;
    margin: 50px auto;
    padding: 40px;
    padding-left: 60px;
    border-left: 3px solid #9d8460;
    max-width: 600px;
    background: linear-gradient(to bottom, 
        #f4e8d0 0%, 
        #f9f0e1 10%, 
        #f4e8d0 20%, 
        #f9f0e1 30%, 
        #f4e8d0 40%, 
        #f9f0e1 50%, 
        #f4e8d0 60%, 
        #f9f0e1 70%, 
        #f4e8d0 80%, 
        #f9f0e1 90%, 
        #f4e8d0 100%);
    border-radius: 8px;
    box-shadow: 
        0 2px 10px rgba(90, 74, 66, 0.15),
        inset 0 0 20px rgba(157, 132, 96, 0.1);
    border: 1px solid #d4b896;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(157, 132, 96, 0.03) 2px,
            rgba(157, 132, 96, 0.03) 4px
        );
    pointer-events: none;
    border-radius: 8px;
}


.event {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease-out;
    z-index: 1;
}

.event:before {
    content: '';
    position: absolute;
    left: -46px;
    /* top: 20px; */
    width: 12px;
    height: 12px;
    background-color: #9d8460;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #f4e8d0, 0 0 0 5px #9d8460;
}

.event .time {
    width: 100px;
    flex-shrink: 0;
    text-align: left;
}

/* Contenedor del icono con tamaño fijo y centrado */
.event .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

/* Imágenes uniformes con efecto hover */
.event .icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(157, 132, 96, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.event .icon img:hover {
    transform: scale(1.15);
    filter: drop-shadow(3px 3px 6px rgba(157, 132, 96, 0.5));
}

.event .description {
    font-size: 0.8em;
    color: #5a4a42;
    flex: 1;
    line-height: 1.4;
}

.event .hidden {
    font-size: 0.8em;
    color: #5a4a42;
}

.event .description:hover {
    color: #35281d;
    transition: color 0.3s ease;
}

/* Animation logic */
.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.itinerario img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}






/* INFORMACIÓN DE INTERÉS */

#info_interes {
    /* background-image: url('images/flowers.avif'); */
    background-size: contain;
    text-align: center;
    padding: 20px;
    /* background-color: black; */
    filter: opacity(0.8);
}

@media only screen and (max-width: 600px) {
    #info_interes {
        background-size: auto;
    }
}

#info_interes h1 {
    color: #781403;
    font-family: 'Quattrocento', serif;
    font-style: normal;
    font-size: 35px;
    letter-spacing: 2px;
}

#info_interes h4 {
    color: white;
}

#info_interes p {
    text-align: center;
    padding: 15px;
    color: #000000;
    font-size: 16px;
    line-height: 1.7;
}

#info_interes img {
    max-width: 20%;
}

.boton {
    display: inline-block;
    padding: 10px 20px;
    background-color: #a8b09e;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.slider {
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: auto;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 20px;
}

.nav {
    background-color: #00000000;
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.nav.prev {
    left: 10px;
}

.nav.next {
    right: 10px;
}

.nav:focus {
    outline: none;
}

/* ASISTENCIA */

#asistencia {
    text-align: center;
    padding: 40px 20px;
    /* background-color: #afa894; */
}

#asistencia h1 {
    color: #781403;
    font-family: 'Quattrocento', serif;
    font-style: normal;
    font-size: 35px;
    letter-spacing: 2px;
}

#asistencia p {
    margin-bottom: 40px;
    text-align: center;
    color: #000000;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Formulario */
.form-container-asist {
    background: #eae5e2;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-size: 16px;
    color: #5a4a42;
    margin-top: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 16px;
    color: #5a4a42;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    border-color: #0056b3;
    outline: none;
}

input::placeholder {
    color: #888888;
}

/* Radio buttons */
.checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

input[type="radio"] {
    margin-right: 8px;
}

label[for="acompanadoNo"],
label[for="acompanadoSi"] {
    font-size: 14px;
    color: #5a4a42;
}

label[for="busSi"],
label[for="busNo"] {
    font-size: 14px;
    color: #5a4a42;
}

label[for="carne"],
label[for="pescado"] {
    font-size: 14px;
    color: #5a4a42;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    background-color: #f8f6f3;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

#popup h2 {
    color: #5a4a42;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5em;
}

@media only screen and (max-width: 600px) {
    #popup {
        padding: 25px;
        width: 90%;
        max-width: 350px;
        border-radius: 15px;
    }
    
    #popup h2 {
        font-size: 1.2em;
    }
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 20px;
    /* Ajusta el tamaño según sea necesario */
    height: 20px;
    /* Ajusta el tamaño según sea necesario */
}

/* Estilos para acompañantes */
.acompanante {
    background-color: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 2px solid #b5c6ae;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.acompanante input[type="text"],
.acompanante select {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: "Parkinsans", sans-serif;
    box-sizing: border-box;
}

.acompanante input[type="text"]:focus,
.acompanante select:focus {
    outline: none;
    border-color: #b5c6ae;
    box-shadow: 0 0 0 3px rgba(181, 198, 174, 0.2);
}

.deleteAcompananteButton {
    background-color: #d9534f;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
    transition: background-color 0.3s;
}

.deleteAcompananteButton:hover {
    background-color: #c9302c;
}

#addAcompananteButton,
#guardarButton {
    background-color: #b5c6ae;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px 5px;
    transition: background-color 0.3s;
    font-family: "Parkinsans", sans-serif;
}

#addAcompananteButton:hover,
#guardarButton:hover {
    background-color: #a0b399;
}

#accompaniments-list {
    margin-top: 20px;
    margin-bottom: 20px;
}

.modal {
    display: none;
    /* Inicialmente oculto */
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Fondo oscuro semitransparente */
    z-index: 1;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
}

.add-button,
.save-button {
    background-color: black;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.add-button:hover,
.save-button:hover {
    background-color: black;
}

*/

/* Botón de enviar: Estilo Business */
button#submit {
    background-color: black;
    /* Azul corporativo */
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    /* Bordes redondeados y modernos */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Sombra sutil */
    cursor: pointer;
    transition: all 0.3s ease;
}

button#submit:hover {
    background-color: black;
    /* Azul más oscuro para hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    /* Intensifica la sombra */
    transform: translateY(-2px);
    /* Ligero levantamiento al hacer hover */
}

button#submit:active {
    background-color: #0e3d80;
    /* Azul aún más oscuro al hacer clic */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    /* Reduce la sombra */
    transform: translateY(0);
    /* Elimina el levantamiento */
}

/* Responsivo */
@media only screen and (max-width: 600px) {
    .form-container-asist {
        padding: 20px;
        max-width: 90%;
    }

    #asistencia p {
        font-size: 16px;
    }
}



/* REGALOS */

#regalos {
    text-align: center;
    padding: 20px;
}

#regalos h1 {
    color: #781403;
    font-family: 'Quattrocento', serif;
    font-style: normal;
    font-size: 35px;
    letter-spacing: 2px;
}

.regalos-texto p {
    text-align: center;
    padding: 15px;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
}

.iban-text {
    background: #f4e8d0a1;
    border: 2px solid #9d8460;
    border-radius: 10px;
    padding: 20px !important;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 1.2em !important;
    color: #5a4a42 !important;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(157, 132, 96, 0.2);
    white-space: nowrap;
    overflow-x: auto;
}


/* SPOTIFY LINK */
.spotify-link-container {
    text-align: center;
    padding: 30px 20px;
    margin: 40px auto;
    max-width: 600px;
}

.spotify-description {
    font-size: 18px;
    color: #000000;
    margin-bottom: 25px;
    line-height: 1.6;
}

.spotify-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #781403 0%, #a31800 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(120, 20, 3, 0.3);
    transition: all 0.3s ease;
    font-family: 'Quattrocento', serif;
}

.spotify-button:hover {
    background: linear-gradient(135deg, #a31800 0%, #781403 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(120, 20, 3, 0.4);
    color: white;
    text-decoration: none;
}

.spotify-button svg {
    flex-shrink: 0;
}

@media only screen and (max-width: 768px) {
    .spotify-link-container {
        padding: 20px 15px;
        margin: 30px auto;
    }
    
    .spotify-description {
        font-size: 16px;
    }
    
    .spotify-button {
        padding: 14px 28px;
        font-size: 16px;
    }
}


/* FOOTER */


footer {
    background-color: #9DA494;
    padding: 10px;
    color: white;
}

.footer-content p {
    text-align: center;
    font-weight: 200;
}

.pre-footer {
    max-width: 50%;
    margin: 20px auto;
}

@media only screen and (max-width: 600px) {
    .pre-footer {
        max-width: 80%;
    }
}