:root {
    --primary-color: #000000;
    --accent-color: #FF0000;
    --text-light: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    /* Eliminar fondos y gradientes estáticos para no interferir con el canvas */
    background: #00CED1; /* Color de respaldo por si el canvas falla */
}

/* Eliminar pseudo-elementos que podrían interferir */
body::before, body::after {
    content: none;
}

/* Navegación */
.navbar {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        #00CED1,
        #20B2AA,
        #48D1CC,
        #00CED1
    );
    background-size: 300% 300%;
    animation: navGradient 10s ease infinite;
    opacity: 0.3;
}

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

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    position: relative;
    animation: glowText 2s ease-in-out infinite alternate;
}

@keyframes glowText {
    from {
        text-shadow: 0 0 5px rgba(255, 128, 0, 0.5),
                     0 0 10px rgba(75, 0, 130, 0.3),
                     0 0 15px rgba(0, 128, 0, 0.3);
    }
    to {
        text-shadow: 0 0 10px rgba(255, 128, 0, 0.8),
                     0 0 20px rgba(75, 0, 130, 0.5),
                     0 0 30px rgba(0, 128, 0, 0.5);
    }
}

.nav-link {
    color: var(--text-light);
    transition: all 0.3s ease;
    margin-left: 1rem;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        #ff8000,
        #4B0082,
        #008000
    );
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover {
    color: #ff8000;
    transform: translateY(-2px);
}

.nav-item {
    opacity: 0;
    animation: fadeInDown 0.5s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar retraso a cada elemento del menú */
.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-item:nth-child(5) { animation-delay: 0.5s; }

/* Estilo activo para el enlace actual */
.nav-link.active {
    color: #ff8000;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        #ff8000,
        #4B0082,
        #008000
    );
    animation: shimmer 2s infinite linear;
    background-size: 200% 100%;
}

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

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.squarespace-cdn.com/content/v1/64e6533c3c47a57ce6c1b193/1692840937577-TK8J0P2YDQVQ9X4RJZN8/hero-danza.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    padding: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 6rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
}

/* Agregar al archivo existente */
.state-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    position: relative;
}

.state-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.state-hero h1 {
    position: relative;
    z-index: 2;
    font-size: clamp(2rem, 6vw, 4rem);
}

.state-content {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Dance Cards */
.dance-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
    aspect-ratio: 16/9;
}

.dance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: clamp(2rem, 6vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }
}

/* Ajustes para mejorar la legibilidad con el nuevo fondo */
.region-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    padding: 2rem 0;
    border-radius: 15px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Estilos para la sección Acerca de */
#acerca {
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7),
        rgba(75, 0, 130, 0.7),
        rgba(0, 128, 0, 0.7)
    );
    color: white;
    position: relative;
    overflow: hidden;
}

#acerca::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.squarespace-cdn.com/content/v1/64e6533c3c47a57ce6c1b193/background-danzas.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

#acerca .container {
    position: relative;
    z-index: 2;
}

.profile-image {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 128, 0, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-content .lead {
    font-size: 1.25rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    .profile-image {
        width: 200px;
        height: 200px;
        margin-bottom: 2rem;
    }
    
    .about-content {
        padding: 1.5rem;
    }
}

/* Círculo flotante con destellos */
.floating-circle {
    display: none; /* Ocultando el círculo flotante */
    /* Elimino todas las demás propiedades para asegurar que no aparezca */
    visibility: hidden;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Eliminamos o desactivamos las animaciones relacionadas */
@keyframes circleHero {
    0%, 100% {
        transform: none;
    }
}

@keyframes sparkle1 {
    0%, 50%, 100% {
        opacity: 0;
        transform: none;
    }
}

@keyframes sparkle2 {
    0%, 50%, 100% {
        opacity: 0;
        transform: none;
    }
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .floating-circle {
        display: none;
    }
    
    @keyframes circleHero {
        0%, 100% {
            transform: none;
        }
    }
}

/* Ajustes responsivos para otros elementos */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        margin: 0.5rem 0;
    }
} 