:root {
    --primary: #00b894;
    --primary-dark: #00a085;
    --secondary: #fdcb6e;
    --accent: #6c5ce7;
    --dark: #2d3436;
    --light: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.95), rgba(108, 92, 231, 0.95)), 
                url('background.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(108, 92, 231, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0, 184, 148, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    width: 100%;
    margin: 0 auto;
}

.logo-container {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin-bottom: 2rem;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-xl);
    border: 4px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 10px;
    /* Animación inicial al cargar */
    animation: logoLoadAnimation 2s ease-out 0.5s both;
}

.logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    transition: var(--transition);
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Animación inicial del logo */
    animation: logoImageLoadAnimation 2s ease-out 0.7s both;
}

.logo-container:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.logo-container:hover .logo {
    transform: translate(-50%, -50%) scale(1.03);
}

.header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    opacity: 0.9;
    margin-bottom: 3rem;
    font-weight: 300;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-item a {
    color: var(--gray-700);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transition: var(--transition);
    z-index: -1;
}

.nav-item a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-item a:hover::before {
    left: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn:hover::before {
    left: 0;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: center;
}

.hero h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Gallery Section */
.gallery {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 3rem;
    position: relative;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    background: white;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Event Banner */
.event-banner {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.event-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.event-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.event-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.event-banner p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Location Section */
.location-section {
    background: white;
    padding: 5rem 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent);
}

.info-item i {
    color: var(--primary);
    font-size: 1.8rem;
    margin-top: 0.2rem;
    transition: var(--transition);
}

.info-item:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.info-item h3 {
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.map-container {
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
    position: relative;
    transition: var(--transition);
}

.map-container:hover {
    box-shadow: var(--shadow-xl);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 1.5rem;
    width: 100%;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-contact li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-contact i {
    color: var(--primary);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Animaciones del logo al cargar */
@keyframes logoLoadAnimation {
    0% {
        opacity: 0;
        transform: scale(0.5);
        box-shadow: var(--shadow-sm);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        box-shadow: var(--shadow-xl);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: var(--shadow-xl);
    }
}

@keyframes logoImageLoadAnimation {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8) rotate(-10deg);
    }
    70% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.05) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-list {
        gap: 0.25rem;
    }
    
    .nav-item a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .gallery {
        padding: 3rem 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-banner {
        padding: 3rem 1rem;
        margin: 2rem 0;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-info {
        order: 2;
    }
    
    .map-container {
        order: 1;
        height: 350px;
    }

    .header p {
        max-width: 90%;
    }

    /* Footer Mobile Styles */
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        gap: 0.5rem;
    }
    
    .footer p {
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .footer-contact li {
        width: 100%;
        justify-content: center;
        padding: 0.5rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}
/* Social Banner Section */
.social-banner {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.social-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    opacity: 0.3; /* Reducir opacidad para que no compita con el gradiente */
}

.social-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.social-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-banner p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: white;
    text-decoration: none;
    transition: var(--transition);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.5);
}


.social-icon i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

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

.social-icon span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Responsive para Social Banner */
@media (max-width: 768px) {
    .social-banner {
        padding: 3rem 1rem;
        margin: 2rem 0;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 100px;
        height: 100px;
    }
    
    .social-icon i {
        font-size: 2rem;
    }
    
    .social-icon span {
        font-size: 0.8rem;
    }
}
/* Developer Credit */
/* Crédito del desarrollador (oculto inicialmente) */
.footer-credit {
    position: absolute;
    bottom: 10px;
    right: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    font-size: 0.70rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer:hover .footer-credit {
    opacity: 1;
    transform: translateY(0);
}

.footer-credit:hover {
    color: var(--primary);
}

.footer-credit-logo {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .footer-credit {
        position: static;
        margin-top: 1rem;
        justify-content: flex-end;
        opacity: 1;
        transform: none;
    }
}