/* ======= ESTILOS BASE ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    /* overflow-x: hidden; */
    /* Eliminar si no es necesario */
}

body {
    font-family: 'Playfair Display', serif;
    background: white;
    color: #4F3566;
    transition: all 0.3s ease;
}

h1,
h2,
h3 {
    font-family: 'Marcellus', serif;
}


/* ====== HEADER Y MENÚ ====== */
.hero-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item a {
    font-family: 'Marcellus', serif;
    font-size: 16px;
    color: #4F3566;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: #CBBADB;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #4F3566;
    margin: 4px 0;
}

/* Header Content */
.header-content {
    padding: 10em 1em;
    text-align: center;
    background: url('../img/header_1.jpg') center/cover no-repeat;
    color: white;
    position: relative;
    /* Para el posicionamiento absoluto del texto */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40em;
}

/* Marco para el texto */
.header-text {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2em;
    border: 0.15em solid #ffffff;
    box-shadow: 0.3em 0.3em 0.7em rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1000px;
}

/* Pseudo-elementos para las esquinas decorativas */
.header-text::before,
.header-text::after {
    content: "";
    position: absolute;
    width: 3em;
    height: 3em;
    border: 0.15em solid #ffffff;
}

.header-text::before {
    top: -0.5em;
    left: -0.5em;
    border-right: none;
    border-bottom: none;
}

.header-text::after {
    bottom: -0.5em;
    right: -0.5em;
    border-top: none;
    border-left: none;
}

.header-content h1 {
    font-size: 5em;
    margin-bottom: 0.5em;
    color: #ffffff;
    text-shadow: 0.3em 0.3em 0.7em rgba(0, 0, 0, 0.9);
}

.header-content h3 {
    font-size: 2.5em;
    color: #ffffff;
    text-shadow: 0.3em 0.3em 0.7em rgba(0, 0, 0, 0.9);
}

.header-content p {
    font-size: 1.5em;
    color: #ffffff;
    padding: 1.2em;
    text-shadow: 0.3em 0.3em 0.7em rgba(0, 0, 0, 0.9);
}


/* ====== COUNTDOWN ====== */
.countdown-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    padding: 2em;
    background: #FAF0FF;
    text-align: center;
    margin: 0 auto;
    z-index: 100;
    position: relative;
    margin-top: -5em;
    /* Ajusta la posición de manera que se sobreponga al header */
}

.countdown-section h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 0.125em solid #CBBADB;
    padding: 1.875em 1.25em;
    border-radius: 0.75em;
    width: 7.5em;
    height: 7.5em;
    background: white;
    box-shadow: 0 0.25em 0.625em rgba(79, 53, 102, 0.1);
}

.countdown-item .number {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    color: #4F3566;
    font-weight: bold;
    margin-bottom: 0.2em;
    display: block;
}

.countdown-item .label {
    font-size: 1em;
    color: #4F3566;
    font-weight: 500;
    text-transform: uppercase;
    padding-bottom: 2em;
}

/* ====== SECCIÓN PAREJA ====== */
.couple-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, white 50%, #FAF0FF 70%);
    text-align: center;
}

.couple-section h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: #4F3566;
}

.couple-intro {
    font-size: 1.3em;
    color: #4F3566;
    margin-bottom: 2em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.couple-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3em;
}

.couple-card {
    max-width: 20em;
    text-align: center;
}

.couple-card h3 {
    font-size: 1.8em;
    color: #4F3566;
    margin-top: 1em;
    text-transform: uppercase;
}

.couple-description {
    font-size: 1.3em;
    color: #4F3566;
    margin-top: 1em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.couple-photo {
    position: relative;
    display: inline-block;
    z-index: 1;
    margin-bottom: 2em;
}

.couple-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* Estilos específicos para las fotos (aplicados directamente a .couple-card) */
.couple-card.miguel-card .couple-photo {
    transform: rotate(-8deg);
}

.couple-card.miguel-card .couple-photo::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -15px;
    width: 100%;
    height: 100%;
    background: white;
    border: 0.3em solid #4F3566;
    border-radius: 6px;
    z-index: -1;
}

.couple-card.ruth-card .couple-photo {
    transform: rotate(-8deg);
}

.couple-card.ruth-card .couple-photo::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    background: white;
    border: 0.3em solid #4F3566;
    border-radius: 6px;
    z-index: -1;
}


/* ====== SECCIÓN HISTORIA DE AMOR ====== */
/* #historia {
    scroll-margin-top: 70px;
} */

.story-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.love-story-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 900%;
    background-color: #FAF0FF;
    z-index: -1;
}

.story-section h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.story-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.story-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.story-slide {
    flex: 0 0 100%;
    max-width: 100%;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 2em;
    justify-content: center;
}

.story-photo1,
.story-photo2,
.story-photo3 {
    width: 28em;
    height: 28em;
    border: 0.3em solid #4F3566;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.5s ease-in-out;
}


hr {
    border-top: 0.1em solid #CBBADB;
    max-width: 60%;
    margin-bottom: 0.5em;
    /* Separación entrer la línea y el texto */
}

.story-text {
    text-align: justify;
    max-width: 60%;
}

.story-text h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5em;
    line-height: 1.375;
    color: #4F3566;
}

.story-text p {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 1.2em;
    color: #4F3566;
    text-align: justify;
}

/* Flechas para pasar las fotos */
.story-controls {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    margin-top: 1.25em;
}

.story-control-button {
    background: none;
    border: none;
    font-size: 2em;
    color: #8505f5;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
}

.arrow-icon {
    width: 100px;
    height: 24px;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.story-control-button:hover .arrow-icon {
    stroke: #CBBADB;
    transform: scale(1.05);
}

.story-control-button:hover {
    color: #CBBADB;
}


/* ====== SECCIÓN MOMENTOS ====== */
.moments-section {
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.moments-section h1 {
    font-size: 3em;
    margin-bottom: 1.5em;
}

.swiper {
    max-width: 100vw;
    width: 100%;
    margin: 0;
    overflow: visible !important;
    /* Evitar recortes */
    padding-bottom: 100px;
}

.swiper-wrapper {
    align-items: center;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s ease;
    z-index: 1;
    flex-shrink: 0;
    width: auto;
    height: auto;
    position: relative;
    transition-property: transform;
}

.swiper-slide img {
    width: 300px;
    /* Ancho fijo */
    height: 350px;
    /* Alto fijo */
    object-fit: cover;
    /* Mantiene proporciones sin deformar */
    object-position: 60% 20%;
    /* Ajustar contenido fotos */
    border: 0.3em solid #4F3566;
    border-radius: 6px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* Ajustes de algunas fotos */
.swiper-slide img.ajuste-izquierda {
    object-position: 0% 50%;
}

.swiper-slide img.ajuste-centro {
    object-position: 40% 50%;
}

.swiper-slide img.ajuste-centrosep {
    object-position: 50% 50%;
}

.swiper-slide img.ajuste-derecha {
    object-position: 90% 50%;
}

.swiper-slide-active {
    z-index: 5;
    /* La slide activa siempre está por encima */
}

.swiper-slide-active img {
    transform: scale(1.25);
    /* Aumentamos un poco más la img de la slide ativa */
    z-index: 5;
}

/* Flechas */
.moments-controls {
    display: flex;
    justify-content: center;
    gap: 30em;
    margin-top: 1em;
}

.moments-control-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.moments-control-button .arrow-icon {
    width: 100px;
    height: 24px;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.moments-control-button:hover .arrow-icon {
    stroke: #CBBADB;
    transform: scale(1.05);
}


/* ====== SECCIÓN UBICACIONES ====== */
.location-section {
    padding: 80px 20px;
    text-align: center;
}

.location-section h1 {
    font-size: 3em;
    color: #4F3566;
    margin-bottom: 1.5em;
    text-transform: uppercase;
}

.location-item {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
    flex-wrap: wrap;
    position: relative;
}

/* Contenedor de mapa y texto */
.location-content {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    flex-direction: row;
}


/* Mapa */
.location-content>iframe {
    width: 70%;
    height: 350px;
    border: none;
    z-index: 1;
    /* Mapa debajo del texto */
}

/* Contenedor del texto */
.location-details1,
.location-details2 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 1em;
    color: #4F3566;
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    width: 30%;
    /* El texto ocupa el 30% */
    height: 90%;
    /* Aseguramos que el contenedor tenga altura */
    z-index: -1;
    /* Asegura que el texto esté por encima del mapa */
    position: absolute;
    /* Para que se posicione sobre el mapa */
    border: 0.3em solid #4F3566;
    border-radius: 6px;
    padding: 1em;
    box-sizing: border-box;
}

/* Contenedor del texto para la primera ubicación */
.location-details1,
.location-details1 {
    top: -20px;
    left: 60%;
}

/* Contenedor del texto para la segunda ubicación */
.location-details2 {
    top: 50px;
    left: 120px;
}

.location-box1,
.location-box2 {
    width: 70%;
    box-sizing: border-box;
    min-height: 350px;
    margin: 0 auto;
}

/* Segunda ubicación: Mapa a la derecha */
.location-content.reverse {
    flex-direction: row-reverse;
}

/* Estilos para el texto */
.location-details,
h3 {
    font-size: 1.2em;
    font-weight: bold;
}

.location-details,
p {
    font-size: 1.1em;
}

hr {
    border-top: 0.1em solid #CBBADB;
}



/* ====== SECCIÓN GENERAL CONFIRMAR ====== */
.confirmation-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-color: #F2E1FF;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Contenedor principal */
.confirmation-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    height: auto;
    flex-wrap: nowrap;
}

/* Lado izquierdo */
.confirmation-left {
    width: 40%;
    position: relative;
    height: auto;
    min-height: 100vh;
}

.confirmation-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/ANILLO.jpeg');
    background-size: cover;
    background-position: right;
    filter: grayscale(100%);
}

.confirmation-photo-superpuesta {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%) rotate(-8deg);
    width: 60%;
    border: 10px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: white;
    z-index: 2;
}

.confirmation-photo-superpuesta img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Lado derecho */
.confirmation-right {
    width: 60%;
    padding: 60px 40px;
    overflow-y: visible;
}

.confirmation-right h1 {
    font-size: 3em;
    color: #4F3566;
    margin-bottom: 0.3em;
}

.form-deadline {
    margin-bottom: 1.5em;
    color: #4F3566;
}

/* FORMULARIO */
.confirmation-form {
    font-family: 'Playfair Display', serif;
}

.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 20px);
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

/* Nuevo estilo para los grupos de campos deshabilitados */
.form-group.disabled-field-group {
    opacity: 0.5;
    /* Oscurece el grupo */
    pointer-events: none;
    /* Deshabilita interacciones de ratón */
}

/* Estilo para la sección de brunch cuando está deshabilitada */
.form-info.disabled-field-group {
    opacity: 0.5;
    pointer-events: none;
}


.form-group.full-width {
    flex: 1 1 100%;
    margin-top: 1em;
}

label {
    color: #4F3566;
    font-weight: 500;
    margin-bottom: 0.5em;
    font-size: 1.1em;
    padding: 5px 0;
}

/* Nuevo estilo para etiquetas deshabilitadas (útil para radios/checkboxes) */
label.disabled-label {
    color: #8D6CBD;
}


input,
select,
textarea {
    padding: 0.6em 0.8em;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #4F3566;
    font-size: 1.1em;
    font-family: 'Playfair Display', serif;
    color: #4F3566;
    outline: none;
    transition: border-color 0.3s;
}

/* Estilos específicos para inputs, selects, textareas deshabilitados */
input:disabled,
select:disabled,
textarea:disabled {
    background-color: #f0f0f0;
    border-bottom-color: #ccc;
    cursor: not-allowed;
}

input:focus:disabled,
select:focus:disabled,
textarea:focus:disabled {
    border-bottom-color: #ccc;
    /* No cambiar el borde al enfocar si está deshabilitado */
}


/* BOTÓN CONFIRMACIÓN */
button#boton-confirmacion {
    font-family: 'Playfair Display', serif;
    margin-top: 2em;
    padding: 0.75em 1.5em;
    background: #4F3566;
    color: white;
    border: none;
    border-radius: 0.25em;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

button#boton-confirmacion:hover {
    background: #3C2D50;
}

/* Brunch */
.form-info {
    margin-top: 2em;
    background-color: #EAD9F9;
    padding: 1.5em;
    border-radius: 8px;
    color: #4F3566;
    border-left: 5px solid #4F3566;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    /* Añadido para el efecto de oscurecimiento */
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.form-info h3 {
    margin-bottom: 0.75em;
    text-transform: uppercase;
}

.form-info p {
    margin-bottom: 1.1em;
}

.form-info label {
    display: block;
    margin-bottom: 0.5em;
    cursor: pointer;
}

/* Mensaje confirmación */
.mensaje-exito {
    background-color: #e6ffe6;
    /* Verde claro */
    color: #008000;
    /* Verde oscuro */
    border: 2px solid #008000;
    padding: 0.8em;
    margin-top: 1em;
    border-radius: 0.5em;
    font-weight: bold;
    text-align: center;
    max-width: 20em;
}

.mensaje-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 1.5em;
    margin-top: 1em;
    border-radius: 8px;
    text-align: center;
}

.mensaje-oculto {
    display: none;
}

/* ====== SECCIÓN PLAYLIST ====== */
.playlist-section {
    background-color: #FCFAFF;
    padding: 80px 20px;
    text-align: center;
}

.playlist-section h2 {
    font-size: 3em;
    margin-bottom: 1.5em;
    color: #4F3566;
}

.playlist-content {
    font-size: 1.2em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2em;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.playlist-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    min-width: 80px;
    max-width: 100%;
}

.playlist-form label {
    font-size: 1.1em;
    color: #3F2A56;
    margin-bottom: 0.5em;
    text-align: left;
}

.playlist-form input {
    padding: 0.6em 0.8em;
    border: none;
    border-bottom: 0.1em solid #3F2A56;
    background-color: transparent;
    font-size: 1.1em;
    outline: none;
    transition: border-color 0.3s;
}

.playlist-form input:focus {
    border-bottom-color: #8D6CBD;
}

.playlist-btn {
    background: #4F3566;
    font-family: 'Playfair Display', serif;
    color: white;
    padding: 0.7em 1em;
    border: none;
    border-radius: 0.2em;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1em;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
}

.playlist-btn:hover {
    background: #3C3641;
}

.playlist-image img {
    max-width: 350px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}



/* ====== SECCIÓN GOOGLE DRIVE FOTOS UNIFICADA ====== */
.gdrive-section {
    /*display: none;*/
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(to bottom, white 50%, #FAF0FF 70%);
}

.gdrive-section h1 {
    font-size: 2.5em;
    margin-bottom: 1em;
    text-transform: uppercase;
}

.gdrive-section p {
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
    line-height: 2em;
    color: #4F3566;
    margin-bottom: 2em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.gdrive-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gdrive-btn {
    background: #4F3566;
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 0.3em;
    cursor: pointer;
    transition: background 0.3s ease;
    min-width: 180px;
}

.gdrive-btn:hover {
    background: #3C3641;
}








/* ====== SECCIÓN SUBIR FOTOS CLOUDINARY ====== */
.upload-section,
.galeria-boda {
    display: none;
    /*Esto lo que hace es ocultar la sección, que hasta el día de la boda no nos interesa.*/
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(to bottom, white 50%, #FAF0FF 70%);
}

.upload-section h1 {
    font-size: 3em;
    margin-bottom: 1em;
    text-transform: uppercase;
}

.upload-section p,
.galeria-boda p {
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
    line-height: 2em;
    color: #4F3566;
    margin-bottom: 2em;
}

.upload-form {
    max-width: 400px;
    margin: 0 auto;
}

.upload-form input[type="file"] {
    display: none;
}

.upload-form label {
    background: #4F3566;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.upload-form button,
.ver-fotos {
    display: none; /*OCULTA EL BOTON DE SUBIR FOTO PARA QUE NO SE PIERDA EL SCROLL TO TOP BTN*/
    background: #4F3566;
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 0.3em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.upload-form button:hover {
    background: #3C3641;
}

/* Galería h2 */
.galeria-boda h2 {
    font-size: 2em;
    margin-bottom: 1em;
    text-transform: uppercase;
}


/* ====== FOOTER ====== */
.footer {
    background: #FAF0FF;
    /* background: linear-gradient(to bottom, white 0%, white 50%, #FAF0FF 50%, #FAF0FF 100%); */
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1em;
    flex-wrap: wrap;
}

.footer p {
    font-family: 'Marcellus', serif;
    font-size: 3em;
    line-height: 88px;
    color: #4F3566;
    margin: 0;
}

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

.footer img {
    width: 250px;
    height: auto;
    padding: 1em;
    border-radius: 1.8em;
}

.fecha {
    font-family: 'Marcellus', serif;
    font-size: 1em;
    margin-top: 0.5em;
    color: #4F3566;
}

/* ====== BOTÓN SUBIR ====== */
#scrollToTopBtn {
    display: none;
    /* Ocultar inicialmente */
    position: fixed;
    /* Mantener fijo en la pantalla */
    bottom: 20px;
    /* Distancia desde la parte inferior */
    right: 20px;
    /* Distancia desde la parte derecha */
    z-index: 150;
    /* Asegurar que esté por encima de otros elementos */
    border: none;
    outline: none;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

#scrollToTopBtn svg {
    width: 1.2em;
    height: 1.2em;
    display: block;
}





/* ----------- RESPONSIVE ----------- */


/*Móvil*/
@media (max-width:768px) {

    /* HEADER */
    .header-content {
        padding: 5em 1em;
    }

    .header-text {
        width: 90%;
        padding-top: 6em;
    }

    .header-content h1 {
        font-size: 2.5em;
    }

    .header-content h3 {
        font-size: 2em;
    }

    .header-content p {
        font-size: 1.8em;
    }

    .header-text::before,
    .header-text::after {
        display: none;
        /* Ocultar esquinas en móviles */
    }


    /* MENÚ HAMBURGUESA */
    .nav-container {
        justify-content: flex-end;
        padding: 20px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.9);
        padding: 10px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        margin: 10px 0;
        padding-left: 1.2em;
    }

    .hamburger-menu {
        display: flex;
    }


    /* COUNTDOWN */
    .countdown-section {
        width: 80%;
    }

    .countdown-section h2 {
        font-size: 1.5em;
        margin-bottom: 2em;
    }

    .countdown-container {
        gap: 1.5em;
    }

    .countdown-item {
        padding: 20px 15px;
        width: 100px;
    }

    .countdown-item .number {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .countdown-item .label {
        font-size: 14px;
    }


    /* SECCIÓN PAREJA */
    .couple-section {
        padding: 5em 1.5em 0em;
    }

    .couple-section h1 {
        font-size: 2em;
    }

    .couple-intro {
        font-size: 1em;
    }

    .couple-card {
        max-width: 20em;
    }

    .couple-card h3 {
        font-size: 1.5em;
        margin-top: 1em;
    }

    .couple-description {
        font-size: 1em;
    }

    .couple-photo {
        width: 8em;
        /*15em para columna (las dos fotos)*/
    }

    .couple-card.miguel-card .couple-photo::before {
        top: 1em;
        left: -12px;
    }

    .couple-card.ruth-card .couple-photo::before {
        top: 12px;
        left: 12px;
    }


    /* SECCIÓN HISTORIA DE AMOR */
    .story-section {
        padding: 5em 1.5em 0em;
    }

    .story-section h1 {
        font-size: 2em;
    }

    .love-story-background {
        width: 100%;
        /* Cubrir todo el ancho */
        height: 20%;
        /* Reducir la altura */
    }

    .story-content {
        flex-direction: column;
        /* Apilar contenido */
        gap: 1em;
        overflow: hidden;
        /* Evita que lo que sobresale se vea */
    }

    .story-photo1,
    .story-photo2,
    .story-photo3 {
        max-width: 100%;
        min-width: auto;
    }

    .story-text {
        text-align: justify;
        max-width: 90%;
    }

    .story-text h3 {
        font-size: 1.2em;
        margin-bottom: 0.4em;
    }

    .story-text p {
        font-size: 1em;
        padding-top: 0.5em;
    }


    /* SECCIÓN MOMENTOS */
    .moments-section {
        padding: 3.1em 1.5em 0em;
        min-height: auto;
        overflow: hidden;
    }

    .moments-section h1 {
        padding-top: 0.5em;
        font-size: 2em;
        margin-bottom: 1em;
    }

    .swiper-slide img {
        width: 20em;
        height: 23em;
        object-fit: cover;
        object-position: center;
        border-width: 0.2em;
        display: block;
        margin: 0 auto;
    }

    .swiper-slide-active img {
        transform: scale(1.1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .moments-controls {
        gap: 1.5em;
        margin-top: 2em;
    }


    /* SECCIÓN UBICACIONES */
    .location-section h1 {
        font-size: 2em;
        text-transform: uppercase;
    }

    .location-content {
        flex-direction: column;
        height: auto;
    }

    .location-content>iframe {
        width: 100%;
        height: 250px;
        order: 1;
    }

    .location-details1,
    .location-details2 {
        width: 100%;
        max-width: 100%;
        text-align: center;
        position: static;
        top: auto;
        left: auto;
        order: 2;
        margin-top: 1em;
        box-sizing: border-box;
        padding: 1em;
        font-size: 1em;
    }

    .location-box1,
    .location-box2 {
        width: 90%;
        box-sizing: border-box;
        min-height: 350px;
        margin: 0 auto;
    }


    /* SECCIÓN CONFIRMACIÓN */

    .confirmation-container {
        flex-direction: column;
    }

    .confirmation-left,
    .confirmation-right {
        width: 100%;
        /* Ocupa todo el ancho */
        min-height: auto;
        /* Ajusta la altura automáticamente */
    }

    .confirmation-left {
        display: none;
        /*Foto fuera para móviles*/
    }

    .confirmation-right {
        padding: 1.5em;
    }

    .confirmation-right h1 {
        padding-top: 1.5em;
        font-size: 2em;
        text-align: center;
    }

    .form-grid {
        flex-direction: column;
        /* Apila los campos del formulario */
    }

    .form-group {
        flex: 0 0 auto;
        width: 100%;
    }

    .form-info {
        font-size: 1em;
    }

    label {
        font-size: 1em;
        padding: 2.5px;
    }

    input,
    select,
    textarea {
        font-size: 1em;
    }

    .btnconf {
        font-size: 1em;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /* Brunch */
    .form-info {
        margin-top: 2em;
        background-color: #EAD9F9;
        padding: 1.5em;
        border-radius: 8px;
        color: #4F3566;
        border-left: 5px solid #4F3566;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        font-size: 0.8em;
        /* Añadido para el efecto de oscurecimiento */
        transition: opacity 0.3s ease, background-color 0.3s ease;
    }


    /* SECCION PLAYLIST */
    .playlist {
        padding: 5em 1.5em 0em;
    }

    .playlist-section h2 {
        padding-top: 0.5em;
        font-size: 2em;

    }

    .playlist-content {
        font-size: 1em;
        flex-direction: column;
        justify-content: center;
    }

    .playlist-form label {
        font-size: 1em;
        margin-bottom: 0.5em;
    }

    .playlist-form input {
        font-size: 1em;
    }

    .playlist-btn {
        font-size: 1em;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .playlist-image img {
        display: none;
    }


    /* SECCIÓN SUBIR */
    /*.upload-section h1 {*/
    /*    font-size: 2em;*/
    /*    margin-bottom: 1em;*/
    /*}*/

    /*.upload-section p {*/
    /*    font-size: 1em;*/
    /*    padding: 1.5em;*/
    /*    text-align: justify;*/
    /*}*/

    /*.upload-form button {*/
    /*    font-size: 1em;*/
    /*}*/

    /*.upload-form button:hover {*/
    /*    background: #3C3641;*/
    /*}*/

/* ====== SECCIÓN GOOGLE DRIVE FOTOS UNIFICADA ====== */
    .gdrive-section {
        /* display: none; Activar cuando sea necesario */
        padding: 80px 60px;
        text-align: center;
        background: linear-gradient(to bottom, white 50%, #FAF0FF 70%);
    }

    .gdrive-section h1 {
        font-size: 2em;
        margin-bottom: 1em;
        text-transform: uppercase;
    }

    .gdrive-section p {
        font-family: 'Playfair Display', serif;
        font-size: 1em;
        line-height: 2em;
        color: #4F3566;
        margin-bottom: 2em;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .gdrive-buttons {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .gdrive-btn {
        background: #4F3566;
        font-family: 'Playfair Display', serif;
        font-size: 1em;
        color: white;
        padding: 12px 24px;
        border: none;
        border-radius: 0.3em;
        cursor: pointer;
        transition: background 0.3s ease;
        min-width: 180px;
    }

    .gdrive-btn:hover {
        background: #3C3641;
    }


    /* FOOTER */
    .footer p {
        font-family: 'Marcellus', serif;
        font-size: 1.4em;
    }

    .footer img {
        width: 150px;
        padding: 0;
    }

    .fecha {
        font-size: 1.2em;
    }
}

/*Tablet*/
@media (min-width:769px) and (max-width:1024px) {

    /* HEADER */
    .header-content {
        padding: 5em 1em;
    }

    .header-text {
        width: 90%;
        padding-top: 6em;
    }

    .header-content h1 {
        font-size: 4em;
    }

    .header-content h3 {
        font-size: 2.5em;
    }

    .header-content p {
        font-size: 2em;
    }

    .header-text::before,
    .header-text::after {
        display: none;
        /* Ocultar esquinas en móviles */
    }


    /* MENÚ HAMBURGUESA */
    .nav-container {
        justify-content: flex-end;
        padding: 20px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.9);
        padding: 10px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        margin: 10px 0;
        padding-left: 1.2em;
    }

    .hamburger-menu {
        display: flex;
    }


    /* COUNTDOWN */
    .countdown-section {
        width: 80%;
    }

    .countdown-section h2 {
        font-size: 1.5em;
        margin-bottom: 2em;
    }

    .countdown-container {
        gap: 1.5em;
    }

    .countdown-item {
        padding: 20px 15px;
        width: 100px;
    }

    .countdown-item .number {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .countdown-item .label {
        font-size: 14px;
    }


    /* SECCIÓN PAREJA */
    .couple-section {
        padding: 5em 1.5em 0em;
    }

    .couple-section h1 {
        font-size: 2em;
    }

    .couple-intro {
        font-size: 1em;
    }

    .couple-card {
        max-width: 20em;
    }

    .couple-card h3 {
        font-size: 1.1em;
        margin-top: 1em;
    }

    .couple-description {
        font-size: 1em;
        padding: 0 2em;
    }

    .couple-photo {
        width: 13em;
        /*15em para columna (las dos fotos)*/
    }

    .couple-card.miguel-card .couple-photo::before {
        top: 1em;
        left: -12px;
    }

    .couple-card.ruth-card .couple-photo::before {
        top: 12px;
        left: 12px;
    }

    /* SECCIÓN HISTORIA DE AMOR */
    .story-section {
        padding: 5em 1.5em 0em;
    }

    .story-section h1 {
        font-size: 2em;
    }

    .love-story-background {
        width: 100%;
        /* Cubrir todo el ancho */
        height: 20%;
        /* Reducir la altura */
    }

    .story-content {
        flex-direction: column;
        /* Apilar contenido */
        gap: 1em;
        overflow: hidden;
        /* Evita que lo que sobresale se vea */
    }

    .story-photo1,
    .story-photo2,
    .story-photo3 {
        max-width: 100%;
        min-width: auto;
    }

    .story-text {
        text-align: justify;
        max-width: 90%;
    }

    .story-text h3 {
        font-size: 1.1em;
        margin-bottom: 0.4em;
    }

    .story-text p {
        font-size: 1em;
        padding-top: 0.5em;
    }


    /* SECCIÓN MOMENTOS */
    .moments-section {
        padding: 3.1em 1.5em 0em;
        min-height: auto;
        overflow: hidden;
    }

    .moments-section h1 {
        padding-top: 0.5em;
        font-size: 2em;
        margin-bottom: 1em;
    }

    .swiper-slide img {
        width: 20em;
        height: 23em;
        object-fit: cover;
        object-position: center;
        border-width: 0.2em;
        display: block;
        margin: 0 auto;
    }

    .swiper-slide-active img {
        transform: scale(1.1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .moments-controls {
        gap: 1.5em;
        margin-top: 2em;
    }


    /* SECCIÓN UBICACIONES */
    .location-section h1 {
        font-size: 2em;
        text-transform: uppercase;
    }

    .location-content {
        flex-direction: column;
        height: auto;
    }

    .location-content>iframe {
        width: 100%;
        height: 250px;
        order: 1;
    }

    .location-details1,
    .location-details2 {
        width: 100%;
        max-width: 100%;
        text-align: center;
        position: static;
        top: auto;
        left: auto;
        order: 2;
        margin-top: 1em;
        box-sizing: border-box;
        padding: 1em;
        font-size: 1em;
    }

    .location-box1,
    .location-box2 {
        width: 90%;
        box-sizing: border-box;
        min-height: 350px;
        margin: 0 auto;
    }


    /* SECCIÓN CONFIRMACIÓN */
    .confirmation-right h1 {
        font-size: 2em;
        color: #4F3566;
        margin-bottom: 0.3em;
    }

    .form-deadline {
        font-size: 1em;
        margin-bottom: 1.5em;
        color: #4F3566;
    }

    label {
        color: #4F3566;
        font-weight: 500;
        margin-bottom: 0.5em;
        font-size: 1em;
        padding: 5px 0;
    }

    input,
    select,
    textarea {
        padding: 0.6em 0.8em;
        background-color: transparent;
        border: none;
        border-bottom: 2px solid #4F3566;
        font-size: 1em;
        font-family: 'Playfair Display', serif;
        color: #4F3566;
        outline: none;
        transition: border-color 0.3s;
    }


    .btnconf {
        font-size: 1em;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /* Brunch */
    .form-info {
        margin-top: 2em;
        background-color: #EAD9F9;
        padding: 1.5em;
        border-radius: 8px;
        color: #4F3566;
        border-left: 5px solid #4F3566;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        font-size: 0.8em;
        /* Añadido para el efecto de oscurecimiento */
        transition: opacity 0.3s ease, background-color 0.3s ease;
    }


    .confirmation-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/img/ANILLO.jpeg');
        background-size: cover;
        background-position: 50%;
        filter: grayscale(100%);
    }

    .confirmation-photo-superpuesta {
        position: absolute;
        top: 20%;
        left: 70%;
        transform: translate(-50%, -50%) rotate(-8deg);
        width: 60%;
        border: 8px solid white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        background-color: white;
        z-index: 2;
    }

    /* SECCION PLAYLIST */
    .playlist {
        padding: 5em 1.5em 0em;
    }

    .playlist-section h2 {
        padding-top: 0.5em;
        font-size: 2em;
    }

    .playlist-form label {
        font-size: 1em;
        margin-bottom: 0.5em;
    }

    .playlist-form input {
        font-size: 1em;
    }

    .playlist-btn {
        font-size: 1em;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }


    /* SECCIÓN SUBIR */
    /*.upload-section h1 {*/
    /*    font-size: 2em;*/
    /*    margin-bottom: 1em;*/
    /*}*/

    /*.upload-section p {*/
    /*    font-size: 1em;*/
    /*    padding: 1.5em;*/
    /*    text-align: justify;*/
    /*}*/

    /*.upload-form button {*/
    /*    font-size: 1em;*/
    /*}*/

    /*.upload-form button:hover {*/
    /*    background: #3C3641;*/
    /*}*/

/* ====== SECCIÓN GOOGLE DRIVE FOTOS UNIFICADA ====== */
    .gdrive-section {
        /* display: none; Activar cuando sea necesario */
        padding: 80px 60px;
        text-align: center;
        background: linear-gradient(to bottom, white 50%, #FAF0FF 70%);
    }

    .gdrive-section h1 {
        font-size: 2em;
        margin-bottom: 1em;
        text-transform: uppercase;
    }

    .gdrive-section p {
        font-family: 'Playfair Display', serif;
        font-size: 1em;
        line-height: 2em;
        color: #4F3566;
        margin-bottom: 2em;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .gdrive-buttons {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .gdrive-btn {
        background: #4F3566;
        font-family: 'Playfair Display', serif;
        font-size: 1em;
        color: white;
        padding: 12px 24px;
        border: none;
        border-radius: 0.3em;
        cursor: pointer;
        transition: background 0.3s ease;
        min-width: 180px;
    }

    .gdrive-btn:hover {
        background: #3C3641;
    }
    
    
    /* FOOTER */
    .footer p {
        font-family: 'Marcellus', serif;
        font-size: 1.5em;
    }

    .footer img {
        width: 150px;
        padding: 0;
    }

    .fecha {
        font-size: 1.2em;
    }
}

/* Tablet en modo horizontal (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {

    /* COUNTDOWN */
    .countdown-section {
        width: 60%;
    }

    .countdown-section h2 {
        font-size: 1.5em;
        margin-bottom: 2em;
    }

    .countdown-container {
        gap: 1.5em;
    }

    .countdown-item {
        padding: 20px 15px;
        width: 100px;
    }

    .countdown-item .number {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .countdown-item .label {
        font-size: 14px;
    }

    /* SECCIÓN PAREJA */
    .couple-section {
        padding: 4.5em 2em 0em;
    }

    .couple-section h1 {
        font-size: 2.3em;
    }

    .couple-card {
        max-width: 22em;
    }

    .couple-card h3 {
        font-size: 1.7em;
    }

    /* SECCIÓN UBICACIONES */
    .location-section h1 {
        font-size: 2em;
        text-transform: uppercase;
    }

    .location-content {
        flex-direction: column;
        height: auto;
    }

    .location-content>iframe {
        width: 100%;
        height: 250px;
        order: 1;
    }

    .location-details1,
    .location-details2 {
        width: 100%;
        max-width: 100%;
        text-align: center;
        position: static;
        top: auto;
        left: auto;
        order: 2;
        margin-top: 1em;
        box-sizing: border-box;
        padding: 1em;
        font-size: 1.2em;
    }

    .location-box1,
    .location-box2 {
        width: 90%;
        box-sizing: border-box;
        min-height: 350px;
        margin: 0 auto;
    }

    /*SECCIÓN CONFIRMACIÓN*/
    .confirmation-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/img/ANILLO.jpeg');
        background-size: cover;
        background-position: 75%;
        filter: grayscale(100%);
    }

    /* Brunch */
    .form-info {
        margin-top: 2em;
        background-color: #EAD9F9;
        padding: 1.5em;
        border-radius: 8px;
        color: #4F3566;
        border-left: 5px solid #4F3566;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        font-size: 1em;
        /* Añadido para el efecto de oscurecimiento */
        transition: opacity 0.3s ease, background-color 0.3s ease;
    }



    /* SECCIÓN PLAYLIST */
    .playlist-content {
        font-size: 1.3em;
    }

    /* SECCIÓN SUBIR */
    /*.upload-section p {*/
    /*    font-size: 1.4em;*/
    /*}*/

/* ====== SECCIÓN GOOGLE DRIVE FOTOS UNIFICADA ====== */
    .gdrive-section {
        /* display: none; Activar cuando sea necesario */
        padding: 80px 60px;
        text-align: center;
        background: linear-gradient(to bottom, white 50%, #FAF0FF 70%);
    }

    .gdrive-section h1 {
        font-size: 2.5em;
        margin-bottom: 1em;
        text-transform: uppercase;
    }

    .gdrive-section p {
        font-family: 'Playfair Display', serif;
        font-size: 1.3em;
        line-height: 2em;
        color: #4F3566;
        margin-bottom: 2em;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .gdrive-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .gdrive-btn {
        background: #4F3566;
        font-family: 'Playfair Display', serif;
        font-size: 1.3em;
        color: white;
        padding: 12px 24px;
        border: none;
        border-radius: 0.3em;
        cursor: pointer;
        transition: background 0.3s ease;
        min-width: 180px;
    }

    .gdrive-btn:hover {
        background: #3C3641;
    }
    


    /* FOOTER */
    .footer p {
        font-size: 2.2em;
    }
}