/* Fuentes locales */
@font-face {
    font-family: 'Alice Regular';
    src: url('./static/fonts/Alice-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kunstler Script';
    src: url('./static/fonts/kunstlerscript.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    overflow-x: hidden;
    position: relative;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

/* Estilos para index.html - Video de fondo completo */
body.index-page {
    overflow: hidden;
    height: 100vh;
}

/* Mobile First - Estilos base para móviles */
h1 {
    font-family: 'Kunstler Script';
    font-style: italic;
    font-size: 3.5rem;
    line-height: 1.1;
    text-align: center;
    font-weight: normal;
    color: #8E8C53;
    margin-bottom: 1rem;
    min-width: 100%;
}

h2 {
    font-family: 'Alice Regular', cursive;
    font-size: 1.2rem;
    line-height: 1.1;
    text-align: center;
    font-weight: normal;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

h3 {
    font-family: 'Alice Regular', cursive;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.1;
    text-align: center;
    font-weight: normal;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.frase {
    font-family: 'Kunstler Script';
    font-size: 2rem;
    font-weight: normal;
    color: #896f43;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.cita {
    font-family: 'Alice Regular', cursive;
    font-size: 0.9rem;
    text-align: right;
    font-weight: normal;
    color: #d0b168;
    padding: 0.5rem 1rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.destacado {
    font-family: 'Alice Regular';
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 0.5;
}

.derecha {
    display: inline-block;
    text-align: right;
    min-width: 50%;
    line-height: 0.5;
}

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

.boton_confirmacion {
    font-family: 'Alice Regular', cursive;
    font-size: 0.9rem;
    line-height: 1.1;
    text-align: center;
    font-weight: normal;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
    animation: moverArribaAbajo 2s ease-in-out infinite;
    cursor: pointer;
}

.boton_confirmacion:hover {
    animation-play-state: paused;
}

#arrow-down {
    width: 30px;
    height: 30px;
}

@keyframes moverArribaAbajo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.video-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    cursor: pointer;
}

.contenido-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.instruccion {
    color: white;
    font-size: 16px;
    font-family: Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: parpadeo 2s infinite;
    pointer-events: none;
}

@keyframes parpadeo {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.instruccion.oculto {
    display: none;
}

/* Clase general para todas las secciones */
.seccion {
    position: relative;
    width: 100vw;
    min-height: auto;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-sizing: border-box;
}

.seccion:first-of-type {
    overflow: visible;
    width: 100vw;
    min-height: 100vh;
    padding: 0;
}

.video-nosotros-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
}

.marco-video {
    position: absolute;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.overlay-video {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
    bottom: -3rem;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
    width: auto;
}

.overlay-video img {
    position: relative;
    z-index: 1000;
}

.marco-derecho {
    transform: scaleX(-1);
    transform-origin: center center;
    transform: rotate(180deg);
}

.marco-izquierdo {
    transform-origin: center center;
    transform: scaleY(-1);
}

/* Mobile - Posicionar encima de la línea del video */
@media (max-width: 480px) {
    .seccion:first-of-type .marco-video {
        max-height: 100px;
        bottom: auto;
        top: calc(100% - 80px);
    }
}

.contenido-seccion {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#seccion-nosotros {
    justify-content: space-around;
    z-index: 1;
}

#seccion-cuenta-regresiva {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background-image: url('./static/img/nosotros_14.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#seccion-ubicacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
    margin-top: 6rem;
}

.localizaciones {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    gap: 2rem;
    align-items: center;
}

.localizacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    flex: 1;
}

.icono-localizacion {
    width: 150px;
    margin-bottom: 1rem;
}

.titulo-localizacion {
    font-family: 'Alice Regular', cursive;
    font-size: 1.5rem;
    color: #adac6f;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: none;
}

.direccion {
    font-family: 'Alice Regular', cursive;
    font-size: 1rem;
    color: #896f43;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.hora {
    font-family: 'Alice Regular', cursive;
    font-size: 1.2rem;
    color: #d0b168;
    margin-bottom: 1rem;
}

.ring-img {
    max-width: 80px;
}

.boton-mapa {
    width: 100%;
    max-width: 200px;
    background-color: #adac6f;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 1rem;
    font-family: 'Alice Regular', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.boton-mapa:hover {
    background-color: #b89a58;
    border-color: #b89a58;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.boton-mapa:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.separador-vertical {
    display: none;
    width: 2px;
    background-color: #d0b168;
    height: 100%;
    min-height: 300px;
}

#seccion-vestimenta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background-color: white;
    min-height: 500px;
}

.vestimenta {
    background-color: #8E8C53;
    width: 100%;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
}

.vestido,
.traje {
    width: 100%;
    max-width: 80px;

}

.descripcion-vestimenta {
    font-family: 'Alice Regular', cursive;
    font-size: 1rem;
    color: white;
    text-align: center;
    max-width: 200px;
}

.regalo {
    width: 100%;
    max-width: 65px;
}

#seccion-regalo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    background-color: white;
    min-height: 500px;
}

#seccion-regalo p {
    font-family: 'Alice Regular', cursive;
    font-size: 1rem;
    color: #896f43;
    text-align: center;
    max-width: 200px;
}

#frase-final {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background-color: white;
    padding: 3rem 1rem;
}

/* Estilos para fotos pegadas - Efecto de foto sobre la página (posicionamiento absoluto) */
.contenedor-fotos-pegadas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.foto-pegada {
    position: absolute;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 12px solid white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15);
    transform-origin: center center;
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* Posicionamiento alternado: izquierda/derecha por sección */
/* Sección Vestimenta - Lado izquierdo */
#seccion-vestimenta .foto-pegada-1 {
    left: 5%;
    top: 15%;
    transform: rotate(-8deg);
}

#seccion-vestimenta .foto-pegada-2 {
    right: 5%;
    top: -10%;
    transform: rotate(10deg);
}

/* Sección Regalo - Lado derecho */
#seccion-regalo .foto-pegada-3 {
    left: 5%;
    top: -20%;
    transform: rotate(-10deg);
}

.foto-pegada-4 {
    right: -5%;
    top: -5%;
    transform: rotate(10deg);
}

/* Sección Confirmación - Lado izquierdo */
#seccion-confirmacion .foto-pegada-5 {
    left: 5%;
    top: 20%;
    transform: rotate(-12deg);
}

#seccion-confirmacion .foto-pegada-6 {
    left: 8%;
    top: 55%;
    transform: rotate(8deg);
}

/* Sección Ubicación - Lado derecho (arriba de Nuestra Boda) */
#seccion-ubicacion .foto-pegada-7 {
    left: -10%;
    top: -8%;
    transform: rotate(-10deg);
}

/* Asegurar que el contenido principal esté sobre las fotos */
#seccion-vestimenta .vestimenta,
#seccion-vestimenta h1,
#seccion-regalo .regalo,
#seccion-regalo h1,
#seccion-regalo p,
#seccion-ubicacion .ring-img,
#seccion-ubicacion h1,
#seccion-ubicacion .localizaciones,
#seccion-confirmacion h1,
#seccion-confirmacion .formulario-confirmacion {
    position: relative;
    z-index: 2;
}

/* Efecto hover leve (opcional) */
.foto-pegada:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3),
        0 6px 12px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

#frase-final p {
    font-size: 2rem;
    color: #896f43;
    text-align: center;
    max-width: 80%;
}

#frase-final h3 {
    font-family: 'Alice Regular', cursive;
    font-size: 1rem;
    color: #896f43;
    text-align: center;
    max-width: 200px;
    margin-top: 1rem;
    text-shadow: none;
}


#seccion-confirmacion {
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: 500px;
}

.formulario-confirmacion {
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.campo-formulario {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.campo-formulario label {
    font-family: 'Alice Regular', cursive;
    font-size: 1rem;
    color: #896f43;
    font-weight: normal;
}

.campo-formulario input[type="text"] {
    padding: 0.75rem;
    border: 2px solid #8E8C53;
    border-radius: 5px;
    font-family: 'Alice Regular', cursive;
    font-size: 1rem;
    color: #333;
    background-color: white;
    transition: border-color 0.3s ease;
}

.campo-formulario input[type="text"]:focus {
    outline: none;
    border-color: #896f43;
}

.radio-group {
    margin-top: 0.5rem;
}

.label-radio {
    font-family: 'Alice Regular', cursive;
    font-size: 1rem;
    color: #896f43;
    margin-bottom: 0.75rem;
    display: block;
}

.radio-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Alice Regular', cursive;
    font-size: 1rem;
    color: #896f43;
}

.radio-label input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #8E8C53;
}

.radio-label span {
    user-select: none;
}

.boton-enviar {
    padding: 1rem 2rem;
    background-color: #8E8C53;
    color: white;
    border: none;
    border-radius: 5px;
    font-family: 'Alice Regular', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.boton-enviar:hover {
    background-color: #896f43;
    transform: translateY(-2px);
}

.boton-enviar:active {
    transform: translateY(0);
}

.boton-enviar:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.mensaje-respuesta {
    text-align: center;
    font-family: 'Alice Regular', cursive;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
}

.mensaje-respuesta.exito {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.mensaje-respuesta.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Estilos para la cuenta regresiva - Mobile First */
.cuenta-regresiva {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cuenta-regresiva-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: auto;
}

.flip-clock-card {
    width: 120px;
    height: 120px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    overflow: visible;
    margin-bottom: 1rem;
    perspective: 1000px;
}

.flip-clock-top {
    display: none;
}

.flip-clock-divider {
    display: none;
}

.flip-clock-bottom-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    perspective: 1000px;
    overflow: hidden;
}

.flip-clock-bottom {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform-origin: center center;
}

.flip-clock-bottom.flip {
    animation: flipBottom 0.6s ease-in-out forwards;
}

@keyframes flipBottom {
    0% {
        transform: rotateX(0deg);
    }

    100% {
        transform: rotateX(-180deg);
    }
}

.flip-clock-bottom-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.flip-clock-bottom-front,
.flip-clock-bottom-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0;
}

.flip-clock-bottom-front .flip-clock-number,
.flip-clock-bottom-back .flip-clock-number {
    margin: 0;
    padding: 0;
}

.flip-clock-bottom-back {
    transform: rotateX(180deg);
}

.flip-clock-number {
    font-family: 'Arial', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin: 0;
    padding: 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cuenta-etiqueta {
    font-family: 'Alice Regular', cursive;
    font-size: 0.8rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Responsive Design - Mobile First (min-width) */

/* Tablets y pantallas medianas (481px en adelante) */
@media (min-width: 481px) {
    .boton-mapa {
        max-width: 350px;
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .frase {
        font-size: 1.5rem;
        max-width: 600px;
    }

    .cita {
        font-size: 1rem;
        max-width: 600px;
    }

    .instruccion {
        font-size: 18px;
    }

    .boton_confirmacion {
        font-size: 1rem;
        margin-top: 2rem;
    }

    .cuenta-regresiva {
        gap: 1.5rem;
        max-width: 500px;
    }

    .flip-clock-card {
        width: 140px;
        height: 140px;
    }

    .flip-clock-number {
        font-size: 4rem;
    }

    .cuenta-etiqueta {
        font-size: 0.9rem;
    }

    .marco-video {
        max-height: 140px;
        bottom: 0;
    }
}

/* Desktop y pantallas grandes (769px en adelante) */
@media (min-width: 769px) {
    .localizaciones {
        flex-direction: row;
        gap: 3rem;
        align-items: flex-start;
    }

    .separador-vertical {
        display: block;
        flex-shrink: 0;
    }

    .boton-mapa {
        max-width: 320px;
        padding: 1.1rem 2.2rem;
        font-size: 1.05rem;
    }

    .titulo-localizacion {
        font-size: 1.8rem;
    }

    .direccion {
        font-size: 1.1rem;
    }

    .hora {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .frase {
        font-size: 2rem;
        max-width: 800px;
    }

    .cita {
        font-size: 1rem;
        max-width: 800px;
    }

    .instruccion {
        font-size: 24px;
    }

    .boton_confirmacion {
        font-size: 1.1rem;
    }

    .cuenta-regresiva {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        max-width: none;
        grid-template-columns: none;
        grid-template-rows: none;
    }

    .cuenta-regresiva-item {
        min-width: 120px;
    }

    .flip-clock-card {
        width: 180px;
        height: 180px;
    }

    .flip-clock-number {
        font-size: 5rem;
    }

    .cuenta-etiqueta {
        font-size: 1rem;
    }

    .marco-video {
        max-height: 200px;
        bottom: 0;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .seccion {
        min-height: auto;
    }
}

/* Estilos para el calendario */
#seccion-calendario {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calendario {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.calendario h2 {
    font-family: 'Alice Regular', cursive;
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.75rem;
}

#calendario-febrero {
    width: 100%;
    padding: 0.75rem;
    box-sizing: border-box;
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    box-sizing: border-box;
}

.dia-semana {
    text-align: center;
    font-weight: bold;
    font-size: 0.85rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: 0.4rem 0.25rem;
    font-family: 'Alice Regular', cursive;
}

.dia-calendario {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    font-family: 'Alice Regular', cursive;
    cursor: default;
}

.dia-vacio {
    aspect-ratio: 1;
    background-color: transparent;
}

.dia-especial {
    position: relative;
}

.dia-especial .numero-dia {
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.dia-especial .corazon-marcador {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    color: rgba(255, 105, 135, 0.8);
    animation: latido 1.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.3s ease;
}

.dia-especial:hover .corazon-marcador {
    animation-play-state: paused;
    transform: translate(-50%, -50%) scale(1.3);
    width: 180%;
    height: 180%;
}

.dia-especial:hover .numero-dia {
    transform: scale(1.3);
}

@keyframes latido {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}


/* Estilos responsivos para el calendario - Mobile First */
@media (min-width: 481px) {
    #calendario-febrero {
        padding: 1rem;
    }

    .calendario h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .calendario-grid {
        gap: 0.35rem;
        max-width: 90%;
    }

    .dia-semana {
        font-size: 1rem;
        padding: 0.5rem 0.35rem;
    }

    .dia-calendario {
        font-size: 1.1rem;
        border-radius: 7px;
    }

    .dia-especial .corazon-marcador {
        width: 120%;
        height: 120%;
    }
}

@media (min-width: 769px) {
    #calendario-febrero {
        padding: 1.5rem;
    }

    .calendario h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .calendario-grid {
        gap: 0.5rem;
        max-width: 700px;
    }

    .dia-semana {
        font-size: 1.2rem;
        padding: 0.75rem;
    }

    .dia-calendario {
        font-size: 1.5rem;
        border-radius: 8px;
        border-width: 2px;
    }

    .dia-especial .corazon-marcador {
        width: 150%;
        height: 150%;
    }
}

/* Estilos para fotos-dos */
.fotos-dos {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 2rem;
    width: 100%;
    max-width: 800px;
}

.fotos-dos img {
    width: 50vw;
    height: 50vw;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estilos responsivos para fotos-dos - Mobile First */
@media (min-width: 769px) {
    .fotos-dos {
        max-width: 800px;
        margin: 2rem auto;
    }

    .fotos-dos img {
        width: 400px;
        height: 400px;
    }
}

/* Estilos responsivos para el formulario de confirmación - Mobile First */
@media (min-width: 481px) {
    .formulario-confirmacion {
        max-width: 450px;
        padding: 0 1rem;
    }

    .campo-formulario input[type="text"] {
        font-size: 1.1rem;
        padding: 0.85rem;
    }

    .boton-enviar {
        font-size: 1.2rem;
        padding: 1.1rem 2.5rem;
    }

    .foto-pegada {
        width: 180px;
        height: 180px;
    }

    /* Ajustes de posición para tablets */
    #seccion-vestimenta .foto-pegada-1,
    #seccion-confirmacion .foto-pegada-5 {
        left: 3%;
    }

    #seccion-regalo .foto-pegada-3 {
        right: 3%;
    }
}

@media (min-width: 769px) {
    .formulario-confirmacion {
        max-width: 500px;
    }

    #seccion-confirmacion {
        padding: 3rem 2rem;
    }

    .foto-pegada {
        width: 200px;
        height: 200px;
        border-width: 15px;
    }

    /* Ajustes de posición para desktop */
    #seccion-vestimenta .foto-pegada-1 {
        left: 8%;
        top: 12%;
    }

    #seccion-vestimenta .foto-pegada-2 {
        left: 10%;
        top: 50%;
    }

    #seccion-regalo .foto-pegada-3 {
        right: 8%;
        top: 15%;
    }

    #seccion-regalo .foto-pegada-4 {
        right: 10%;
        top: 55%;
    }

    #seccion-confirmacion .foto-pegada-5 {
        left: 8%;
        top: 15%;
    }

    #seccion-confirmacion .foto-pegada-6 {
        left: 10%;
        top: 60%;
    }

    #seccion-ubicacion .foto-pegada-7 {
        right: 8%;
        top: 3%;
    }

    #seccion-vestimenta,
    #seccion-regalo,
    #frase-final {
        padding: 4rem 2rem;
    }
}

/* Estilos para la transición entre secciones */
.intro-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    transition: opacity 0.8s ease-out;
}

.main-content {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease-in;
}