/* --- Reseteo de estilos básicos --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f7f4f0; /* Fondo crema suave */
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- Tarjeta de la Invitación --- */
.invitation-container {
    background-color: #ffffff;
    max-width: 500px;
    width: 100%;
    padding: 40px 30px;
    border: 1px solid #dfd5c6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    border-radius: 4px;
}

/* Margen decorativo interno */
.invitation-container::before {
    content: '';
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    border: 1px solid #e5dac9;
    pointer-events: none;
}

/* --- Adornos y Detalles --- */
.ornament-top, .ornament-bottom {
    color: #c5a880; /* Tono dorado/bronce */
    font-size: 18px;
    letter-spacing: 5px;
    margin: 10px 0;
}

/* --- Cabecera (Nombres) --- */
.subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8c8275;
    margin-bottom: 15px;
}

.couple-names {
    font-family: 'Alex Brush', cursive;
    font-size: 48px;
    color: #4a3e3d;
    font-weight: 400;
    margin-bottom: 30px;
}

/* --- Sección de Detalles --- */
.date-box {
    border-top: 1px solid #e5dac9;
    border-bottom: 1px solid #e5dac9;
    padding: 15px 0;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.day-name, .month-year {
    font-size: 13px;
    letter-spacing: 3px;
    color: #6e655f;
}

.day-number {
    font-size: 40px;
    font-weight: 300;
    color: #c5a880;
    margin: 5px 0;
}

.time-location {
    margin-bottom: 30px;
    color: #554d48;
    line-height: 1.6;
}

.time {
    font-size: 14px;
    margin-bottom: 10px;
}

.location-name {
    font-size: 18px;
    color: #4a3e3d;
    letter-spacing: 1px;
}

.address {
    font-size: 13px;
    color: #8c8275;
}

/* --- Código de vestimenta --- */
.dress-code {
    margin-bottom: 35px;
}

.dress-code h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8c8275;
    margin-bottom: 5px;
}

.dress-code p {
    font-size: 15px;
    color: #4a3e3d;
    font-weight: 600;
}

/* --- Pie de página y Botón --- */
.footer p {
    font-size: 13px;
    color: #8c8275;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 0 10px;
}

.rsvp-button {
    display: inline-block;
    background-color: #4a3e3d;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 35px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.rsvp-button:hover {
    background-color: #c5a880;
    transform: translateY(-2px);
}

/* --- Adaptabilidad Móvil --- */
@media (max-width: 480px) {
    .invitation-container {
        padding: 30px 15px;
    }
    .couple-names {
        font-size: 38px;
    }
}
