/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=League+Script&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

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

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

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: #3B2F2F;
    background-color: #FFFFFF;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Traditional Scroll Layout */
.fullpage-container {
    height: auto;
    overflow: visible;
}

.fullpage-wrapper {
    height: auto;
    transform: none;
    transition: none;
}

/* Each section takes auto height */
section {
    height: auto;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 4rem 0;
}

/* First section (Hero) keeps full height */
section:first-child {
    min-height: 100vh;
    padding: 0;
}

/* Alternating background colors */
section:nth-child(odd) {
    background: url('imagenes/fondobeige.jpg') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* Overlay sutil para secciones impares con fondo beige */
section:nth-child(odd)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75); /* Overlay blanco suave con 75% opacidad */
    z-index: 0;
}

/* Asegurar que el contenido esté sobre el overlay */
section:nth-child(odd) .container {
    position: relative;
    z-index: 1;
}

section:nth-child(even) {
    background-color: #8B6D5C;
    color: #3B2F2F;
}

/* Navigation Dots - Hide completely */
.navigation-dots {
    display: none;
}

/* Container for centered content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    background: #000000; /* Fallback color */
    color: #FFFFFF !important;
    overflow: hidden;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Overlay oscuro sobre el video */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Asegurar que el contenido esté por encima del video */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Force all hero elements to be white */
.hero,
.hero *,
.hero-content,
.hero-content *,
.hero-logo,
.hero-logo *,
.hero-date {
    color: #FFFFFF ;
}

/* Ensure hero date is always white */
.hero-date {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    margin-bottom: 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-logo img {
    width: 500px;
    height: 500px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hero-date {
    font-family: 'Lora', serif;
    font-style: normal;
    font-size: 4rem;
    font-weight: 400;
    color: #FFFFFF !important;
    letter-spacing: 8px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Legacy styles for backward compatibility */
.couple-names {
    font-family: 'League Script', Georgia, serif;
    font-style: normal;
    font-size: 4.5rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 10px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.getting-married {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

/* Invitation Section */
.invitation-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.invitation-text {
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 2px;
    text-align: left;
}

.invitation-main-text {
    font-size: 1.1rem !important;
    line-height: 1.7;
}

.invitation-text p {
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out forwards;
}

.invitation-signature {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.8rem;
    text-align: right;
    margin-top: 2rem;
    margin-bottom: 0;
    opacity: 0.8;
    letter-spacing: 1px;
}

.invitation-signature-block {
    margin-top: 3rem;
    text-align: right;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.8s forwards;
}

.invitation-love {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    letter-spacing: 1px;
    font-weight: 400;
}

.invitation-names {
    font-family: 'League Script', serif;
    font-style: normal;
    font-size: 2.8rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 2px;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.invitation-text p:nth-child(1) { animation-delay: 0.2s; }
.invitation-signature-block { animation-delay: 0.8s; }

.invitation-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.3s forwards;
}

.invitation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.invitation-image:hover img {
    transform: scale(1.05);
}

.initials {
    text-align: center;
    opacity: 0;
    animation: fadeInRight 1s ease-out 0.5s forwards;
}

.initials img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.initials h2 {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 2.5rem;
    margin-top: 1rem;
}

.itinerary-container {
    width: 100%;
    max-width: 1200px;
}

/* Itinerary Section - Fondo con imagen */
.itinerary-section {
    background: url('imagenes/fondobeige.jpg') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* Overlay sutil para mejorar legibilidad */
.itinerary-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75); /* Overlay blanco suave con 75% opacidad */
    z-index: 0;
}

.itinerary-section .container {
    position: relative;
    z-index: 1;
}

/* Asegurar que el texto sea legible sobre el fondo */
.itinerary-section .section-title,
.itinerary-section * {
    position: relative;
    z-index: 1;
}

/* Texto oscuro para sección clara */
.itinerary-section .section-title {
    color: #3B2F2F !important;
}

.itinerary-section .item-info h3,
.itinerary-section .item-info p {
    color: #3B2F2F;
}

.section-title {
    font-family: 'League Script', Georgia, serif;
    font-style: normal;
    font-size: 3.5rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 8px;
    margin-bottom: 4rem;
    text-align: center;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
}

.itinerary-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.itinerary-image {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.4s forwards;
}

.itinerary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.itinerary-image:hover img {
    transform: scale(1.05);
}

.itinerary-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.itinerary-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out forwards;
    transition: transform 0.3s ease;
}

/* Adjust itinerary items for dark backgrounds */
section:nth-child(odd) .itinerary-item {
    background: white;
    color: #3B2F2F;
}

.itinerary-item:nth-child(1) { animation-delay: 0.6s; }
.itinerary-item:nth-child(2) { animation-delay: 0.8s; }
.itinerary-item:nth-child(3) { animation-delay: 1s; }

.itinerary-item:hover {
    transform: translateY(-5px);
}

/* Icono flecha en Recepción */
.itinerary-item .dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.itinerary-item .dropdown-icon svg {
    width: 18px;
    height: 18px;
    stroke: #8B6D5C;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.itinerary-item:hover .dropdown-icon {
    transform: translateY(3px);
}

.itinerary-item:hover .dropdown-icon svg {
    stroke: #6b5230;
    stroke-width: 2.5;
}

/* Efecto hover para Venue clickeable */
.itinerary-item.venue-clickable:hover {
    background: rgba(139, 109, 92, 0.1);
    border-left: 4px solid #8B6D5C;
}

.itinerary-item.venue-clickable:hover .item-info h3 {
    color: #8B6D5C;
}

.item-image {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: #F9F5E7;
    border: 2px solid #8B6D5C;
    transition: all 0.3s ease;
}

.item-image svg,
.item-image img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(139, 108, 66, 0.2));
    transition: transform 0.3s ease;
}

.item-image svg {
    color: #8B6D5C;
}

.item-image img {
    max-width: 60px;
    max-height: 60px;
}

.itinerary-item:hover .item-image {
    background: #8B6D5C;
    border-color: #8B6D5C;
    transform: scale(1.05);
}

.itinerary-item:hover .item-image svg {
    color: #F9F5E7;
}

.itinerary-item:hover .item-image img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.itinerary-item:hover .item-image svg,
.itinerary-item:hover .item-image img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.item-info h3 {
    font-family: 'League Script', Georgia, serif;
    font-style: normal;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.item-info p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.details-container {
    width: 100%;
    max-width: 1200px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.detail-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Adjust detail cards for dark backgrounds */
section:nth-child(odd) .detail-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.detail-card:nth-child(1) { animation-delay: 0.4s; }
.detail-card:nth-child(2) { animation-delay: 0.6s; }
.detail-card:nth-child(3) { animation-delay: 0.8s; }

.detail-card:hover {
    transform: translateY(-10px);
}

.detail-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.detail-card:hover img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.card-content h3 {
    font-family: 'League Script', Georgia, serif;
    font-style: normal;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.card-content p {
    margin-bottom: 2rem;
    font-size: 1rem;
    opacity: 0.8;
}

.coming-soon-text {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 2rem;
    color: #666;
}

.detail-btn {
    background: #8B6D5C !important;
    color: #FFFFFF !important;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-family: 'Lora', serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(139, 109, 92, 0.3);
    text-decoration: none;
    display: inline-block;
}

.detail-btn:hover {
    background: #6B5230 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 109, 92, 0.4);
}

.dress-code-container {
    width: 100%;
    max-width: 1200px;
}

.dress-code-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.dress-code-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.dress-info {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.dress-info:nth-child(1) { animation-delay: 0.4s; }
.dress-info:nth-child(2) { animation-delay: 0.6s; }

.dress-info h3 {
    font-family: 'League Script', Georgia, serif;
    font-style: normal;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: 2px;
}

.dress-info p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.8;
}

.dress-btn {
    background: transparent;
    border: 2px solid currentColor;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-family: 'Lora', serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    width: fit-content;
}

/* Default dress button colors for other sections */
section:nth-child(even) .dress-btn {
    color: #8B6D5C;
    border-color: #8B6D5C;
}

section:nth-child(odd) .dress-btn {
    color: #F9F5E7;
    border-color: #F9F5E7;
}

section:nth-child(even) .dress-btn:hover {
    background: #8B6D5C;
    color: #F9F5E7;
    transform: translateY(-2px);
}

section:nth-child(odd) .dress-btn:hover {
    background: #F9F5E7;
    color: #8B6D5C;
    transform: translateY(-2px);
}

.dress-code-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.8s forwards;
}

.dress-code-images img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
}

/* Se eliminó el efecto de zoom en hover */

.gift-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

/* Asegurar que la columna de bank-info quede al inicio en el grid */
.gift-container .bank-info {
    justify-self: stretch;
}

.gift-title {
    font-family: 'League Script', Georgia, serif !important;
    font-style: normal;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-transform: none;
    letter-spacing: 4px;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.2s forwards;
    color: #FFFFFF !important;
}

.gift-text p {
    font-family: 'Lora', serif !important;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.4s forwards;
    color: #FFFFFF !important;
}

.bank-info {
    padding: 2.5rem 2rem 2.5rem 0;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: left;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.6s forwards;
}

.bank-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Alineación a la izquierda para móviles en la sección de banco */
@media (max-width: 600px) {
    .bank-info {
        padding: 1rem 1rem 1rem 0;
        border-radius: 6px;
        background: transparent;
        box-shadow: none;
        text-align: left;
    }
    .bank-info p {
        text-align: left !important;
        margin: 0.4rem 0 !important;
        font-size: 1rem;
    }
    .gift-text {
        text-align: center !important;
    }
    .gift-text p {
        font-size: 1.05rem !important;
    }

    /* Centrar título y primer párrafo introductorio en móvil */
    .gift-title {
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .gift-text p:first-of-type {
        text-align: center !important;
    }
}

.gift-image {
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.8s forwards;
}

.gift-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.rsvp-container {
    width: 100%;
    max-width: 1200px;
}

.rsvp-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.rsvp-subtitle {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
    opacity: 0.8;
}

/* Nota pequeña bajo el mensaje RSVP: centrar y aplicar mismo estilo/color */
.rsvp-note {
    font-family: 'Lora', serif !important;
    font-style: italic !important;
    font-size: 0.95rem !important;
    color: #8B6D5C !important;
    text-align: center !important;
    margin-top: 0.5rem !important;
    opacity: 0.9;
}

.rsvp-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Adjust RSVP form for dark backgrounds */
section:nth-child(odd) .rsvp-form {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.form-group {
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeInLeft 0.6s ease-out forwards;
}

.form-group:nth-child(1) { animation-delay: 0.4s; }
.form-group:nth-child(2) { animation-delay: 0.5s; }
.form-group:nth-child(3) { animation-delay: 0.6s; }
.form-group:nth-child(4) { animation-delay: 0.7s; }
.form-group:nth-child(5) { animation-delay: 0.8s; }

.form-group label {
    display: block;
    font-family: 'Lora', serif;
    font-weight: bold;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #E8E0D6;
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: #3B2F2F;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
    max-height: 120px;
}

/* Adjust form inputs for dark backgrounds */
section:nth-child(odd) .form-group input,
section:nth-child(odd) .form-group textarea,
section:nth-child(odd) .form-group select {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: #F9F5E7;
}

section:nth-child(odd) .form-group input::placeholder,
section:nth-child(odd) .form-group textarea::placeholder {
    color: rgba(249,245,231,0.7);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #8B6D5C;
    box-shadow: 0 0 0 3px rgba(141, 111, 64, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%238d6f40" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.form-group select option {
    color: #3B2F2F;
    background: white;
    padding: 0.5rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    text-transform: none;
    font-size: 0.9rem;
    padding: 0.4rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.radio-group label:hover {
    background-color: rgba(141, 111, 64, 0.05);
}

.radio-group input[type="radio"] {
    width: auto;
    margin: 0;
    padding: 0;
}

.submit-btn {
    background: #8B6D5C !important;
    color: #FFFFFF !important;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.9s forwards;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(139, 109, 92, 0.3);
}

.submit-btn:hover {
    background: #6B5230 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 109, 92, 0.4);
}

.rsvp-image {
    width: 100%;
    height: 100%; /* Cambiado de 500px a 100% para ocupar todo el espacio disponible */
    min-height: 700px; /* Altura mínima para asegurar que sea más grande */
    border-radius: 15px;
    overflow: hidden;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.4s forwards;
    align-self: stretch; /* Cambiado de start a stretch para que se estire verticalmente */
}

.rsvp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rsvp-image:hover img {
    transform: scale(1.05);
}

/* Form styling improvements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.compact {
    margin-bottom: 1rem;
}

.form-group.radio-compact {
    margin-bottom: 1.5rem;
}

.form-group.radio-compact .radio-group {
    background: rgba(255,255,255,0.1);
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}

.final-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.final-image {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.4s forwards;
}

.final-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.final-image:hover img {
    transform: scale(1.05);
}

.final-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.6s forwards;
}

.calendar-btn {
    background: transparent;
    border: 2px solid currentColor;
    padding: 1.2rem 2.5rem;
    border-radius: 25px;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

section:nth-child(even) .calendar-btn {
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

section:nth-child(odd) .calendar-btn {
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

section:nth-child(even) .calendar-btn:hover {
    background: #FFFFFF !important;
    color: #8B6D5C !important;
    transform: translateY(-2px);
}

section:nth-child(odd) .calendar-btn:hover {
    background: #FFFFFF !important;
    color: #8B6D5C !important;
    transform: translateY(-2px);
}

/* Music Section Styles */
.music-section {
    margin: 3rem 0;
    padding: 2.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

/* Music Section Main - Perfect Centering */
.music-section-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
}

.music-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.music-header {
    text-align: center;
    margin-bottom: 4rem;
}

.music-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}

.music-left {
    display: flex;
    justify-content: center;
}

.music-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spotify-container {
    width: 100%;
    max-width: 400px;
}

.music-section-main .music-icon {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
    text-align: center;
}

section:nth-child(even) .music-section-main .music-icon {
    color: #8B6D5C;
}

section:nth-child(odd) .music-section-main .music-icon {
    color: #F9F5E7;
}

.music-section-main .music-icon svg {
    filter: drop-shadow(0 4px 15px rgba(141, 111, 64, 0.3));
}

.music-main-title {
    font-family: 'League Script', Georgia, serif;
    font-style: normal;
    font-size: 2.8rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 6px;
    margin-bottom: 2.5rem;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.music-main-subtitle {
    font-family: 'Lora', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-style: italic;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0.8;
    text-align: center;
}

.music-form-main {
    max-width: 500px;
    margin: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    width: 100%;
}

.music-input-group-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.music-input-group-main input {
    padding: 1.2rem;
    border: 2px solid #8B6D5C !important;
    border-radius: 10px;
    background: white !important;
    color: #000000 !important;
    font-family: 'Lora', serif;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Specific styles for music section inputs to ensure text visibility */
.music-section-main .music-input-group-main input {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #000000 !important;
    border-color: #8B6D5C !important;
}

/* Adjust music inputs for dark backgrounds */
section:nth-child(odd) .music-input-group-main input {
    background: rgba(255,255,255,0.95) !important;
    border-color: #8B6D5C !important;
    color: #000000 !important;
}

section:nth-child(odd) .music-input-group-main input::placeholder {
    color: rgba(141, 111, 64, 0.8) !important;
    font-style: italic;
}

section:nth-child(even) .music-input-group-main input {
    background: white !important;
    border-color: #8B6D5C !important;
    color: #000000 !important;
}

section:nth-child(even) .music-input-group-main input::placeholder {
    color: rgba(141, 111, 64, 0.7) !important;
    font-style: italic;
}

.music-input-group-main input::placeholder {
    color: rgba(141, 111, 64, 0.7) !important;
    font-style: italic;
}

.music-input-group-main input:focus {
    outline: none;
    border-color: #8B6D5C !important;
    box-shadow: 0 0 0 3px rgba(141, 111, 64, 0.1), 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.music-btn-main {
    background: #8B6D5C !important;
    color: #FFFFFF !important;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 25px;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(139, 109, 92, 0.3);
    display: block;
    margin: 0 auto;
}

.music-btn-main:hover {
    background: #6B5230 !important;
    color: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 109, 92, 0.4);
}

.music-icon {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.music-icon svg {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.music-title {
    font-family: 'League Script', Georgia, serif;
    font-style: normal;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.music-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    font-style: italic;
    opacity: 0.9;
}

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

.music-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.music-input-group input {
    padding: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    font-family: 'Lora', serif;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.music-input-group input::placeholder {
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

.music-input-group input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.music-btn {
    background: transparent;
    border: 2px solid currentColor;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
}

section:nth-child(even) .music-btn {
    color: #8B6D5C;
}

section:nth-child(odd) .music-btn {
    color: #F9F5E7;
}

section:nth-child(even) .music-btn:hover {
    background: #8B6D5C;
    color: #F9F5E7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

section:nth-child(odd) .music-btn:hover {
    background: #F9F5E7;
    color: #8B6D5C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Countdown Timer Styles */
.countdown-container {
    margin: 3rem 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.countdown-title {
    font-family: 'League Script', Georgia, serif;
    font-style: normal;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: none;
    letter-spacing: 2px;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.countdown-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: -1;
}

.countdown-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.countdown-number {
    display: block;
    font-family: 'League Script', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
}

.countdown-label {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    opacity: 0.8;
    text-align: center !important;
    display: block;
    width: 100%;
    margin: 0 auto;
}

/* Countdown Animation */
@keyframes countdownPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.countdown-number.pulse {
    animation: countdownPulse 0.6s ease-in-out;
}

/* Ajuste solo para el texto 'Segundos' en pantallas grandes */
@media (min-width: 1024px) {
    .countdown-item:last-child .countdown-label {
    position: relative;
    left: -6px;
    }
}

.final-message {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.3rem; /* Reducido de 2.2rem */
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: center;
    font-weight: 300; /* Más delicada */
    letter-spacing: 1px;
    opacity: 0.85; /* Más sutil */
}

.final-initials img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Gallery Carousel Styles */
.gallery-section {
    padding: 5rem 0;
    width: 100%;
    overflow-x: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
    border-radius: 20px;
    background: transparent;
    padding: 2rem 4rem;
}

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

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 1rem);
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.carousel-slide:nth-child(1) { animation-delay: 0.2s; }
.carousel-slide:nth-child(2) { animation-delay: 0.4s; }
.carousel-slide:nth-child(3) { animation-delay: 0.6s; }
.carousel-slide:nth-child(4) { animation-delay: 0.8s; }
.carousel-slide:nth-child(5) { animation-delay: 1s; }
.carousel-slide:nth-child(6) { animation-delay: 1.2s; }
.carousel-slide:nth-child(7) { animation-delay: 1.4s; }
.carousel-slide:nth-child(8) { animation-delay: 1.6s; }
.carousel-slide:nth-child(9) { animation-delay: 1.8s; }

.carousel-slide:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(141, 111, 64, 0.95);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: none; /* Ocultamos los botones de flecha */
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #8B6D5C;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.15);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

.carousel-btn svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 30;
}

.carousel-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(218, 198, 169, 0.5); /* Color beige/crema claro */
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicator.active {
    background: #DAC6A9; /* Color beige/crema más sólido cuando activo */
    transform: scale(1.2);
    border-color: rgba(218, 198, 169, 0.3);
}

.carousel-indicator:hover {
    background: #D6C1A0; /* Color beige/crema al hacer hover */
    transform: scale(1.1);
}

/* Gallery Countdown Text */
.gallery-countdown-text {
    text-align: center;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

.gallery-countdown-text p {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 3rem;
    color: #8B6D5C !important;
    letter-spacing: 2px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
    
    .carousel-container {
        padding: 1.5rem 3rem;
        max-width: 1200px;
    }
    
    .carousel-slide img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .carousel-track {
        gap: 0;
    }
    
    .carousel-container {
        padding: 0.5rem;
        max-width: 100%;
    }
    
    .carousel-wrapper {
        margin: 0;
        padding: 0;
    }
    
    .carousel-slide img {
        height: 500px; /* Aumentado de 350px para ocupar más pantalla */
        width: 100%;
        object-fit: cover;
    }
    
    /* Ajustes específicos para indicadores en móvil */
    .carousel-indicators {
        margin-top: 1.5rem;
        gap: 1rem;
    }
    
    .carousel-indicator {
        width: 12px;
        height: 12px;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .carousel-btn svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        margin: 0;
        padding: 0.25rem; /* Reducido para más espacio a las imágenes */
        max-width: 100vw;
    }
    
    .carousel-slide img {
        height: 550px; /* Aumentado de 300px - casi pantalla completa */
    }
    
    .carousel-indicators {
        margin-top: 1.2rem;
        gap: 0.8rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .carousel-btn-prev {
        left: 5px;
    }
    
    .carousel-btn-next {
        right: 5px;
    }
    
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .invitation-container,
    .gift-container,
    .rsvp-content,
    .itinerary-content,
    .dress-code-content,
    .final-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .invitation-image {
        height: 400px;
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navigation-dots {
        right: 15px;
    }
    
    .hero-logo img {
        width: 200px;
        height: 200px;
    }
    
    .hero-date {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .couple-names {
        font-size: 2.8rem;
        letter-spacing: 4px;
    }
    
    .getting-married {
        font-size: 2rem;
    }
    
    .wedding-date {
        font-size: 3rem;
        letter-spacing: 3px;
    }
    
    .section-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
        margin-bottom: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .dress-code-images {
        grid-template-columns: 1fr;
    }
    
    .dress-code-images img {
        object-position: center 30%; /* Centrar mejor las imágenes de dress code en móvil */
    }
    
    /* Ajustar imágenes de las cards de detalles */
    .detail-card img {
        object-position: center 40%; /* Mostrar mejor las imágenes de hospedaje y actividades */
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .itinerary-image,
    .rsvp-image,
    .final-image,
    .invitation-image {
        height: 300px; /* Reducido de 450px para mejor visualización móvil */
    }
    
    /* Ajustar posición de imágenes en móvil */
    .invitation-image img {
        object-position: center 90%; /* Centrado para mostrar más de la imagen */
    }
    
    .itinerary-image img {
        object-position: center 70%; /* Mostrar más abajo - parte inferior */
    }
    
    .rsvp-image img {
        object-position: center 25%; /* Centrar rostros en móvil */
    }
    
    .final-image img {
        object-position: center 30%; /* Centrar mejor en móvil */
    }
    
    .gift-image img {
        object-position: center 35%; /* Ajustar imagen de regalo */
    }

    /* Mejores estilos para items del itinerario en móvil */
    .itinerary-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .item-image {
        width: 80px; /* Reducido de 100px */
        height: 80px; /* Reducido de 100px */
        margin: 0 auto;
    }
    
    .item-image svg,
    .item-image img {
        width: 50px; /* Reducido de 70px */
        height: 50px; /* Reducido de 70px */
    }
    
    .item-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .item-info p {
        font-size: 0.9rem;
        margin: 0.2rem 0;
    }
    
    .rsvp-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .rsvp-form {
        padding: 1.5rem;
    }
    
    .rsvp-image {
        height: 400px; /* Ajustado de 350px para tablets */
        min-height: 400px;
        order: -1;
        margin-bottom: 2rem;
    }
    
    .gift-title {
        font-size: 2.2rem;
    }
    
    .final-message {
        font-size: 1.1rem; /* Más pequeña en tablets */
        letter-spacing: 0.5px;
    }
    
    .invitation-names {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .invitation-love {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .couple-names {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .getting-married {
        font-size: 1.6rem;
    }
    
    .wedding-date {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .section-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .navigation-dots {
        right: 10px;
        gap: 10px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
    
    /* RSVP Mobile Optimizations */
    .rsvp-form {
        padding: 1.2rem;
        margin: 0 0.5rem;
    }
    
    .hero-logo img {
        width: 150px;
        height: 150px;
    }
    
    .hero-date {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    /* Ajustes más precisos de posición para móviles pequeños */
    .invitation-image img {
        object-position: center 70%; /* Más abajo en móviles pequeños */
    }
    
    .itinerary-image img {
        object-position: center 70%; /* Aún más abajo - mostrar parte inferior */
    }
    
    .rsvp-image img {
        object-position: center 80%; /* Enfocar mejor los rostros */
    }
    
    .final-image img {
        object-position: center 70%;
    }
    
    .gift-image img {
        object-position: center 30%;
    }

    .form-group.compact {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .radio-group {
        gap: 0.8rem;
    }
    
    .radio-group label {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .submit-btn {
        padding: 1.1rem 2rem;
        font-size: 0.9rem;
    }
    
    .rsvp-image {
        height: 350px; /* Ajustado de 300px para móviles */
        min-height: 350px;
        margin-bottom: 1rem;
    }
    
    /* Countdown Mobile Styles */
    .countdown-container {
        margin: 2rem 0;
    }
    
    .countdown-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 300px;
    }
    
    .countdown-item {
        padding: 1rem 0.5rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
}

/* Additional Mobile Fixes */
@media (max-width: 768px) {
    /* Prevent horizontal overflow on all elements */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Specific fixes for form elements */
    .form-group input,
    .form-group textarea,
    .submit-btn {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix for countdown and other grid elements */
    .countdown-timer,
    .details-grid,
    .gallery-grid,
    .form-row {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    /* Fix for sections that might have issues */
    .invitation-container,
    .itinerary-container,
    .details-container,
    .dress-code-container,
    .gift-container,
    .rsvp-container,
    .final-container {
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Additional padding adjustments */
    .container {
        padding: 0 0.75rem;
    }
    
    /* Fix for text that might be too long */
    .section-title {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Ensure buttons don't overflow */
    .detail-btn,
    .dress-btn,
    .calendar-btn,
    .submit-btn {
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Music Section Mobile Styles */
@media (max-width: 768px) {
    .music-section {
        margin: 2rem 0;
        padding: 2rem 1.5rem;
    }
    
    .music-title {
        font-size: 1.6rem;
    }
    
    .music-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .music-input-group {
        gap: 0.8rem;
    }
    
    .music-input-group input {
        padding: 0.9rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .music-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    /* Music Section Main Mobile */
    .music-section-main {
        padding: 3rem 0;
    }
    
    .music-container {
        padding: 0 1rem;
    }
    
    .music-main-title {
        font-size: 2.2rem;
        letter-spacing: 4px;
        margin-bottom: 1.5rem;
    }
    
    .music-main-subtitle {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .music-main-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .music-input-group-main {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .music-input-group-main input {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .music-btn-main {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .music-section {
        margin: 1.5rem 0;
        padding: 1.5rem 1rem;
    }
    
    .music-title {
        font-size: 1.4rem;
    }
    
    .music-subtitle {
        font-size: 1.1rem;
    }
    
    .music-input-group input {
        padding: 0.8rem;
    }
    
    .music-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }
    
    /* Music Section Main Small Mobile */
    .music-main-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .music-main-subtitle {
        font-size: 1.3rem;
    }
    
    .music-input-group-main input {
        padding: 0.9rem;
    }
    
    .music-btn-main {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

/* Itinerary Icons Mobile Fix */
@media (max-width: 768px) {
    .item-image svg {
        width: 40px;
        height: 40px;
    }
    
    /* Ajustar icono dropdown en móvil */
    .itinerary-item .dropdown-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .item-image {
        width: 50px;
        height: 50px;
    }
    
    .item-image svg {
        width: 35px;
        height: 35px;
    }
    
    /* Ajustar icono dropdown en móvil pequeño */
    .itinerary-item .dropdown-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* Text Visibility Fixes */
/* Ensure all text is visible and has proper contrast */

/* Default text colors */
body {
    color: #3B2F2F;
}


/* Dark text sections - Light backgrounds */
.gallery-section,
.gallery-section * {
    color: #3B2F2F !important;
}

/* SPECIFIC: Final section text should be white */
.final-section,
.final-section *,
.final-section .final-message,
.final-section .countdown-title,
.final-section .countdown-number,
.final-section .countdown-label {
    color: #FFFFFF !important;
}

/* SPECIFIC: Invitation section text should be white */
.invitation-section,
.invitation-section *,
.invitation-section .invitation-text,
.invitation-section .invitation-text *,
.invitation-section .invitation-signature-block,
.invitation-section .invitation-signature-block *,
.invitation-section .invitation-love,
.invitation-section .invitation-names {
    color: #FFFFFF !important;
}

/* SPECIFIC: Details section title should be white */
.details-section .section-title {
    color: #FFFFFF !important;
}

/* SPECIFIC: Details cards content should be brown */
.details-section .card-content,
.details-section .card-content h3,
.details-section .card-content p {
    color: #3B2F2F !important;
}

/* SPECIFIC: Details buttons should have white text */
.details-section .detail-btn {
    color: #FFFFFF !important;
    background: #8B6D5C !important;
}

.details-section .detail-btn:hover {
    color: #FFFFFF !important;
    background: #6B5230 !important;
}

/* Form inputs - Always dark text on light background */
input,
textarea,
select {
    color: #3B2F2F !important;
    background: white !important;
}

/* Buttons text */
.dress-btn,
.calendar-btn {
    color: inherit !important;
}

.dress-btn:hover,
.calendar-btn:hover {
    color: inherit !important;
}

/* SPECIFIC: Detail buttons should always have white text */
.detail-btn {
    color: #FFFFFF !important;
    background: #8B6D5C !important;
}

.detail-btn:hover {
    color: #FFFFFF !important;
    background: #6B5230 !important;
}

/* SPECIFIC: Submit button should always have white text */
.submit-btn {
    color: #FFFFFF !important;
    background: #8B6D5C !important;
}

.submit-btn:hover {
    color: #FFFFFF !important;
    background: #6B5230 !important;
}

/* SPECIFIC: Music button should always have white text */
.music-btn-main {
    color: #FFFFFF !important;
    background: #8B6D5C !important;
}

.music-btn-main:hover {
    color: #FFFFFF !important;
    background: #6B5230 !important;
}

/* Section titles */
.section-title {
    color: inherit !important;
}

/* Navigation dots and other UI elements */
.nav-dot {
    background: rgba(59, 47, 47, 0.3) !important;
}

/* Dress Code Section Specific Text Fixes - REMOVED OLD CONFLICTING RULES */

/* Music section specific placeholder fixes */
.music-input-group-main input::placeholder {
    color: rgba(141, 111, 64, 0.7) !important;
    font-style: italic !important;
}

/* Ensure placeholders are visible in all music sections */
.music-section-main input::placeholder,
.music-container input::placeholder {
    color: rgba(141, 111, 64, 0.7) !important;
    font-style: italic !important;
}

/* Countdown text */
.countdown-title,
.countdown-number,
.countdown-label {
    color: #F9F5E7 !important;
}

/* Bank info text */
.bank-info,
.bank-info * {
    font-family: 'Lora', serif !important;
    color: #F9F5E7 !important;
}

    /* Evitar que números telefónicos aparezcan subrayados/enlace en móviles */
    .gift-text a[href^="tel"],
    .bank-info a[href^="tel"] {
        color: inherit !important;
        text-decoration: none !important;
        pointer-events: auto;
    }

/* Placeholder text */
::placeholder {
    color: rgba(59, 47, 47, 0.6) !important;
}

.music-input-group input::placeholder {
    color: rgba(249, 245, 231, 0.7) !important;
}

.music-input-group-main input::placeholder {
    color: rgba(59, 47, 47, 0.6) !important;
}

/* CRITICAL: Force DRESS CODE text visibility */
.dress-code-section {
    background-color: #FFFFFF !important;
    color: #3B2F2F !important;
}

/* Force all dress code elements to dark brown */
.dress-code-section,
.dress-code-section *,
.dress-code-container,
.dress-code-container *,
.dress-code-content,
.dress-code-content *,
.dress-code-left,
.dress-code-left *,
.dress-code-images,
.dress-code-images *,
.dress-info,
.dress-info *,
.dress-info h3,
.dress-info p {
    color: #3B2F2F !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Section title in dress code */
.dress-code-section .section-title {
    color: #3B2F2F !important;
    text-shadow: none !important;
    font-size: 3.5rem !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Dress buttons specific - CAFE SOBRE FONDO BLANCO */
.dress-code-section .dress-btn {
    color: #8B6D5C !important;
    border: 2px solid #8B6D5C !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: bold !important;
    padding: 1rem 2rem !important;
    border-radius: 25px !important;
    font-family: Georgia, serif !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: fit-content !important;
}

.dress-code-section .dress-btn:hover {
    color: #FFFFFF !important;
    background: #8B6D5C !important;
    border-color: #8B6D5C !important;
    transform: translateY(-2px) !important;
}

/* Firebase Form Enhancements */
.max-personas-info {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.max-personas-info small {
    color: #8B6D5C;
    font-weight: 500;
}

/* Form Status Styles */
.form-status {
    margin-top: 20px;
    text-align: center;
}

.loading-state,
.success-state,
.error-state {
    padding: 15px;
    border-radius: 10px;
    margin: 10px 0;
    animation: fadeIn 0.3s ease;
}

.loading-state {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.success-state {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.success-state h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: #2e7d32;
}

.error-state {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.error-state h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: #c62828;
}

/* Submit button loading state */
.submit-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 0.7;
}

/* Animation for form states */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Personalized welcome message enhancement */
#welcomeMessage {
    font-style: italic;
    color: #8B6D5C;
    font-weight: 500;
}

/* Enhanced notification styles for Firebase integration */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: white;
    font-weight: 500;
    animation: slideInRight 0.3s ease;
}

.notification-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.notification-error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.notification-info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile responsive adjustments for Firebase features */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
    
    .max-personas-info {
        font-size: 0.8rem;
    }
    
    .form-status {
        margin-top: 15px;
    }
    
    .loading-state,
    .success-state,
    .error-state {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* Access Denied Styles */
.access-denied-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.access-denied-content {
    flex: 1;
    text-align: center;
    max-width: 500px;
}

.access-denied-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    opacity: 0.8;
}

.access-denied-icon svg {
    filter: drop-shadow(0 4px 8px rgba(141, 111, 64, 0.2));
    transition: transform 0.3s ease;
}

.access-denied-icon svg:hover {
    transform: scale(1.05);
}

.access-denied-content h3 {
    font-size: 2rem;
    color: #3B2F2F;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

.access-denied-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-info {
    
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 4px solid #8B6D5C;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info strong {
    color: #8B6D5C;
    font-size: 1.1rem;
}

.access-denied-image {
    flex: 1;
    max-width: 400px;
}

.access-denied-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Disabled form styles */
input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
    background-color: #f5f5f5 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

/* Read-only input specific styling */
input[readonly] {
    background-color: #f8f9fa !important;
    color: #495057 !important;
    cursor: default !important;
    opacity: 0.8;
    border-color: #ced4da;
}

/* Mobile responsive for access denied */
@media (max-width: 768px) {
    .access-denied-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }
    
    .access-denied-content {
        order: 2;
    }
    
    .access-denied-image {
        order: 1;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .access-denied-content h3 {
        font-size: 1.5rem;
    }
    
    .access-denied-content p {
        font-size: 1rem;
    }
    
    .contact-info {
        padding: 15px;
        margin-top: 20px;
    }
}

/* Estilos específicos para pantallas muy pequeñas (teléfonos pequeños) */
@media (max-width: 480px) {
    .itinerary-details {
        gap: 1rem;
    }
    
    .itinerary-item {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .item-image {
        width: 60px;
        height: 60px;
    }
    
    .item-image svg,
    .item-image img {
        width: 35px;
        height: 35px;
    }
    
    .item-info h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .item-info p {
        font-size: 0.85rem;
        margin: 0.1rem 0;
    }
    
    .itinerary-image {
        height: 250px;
    }
    
    /* Asegurar que los contenedores no se desborden */
    .itinerary-container {
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
}

/* Weather Section Styles */
.weather-section {
    min-height: auto;
    padding: 4rem 0;
}

/* Weather section title color override */
.weather-section .section-title {
    color: #FFFFFF !important;
}

.weather-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.weather-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.weather-subtitle-white {
    color: #FFFFFF !important;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.weather-forecast-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(141, 111, 64, 0.1);
    margin-bottom: 2rem;
}

.forecast-days {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 1.5rem;
    max-width: 100%;
}

.forecast-day {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.forecast-day:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: rgba(141, 111, 64, 0.3);
    background: rgba(255, 255, 255, 1);
}

.forecast-day.wedding-day {
    background: linear-gradient(135deg, #8B6D5C, #6b5230);
    color: white;
    border-color: #8B6D5C;
    box-shadow: 0 12px 35px rgba(141, 111, 64, 0.3);
}

.forecast-day.wedding-day:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(141, 111, 64, 0.4);
}

.forecast-day.wedding-day .day-name,
.forecast-day.wedding-day .day-date,
.forecast-day.wedding-day .day-temp,
.forecast-day.wedding-day .day-temp-range,
.forecast-day.wedding-day .day-description {
    color: white;
}

.forecast-day.icebreaker-day {
    background: linear-gradient(135deg, #f0e9e0, #e8dcc6);
    border-color: #8B6D5C;
    box-shadow: 0 10px 30px rgba(141, 111, 64, 0.2);
}

.day-name {
    font-size: 0.95rem;
    font-weight: bold;
    color: #8B6D5C;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Lora', serif;
}

.day-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.day-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B6D5C;
    background: rgba(141, 111, 64, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.forecast-day:hover .day-icon {
    background: rgba(141, 111, 64, 0.2);
    transform: scale(1.1);
}

.forecast-day.wedding-day .day-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.day-temp {
    font-size: 1.6rem;
    font-weight: bold;
    color: #3B2F2F;
    margin-bottom: 0.3rem;
    font-family: 'Lora', serif;
}

.day-temp-range {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.day-temp-range .temp-max {
    color: #d73527;
    font-weight: bold;
}

.day-temp-range .temp-min {
    color: #2196F3;
    font-weight: bold;
}

.forecast-day.wedding-day .day-temp-range .temp-max,
.forecast-day.wedding-day .day-temp-range .temp-min {
    color: rgba(255, 255, 255, 0.9);
}

.day-description {
    font-size: 0.9rem;
    color: #666;
    text-transform: capitalize;
    line-height: 1.4;
    font-weight: 500;
}

/* Loading State */
.weather-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.weather-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0e9e0;
    border-top: 3px solid #8B6D5C;
    border-radius: 50%;
    animation: weatherSpin 1s linear infinite;
}

@keyframes weatherSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.weather-loading p {
    color: #666;
    font-style: italic;
}

/* Weather Display */
.weather-current {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.weather-icon-container {
    flex-shrink: 0;
}

.weather-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.weather-details {
    text-align: left;
}

.weather-temperature {
    font-size: 3rem;
    font-weight: bold;
    color: #8B6D5C;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Lora', serif;
}

.weather-description {
    font-size: 1.2rem;
    color: #3B2F2F;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    font-weight: 500;
}

.weather-feels-like {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.weather-additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0e9e0;
}

.weather-info-item {
    text-align: center;
}

.weather-info-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.weather-info-value {
    display: block;
    font-size: 1.1rem;
    color: #3B2F2F;
    font-weight: bold;
}

/* Error State */
.weather-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.weather-error-icon {
    font-size: 2rem;
}

.weather-error p {
    color: #666;
    margin-bottom: 1rem;
}

.weather-retry-btn {
    background: #8B6D5C;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Lora', serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.weather-retry-btn:hover {
    background: #6b5230;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Weather Recommendations */
.weather-recommendations {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(141, 111, 64, 0.1);
}

.weather-recommendations h3 {
    font-family: 'Lora', serif;
    font-style: italic;
    color: #8B6D5C;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.weather-tips {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.weather-tip {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9f6f2;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.weather-tip:hover {
    background: #f0e9e0;
    transform: translateY(-2px);
}

.tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.weather-tip span:last-child {
    color: #3B2F2F;
    line-height: 1.4;
}

/* Last Updated */
.weather-last-updated {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.weather-last-updated small {
    color: #FFFFFF !important;
    font-style: italic;
}

/* Responsive Weather Design */
@media (max-width: 1200px) {
    .forecast-days {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        gap: 1.25rem;
    }
    
    .forecast-day {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 900px) {
    .forecast-days {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .forecast-days {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .weather-forecast-container {
        padding: 1.75rem;
    }
    
    .forecast-day {
        padding: 1.25rem 0.75rem;
    }
    
    .day-icon {
        display: none; /* Ocultar icono en pantallas pequeñas */
    }
    
    .day-temp {
        font-size: 1.3rem;
    }
    
    .day-temp-range {
        font-size: 0.8rem;
    }
    
    .weather-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    .forecast-days {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .forecast-day {
        padding: 1.25rem 0.75rem;
    }
    
    .day-icon {
        display: none; /* Ocultar icono en pantallas pequeñas */
    }
    
    .day-name {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .day-date {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .day-temp {
        font-size: 1.3rem;
    }
    
    .day-temp-range {
        font-size: 0.8rem;
    }
    
    .day-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 520px) {
    .forecast-days {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .weather-forecast-container {
        padding: 1rem;
    }
    
    .forecast-day {
        padding: 1rem 0.75rem;
    }
    
    .day-icon {
        display: none; /* Ocultar icono en pantallas pequeñas */
    }
    
    .day-name {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }
    
    .day-date {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .day-temp {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    
    .day-temp-range {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .day-description {
        font-size: 0.75rem;
    }
    
    .event-label {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .forecast-days {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .weather-forecast-container {
        padding: 1.25rem;
    }
    
    .forecast-day {
        padding: 1rem 0.75rem;
        display: block;
        text-align: center;
        border-radius: 15px;
    }
    
    .day-icon {
        display: none; /* Ocultar icono en pantallas pequeñas */
    }
    
    .day-name {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }
    
    .day-date {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .day-temp {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    
    .day-temp-range {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .day-description {
        font-size: 0.75rem;
    }
    
    .event-label {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
        margin-bottom: 0.25rem;
    }
    
    .weather-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
        padding: 0 0.5rem;
    }
    
    .event-label {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
        margin-bottom: 0.3rem;
    }
}

/* Responsive para Hero Video */
@media (max-width: 768px) {
    .hero-video {
        /* En móviles, ajustar para que cubra mejor */
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Logo más pequeño en tablets */
    .hero-logo img {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-overlay {
        /* Overlay más oscuro en móviles para mejor legibilidad */
        background: rgba(0, 0, 0, 0.5);
    }
    
    /* Logo adaptado para móviles */
    .hero-logo img {
        width: 280px;
        height: 280px;
    }
}

/* Music Section Responsive */
@media (max-width: 768px) {
    .music-section-main {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .music-container {
        justify-content: center;
        padding: 0 1rem;
    }
    
    .music-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 100%;
    }
    
    .music-header {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .music-left {
        justify-content: center;
    }
    
    .music-main-title {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }
    
    .music-main-subtitle {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .music-form-main {
        margin: 0 auto;
    }
    
    .music-input-group-main {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .spotify-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .music-section-main {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .music-content-wrapper {
        gap: 2rem;
    }
    
    .music-header {
        margin-bottom: 2rem;
    }
    
    .music-main-title {
        font-size: 2rem;
        letter-spacing: 3px;
        margin-bottom: 1.5rem;
    }
    
    .music-main-subtitle {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .music-input-group-main {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .spotify-container iframe {
        height: 280px;
    }
}

@media (max-width: 360px) {
    /* Logo para pantallas muy pequeñas */
    .hero-logo img {
        width: 220px;
        height: 220px;
    }
}

/* Responsive para Itinerary Section Background */
@media (max-width: 768px) {
    .itinerary-section {
        background-attachment: scroll; /* Mejor rendimiento en móviles */
    }
    
    /* También aplicar scroll para las secciones impares en móviles */
    section:nth-child(odd) {
        background-attachment: scroll;
    }
}

/* ============================================
   MODAL ITINERARIO RECEPCIÓN
   ============================================ */

.modal-itinerario {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-itinerario.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-itinerario-content {
    background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc8 100%);
    padding: 50px 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #6b5744;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover,
.modal-close:focus {
    color: #3B2F2F;
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.modal-title {
    font-family: 'Lora', serif;
    font-size: 2.2rem;
    color: #6b5744;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-weight: 400;
}

.modal-timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    border-left: 4px solid #8B6C42;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.timeline-time {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #8B6C42;
    min-width: 100px;
    text-align: right;
}

.timeline-description {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #3B2F2F;
    flex: 1;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-itinerario-content {
        padding: 40px 25px;
        width: 95%;
    }
    
    .modal-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }
    
    .timeline-time {
        font-size: 1.1rem;
        min-width: auto;
        text-align: left;
    }
    
    .timeline-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-itinerario-content {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .modal-close {
        right: 15px;
        top: 15px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }
    
    .timeline-item {
        padding: 12px;
        gap: 8px;
    }
    
    .timeline-time {
        font-size: 1rem;
    }
    
    .timeline-description {
        font-size: 0.95rem;
    }
}
