/* Variables de color */
:root {
    --primary-blue: #000c49;
    --secondary-blue: #001a7a;
    --accent-blue: #0033a6;
    --light-blue: #e6f0ff;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
}

/* Estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Canvas para partículas - DETRÁS del contenido */
#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
}

/* Botón para subir */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 12, 73, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 12, 73, 0.4);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 30px 0 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.header-top {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 30px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.logo-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo-sub {
    font-size: 1.1rem;
    opacity: 0.95;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
    margin-bottom: 40px;
}

.hashtag-large {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-dates {
    margin-bottom: 50px;
}

.dates {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.theme {
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1.1rem;
    position: relative;
    z-index: 10;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Secciones */
section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

/* Carrusel de Noticias Destacadas */
.news-carousel-section {
    background: var(--white);
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 1rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
    font-size: 0.85rem;
}

.news-date, .news-author {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date i, .news-author i {
    color: var(--primary-blue);
    font-size: 0.8rem;
}

/* Controles del carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 12, 73, 0.3);
}

.carousel-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 12, 73, 0.4);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--white);
    transform: scale(1.1);
}

/* Sección de Noticias de Prensa */
.press-news-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.press-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.press-news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.press-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.press-news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.press-news-card:hover .press-news-image img {
    transform: scale(1.05);
}

.press-news-source {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.press-news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.press-news-content h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.press-news-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95rem;
}

.press-news-meta {
    margin-bottom: 15px;
}

.press-news-date {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.press-news-date i {
    color: var(--primary-blue);
    font-size: 0.8rem;
}

.press-news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
}

.press-news-link:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 12, 73, 0.3);
}

.info-section {
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tarjetas de información */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 5px solid var(--primary-blue);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Sección de Publicidad */
.ad-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.ad-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.ad-image-container {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ad-image-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.ad-image {
    width: 500px;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ad-image-container:hover .ad-image {
    transform: scale(1.05);
}

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

.ad-image-container:hover .ad-image-overlay {
    opacity: 1;
}

.ad-zoom-btn {
    color: var(--white);
    font-size: 3rem;
    background: var(--primary-blue);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ad-zoom-btn:hover {
    background: var(--secondary-blue);
    transform: scale(1.1);
}

.ad-text {
    color: var(--white);
    text-align: left;
    max-width: 400px;
}

.ad-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.ad-text p {
    font-size: 1.3rem;
    margin-bottom: 12px;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ad-click-hint {
    font-size: 1rem !important;
    margin-top: 20px !important;
    font-style: italic;
    opacity: 0.8 !important;
    color: var(--light-blue) !important;
}

/* Modal específico para publicidad */
.ad-modal .modal-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

/* Sección del programa */
.program-section {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--light-blue);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-date {
    width: 120px;
    flex-shrink: 0;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.2rem;
    padding-top: 8px;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-blue);
    margin-left: 25px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.timeline-content h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.timeline-content h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.time {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.location, .participants {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 8px;
    font-size: 1rem;
}

.event-group {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.event {
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light-gray);
}

.event:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-content ul {
    margin: 15px 0 20px 25px;
}

.timeline-content li {
    margin-bottom: 8px;
    color: var(--text-light);
    position: relative;
}

.timeline-content li::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.press-label {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 15px;
    border: 1px solid var(--primary-blue);
}

/* Sección de logos de participantes */
.logos-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.logos-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

.logos-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

.logo-slide {
    flex-shrink: 0;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 150px;
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.logo-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-item span {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Sección de Galería */
.gallery-section {
    background: var(--light-gray);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: var(--white);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-img-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 12, 73, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

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

.gallery-caption {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 15px;
}

.gallery-zoom {
    color: var(--white);
    font-size: 1.5rem;
    background: var(--primary-blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-zoom:hover {
    background: var(--secondary-blue);
    transform: scale(1.1);
}

.gallery-load-more {
    text-align: center;
    margin-top: 30px;
}

.gallery-loading,
.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.gallery-loading i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.gallery-empty i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.gallery-help {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Modal para imágenes */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--light-blue);
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--white);
    font-size: 1.1rem;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.modal-prev,
.modal-next {
    background: rgba(0, 12, 73, 0.7);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev:hover,
.modal-next:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
}

.footer-logo-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.footer-info {
    text-align: center;
    flex: 1;
}

.footer-info p {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .scroll-top-btn.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .header-top {
        margin-bottom: 40px;
    }
    
    .logo-container {
        padding: 15px 20px;
        gap: 20px;
    }
    
    .logo-wrapper {
        width: 60px;
        height: 60px;
        padding: 6px;
    }
    
    .logo-main {
        font-size: 1.4rem;
    }
    
    .logo-sub {
        font-size: 0.9rem;
    }
    
    header {
        padding: 30px 0 60px 0;
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.3rem;
        margin-bottom: 15px;
    }
    
    .hero h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .hashtag-large {
        font-size: 1.3rem;
        padding: 12px 25px;
    }
    
    .hero-dates {
        margin-bottom: 40px;
    }
    
    .dates {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .theme {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        gap: 15px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    /* Responsive para carrusel */
    .news-carousel-section {
        padding: 60px 0;
    }
    
    .carousel-container {
        border-radius: 15px;
        margin: 0 10px;
    }
    
    .carousel-slide {
        padding: 15px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
    }
    
    .news-excerpt {
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Responsive para noticias de prensa */
    .press-news-section {
        padding: 60px 0;
    }
    
    .press-news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .press-news-image {
        height: 180px;
    }
    
    .press-news-content {
        padding: 20px;
    }
    
    .press-news-content h3 {
        font-size: 1.2rem;
    }
    
    /* Responsive para publicidad */
    .ad-section {
        padding: 50px 0;
    }
    
    .ad-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px;
    }
    
    .ad-image-container {
        width: 100%;
        max-width: 400px;
    }
    
    .ad-image {
        width: 100%;
        height: 250px;
    }
    
    .ad-text {
        text-align: center;
        max-width: 100%;
    }
    
    .ad-text h3 {
        font-size: 1.8rem;
    }
    
    .ad-text p {
        font-size: 1.1rem;
    }
    
    .ad-zoom-btn {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-date {
        width: 80px;
        font-size: 1.1rem;
    }
    
    .timeline-content {
        margin-left: 20px;
        padding: 25px;
    }
    
    /* Responsive para carrusel de logos */
    .logos-section {
        padding: 40px 0;
    }
    
    .logo-item {
        width: 120px;
        padding: 15px;
    }
    
    .logo-item img {
        width: 60px;
        height: 60px;
    }
    
    .logo-item span {
        font-size: 0.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .gallery-img-container {
        height: 200px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-logo-wrapper {
        width: 70px;
        height: 70px;
        padding: 8px;
    }
    
    .footer-logo span {
        font-size: 1rem;
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .info-grid {
        gap: 30px;
    }
    
    .info-card {
        padding: 40px 25px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .ad-modal .modal-content {
        max-width: 95%;
        max-height: 75%;
    }
    
    .modal-nav {
        padding: 0 10px;
    }
    
    .modal-prev,
    .modal-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .hashtag-large {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    
    .dates {
        font-size: 1.1rem;
    }
    
    .theme {
        font-size: 1rem;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    /* Responsive adicional para carrusel */
    .news-carousel-section {
        padding: 40px 0;
    }
    
    .carousel-slide {
        padding: 10px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-content h3 {
        font-size: 1.1rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Responsive adicional para noticias de prensa */
    .press-news-section {
        padding: 40px 0;
    }
    
    .press-news-grid {
        gap: 20px;
    }
    
    .press-news-image {
        height: 160px;
    }
    
    .press-news-content {
        padding: 15px;
    }
    
    .press-news-content h3 {
        font-size: 1.1rem;
    }
    
    .press-news-excerpt {
        font-size: 0.9rem;
    }
    
    /* Responsive adicional para publicidad */
    .ad-section {
        padding: 40px 0;
    }
    
    .ad-content {
        padding: 20px;
        gap: 25px;
    }
    
    .ad-image {
        height: 200px;
    }
    
    .ad-text h3 {
        font-size: 1.5rem;
    }
    
    .ad-text p {
        font-size: 1rem;
    }
    
    .ad-zoom-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    /* Responsive adicional para carrusel de logos */
    .logos-section {
        padding: 30px 0;
    }
    
    .logo-item {
        width: 100px;
        padding: 10px;
    }
    
    .logo-item img {
        width: 50px;
        height: 50px;
    }
    
    .logo-item span {
        font-size: 0.7rem;
    }
    
    .footer-logo-wrapper {
        width: 60px;
        height: 60px;
    }
    
    header {
        min-height: 70vh;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}
