/* ===================== RESET BÁSICO ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Sabon'; /* Nombre que usarás en CSS */
    src: url('Sabon.ttf') format('truetype'); /* Ruta al archivo */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Danger'; /* Nombre que usarás en CSS */
    src: url('Danger.ttf') format('truetype'); /* Ruta al archivo */
    font-weight: normal;
    font-style: normal;
}

/* ===================== BODY ===================== */
html, body {
    width: 100%;
    height: 100%;
    font-family: Sabon;
    color: #ffffff;
    overflow-y: auto; /* scroll activo por defecto */
}

body {
    background: url("images/fondoWeb4.jpg") no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

body.menu-open {
    overflow: hidden;
}

/* ===================== HEADER ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    /*background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);*/
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: Danger;
}

.site-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.site-titles h1, .site-titles h3 {
    margin: 0;
}

.site-titles h3 {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1.1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Iconos Instagram / Spotify */

.icon-link img {
    width: 30px;
    height: 30px;
    display: block;
    transition: opacity 0.3s ease;
}

.icon-link:hover img {
    opacity: 0.7;
}

/* Botón contacto */

.contact-button {
    color: #fff4d1;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-button:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.7);
}

/* Selector de idioma */

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.lang-btn img {
    width: 30px;
    height: 30px;
    display: block;
}

.lang-btn.active {
    opacity: 1;
}

.lang-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 28px;
    height: 22px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* Estado abierto → X */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* ----- MÓVIL ----- */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .header-actions {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 30px 0;

        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .header-actions.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}


/* ===================== MAIN ===================== */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px 40px;
    gap: 20px;
}

/* ----- Bloque superior (imagen + texto) ----- */
.top {
    position: relative;
    display: flex;
    gap: 10px; /* separación entre columnas */
    padding-top: 10px;
    padding-left: 40px; /* padding lateral extra */
    padding-right: 40px;
    padding-bottom: 60px; /* espacio para que la línea respire */
}
.top::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 70%;
    height: 3px;

    background: linear-gradient(
        to right,
        rgba(212, 175, 55, 0),
        rgba(212, 175, 55, 0.7),
        rgba(212, 175, 55, 0)
    );
}

.column {
    height: 100%;
}

.left {
    flex: 1; /* base para mobile */
    display: flex;
    align-items: center;
    justify-content: center;
}

.left img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 25px 0 0 25px;
    margin-top: 80px;
}

.right {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.right .text {
    text-align: justify; 
    width: 80%;
    margin: 0px 50px;
}


.right .icon {
    width: 30%;
    margin-bottom: 15px;
    margin-top: 15px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.right .icon:hover {
    transform: scale(1.05);
}

.text p {
    font-family: 'Sabon', 'Adobe Garamond Pro', serif; 
    font-size: 1.2rem;
    line-height: 1.8;
    color: #fff4d1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

/* ----- Bloque vídeos ----- */
.video-item {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
}

.video-title {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    opacity: 0.85;
}

.videos-section {
    position: relative;
    padding: 80px 0;
}

.videos-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 70%;
    height: 3px;

    background: linear-gradient(
        to right,
        rgba(212, 175, 55, 0),
        rgba(212, 175, 55, 0.7),
        rgba(212, 175, 55, 0)
    );
}

.videos-grid {
    max-width: 1100px;      /* limita el conjunto */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;              /* más espacio entre vídeos */
    justify-items: center;  /* centra cada iframe */
}

.videos-grid iframe {
    width: 100%;
    max-width: 480px;       /* reduce tamaño individual */
    aspect-ratio: 16 / 9;
    border: none;
    box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.3);
}

/* ===================== CONTACT ===================== */
.contact-section {
    padding: 80px 20px 120px;
    text-align: center;
    color: #fff4d1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 20px;
}

.contact-info a {
    color: #fff4d1;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: border-color 0.3s ease;
}

.contact-info a:hover {
    border-color: rgba(212, 175, 55, 0.8);
}

.contact-label {
    opacity: 0.85;
    margin-right: 6px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.contact-info h2{
    font-family: Danger;
}


/* ===================== FOOTER ===================== */
#footer-trigger {
    height: 1px;
}

.footer {
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding: 20px;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer a{
    color: #FFD700;
    text-decoration: none;
    display: inline-block;
    margin-left: 10px;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer a:visited{
    color: #fff4d1;
}


/* ===================== ESCRITORIO (≥1024px) ===================== */
@media (min-width: 1024px) {

    /* Header y footer fijos */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    /* Columnas: imagen 1/3, texto 2/3 */
    .top .left {
        flex: 0 0 30%;
        max-width: 30%;
    }

    .top .right {
        flex: 0 0 70%;
        max-width: 70%;
    }

    /* Ajustar altura de vídeos para que entren sin scroll horizontal */
    .videos {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        height: calc(100vh - 100px - 70px - 30px - 20px); /* ventana - header - footer - padding top/bottom - gap aproximado */
    }

    .video iframe {
        height: 100%; /* se adapta al grid */
    }
}

/* ===================== MÓVIL / TABLET (<1024px) ===================== */
@media (max-width: 1023px) {

    html, body {
        height: auto;
        overflow-y: auto; 
    }

    body {
		background: url("images/fondoMovil.jpg") repeat-y center center fixed;
        background-attachment: scroll;
    }

    /* Header: Ajuste para que no ocupe tanto espacio */
    .header {
        position: relative; /* En móvil es mejor que desaparezca al bajar */
        height: auto;
        padding: 10px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .top {
        flex-direction: column;
        gap: 20px;
        padding: 100px 20px 40px 20px; /* 100px arriba para no chocar con el header */
        align-items: center;
    }

    .left, .right {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }

    .left img {
        margin-top: 0;
        max-height: 400px;
        width: auto;
        border-radius: 0px;
    }

    /* Ajuste de texto para que no sea una columna estrecha */
    .right .text {
        width: 100%;
        margin: 0;
        text-align: justify;
    }

    .right .icon {
        width: 50%;
    }
	
	.text p {
    line-height: 1.4;
}

    /* Grid de vídeos */
    .videos-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 40px;
        padding: 0 20px;
    }

    .videos-section {
        padding: 40px 0;
    }

    .contact-info {
        font-size: 16px; /* Texto de contacto más legible */
    }
}