/* ========================================
   VARIABLES CSS - SE ACTUALIZAN DESDE CONFIG.JS
   ======================================== */
:root {
    --primary-color: #e42074;
    --secondary-color: #333333;
    --accent-color: #666666;
    --dark-bg: #1b161a;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #999999;
    --hero-image: url('images/hero-bg.jpg');
}

/* ========================================
   ESTILOS GENERALES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Bebas Neue", cursive;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
    min-height: 100px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: -72px;
}

.logo img {
    height: 124px;
    width: auto;
    min-width: 133px;
    max-width: 200px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-right: -70px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--white);
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 32, 116, 0.3);
}

.nav-links a:active {
    transform: translateY(0);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu:focus {
    outline: none;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    height: 76vh;
    min-height: 76vh;
    background: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 66px;
    font-weight: 600;
    line-height: 80px;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 18px;
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-center {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.section-title {
    font-size: 79px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-text {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0;
}

.about-text p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.about-text a:hover {
    text-decoration: underline;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    padding: 60px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   GALLERY SECTION - ZOOM SIMPLE
   ======================================== */
.gallery {
    padding: 120px 0;
    background: var(--dark-bg);
}

.gallery .section-title {
    color: var(--white);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Removemos completamente el overlay */
.gallery-overlay {
    display: none;
}

/* ========================================
   RESPONSIVE PARA GALERÍA
   ======================================== */
@media (max-width: 767.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item:hover {
        transform: scale(1.03);
    }
    
    .gallery-item:hover img {
        transform: scale(1.08);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: 120px 0;
    background: #443434;
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
    list-style: none;
}

.social-link {
    padding: 59px 103px;
    color: var(--white);
    font-size: 54px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--white);
    color: var(--text-dark);
    text-align: center;
    padding: 20px 0;
}

.footer small {
    font-size: 14px;
}

.footer a {
    color: var(--text-dark);
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-color);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 767.98px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .logo {
        margin-left: 0;
    }

    .nav-container {
        margin-right: 0;
        padding: 1rem;
    }

    .hero h1 {
        font-size: 40px;
        line-height: normal;
        margin-top: 100px;
    }

    .hero {
        background-position: center;
        min-height: 70vh;
    }

    .section-title {
        font-size: 50px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 36px;
    }

    .social-link {
        padding: 23px 10px;
        font-size: 48px;
    }

    .social-links {
        padding-left: 3vh;
        flex-wrap: wrap;
    }

    .lightbox-nav {
        font-size: 18px;
        padding: 10px 15px;
    }

    .lightbox-close {
        font-size: 30px;
        top: 10px;
        right: 20px;
    }
}

/* ========================================
   ANIMACIONES
   ======================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

a:hover {
    text-decoration: none;
}