@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;
    font-family: Cinzel;
}

.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);
}

/* 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);
    }
}

/* 🔥 SLIDER */
.video-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background-color: black; 

}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Oscurecer un poco el video */
.slide::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    top: 0;
    left: 0;
}

/* Texto encima */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgb(0, 0, 0);
    z-index: 2;
}

.overlay h1 {
    font-size: 60px;
    font-weight: bold;
}

.overlay p {
    font-size: 22px;
}

/* Botones */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px;
    cursor: pointer;
    z-index: 3;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover,
.next:hover {
    background: rgba(0,0,0,0.8);
}

.colab {
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

/* Overlay oscuro elegante */
.colab::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
}

.colab-content {
    position: relative;
    z-index: 2;
}

.colab h1 {
    color: #F1C40F;
    font-size: 32px;
    margin-bottom: 40px;
    letter-spacing: 3px;
    font-weight: bold;
    text-align: center;
}

.colab-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.colab button {
    background: transparent;
    border: 2px solid #F1C40F;
    color: #F1C40F;
    padding: 12px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

/* Hover elegante */
.colab button:hover {
    background: #F1C40F;
    color: black;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(241, 196, 15, 0.3);
}

/* 🔥 TIMELINE */

.timeline-section {
    background-image: url(media/fondo-logo.png);
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    position: relative;
}

.timeline-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.timeline-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
}

.timeline-container h1 {
    text-align: center;
    color: #F1C40F;
    margin-bottom: 100px;
    letter-spacing: 4px;
    font-size: 40px;
}

/* Línea central */
.timeline {
    position: relative;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #F1C40F;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Items */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

/* Punto dorado */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #F1C40F;
    border-radius: 50%;
    top: 30px;
    right: -10px;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
}

/* Caja contenido */
.timeline-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 25px;
    border: 1px solid #F1C40F;
    border-radius: 8px;
    transition: 0.3s ease;
}

.timeline-content h2 {
    color: #F1C40F;
    margin-bottom: 10px;
}

.timeline-content h3 {
    color: white;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #ccc;
    font-size: 0.95rem;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(241,196,15,0.3);
}

/* 📱 Responsive */
@media screen and (max-width: 768px) {

    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        margin-bottom: 40px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item::after {
        left: 10px;
    }
}

/* 🔥 SEMANA SANTA 2025 */

/* ================================
   SECCIÓN SEMANA SANTA / MAGNA
================================ */

.ss2025-section {
    background-image: url(media/fondo-logo.png);
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    position: relative;
}

.ss2025-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.95) 100%);
}

/* CONTENEDOR PRINCIPAL MEJORADO */
.ss2025-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: auto;
    padding: 70px;
    border-radius: 25px;
}

.ss2025-container h1 {
    text-align: center;
    color: #F1C40F;
    font-size: 3rem;
    margin-bottom: 80px;
    letter-spacing: 6px;
    text-shadow: 0 0 15px rgba(241,196,15,0.6);
}

/* ================================
   TARJETA HERMANDAD NIVEL PRO
================================ */

.hermandad-card {
    background: linear-gradient(
        145deg,
        rgba(0,0,0,0.9),
        rgba(60,45,0,0.9)
    );

    border: 2px solid #F1C40F;
    border-radius: 18px;
    padding: 50px;
    margin-bottom: 80px;

    box-shadow:
        0 0 25px rgba(241,196,15,0.25),
        inset 0 0 30px rgba(241,196,15,0.08);

    transition: all 0.4s ease;
}

.hermandad-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(241,196,15,0.35);
}

/* HEADER MÁS PROTAGONISTA */
.hermandad-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(241,196,15,0.2);
    padding-bottom: 25px;
}

.hermandad-header img {
    width: 95px;
    filter: drop-shadow(0 0 8px rgba(241,196,15,0.6));
}

.hermandad-header h2 {
    color: #F1C40F;
    font-size: 2rem;
    letter-spacing: 2px;
}

/* CONTENIDO */
.hermandad-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

/* VIDEO TIPO RETABLO */
.hermandad-video {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #000000;

    box-shadow:
        0 0 25px rgba(241,196,15,0.2),
        inset 0 0 30px rgba(241,196,15,0.15);

    aspect-ratio: 16 / 9;
}

.hermandad-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.hermandad-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    border: 0;
}

/* Responsive */
@media screen and (max-width: 768px) {

    .ss2025-container {
        padding: 30px 15px;
    }

    .hermandad-card {
        padding: 25px;
        margin-bottom: 50px;
    }

    .hermandad-content {
        flex-direction: column;
        gap: 25px;
    }

    /* 🔥 AQUÍ ESTÁ LA CLAVE */
    .hermandad-video {
        flex: 1 1 100%;
        width: 100%;
    }

    .hermandad-video video {
        width: 100%;
        height: auto;
    }

    .hermandad-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .hermandad-header img {
        width: 75px;
    }

    .hermandad-header h2 {
        font-size: 1.4rem;
    }

}

/* 🔥 SEPARADOR DORADO */

.separador-dorado {
    height: 3px;
    width: 80%;
    background: #F1C40F;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

/* Opcional: espacio arriba y abajo */
.colab + .separador-dorado {
    margin-top: 10px;
    margin-bottom: 0px;
}


body {
    background-color: #000000;
}

/* ================================
   QUIENES SOMOS
================================ */

.about-section {
    background-image: url(media/fondo-logo.png);
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    position: relative;
}

.about-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.9);
}

.about-container{
    position:relative;
    z-index:2;
    max-width:900px;
    margin:auto;
    text-align:center;
}

.about-container h1{
    color:#F1C40F;
    font-size:40px;
    margin-bottom:40px;
    letter-spacing:4px;
}

.about-text{
    color:#ccc;
    font-size:1.1rem;
    line-height:1.8;
    margin-bottom:25px;
}

.about-stats{
    display:flex;
    justify-content:center;
    gap:60px;
    margin-top:60px;
    flex-wrap:wrap;
}

.stat h2{
    color:#F1C40F;
    font-size:40px;
}

.stat p{
    color:white;
}

/* ================================
   CONTACTO
================================ */

.contact-section{
    background-image:url(media/fondo-logo.png);
    background-size:cover;
    background-position:center;
    padding:100px 20px;
    position:relative;
}

.contact-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.92);
}

.contact-container{
    position:relative;
    z-index:2;
    max-width:700px;
    margin:auto;
    text-align:center;
}

.contact-container h1{
    color:#F1C40F;
    font-size:40px;
    margin-bottom:30px;
    letter-spacing:4px;
}

.contact-text{
    color:#ccc;
    margin-bottom:40px;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    padding:15px;
    background:black;
    border:1px solid #F1C40F;
    color:white;
    font-family:Cinzel;
}

.contact-form button{
    background:#F1C40F;
    color:black;
    border:none;
    padding:15px;
    font-size:1rem;
    cursor:pointer;
    transition:0.3s;
}

.contact-form button:hover{
    background:white;
}

/* ================================
   FOOTER
================================ */

footer{
    position: relative;
    z-index: 10;
    background: #000;
    border-top: 2px solid #F1C40F;
    box-shadow: 0 -5px 20px rgba(241,196,15,0.15);
    padding: 70px 20px 30px 20px;
}

/* contenedor principal */

.footer-container{
    position: relative;
    z-index: 11;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

/* columnas */

.footer-col{
    flex: 1;
    min-width: 250px;
}

/* logo */

.footer-logo{
    width: 180px;
    margin-bottom: 20px;
}

/* texto */

.footer-col p{
    color: #dddddd;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* títulos */

.footer-col h3{
    color: #F1C40F;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

/* lista enlaces */

.footer-col ul{
    list-style: none;
}

.footer-col ul li{
    margin-bottom: 10px;
}

.footer-col ul li a{
    color: #e0e0e0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover{
    color: #F1C40F;
}

/* redes sociales */

.footer-social{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social a{
    color: #e0e0e0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-social a:hover{
    color: #F1C40F;
}

/* parte inferior */

.footer-bottom{
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(241,196,15,0.3);
    color: #999;
    font-size: 0.85rem;
}

/* responsive */

@media (max-width:768px){

.footer-container{
    flex-direction: column;
    text-align: center;
    gap: 40px;
}

.footer-logo{
    margin: auto;
}

}