/* Variables y Estilos Base */
:root {
    --turquoise: #40E0D0;
    --dark-turquoise: #00CED1;
    --purple: #9370DB;
    --dark-purple: #663399;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #F8F9FA;
    --dark-blue: #001845
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    background: linear-gradient(135deg, var(--gray), var(--white));
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.navbar .logo img {
    height: 40px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.menu a:hover {
    color: var(--turquoise);
}

.cta-button {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--turquoise), var(--purple));
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/1.jpg') no-repeat center/cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Alfa Slab One', cursive;
    font-size: 5rem;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out;
}

.hero h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-date {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

/* Secciones comunes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Alfa Slab One', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-purple);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, var(--turquoise), var(--purple));
    margin: 15px auto;
    border-radius: 5px;
}

/* About Event */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.about-text h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    color: var(--dark-turquoise);
    margin-bottom: 20px;
}

.event-stats {
    display: flex;
    gap: 100px;
    margin-top: 60px;
    justify-content: space-around;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Alfa Slab One', cursive;
    font-size: 3rem;
    color: var(--dark-purple);
    display: block;
}

.stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    color: var(--black);
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Schedule */
.schedule {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    color: var(--white);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax */
    z-index: -2;
    opacity: 0.7;
    filter: brightness(0.8) contrast(1.2);
}

.schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(102, 51, 153, 0.5));
    z-index: -1;
}


.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.schedule-card {
    position: relative;
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    height: 400px; /* Altura fija para consistencia */
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    transition: transform 0.5s ease;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* Tarjeta destacada */
.schedule-card.highlight .card-content {
    background: linear-gradient(to top, rgba(102, 51, 153, 0.8), transparent);
}

/* Efectos hover */
.schedule-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.schedule-card:hover .card-image {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* Texto */
.schedule-date {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--turquoise);
}

.schedule-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.schedule-card p {
    font-size: 1.1rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Ajuste para tarjeta destacada */
.highlight .schedule-date {
    color: var(--white);
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    color: var(--dark-purple);
    margin-bottom: 20px;
    text-align: center;
}

.category-card ul {
    list-style: none;
}

.category-card li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}



/* Registration */
.registration {
    background: linear-gradient(135deg, var(--turquoise), var(--purple));
    color: var(--white);
    text-align: center;
}

.registration .section-title {
    color: var(--white);
}

.registration .section-title::after {
    background: var(--white);
}

.registration-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 60px 0 20px;
    font-family: 'Montserrat', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    padding: 0 15px;
}

.footer-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--turquoise);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--turquoise);
}

/* Logo */
.footer-logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 1rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-credits {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Enlaces */
.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: var(--turquoise);
    padding-left: 5px;
}

/* Contacto */
.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-info i {
    width: 20px;
    color: var(--turquoise);
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--turquoise);
    transform: translateY(-3px);
}

/* Newsletter */
.newsletter {
    margin-top: 25px;
}

.newsletter p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 0.9rem;
}

.newsletter-form button {
    background: var(--turquoise);
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    width: 45px;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--dark-turquoise);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.legal-links a:hover {
    color: var(--turquoise);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        padding: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 4rem;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .about-content {
        flex-direction: column;
    }
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
    }
    .menu {
        margin: 20px 0;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero h2 {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
}