/* Colores Pasteles */
:root {
    --rosa-pastel: #F4A6C1;
    --verde-pastel: #A8D5D7;
    --crema: #FAF6F3;
    --dorado-suave: #c5a89d;
    --blanco: #FFFFFF;
    --gris-claro: #F8F3F0;
    --texto-oscuro: #5C4B51;
}

/* Fuentes personalizadas */
@font-face {
    font-family: 'RougeScript';
    src: url('Tangerine-Regular.ttf') format('truetype');
}

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    background-image: url('fondo.png');
    background-color: var(--crema);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--texto-oscuro);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Animaciones */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(244, 166, 193, 0.7);
    }
    50% {
        box-shadow: 0 5px 30px rgba(244, 166, 193, 1);
    }
}

/* Encabezado */
.header {
    background: linear-gradient(135deg, var(--rosa-pastel) 0%, var(--verde-pastel) 100%);
    padding: 60px 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(255, 179, 217, 0.7);
    animation: slideInDown 0.8s ease-out;
}

.header.scrolled {
    animation: pulse 2s ease-in-out infinite;
}

.header-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0;
    border-radius: 10px;
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    animation: fadeInScale 0.8s ease-out 0.2s both;
}

.header-img-circle {
    width: 450px;
    object-fit: cover;
    border: none;
    box-shadow: none;
    flex-shrink: 0;
    border-radius: 0;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.header-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    justify-content: center;
    align-items: center;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.main-title {
    font-size: 4.5em;
    font-style: italic;
    color: var(--rosa-pastel);
    margin-bottom: 10px;
    font-family: 'RougeScript', cursive;
    letter-spacing: 2px;
    text-align: left;
    animation: slideInDown 0.8s ease-out 0.5s both;
}

.subtitle {
    font-size: 1.3em;
    color: var(--verde-pastel);
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-weight: 600;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.event-date {
    font-size: 2em;
    color: var(--texto-oscuro);
    margin-bottom: 10px;
    font-style: italic;
    text-align: left;
}

.time-location {
    font-size: 1.1em;
    color: var(--texto-oscuro);
    margin-top: 15px;
}

/* Secciones */
.section-title {
    font-size: 2em;
    color: var(--rosa-pastel);
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--dorado-suave);
    border-radius: 2px;
}

/* Sección de confirmación */
.confirm-section {
    background-color: var(--blanco);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid var(--verde-pastel);
}

.confirm-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--texto-oscuro);
    font-size: 0.95em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gris-claro);
    border-radius: 5px;
    font-family: 'Georgia', serif;
    font-size: 1em;
    color: var(--texto-oscuro);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--rosa-pastel);
    background-color: rgba(255, 179, 217, 0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    accent-color: var(--rosa-pastel);
}

.guest-info {
    background-color: rgba(184, 224, 210, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid var(--verde-pastel);
}

.companions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.companion-item {
    display: flex;
    align-items: center;
    background-color: var(--blanco);
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid var(--gris-claro);
}

.companion-check {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--verde-pastel);
}

.companion-label {
    cursor: pointer;
    color: var(--texto-oscuro);
    font-weight: 500;
}

.no-companions {
    color: var(--dorado-suave);
    font-style: italic;
    text-align: center;
    padding: 10px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--rosa-pastel) 0%, var(--verde-pastel) 100%);
    color: var(--blanco);
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Georgia', serif;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 179, 217, 0.3);
}

/* Sección de cronograma */
.schedule-section {
    background-color: var(--blanco);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid var(--rosa-pastel);
}

.schedule-list {
    max-width: 600px;
    margin: 0 auto;
}

.schedule-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background-color: var(--gris-claro);
    border-radius: 8px;
    border-left: 4px solid var(--verde-pastel);
    transition: background-color 0.3s ease;
}

.schedule-item:hover {
    background-color: rgba(255, 179, 217, 0.1);
}

.schedule-time {
    font-weight: 700;
    color: var(--texto-oscuro);
    font-size: 1.1em;
}

.schedule-item:hover {
    color: var(--rosa-pastel);

}

.schedule-event {
    color: var(--texto-oscuro);
    font-weight: 600;
    font-size: 1em;
}

.schedule-note {
    grid-column: 2;
    color: var(--dorado-suave);
    font-size: 0.9em;
    font-style: italic;
    margin-top: -5px;
}

/* Sección de hospedaje */
.accommodation-section {
    background-color: var(--blanco);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid var(--verde-pastel);
}

.accommodation-content {
    max-width: 600px;
    margin: 0 auto;
}

.accommodation-text {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1em;
    color: var(--texto-oscuro);
}

.hotel-list {
    margin-bottom: 25px;
}

.hotel-item {
    background-color: rgba(184, 224, 210, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--verde-pastel);
}

.hotel-name {
    color: var(--rosa-pastel);
    font-size: 1.2em;
    margin-bottom: 8px;
    font-style: italic;
}

.hotel-info {
    color: var(--texto-oscuro);
    font-size: 0.95em;
}

.accommodation-note {
    text-align: center;
    color: var(--dorado-suave);
    font-style: italic;
    font-size: 0.95em;
}

/* Pie de página */
.footer {
    background: linear-gradient(135deg, var(--rosa-pastel) 0%, var(--verde-pastel) 100%);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 179, 217, 0.2);
}

.footer-text {
    color: var(--blanco);
    font-size: 1.1em;
    margin-bottom: 10px;
    font-style: italic;
}

.footer-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5em;
    }

    .section-title {
        font-size: 1.5em;
    }

    .schedule-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
        padding: 15px;
    }

    .header-content {
        padding: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .header-img-circle {
        width: 100%;
        height: 250px;
    }

    .header-text {
        padding: 25px;
        text-align: center;
    }

    .main-title,
    .subtitle,
    .event-date,
    .time-location {
        text-align: center;
    }

    .confirm-section,
    .schedule-section,
    .accommodation-section {
        padding: 25px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

.space-note {
    margin-top: 20px;
}

/* Modal de Confirmación */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(92, 75, 81, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeInScale 0.3s ease-out;
}

.modal-content {
    background: linear-gradient(135deg, var(--blanco) 0%, var(--gris-claro) 100%);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(244, 166, 193, 0.3);
    max-width: 400px;
    width: 90%;
    animation: slideInUp 0.4s ease-out;
}

.modal-header-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--rosa-pastel) 0%, var(--verde-pastel) 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(244, 166, 193, 0.4);
}

.modal-title {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: var(--texto-oscuro);
    margin: 15px 0;
    font-weight: 600;
}

.modal-message {
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-button {
    background: linear-gradient(135deg, var(--rosa-pastel) 0%, var(--verde-pastel) 100%);
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(244, 166, 193, 0.3);
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 166, 193, 0.5);
}

.modal-button:active {
    transform: translateY(0);
}