:root {
    --primary-color: #00A4E4; /* Azul Celeste */
    --secondary-color: #ffd700; /* Dorado */
    --text-color: #333;
    --bg-color: #f4f4f4;
    --white: #ffffff;
    --dark-bg: #1a1a1a;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 0.8rem;
    color: #666;
    font-family: 'Lato', sans-serif;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--dark-bg);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../src/wallpaper.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-small {
    height: 50vh;
    min-height: 300px;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 164, 228, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 164, 228, 0.5);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 164, 228, 0.2);
}

/* Sections General */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #e9ecef;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.news-image {
    height: 220px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
    opacity: 0.6;
    transition: opacity 0.3s;
}

.news-card:hover .news-image::after {
    opacity: 0.3;
}

.placeholder-bg {
    background: linear-gradient(135deg, var(--primary-color), #007bb6);
    color: rgba(255,255,255,0.2);
}

.news-content {
    padding: 25px;
}

.date {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

.read-more:hover {
    gap: 10px;
}

/* Events List */
.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    background-color: var(--white);
    padding: 0;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: stretch;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    border-left: 5px solid var(--primary-color);
}

.event-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-left-color: var(--secondary-color);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color), #5a0016);
    color: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.event-date::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: skewX(-20deg) translateX(-150%);
    transition: transform 0.5s;
}

.event-item:hover .event-date::before {
    transform: skewX(-20deg) translateX(150%);
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Cinzel', serif;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
}

.event-details {
    flex: 1;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-details h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark-bg);
    font-family: 'Cinzel', serif;
}

.event-details p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-details i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    transition: color 0.3s;
}

.event-item:hover .event-details i {
    color: var(--secondary-color);
}

/* Repertorio Styles */
.repertorio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.repertorio-column {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.repertorio-header {
    background-color: var(--secondary-color);
    padding: 15px 20px;
    color: var(--dark-bg);
    border-bottom: 4px solid var(--primary-color);
}

.repertorio-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.repertorio-list {
    padding: 20px;
}

.repertorio-list li {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.repertorio-list li:last-child {
    border-bottom: none;
}

.repertorio-list li:hover {
    background-color: #f9f9f9;
    padding-left: 15px;
}

.icon-wrapper {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-bg);
    border-radius: 50%;
    padding: 5px;
}

.icon-wrapper img {
    width: 100%;
    height: auto;
}

/* Instagram Section */
.instagram-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.instagram-header {
    text-align: center;
    margin-bottom: 40px;
}

.instagram-header h2 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
}

.instagram-header i {
    color: #E1306C; /* Instagram Color */
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0 15px;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-overlay i {
    font-size: 2.5rem;
    color: white;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-btn-container {
    text-align: center;
    margin-top: 40px;
}

.btn-instagram {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
    color: white;
}

/* Contenedor para Widgets Externos (SnapWidget, etc.) */
.instagram-widget-wrapper {
    width: 100%;
    min-height: 200px;
}

.instagram-widget-wrapper iframe {
    width: 100% !important;
    border: none !important;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-column p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-column i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

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

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .nav-list {
        position: fixed;
        top: 80px;
        right: -100%;
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transition: var(--transition);
    }

    .nav-list.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .event-details {
        margin-bottom: 15px;
    }
}
