:root {
    --color1: #031F46;
    --color2: #0499C9;
    --color3: #16B270;
    --color4: #FABF03;
    --color5: #F45015;
    --color6: #FFBD37;
    --color7: #FE7131;
    --color8: #FE7831;
    --color9: #F4E3C9;
    --color10: #0B628F;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    margin: -7px;
    padding: 0;
    background-image: url("img/confeti.gif"); 
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: auto;
    /* background-image: url("img/confeti-static.jpg");  */
    /* background-repeat: no-repeat; */
    /* background: linear-gradient(135deg, var(--color1), var(--color10)); */
    color: #333;
    
}

/* ----------------- HEADER MEJORADO ----------------- */
/* Estilos para el header */
.header-gradient {
    position: relative;
    padding-top: 60px; /* Espacio para que los logos sobresalgan */
    background: linear-gradient(135deg, var(--color1), var(--color10));
    overflow: visible; /* Permite que los elementos hijos sobresalgan */
    z-index: 10; /* Asegura que el header esté sobre otros elementos */
}

.main-logo {
    position: absolute;
    height: 204px;
    width: auto;
    transition: transform 0.3s ease;
    left: 20px;
    top: -18px;
    z-index: 20;
}


.main-logo:hover {
    transform: scale(1.05);
}

.slogan-logo {
    position: absolute;
    height: 150px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    right: 17px;
    top: -6px;
    z-index: 20;

}
   
.header-bottom {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px; /* Ajusta según necesites */
    border-radius: 14px;
}

.event-title {
    font-size: 2.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgb(248, 243, 243);
}

.highlight {
    font-size: 1.8rem;
    color: var(--color4);
}

/* ----------------- CONTENIDO PRINCIPAL ----------------- */
.main-container {
    padding: 39px 1.5rem;
    max-width: 1200px;
    margin-bottom: 6rem;
    background-color: #ffffff;
    margin-bottom: 2rem;
    background-color: #ffffff1a;
    border-radius: 14px;
    flex: 1;
}

.week-days {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-radius: 14px;
}

.day-tab {
    padding: 0.8rem 1.5rem;
    background-color: var(--color9);
    border-radius: 20px 20px 0 0;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.day-tab:hover, .day-tab.active {
    background-color: var(--color3);
    color: white;
    transform: translateY(-2px);
}

.day-content {
    display: none;
    background-color: white;
    border-radius: 0 0 10px 10px;
    padding: 2rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
}

.day-content.active h2 {
    /* color: white; */
    font-weight: bold;
}

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

.day-content.active {
    display: block;
    background-color: #ffffff1a;
    border-radius: 14px;
}


.activities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
}

.activity-card {
    background-color: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* border: 1px solid #eee; */
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 1rem;
    color: white;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body {
    padding: 1.5rem;
}

.card-time {
    font-weight: bold;
    color: var(--color1);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.card-time::before {
    content: "⏱";
    margin-right: 0.5rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color1);
    line-height: 1.4;
}

.card-description {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.btn {
   display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: rgb(203 100 12);
    color: white;
    text-decoration: none;
    border-radius: 43px;
    transition: all 0.3s ease;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    width: 80%;
    margin-left: 20px;
}

.btn:hover {
    background-color: #d17e09;
    color: rgb(27, 25, 25);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(12, 5, 2, 0.3);
}

/* Estilos para el footer */
.footer-bg {
    background-color: var(--color1);
    padding: 44px;
}

.copyright-text {
    font-weight: bold;
    color: var(--color4);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: -44px;
}

.contact-item {
    display: flex;
    gap: 0.5rem;
}

.contact-label {
    font-weight: bold;
    min-width: 70px;
}

.contact-value {
    font-style: italic;
}

.footer-logo img {
    height: 71px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin-top: -75px;
}

.footer-logo img:hover {
    opacity: 1;
}

/* ----------------- HEADER RESPONSIVE MEJORADO ----------------- */
@media (max-width: 768px) {
    .header-gradient {
        padding-top: 30px;
        min-height: 100px;
    }
    
    .main-logo {
        height: 85px;
        top: -40px;
        left: 12px;
        margin-top: 47px;
    }
    
    .slogan-logo {
        height: 70px;
        top: -40px;
        right: 15px;
        margin-top: 43px;
    }
    
    .event-title {
        font-size: 1.5rem;
        margin-top: 20px;
    }
    
    .highlight {
        font-size: 1.2rem;
    }
    
    .header-bottom {
        padding-top: 20px;
        margin-top: 0;
        padding: 0.5rem 0;
        order: -1;
    }

     .row.align-items-center {
        display: flex;
        flex-wrap: wrap;
    }
}

/* ----------------- CONTENIDO PRINCIPAL RESPONSIVE ----------------- */
@media (max-width: 768px) {
    .main-container {
        padding: 15px 1rem;
        margin-bottom: 80px;
    }
    
    .week-days {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        margin-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .day-tab {
        min-width: 90px;
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        display: inline-block;
        flex: none;
        border-radius: 20px;
        margin-right: 5px;
    }
}

/* ----------------- FOOTER RESPONSIVE MEJORADO ----------------- */
@media (max-width: 768px) {
    .footer-bg {
        padding: 20px 0;
        margin-top: 30px;
        display: block;
    }
    
    .footer-contact {
        margin-top: 0;
        margin-bottom: 1rem;
        align-items: center;
    }
    
    .footer-logo img {
        height: 50px;
        margin: 10px auto;
        display: block;
    }
    
    .copyright-text {
        font-size: 0.9rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
        justify-content: center;
    }
}

/* ----------------- AJUSTES ESPECÍFICOS PARA PANTALLAS MUY PEQUEÑAS ----------------- */
@media (max-width: 480px) {
    .header-gradient {
        min-height: 90px;
        padding-top: 15px;
    }
    
    .main-logo {
        height: 80px;
        top: -40px;
    }
    
    .slogan-logo {
        height: 50px;
        top: -30px;
    }
    
    .event-title {
        font-size: 1.3rem;
    }
    
    .highlight {
        font-size: 1rem;
    }
    
    .header-bottom {
        margin-top: 0;
        padding: 0.5rem 0;
        order: -1;
    }

     .row.align-items-center {
        display: flex;
        flex-wrap: wrap;
    }
    
    .day-tab {
        min-width: 80px;
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}