* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background-color: #3a3a5a;
    flex-direction: column;
    min-height: 100vh;
    display: flex;
    padding: 0;
    margin: 0;
}

.header {
    justify-content: space-between;
    background-color: #222236;
    align-items: center;
    padding: 10px 20px;
    display: flex;
}

.logo-img {
    vertical-align: middle;
    margin-right: 10px;
    height: 40px;
    width: 50px;
}

.nav-list {
    align-items: center;
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    gap: 15px;
}

.nav-link {
    text-decoration: none;
    color: #ffff;
}

.nav-link {
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    border-radius: 5px;
    padding: 5px 10px;
    padding: 5px 10px;
    font-weight: 500;
    color: white;

}

.nav-link:hover {
    text-shadow: #AAAAAA 0px 0px 5px;
    color: white;
}

.nav-link-button {
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-shadow: none !important;
    background-color: #de1f6f;
    border-radius: 5px;
    padding: 5px 20px;
    color: white;
}

.nav-link-button:hover {
    text-shadow: none !important;
    background-color: #a11851;
    transform: scale(1.05);
}

.menu-toggle {
    flex-direction: column;
    cursor: pointer;
    display: none;
    gap: 5px;
}

.bar {
    background-color: white;
    border-radius: 4px;
    width: 30px;
    height: 4px;
}

.side-menu {
    transition: right 0.3s ease;
    background-color: #222;
    font-size: 1.2rem;
    padding-top: 50px;
    position: fixed;
    right: -250px;
    width: 250px;
    height: 100%;
    top: 0;
}

.side-menu.active {
    right: 0;
}

.side-menu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.side-nav-link {
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: white;
    display: block;
    padding: 10px;
}

.side-nav-link:hover {
    background-color: #444;
}

.close-btn {
    position: absolute;
    cursor: pointer;
    font-size: 30px;
    color: white;
    right: 20px;
    top: 20px;
}

.form-contact {
    text-decoration: underline;
    color: #ffffff;
}

.form-contact:hover {
    color: #dddddd;
}


/************ Main Centrado ************/
.main-decorado {
    background: linear-gradient(135deg, #2e2e4a, #3a3a5a);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease forwards;
    text-align: justify;
    border-radius: 20px;
    padding: 40px 30px;
    margin: 40px auto;
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 800px;
    line-height: 1.8;
}

.main-title {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 20px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.main-text:first-of-type {
    margin-bottom: 30px;
    font-style: italic;
    text-align: center;
    font-size: 1.3rem;
    color: #f0f0f0;
}

.main-cards {
    max-width: 1000px;
    margin: 30px auto;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    align-items: stretch;
}


.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    width: 320px;
    text-align: center;

    /* allow cards in the same flex row to match height */
    flex: 1 1 320px;
}

/* hover lift animation for cards */
.card {
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms cubic-bezier(.2,.8,.2,1);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.55);
}


.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}


.card-title {
    font-size: 1.25rem;
    margin: 0 0 8px 0;
    color: #ffffff;
}


.card-text {
    margin: 0 0 16px 0;
    color: #dcdcdc;
    line-height: 1.4;
    font-size: 0.95rem;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}


.card-btn {
    padding: 10px 18px;
    border: none;
    background: #de1f6f;
    color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
    will-change: transform, box-shadow, opacity;
}


.card-btn:hover {
    background: #a11851;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.card-btn:active {
    transform: translateY(-1px) scale(0.99);
}

.card-btn:focus-visible {
    outline: 3px solid rgba(222,31,111,0.18);
    outline-offset: 3px;
}

/* Offer panel (hidden by default) */
.offer-panel {
    width: 100%;
    margin-top: 12px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
    transform-origin: top;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.offer-panel.show {
    max-height: 240px;
    opacity: 1;
    transform: translateY(0);
}
.offer-text {
    font-size: 0.95rem;
    color: #f0f0f0;
    margin-bottom: 8px;
    text-align: center;
}
.offer-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.sub-btn {
    background: #ffffff10;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}
.sub-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sub-btn:hover {
    background: rgba(255,255,255,0.04);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.sub-btn:active { transform: translateY(-1px); }

/* Make sure disabled main buttons don't toggle panel */
.card-btn.disabled + .offer-panel { display: none; }

/* Disabled state for buttons (links) */
.card-btn.disabled {
    background: #8e8e8e;
    color: #e9e9e9;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.85;
    transform: none;
    box-shadow: none;
}
.card-btn.disabled:hover {
    background: #8e8e8e;
    transform: none;
}

/* Small status badge shown when event is done */
.card-status {
    font-size: 0.9rem;
    color: #cfcfcf;
    background: rgba(255,255,255,0.02);
    padding: 6px 10px;
    border-radius: 8px;
    margin-top: 12px;
    margin-bottom: 12px;
}


/************ Footer y WhatsApp Float ************/
.whatsapp-float {
    animation: slideInLeftBounce 0.8s ease-out;
    background: none;
    position: fixed;
    z-index: 1000;
    border: none;
    bottom: 20px;
    left: 20px;
    padding: 0;
}

.whatsapp-icon {
    transition: transform 0.3s ease;
    height: 60px;
    width: 60px;
}

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

.footer {
    border-top: 1px solid #222236;
    justify-content: space-between;
    background-color: #222236;
    align-items: center;
    text-align: center;
    padding: 15px 20px;
    margin-top: auto;
    flex-wrap: wrap;
    font-size: 14px;
    color: white;
    display: flex;
}

.footer-left {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 15vh;
    display: flex;
    gap: 5px;
    flex: 1;
}

.footer-text, .footer-link {
    font-size: 14px;
    color: white;
    margin: 0;
}

.footer-link {
    text-decoration: none;
    color: #AAAAAA;
}

.footer-link:hover {
    text-decoration: underline;
    color: #FFFFFF;
}

.footer-social {
    align-items: center;
    color: #ffffff;
    margin-top: 10px;
    font-size: 14px;
    display: flex;
    gap: 10px;
}

.footer-social span {
    font-weight: 500;
}

.social-icon {
    transition: transform 0.3s ease;
    height: 24px;
    width: 24px;
}

.social-icon:hover {
    transform: scale(1.2);
}

/************ Media Queries ***********/
@media (max-width: 834px) {
    .nav-list {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 760px) {
    .footer {
        flex-direction: column;
        gap: 10px;
    }
    .footer-left, .footer-social {
        justify-content: center;
        padding-left: 5vh;
    }
}

/************ Snowflake Animation ***********/
.snowflake-wrapper {
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    pointer-events: none;
    animation-name: fall;
    position: fixed;
    z-index: 9999;
    top: -2em;
}

.snowflake {
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    display: inline-block;
    animation-name: spin;
    color: white;
}

@keyframes fall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(110vh);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}