/* Estilos específicos para la página Galería */

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

/* Variables de colores */
:root {
    --primary-color: #004d99;
    --secondary-color: #003366;
    --background-light: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
}

/* Estilos para móvil */
@media screen and (max-width: 768px) {
    .video-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }

    .video-group {
        width: 100%;
        margin: 0 auto;
    }

    .horizontal-video {
        width: 100%;
        max-width: 600px;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .controls {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    .controls button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Body */
body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Header */
header {
    background-color: #004d99;
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.slogan {
    color: white;
    font-size: 1.5em;
    margin: 10px 0;
    text-align: center;
    font-style: italic;
    font-weight: normal;
}

/* Menú de navegación */
.menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.menu li {
    list-style: none;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    padding: 5px 10px;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffcc00;
    transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.menu a:hover,
.menu a.active {
    color: #ffcc00;
}

/* Redes sociales */
.social-links {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.social-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Footer */
footer {
    background-color: #003366;
    color: white;
    padding: 30px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1 1 200px;
    margin: 10px;
    text-align: center;
}

.footer-column h3 {
    margin-bottom: 10px;
    color: #ffcc00;
}

.footer-column ul {
    list-style-type: none;
    padding-left: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: white;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Copyright */
.copyright {
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #002a52;
}

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

.copyright p {
    margin: 0;
    color: white;
}

.copyright a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
}

.copyright a:hover {
    text-decoration: underline;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1 1 200px;
    margin: 10px;
}

.footer-column h3 {
    margin-bottom: 10px;
    color: #ffcc00;
}

.footer-column ul {
    list-style-type: none;
    padding-left: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: white;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

/* Contenido principal */
.galeria-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Sección de videos */
.videos-header {
    text-align: center;
    margin-bottom: 30px;
}

.videos-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.videos-header p {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.video-group {
    flex: 1;
    max-width: 50%;
    text-align: center;
}

.video-group h3 {
    color: var(--primary-color);
    margin: 20px 0;
    font-size: 1.5em;
    font-weight: 600;
}

.horizontal-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.controls button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.controls button:hover {
    background-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .galeria-container {
        padding: 20px 10px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        margin: 10px 0;
    }
}
