@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');

/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cinzel;
}

/* HEADER */
header {
    color: #F1C40F;
    background-color: #000000;
    background-image: url("media/saeta/fondo-logo.png");
    background-size: cover;
    background-position: center;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 20px;
}

.logo {
    width: 350px;
    display: block;
    margin: 0 auto;
}

/* NAV */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 1);
}

/* Contenedor interno */
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Menú normal escritorio */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

nav ul li a {
    font-family: Coronacion;
    padding: 10px 20px;
    display: block;
    color: #F1C40F;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a:hover {
    color: white;
}

/* BOTÓN HAMBURGUESA */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #F1C40F;
    margin: 5px 0;
    transition: 0.3s;
}

/* Animación a X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* BODY */
body, html {
    margin: 0;
    padding: 0;
    background-color: #000;
}

/* SECCIÓN VIDEOS CENTRADA */
.videos-doble {
    background: #000;
    color: white;
    min-height: calc(100vh - 220px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

.videos-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: auto;
    justify-content: center;
    align-items: flex-start;
}

.video-card {
    flex: 1;
    max-width: 520px;
    text-align: center;
}

.video-card iframe {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(241,196,15,0.2);
    transition: 0.3s;
}

.video-card:hover iframe {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(241,196,15,0.5);
}

.video-card h3 {
    margin-top: 18px;
    color: #F1C40F;
    text-align: center;
}

.video-card p {
    margin-top: 12px;
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
    text-align: center;
}

/* FOOTER */
.footer {
    background: #000;
    border-top: 1px solid #F1C40F;
    margin-top: 0;
    padding: 25px 20px 12px;
}

.footer-container {
    max-width: 900px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    width: 115px;
}

.footer-col h3 {
    color: #F1C40F;
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col a,
.footer-social a {
    color: #ddd;
    text-decoration: none;
    font-size: 0.92rem;
}

.footer-col a:hover,
.footer-social a:hover {
    color: #F1C40F;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-bottom {
    text-align: center;
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(241,196,15,.12);
    color: #777;
    font-size: 0.68rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: black;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    nav ul.active {
        max-height: 500px;
        padding: 20px 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        padding: 15px;
        width: 100%;
        border-top: 1px solid rgba(241,196,15,0.2);
    }

    .videos-container {
        flex-direction: column;
        align-items: center;
    }

    .video-card iframe {
        height: 220px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}