@import url('https://fonts.googleapis.com/css2?family=Allura&family=Great+Vibes&family=Montserrat:wght@300;400;600&display=swap');

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

:root {
    --primary-color: #5A6B47;
    --secondary-color: #7c7c7c;
    --accent-color: #D4C4B0;
    --dark-color: #5A6B47;
    --light-color: #F5F1E8;
    --text-color: #5A5A5A;
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}


/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5A6B47 100%, #7B8F5C 100%);
    z-index: -1;
}

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

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

.titulo-principal-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}


.btn-scroll {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Botón hamburguesa (oculto en desktop) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 46px;
    height: 38px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-toggle-bar {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary-color);
}
.nav-toggle-bar::before { top: -8px; }
.nav-toggle-bar::after  { top: 8px; }

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ========== DETALLES SECTION ========== */
.detalles {
    padding: 80px 20px;
    background-color: D4C4B0;
}

.detalles h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 20px;
}

.detalles h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.detalles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.detalle-card {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(139, 111, 71, 0.1) 100%);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.detalle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.detalle-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.detalle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.detalle-card p {
    margin-bottom: 5px;
    color: var(--text-color);
}

.fecha, .hora, .lugar {
    font-size: 1.3rem;
    font-weight: bold;
    color: #5A5A5A;
}

/* Estilos para el contador regresivo */
.countdown {
    font-size: 1rem;
    margin-top: 8px;
    color: #444;
    background: rgba(255,255,255,0.85);
    display: inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.06);
}

/* Diseño de reloj digital */
.digital-clock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.digital-clock .time-segment {
    background: rgba(0,0,0,0.08);
    padding: 8px 12px;
    border-radius: 8px;
    min-width: 64px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.digital-clock .num {
    display: block;
    font-family: 'Segoe UI Mono', 'Courier New', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}

.digital-clock .label {
    display: block;
    font-size: 0.7rem;
    color: #666;
    margin-top: 4px;
}

.digital-clock .separator {
    font-size: 1.25rem;
    color: rgba(0,0,0,0.35);
}

@media (max-width: 480px) {
    .digital-clock .time-segment { min-width: 44px; padding: 6px 8px; }
    .digital-clock .num { font-size: 0.95rem; }
    .digital-clock .label { font-size: 0.6rem; }
}

/* ====== Responsive breakpoints ====== */
@media (max-width: 1024px) {
    .hero { height: 80vh; }
    .cancion-banner { height: 320px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 80px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        transition: right 0.3s ease;
        z-index: 2000;
    }
    .nav-menu li { margin: 18px 0; }
    body.nav-open .nav-menu { right: 0; }

    .nav-menu a { font-size: 1.05rem; }

    /* Hero adjustments */
    .hero { height: 60vh; padding: 40px 0; }
    .hero-content { padding: 0 12px; }

    /* Cancion adjustments */
    .cancion-banner { height: 240px; margin-bottom: 30px; }
    .reproductor-card { padding: 24px; max-width: 420px; }
    .cancion-titulo { font-size: 1rem; }

    /* Controls touch targets */
    .btn-play { width: 60px; height: 60px; }
    .btn-control { padding: 12px; }
    .progress-container { height: 6px; }
    .progress-container::after { width: 16px; height: 16px; }

    /* Grid adjustments */
    .detalles-grid { grid-template-columns: 1fr; }
    .galeria-grid { grid-template-columns: repeat(2, 1fr); }
    .padres-grid { max-width: 520px; }
}

@media (max-width: 480px) {
    .cancion-banner { height: 180px; }
    .reproductor-card { padding: 18px; }
    .galeria-grid { grid-template-columns: 1fr; }
    .logo { font-size: 1.2rem; }
    .nav-menu { width: 100%; padding: 100px 16px; }
}

.dia, .info {
    font-size: 0.9rem;
    color: #888;
}

/* ========== CEREMONIA SECTION ========== */
.ceremonia {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.ceremonia h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 20px;
}

.ceremonia h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

/* ========== UBICACION: CENTRADO Y RESPONSIVE ========== */
.ubicacion .ubicacion-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 12px;
}

.ubicacion .mapa {
    max-width: 900px;
    width: 100%;
}

.ubicacion .mapa iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .ubicacion .ubicacion-content { gap: 16px; }
    .ubicacion .mapa iframe { height: 360px; }
}


.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    margin-bottom: 50px;
    display: flex;
    gap: 40px;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-marker {
    position: relative;
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 2rem;
    font-family: 'Great Vibes', 'Allura', cursive;
}

.timeline-content p {
    margin-bottom: 5px;
    color: var(--text-color);
}

.timeline-content p strong {
    color: var(--primary-color);
}

.description {
    font-style: italic;
    color: #888;
    margin-top: 10px;
}

/* ========== UBICACION SECTION ========== */
.ubicacion {
    padding: 80px 20px;
    background-color: #5A6B47;
}

.ubicacion h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: white;
    position: relative;
    padding-bottom: 20px;
    font-family: 'Great Vibes', 'Allura', cursive;
}

.ubicacion h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.ubicacion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.mapa {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.instrucciones {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.instruccion-item {
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(139, 111, 71, 0.1) 100%);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.instruccion-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.instruccion-item p {
    color: var(--text-color);
}

/* ========== FOTOS SECTION ========== */
/* Masonry gallery styles */
.fotos {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.fotos h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 36px;
    color: var(--secondary-color);
    font-family: 'Great Vibes', 'Allura', cursive;
}

.masonry-grid {
    column-count: 3;
    column-gap: 18px;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 18px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.masonry-item figcaption {
    padding: 10px 12px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.masonry-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}

@media (max-width: 1100px) {
    .masonry-grid { column-count: 2; }
}

@media (max-width: 640px) {
    .masonry-grid { column-count: 1; }
}

/* Center RSVP section content */
#rsvp {
    text-align: center;
}
#rsvp .container {
    text-align: center;
}
#rsvp .formulario-rsvp {
    margin: 0 auto;
    text-align: center;
}
#rsvp .code-form label {
    display: block;
    margin-bottom: 8px;
    text-align: center;
}
#rsvp .code-form input[type="text"] {
    max-width: 420px;
    margin: 0 auto;
}
/* Center the action row (submit + inline message) */
#rsvp .code-form > div {
    justify-content: center;
}
#rsvp .btn-enviar {
    display: inline-block;
    margin: 0;
}

/* Fotos section removed - gallery and lightbox styles cleaned */

/* ========== CANCION SECTION ========== */
.cancion {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(168, 198, 130, 0.1) 0%, rgba(123, 143, 92, 0.1) 100%);
}

/* Fuente específica para la sección de la canción */
.cancion {
    font-family: 'Montserrat', Arial, sans-serif;
    /* Reducir tamaño base de fuente en la sección de la canción */
    font-size: 0.95rem;
}

.cancion h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.cancion-subtitulo {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 40px;
}

.reproductor-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.reproductor-card {
    background: transparent;
    padding: 40px;
    border-radius: 15px;
    box-shadow: none;
    max-width: 500px;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.cancion-banner {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cancion-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cancion-img-container {
    width: 100%;
    height: 250px;
    margin: -40px -40px 20px -40px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cancion-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.reproductor-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.reproductor-custom {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audio-player {
    display: none;
}

.progress-container {
    width: 100%;
    height: 3px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-container::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    left: 0%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.controles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.btn-control {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-control:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.btn-control svg {
    fill: currentColor;
}

.btn-play {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 12px rgba(123, 143, 92, 0.3);
}

.btn-play:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(123, 143, 92, 0.4);
}

.cancion-titulo {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 12px 0 6px 0;
}

.cancion-artista {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.cancion-nota {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    margin-top: 30px;
}

/* ========== PADRES Y PADRINOS SECTION ========== */
.padres-padrinos {
    padding: 60px 20px;
    background: #5A6B47;
}

.padres-padrinos h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--light-color);
    font-family: 'Great Vibes', 'Allura', cursive;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.6px;
}

.padres-padrinos h3 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 30px;
    color: var(--light-color);
    font-family: 'montserrat';
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.6px;
}
.padres-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 12px;
}

.padre-card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 560px;
}

.padre-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.09);
}

.padre-card h3 {
    font-size: 1.4rem;
    color: #5A6B47;
    margin-bottom: 8px;
    font-family: 'Great Vibes', Allura, cursive;
    font-weight: 400;
}

/* Montserrat for specific selected titles */
.montserrat-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-style: normal;
}
.padre-card .detalle {
    font-family: 'Montserrat', Arial, sans-serif;
}

.padre-card .detalle {
    color: var(--light-color);
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.98rem;
    text-align: center;
    line-height: 1.4;
    max-width: 420px;
    color: #f5f5f2;
}

@media (max-width: 600px) {
    .padres-grid { gap: 12px; }
    .padre-card { padding: 16px; }
}

/* ========== RSVP SECTION ========== */
.rsvp {
    padding: 80px 20px;
    background-color: white;
}

.rsvp h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 20px;
}

.rsvp h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.rsvp-subtitulo {
    text-align: center;
    color: #888;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.formulario-rsvp {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

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

.radio-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.btn-enviar {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}

.form-nota {
    text-align: center;
    margin-top: 15px;
    color: #888;
    font-size: 0.9rem;
}

/* ========== REGALO SECTION ========== */
.regalo {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.regalo h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 20px;
    font-family: 'Great Vibes', 'Allura', cursive;
}

.regalo h3 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-family: 'montserrat';
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.6px;
}

.regalo h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.regalo-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.regalo-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.regalo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.regalo-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.regalo-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.regalo-card p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.regalo-card ul {
    list-style: none;
    margin-bottom: 15px;
}

.regalo-card ul li {
    margin-bottom: 8px;
}

.regalo-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.regalo-card a:hover {
    text-decoration: underline;
}

.banco-info {
    font-size: 0.9rem;
    line-height: 1.8;
    background: var(--light-color);
    padding: 15px;
    border-radius: 5px;
    color: var(--text-color);
}

.regalo-nota {
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(139, 111, 71, 0.1) 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    color: var(--text-color);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer p:first-child {
    font-size: 0.9rem;
}

.footer p:nth-child(2) {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    /* Removed legacy title/subtitle styles (using image title now) */

    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .detalles h2, .ceremonia h2, .ubicacion h2, .fotos h2, .regalo h2, .rsvp h2 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-marker {
        position: absolute;
        left: -30px;
        width: 50px;
        height: 50px;
    }

    .timeline-item {
        flex-direction: column !important;
        padding-left: 80px;
        gap: 20px;
    }

    .timeline-content {
        text-align: left !important;
    }

    .ubicacion-content {
        grid-template-columns: 1fr;
    }

    .mapa {
        order: 2;
    }

    .instrucciones {
        order: 1;
    }

    .formulario-rsvp {
        padding: 30px 20px;
    }

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

@media (max-width: 480px) {
    .nav-menu {
        /* keep nav-menu available for the hamburger toggle on very small screens */
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    /* Removed legacy title/subtitle styles for small screens */

    .detalles h2, .ceremonia h2, .ubicacion h2, .fotos h2, .regalo h2, .rsvp h2 {
        font-size: 1.5rem;
    }

    .detalles-grid {
        grid-template-columns: 1fr;
    }

    /* gallery rules removed for cleaner build */
}

/* ===== Calendar widget styles ===== */
.calendar{
    max-width:360px;
    margin:14px auto 0;
    background:transparent;
    border-radius:8px;
}
.calendar-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:6px 10px;
}
.calendar-title{font-weight:600;font-size:1rem}
.cal-btn{background:#fff;border:1px solid rgba(0,0,0,0.06);padding:6px 10px;border-radius:6px;cursor:pointer}
.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;padding:8px}

/* Lightbox / Zoom styles */
/* lightbox styles removed */
.calendar-grid .weekday{font-size:0.72rem;color:#666;padding:6px 0;text-align:center}
.calendar-grid .day{padding:10px 6px;text-align:center;font-size:0.95rem;border-radius:6px}
.calendar-grid .day--muted{color:#bbb;background:transparent}
.calendar-grid .day--active{background:var(--primary-color);color:#fff;font-weight:700}
.calendar-grid .day:hover{background:rgba(90,107,71,0.06)}
