.presentacion {
    width: 100%;
    height: 500px; /* Ajusta según necesites */
    background-image: url("../IMG/foto_video.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Capa oscura opcional para dar contraste */
.presentacion::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* Ajusta la opacidad */
}

.informacion {
    position: relative; /* Para estar encima de la capa oscura */
}

.informacion h2 {
    font-family: 'Cinzel', serif; 
    font-size: 48px;
    color: #c8a45a; /* Dorado */
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    padding: 10px 25px;
    border: 2px solid #c8a45a; /* Línea dorada */
    display: inline-block;
    position: relative;
    top: -125px;
}

/* Hover negro sobre dorado */
.informacion h2:hover {
    background-color: #c8a45a;
    color: #000000;
}

.titulo {
    text-align: center;
}

.titulo h3{
    font-size: 42px;
    font-family: 'Cinzel', serif;
    background: radial-gradient(ellipse at center, #3a2a00, #000000 65%);
    font-weight: 400;
    letter-spacing: 2px;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}
.metodos {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    padding: 50px 0px;
    box-sizing: border-box;
    margin-top: -4%;
    margin-bottom: -4%;
}

/* Tarjetas tipo */
.tipo {
    width: 100%;
    max-width: 450px;
    background: linear-gradient(180deg, #111111, #0d0d0d);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 16px;
    padding: 35px 28px;
    box-sizing: border-box;

    /* Sombra elegante */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);

    /* Animación de entrada */
    opacity: 0;
    transform: translateY(25px);
    animation: aparecer 0.6s ease-out forwards;

    /* Nueva animación visual sutil */
    animation: aparecer 0.6s ease-out forwards, pulseGold 4s ease-in-out infinite;

    /* Transición general */
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        filter 0.35s ease,
        border-color 0.35s ease;
}

/* Hover mejorado */
.tipo:hover {
    transform: translateY(-12px) scale(1.05);
    filter: brightness(1.22);
    border-color: rgba(255, 215, 0, 0.65);

    /* Resplandor dorado */
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.55),
        0 0 22px rgba(255, 215, 0, 0.45);

    /* Detener el pulso mientras esté en hover para que no interfiera */
    animation-play-state: paused;
}

/* Título */
.tipo h3 {
    font-family: 'Cinzel', serif; 
    font-size: 1.9rem;
    margin-bottom: 12px;
    color: #f5d78f;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Texto */
.tipo p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    color: #dddddd;
    line-height: 1.5;
}

.tipo img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;

    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);

    /* Animación suave */
    transition: transform 0.35s ease, filter 0.35s ease;
}

/* Imagen reacciona al hover */
.tipo:hover img {
    transform: scale(1.06);
    filter: brightness(1.20);
}

/* Keyframes entrada */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

/* Nuevo efecto de pulso dorado suave */
@keyframes pulseGold {
    0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    }
    50% {
        box-shadow:
            0 12px 30px rgba(255, 215, 0, 0.18),
            0 0 10px rgba(255, 215, 0, 0.20);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .metodos {
        flex-direction: column;
        gap: 30px;
        padding: 30px 15px;
    }

    .tipo {
        max-width: 100%;
    }
}


.foto {
    width: 80%;
    height: 600px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);

    margin: 40px auto; 
    display: flex;
    justify-content: center;
    align-items: center;

    /* Hover global */
    transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
}

.foto:hover {
    transform: scale(1.02);
    filter: brightness(1.07);
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.25);
}

/* ============================
   MARCO DORADO ANIMADO
   ============================ */
.slider {
    width: 100%;
    height: 100%;
    position: relative;

    border-radius: 18px;
    padding: 3px; /* Para que el borde animado se vea */
    box-sizing: border-box;

    /* Marco dorado animado */
    background: linear-gradient(
        130deg,
        rgba(255, 215, 0, 0.35),
        rgba(255, 215, 0, 0.10),
        rgba(255, 215, 0, 0.35)
    );
    background-size: 400% 400%;
    animation: oroMov 6s ease infinite;
}

@keyframes oroMov {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =====================================
   SLIDE
   ===================================== */
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    transition: opacity 1.2s ease-in-out,
                transform 0.6s ease,
                filter 0.6s ease;
}

/* Slide visible */
.slide.active {
    opacity: 1;
}

/* Hover del slide (cuando pase el cursor por encima del carrusel) */
.foto:hover .slide.active {
    transform: scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(255,255,255,0.18);
}

/* Hover directo sobre el slide */
.slide:hover {
    transform: scale(1.04);
    filter: brightness(1.15);
    box-shadow: 0 0 25px rgba(255,255,255,0.25);
}

/* INFO */
.slide .info {
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-align: right;
    color: #f7d47c;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.slide .info h3 {
    font-family: 'Cinzel', serif; 
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.slide .info p {
    font-family: 'Raleway', sans-serif;
    margin: 5px 0 0;
    font-size: 1rem;
    color: #f0e3b1;
}

/* ============================
   CONTROLES
   ============================ */
.controles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 20px;
    pointer-events: none;
}

/* Controles visuales */
.controles span {
    font-size: 3rem;
    color: #d4af37;
    cursor: pointer;
    user-select: none;

    pointer-events: auto;
    transition: transform 0.35s ease, color 0.35s ease, text-shadow 0.35s ease;
}

/* Hover premium en controles */
.controles span:hover {
    transform: scale(1.25);
    color: #ffe9a3;
    text-shadow: 0 0 12px rgba(255, 235, 150, 0.9);
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
    .foto {
        width: 90%;
        height: 60vh;
    }
    .slide .info h3 { font-size: 1.6rem; }
    .slide .info p { font-size: 0.95rem; }
    .controles span { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .foto {
        width: 95%;
        height: 55vh;
    }
    .slide .info { bottom: 15px; right: 15px; }
    .slide .info h3 { font-size: 1.4rem; }
    .slide .info p { font-size: 0.85rem; }
    .controles span { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .foto {
        width: 100%;
        height: 50vh;
        border-radius: 12px;
    }
    .slide .info {
        bottom: 12px;
        right: 12px;
        text-shadow: 0 0 8px rgba(0,0,0,0.7);
    }
    .slide .info h3 { font-size: 1.2rem; }
    .slide .info p { font-size: 0.75rem; }
    .controles span {
        font-size: 2rem;
        padding: 8px;
    }
}
.videografia {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
    margin-top: -5%;
}

.videografia h2 {
    font-family: 'Cinzel', serif; 
    text-align: center;
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Contenedor general de videos */
.videos_contenedor {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: nowrap;
}

/* Cada tarjeta de video */
.video_item {
    width: 48%;
    max-width: 520px;
    border: 2px solid #c8a45a;
    border-radius: 12px;
    overflow: hidden;
    background-color: #111111;
    box-shadow: 0px 0px 12px rgba(200, 164, 90, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Hover atractivo y elegante */
.video_item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0px 0px 18px rgba(200, 164, 90, 0.5);
    border-color: #eacb85;
}

/* Ratio 16:9 (100% responsive y real) */
.video_item .video_wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.video_item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 900px) {
    .videos_contenedor {
        flex-wrap: wrap;
        gap: 25px;
    }

    .video_item {
        width: 100%;
        max-width: none;
    }
}