@import url('https://fonts.googleapis.com/css2?family=Anton&family=Barlow+Condensed:wght@300;400;500;600;700&family=Barlow:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    background: #0a1929;
    color: #fff;
    overflow-x: hidden;
}

a, button {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

section {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

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

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

@keyframes swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes wave {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0a1929 0%, #132f4c 50%, #0a1929 100%);
    position: relative;
    padding: 40px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 100px,
        rgba(66, 153, 225, 0.03) 100px,
        rgba(66, 153, 225, 0.03) 101px
    );
    pointer-events: none;
}

.hero-anchor {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: rgba(66, 153, 225, 0.3);
    animation: swing 4s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-subtitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    color: #4299e1;
    letter-spacing: 8px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out both;
}

.hero-name-wrapper {
    margin-bottom: 5px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-name {
    font-family: 'Anton', sans-serif;
    font-size: 4.5rem;
    color: #fff;
    letter-spacing: 12px;
    line-height: 1;
}

.hero-surname {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    color: rgba(66, 153, 225, 0.8);
    letter-spacing: 15px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-day {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: #fff;
}

.hero-month {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    color: #4299e1;
    letter-spacing: 3px;
}

.hero-year {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #4299e1;
    color: #0a1929;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* ============ COUNTDOWN ============ */
.countdown {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a1929;
    padding: 60px 20px;
    border-top: 2px solid #4299e1;
    border-bottom: 2px solid #4299e1;
}

.countdown-content {
    text-align: center;
}

.countdown-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    color: rgba(66, 153, 225, 0.8);
    letter-spacing: 6px;
    margin-bottom: 30px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.count-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-number {
    font-family: 'Anton', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    background: rgba(66, 153, 225, 0.1);
    border: 1px solid rgba(66, 153, 225, 0.3);
    padding: 10px 15px;
    min-width: 60px;
    text-align: center;
}

.count-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.65rem;
    color: rgba(66, 153, 225, 0.7);
    letter-spacing: 2px;
    margin-top: 8px;
}

/* ============ PADRES ============ */
.padres {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #132f4c;
    padding: 40px 20px;
}

.padres-content {
    text-align: center;
}

.padres-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    color: rgba(66, 153, 225, 0.7);
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.padres-names {
    font-family: 'Barlow', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 500;
}

.padres-names span {
    color: #4299e1;
    margin: 0 8px;
}

/* ============ FOTOS ============ */
.fotos {
    min-height: 500px;
    background: #0a1929;
    padding: 50px 0;
}

.fotos-header {
    text-align: center;
    margin-bottom: 25px;
}

.fotos-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    color: #4299e1;
    letter-spacing: 4px;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid rgba(66, 153, 225, 0.3);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s ease;
}

.slider-slide {
    min-width: 100%;
    height: 380px;
    position: relative;
    flex-shrink: 0;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.slider-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(10, 25, 41, 0.9), transparent);
}

.slider-info p {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: #4299e1;
    letter-spacing: 4px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 30px;
    height: 4px;
    background: rgba(66, 153, 225, 0.3);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #4299e1;
}

/* ============ FECHA ============ */
.fecha {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #132f4c;
    padding: 50px 20px;
}

.fecha-content {
    text-align: center;
}

.fecha-icon {
    font-size: 2rem;
    color: #4299e1;
    margin-bottom: 15px;
}

.fecha-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    color: rgba(66, 153, 225, 0.7);
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.fecha-text {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: #fff;
}

.fecha-hour {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    color: #4299e1;
    margin-top: 10px;
}

/* ============ FRASE ============ */
.frase {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a1929;
    padding: 50px 30px;
}

.frase-content {
    text-align: center;
}

.frase-text {
    font-family: 'Barlow', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 300;
    line-height: 1.6;
}

.frase-author {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    color: #4299e1;
    letter-spacing: 3px;
    margin-top: 20px;
}

/* ============ UBICACIÓN ============ */
.ubicacion {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #132f4c;
    padding: 50px 20px;
}

.ubicacion-content {
    text-align: center;
}

.ubicacion-icon {
    font-size: 2rem;
    color: #4299e1;
    margin-bottom: 15px;
}

.ubicacion-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    color: rgba(66, 153, 225, 0.7);
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.ubicacion-place {
    font-family: 'Anton', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: 2px;
}

.ubicacion-address {
    font-family: 'Barlow', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
}

.ubicacion-btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid #4299e1;
    color: #4299e1;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.ubicacion-btn:hover {
    background: #4299e1;
    color: #0a1929;
}

/* ============ DRESS CODE ============ */
.dresscode {
    min-height: 250px;
    background: #0a1929;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dresscode-content {
    text-align: center;
}

.dresscode-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    color: rgba(66, 153, 225, 0.7);
    letter-spacing: 4px;
    margin-bottom: 5px;
}

.dresscode-subtitle {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.dresscode-colors {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.color-item .color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.color-item span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.color-swatch.blue { background: #1e3a8a; }
.color-swatch.white { background: #fff; }
.color-swatch.beige { background: #d4c4a8; }

/* ============ ITINERARIO ============ */
.itinerario {
    min-height: 350px;
    background: #132f4c;
    padding: 50px 20px;
}

.itinerario-content {
    max-width: 280px;
    margin: 0 auto;
}

.itinerario-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    color: #4299e1;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 30px;
}

.itinerario-table {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.itinerario-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(66, 153, 225, 0.2);
}

.itinerario-time {
    font-family: 'Anton', sans-serif;
    font-size: 1rem;
    color: #4299e1;
    width: 50px;
}

.itinerario-event {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 2px;
}

/* ============ REGALOS ============ */
.regalos {
    min-height: 300px;
    background: #0a1929;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.regalos-content {
    text-align: center;
    max-width: 260px;
}

.regalos-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.regalos-text {
    font-family: 'Barlow', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 25px;
}

.regalos-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #4299e1;
    color: #0a1929;
    border: none;
    text-transform: uppercase;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.regalos-btn:hover {
    background: #fff;
}

/* ============ INSTAGRAM ============ */
.instagram {
    min-height: 280px;
    background: #132f4c;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-content {
    text-align: center;
}

.instagram-hashtag {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    color: #4299e1;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.instagram-text {
    font-family: 'Barlow', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.instagram-user {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 2px;
}

/* ============ CONFIRMAR ============ */
.confirmar {
    min-height: 300px;
    background: #0a1929;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmar-content {
    text-align: center;
}

.confirmar-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.confirmar-deadline {
    font-family: 'Barlow', sans-serif;
    font-size: 0.8rem;
    color: rgba(66, 153, 225, 0.7);
    margin-bottom: 25px;
}

.confirmar-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.confirmar-btn:hover {
    background: #128C7E;
}

/* ============ FOOTER ============ */
.footer {
    min-height: 350px;
    background: #132f4c;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: #4299e1;
}

.footer-content {
    text-align: center;
}

.footer-anchor {
    font-size: 2rem;
    color: rgba(66, 153, 225, 0.4);
    margin-bottom: 20px;
    animation: swing 4s ease-in-out infinite;
}

.footer-invite {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    color: rgba(66, 153, 225, 0.7);
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.footer-name {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: 8px;
    margin-bottom: 10px;
}

.footer-date {
    font-family: 'Barlow', sans-serif;
    font-size: 0.9rem;
    color: #4299e1;
}

.footer-markentas {
    margin-top: 40px;
}

.footer-markentas-link {
    display: inline-block;
    padding: 12px 25px;
    background: #4299e1;
    color: #fff;
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.footer-markentas-link:hover {
    background: #fff;
    color: #4299e1;
    transform: translateY(-2px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float.visible {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ============ MODAL ============ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 41, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #132f4c;
    padding: 35px 25px;
    border: 1px solid #4299e1;
    max-width: 300px;
    width: 100%;
    text-align: center;
}

.modal-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    color: #4299e1;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.modal-data {
    margin-bottom: 22px;
}

.modal-bank {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 10px;
}

.modal-alias {
    font-family: 'Anton', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    padding: 10px;
    background: rgba(66, 153, 225, 0.1);
    display: inline-block;
    margin-bottom: 10px;
}

.modal-holder {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.modal-close {
    padding: 10px 30px;
    background: transparent;
    border: 1px solid #4299e1;
    color: #4299e1;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #4299e1;
    color: #0a1929;
}

/* ============ BOTÓN MÚSICA ============ */
.btn-musica {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4299e1;
    border: none;
    color: #0a1929;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-musica:hover {
    background: #fff;
    transform: scale(1.1);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 480px) {
    .hero-name { font-size: 3rem; letter-spacing: 6px; }
    .hero-surname { font-size: 1rem; letter-spacing: 10px; }
    .count-number { font-size: 1.5rem; min-width: 50px; padding: 8px 10px; }
    .slider-slide { height: 320px; }
}
