/* --- CONFIGURACIÓN DE COLORES --- */
:root {
    --bg-color: #F8F1E8;    /* Tu color crema */
    --red-accent: #CC0000;  /* Tu color rojo */
    --text-black: #000000;
}

/* --- ESTILOS BASE --- */
body {
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-black);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* Contenedor móvil centrado */
.mobile-wrapper {
    width: 100%;
    max-width: 480px; /* Ancho estándar de móvil */
    background-color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    position: relative;
    overflow-x: hidden;
    text-align: center;
}

/* Estilos de imágenes generales */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Clases de tipografía */
.font-script {
    font-family: 'Dancing Script', cursive;
}

/* --- CABECERA --- */
.header {
    position: relative;
    margin-bottom: 20px;
}

/* --- FECHA Y CALENDARIO --- */
.date-section {
    padding: 20px;
}

.date-section img {
    margin-bottom: 0;
}

#nosotros {
    padding-top: 0;
}

/* --- UBICACIÓN --- */
.location-section {
    padding: 40px 20px;
}

/* --- TIMELINE (ITINERARIO) --- */
.timeline-section {
    padding: 20px 0 20px 20px;
    position: relative;
}

.timeline-block {
    margin-bottom: 15px;
}

/* --- SECCIÓN PERSONALIZADA (INVITADOS) --- */
.guest-section {
    background-color: var(--red-accent);
    color: white;
    padding: 50px 20px;
    margin-top: 30px;
    /* Efecto inclinado del bloque completo */
    transform: skewY(-3deg);
    margin-bottom: 40px;
}

.guest-content {
    /* Corregimos la inclinación para el texto */
    transform: skewY(3deg);
}

.guest-intro {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0;
}

.guest-name-display {
    font-size: 3.5rem; /* Tamaño grande script */
    margin: 10px 0 20px 0;
    line-height: 1.1;
}

.confirm-link {
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* --- FOOTER --- */
.footer {
    padding-bottom: 50px;
}

/* --- SECCIÓN REGALOS --- */
.regalo-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 15px 0 0;
    margin-top: 20px;
}

.regalo-section img {
    width: 45%;
    margin: 0;
    flex-shrink: 0;
}

.regalo-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.regalo-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
}

.regalo-cuenta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.regalo-cuenta span {
    font-weight: 600;
    font-size: 0.85rem;
    word-break: break-all;
    flex: 1;
}

.copy-btn {
    background-color: var(--red-accent);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s, opacity 0.2s;
}

.copy-btn:hover {
    opacity: 0.8;
}

.copy-btn:active {
    transform: scale(0.95);
}

/* Helper para cuando no hay imagen cargada */
.placeholder {
    border: 2px dashed #ccc;
    background: rgba(0,0,0,0.05);
    padding: 20px;
    color: #666;
    font-size: 0.8rem;
}
