/* --- MENÚ HAMBURGUESA --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
    margin-left: 8px;
}
.hamburger .bar {
    width: 28px;
    height: 4px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
        z-index: 300;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80vw;
        max-width: 320px;
        background: linear-gradient(120deg, #ff4eb3 60%, #b347ff 100%);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 0 0 0;
        box-shadow: -2px 0 24px rgba(0,0,0,0.18);
        display: none;
        transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
        transform: translateX(100%);
    }
    .main-nav.open {
        display: flex;
        transform: translateX(0);
    }
    .main-nav a {
        width: 100%;
        padding: 20px 32px;
        border-radius: 0;
        border-bottom: 1px solid #fff2;
        font-size: 1.15rem;
        background: none;
        color: #fff;
        text-align: left;
        font-weight: 700;
    }
    .main-nav a:last-child {
        border-bottom: none;
    }
    .header-flex {
        flex-wrap: wrap;
        position: relative;
        z-index: 301;
    }
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 600px) {
    .main-title {
        font-size: 2rem;
    }
    .logo-header {
        height: 48px;
        margin-right: 10px;
    }
    .container {
        width: 98vw;
        padding: 0 2vw;
    }
    .section {
        padding: 32px 0 18px 0;
    }
}
html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1 0 auto;
}
.footer {
    flex-shrink: 0;
}
/* Lightbox styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeInUp 0.5s;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.25);
    border: 4px solid #fff;
}
.lightbox-close {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    position: absolute;
    top: 32px;
    right: 48px;
    cursor: pointer;
    z-index: 10001;
    text-shadow: 0 2px 8px #000;
    transition: color 0.2s;
}
.lightbox-close:hover {
    color: #ff4eb3;
}
/* --- TRANSICIONES Y ANIMACIONES GLOBALES --- */
html, body, .info-card, .program-block, .guest-card, .activity, .gallery-preview img, .main-nav a, .preinscripcion-btn, .galeria-btn, .video-container iframe {
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

body {
    scroll-behavior: smooth;
}

/* Animaciones de entrada */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.9s forwards;
}
.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }
.fade-in.delay-3 { animation-delay: 0.6s; }
.fade-in.delay-4 { animation-delay: 0.8s; }
.fade-in.delay-5 { animation-delay: 1s; }

/* Footer y redes sociales */
.footer {
    background: linear-gradient(90deg, #b347ff 0%, #ff4eb3 60%, #ffb347 100%);
    color: #fff;
    padding: 32px 0 18px 0;
    text-align: center;
    margin-top: 32px;
}
.footer .social-links {
    margin-bottom: 12px;
}
.footer .social-links a {
    display: inline-block;
    margin: 0 10px;
    color: #fff;
    font-size: 2rem;
    transition: color 0.2s, transform 0.2s;
}
.footer .social-links a:hover {
    color: #47d1ff;
    transform: scale(1.15) rotate(-8deg);
}
.galeria-btn {
    display: inline-block;
    background: linear-gradient(90deg, #b347ff 60%, #47d1ff 100%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 32px;
    text-decoration: none;
    margin: 0 auto 8px auto;
    box-shadow: 2px 2px 0 #47d1ff;
    transition: background 0.2s, transform 0.2s;
}
.galeria-btn:hover {
    background: linear-gradient(90deg, #47d1ff 60%, #b347ff 100%);
    color: #fff;
    transform: scale(1.04);
}
/* --- HEADER Y MENÚ --- */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, #ff4eb3 0%, #b347ff 50%, #47d1ff 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding-bottom: 0;
    transition: background 0.5s;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}
.logo-header {
    height: 70px;
    width: auto;
    margin-right: 24px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    padding: 6px 12px;
    object-fit: contain;
    transition: box-shadow 0.2s, background 0.2s;
}
.logo-header:hover {
    box-shadow: 0 6px 24px rgba(71,209,255,0.18);
    background: #f7f7f7;
}
.main-nav {
    display: flex;
    gap: 18px;
    align-items: center;
}
.main-nav a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 18px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
    background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.00) 100%);
}
.main-nav a:hover, .main-nav .nav-btn {
    background: linear-gradient(90deg, #fff 0%, #ffb347 100%);
    color: #b347ff;
    box-shadow: 0 2px 12px rgba(255,75,179,0.10);
}
.nav-btn {
    background: linear-gradient(90deg, #fff 0%, #ffb347 100%);
    color: #b347ff;
    font-weight: 800;
    box-shadow: 2px 2px 0 #ffb347;
}
.hero-content {
    text-align: center;
    padding: 32px 0 16px 0;
    background: linear-gradient(180deg, rgba(255,75,179,0.12) 0%, rgba(71,209,255,0.10) 100%);
    border-radius: 0 0 32px 32px;
}
.hero-actions {
    margin-top: 18px;
    display: flex;
    gap: 18px;
    justify-content: center;
}

/* --- CARDS DE INFORMACIÓN --- */
.info-cards {
    background: linear-gradient(90deg, #fff 60%, #ffb347 100%);
    padding: 36px 0 24px 0;
}
.cards-flex {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 16px;
    padding-right: 16px;
}
.info-card {
    background: linear-gradient(120deg, #ffb347 0%, #ff4eb3 60%, #b347ff 100%);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 28px 24px;
    min-width: 220px;
    max-width: 400px;
    flex: 1 1 220px;
    margin-bottom: 12px;
    margin-left: 12px;
    margin-right: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeInUp 0.8s;
    border: 2px solid #fff;
}
.info-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(71,209,255,0.13);
}
.info-card h2 {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 1px 1px 0 #b347ff, 2px 2px 0 #ffb347;
}
.info-card p {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: #fff;
    text-shadow: 0 1px 0 #b347ff22;
}

/* --- PROGRAMA --- */
.program-section {
    background: linear-gradient(90deg, #ffb347 0%, #ff4eb3 60%, #b347ff 100%);
    color: #fff;
    padding: 36px 0 24px 0;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 24px;
    text-align: center;
}
.program-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}
.program-block {
    background: linear-gradient(90deg, #fff 60%, #47d1ff 100%);
    color: #b347ff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 18px 24px;
    min-width: 180px;
    max-width: 220px;
    flex: 1 1 180px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeInUp 0.8s;
    border: 2px solid #ffb347;
}
.program-block strong {
    display: block;
    font-size: 1.3rem;
    color: #ff4eb3;
    text-shadow: 1px 1px 0 #fff, 2px 2px 0 #b347ff;
}
.program-block:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(71,209,255,0.13);
}

/* --- INVITADOS --- */
.invitados-section {
    background: linear-gradient(90deg, #fff 60%, #b347ff 100%);
    padding: 36px 0 24px 0;
}
.guests-flex {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.guest-card {
    background: linear-gradient(120deg, #b347ff 0%, #ff4eb3 60%, #ffb347 100%);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 18px 12px 12px 12px;
    min-width: 200px;
    max-width: 220px;
    flex: 1 1 200px;
    text-align: center;
    margin-bottom: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeInUp 0.8s;
    border: 2px solid #fff;
}
.guest-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.guest-info strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 1px 1px 0 #ffb347, 2px 2px 0 #b347ff;
}
.guest-info span {
    font-size: 0.98rem;
    color: #fff;
    text-shadow: 0 1px 0 #b347ff22;
}
.guest-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(255,75,179,0.13);
}

/* --- ACTIVIDADES --- */
.actividades-section {
    background: linear-gradient(90deg, #47d1ff 0%, #b347ff 100%);
    color: #fff;
    padding: 36px 0 24px 0;
}
.activities-flex {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}
.activity {
    background: linear-gradient(90deg, #fff 60%, #b347ff 100%);
    color: #ff4eb3;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 12px 24px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeInUp 0.8s;
    border: 2px solid #fff;
}
.activity:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(71,209,255,0.13);
}

/* --- GALERÍA PREVIEW --- */
.galeria-section {
    background: linear-gradient(90deg, #fff 60%, #47d1ff 100%);
    padding: 36px 0 24px 0;
}
.gallery-preview {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.gallery-preview img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    animation: fadeInUp 0.8s;
    border: 2px solid #fff;
}
.gallery-preview img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 24px rgba(179,71,255,0.18);
}

/* --- VIDEO --- */
.video-section {
    background: linear-gradient(90deg, #ffb347 0%, #ff4eb3 60%, #47d1ff 100%);
    color: #fff;
    padding: 36px 0 24px 0;
}
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-container iframe {
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    max-width: 100%;
}

/* --- PREINSCRIPCIÓN --- */
.preinscripcion-section {
    background: linear-gradient(90deg, #fff 60%, #ff4eb3 100%);
    padding: 36px 0 24px 0;
    text-align: center;
}

/* --- ANIMACIONES --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .cards-flex, .guests-flex, .program-flex, .activities-flex, .gallery-preview {
        flex-direction: column;
        align-items: center;
    }
    .info-card, .guest-card, .program-block, .activity {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
    .cards-flex {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100vw;
        box-sizing: border-box;
    }
}
/* --- Galería --- */
.gallery-section {
    padding: 32px 0 24px 0;
    text-align: center;
}
.gallery-section h2 {
    font-size: 2rem;
    color: #b347ff;
    margin-bottom: 24px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}
.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 24px rgba(179,71,255,0.18);
}
.video-section {
    padding: 32px 0 24px 0;
    text-align: center;
}
.video-section h2 {
    font-size: 2rem;
    color: #47d1ff;
    margin-bottom: 18px;
}
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-container iframe {
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    max-width: 100%;
}
/* --- Botón de Preinscripción --- */
.preinscripcion-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff4eb3 60%, #ffb347 100%);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 32px;
    text-decoration: none;
    margin: 0 auto 12px auto;
    box-shadow: 2px 2px 0 #ffb347;
    transition: background 0.2s, transform 0.2s;
}
.preinscripcion-btn:hover {
    background: linear-gradient(90deg, #ffb347 60%, #ff4eb3 100%);
    color: #fff;
    transform: scale(1.04);
}
body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f7f7f7;
    color: #111;
}

.hero {
    background: linear-gradient(120deg, #ff4eb3 60%, #ffb347 100%);
    color: #fff;
    padding: 60px 0 30px 0;
    text-align: center;
    position: relative;
}

.main-title {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow: 4px 4px 0 #000, 8px 8px 0 #fff;
    margin: 0 0 10px 0;
    line-height: 1.1;
}
.main-title span {
    color: #fff;
    background: #000;
    padding: 0 10px;
    border-radius: 8px;
}
.badge {
    background: #fff;
    color: #111;
    font-size: 1.1rem;
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 8px;
    font-weight: 700;
    box-shadow: 2px 2px 0 #000;
    vertical-align: middle;
}
.subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 10px;
    color: #ffb347;
    background: #fff;
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    box-shadow: 2px 2px 0 #000;
}

/* --- Formulario de Preinscripción --- */
.form-container {
    max-width: 500px;
    margin: 48px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    padding: 40px 40px 32px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-container h1 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: #ff4eb3;
    text-align: center;
}

.preinscripcion-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.preinscripcion-form label {
    font-weight: 600;
    margin-bottom: 4px;
}

.preinscripcion-form input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}

.preinscripcion-form input:focus {
    border: 1.5px solid #ff4eb3;
}

.preinscripcion-form button {
    background: linear-gradient(90deg, #ff4eb3 60%, #ffb347 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 12px;
    cursor: pointer;
    box-shadow: 2px 2px 0 #ffb347;
    transition: background 0.2s;
}

.preinscripcion-form button:hover {
    background: linear-gradient(90deg, #ffb347 60%, #ff4eb3 100%);
}

.back-link {
    display: block;
    margin-top: 24px;
    color: #ff4eb3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.back-link:hover {
    color: #ffb347;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .form-container {
        padding: 18px 5vw 18px 5vw;
        max-width: 99vw;
    }
    .form-container h1 {
        font-size: 1.15rem;
    }
    .preinscripcion-form input, .preinscripcion-form button {
        font-size: 1.05rem;
        padding-left: 10px;
        padding-right: 10px;
    }
    .preinscripcion-form {
        gap: 16px;
    }
}
}

.main-nav {
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 16px 0;
    font-weight: 700;
    font-size: 1.1rem;
}
.main-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.main-nav a:hover {
    color: #ff4eb3;
}

.section {
    padding: 60px 0 40px 0;
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.pink-bg {
    background: linear-gradient(120deg, #ff4eb3 80%, #fff 100%);
    color: #fff;
}
.green-bg {
    background: linear-gradient(120deg, #00d26a 80%, #fff 100%);
    color: #fff;
}
.yellow-bg {
    background: linear-gradient(120deg, #ffe14e 80%, #fff 100%);
    color: #111;
}

h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 0 #000, 4px 4px 0 #fff;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 30px;
}
.program-item {
    background: #fff;
    color: #111;
    border-radius: 18px;
    box-shadow: 2px 2px 0 #000;
    padding: 18px 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

.guests {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}
.guest {
    background: #fff;
    border-radius: 18px;
    box-shadow: 2px 2px 0 #000;
    padding: 18px 16px;
    text-align: center;
    width: 220px;
}
.guest-img {
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin: 0 auto 12px auto;
    border: 4px solid #ff4eb3;
    box-shadow: 2px 2px 0 #000;
}
.guest-info {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6c2eb3;
}

.activities {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 30px;
}
.activity {
    background: #ffe14e;
    color: #6c2eb3;
    font-weight: 900;
    font-size: 1.2rem;
    padding: 12px 28px;
    border-radius: 30px;
    box-shadow: 2px 2px 0 #000;
    margin-bottom: 8px;
}

.footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 40px;
}

@media (max-width: 700px) {
    .main-title {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .container {
        width: 98%;
    }
    .guests {
        flex-direction: column;
        align-items: center;
    }
    .info-card {
        padding: 14px 6px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        font-size: 0.98rem;
        box-sizing: border-box;
    }
    .info-card h2 {
        font-size: 1.15rem;
    }
    .info-card p {
        font-size: 0.98rem;
    }
}