/* Fuentes premium con más personalidad */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;700;900&family=Oswald:wght@400;600;700&display=swap');

/* Variables de diseño */
:root {
    --primary-color: #e62e00;
    --secondary-color: #1a1a1a;
    --light-color: #f5f5f5;
    --dark-color: #121212;
    --accent-color: #ffbb00;
    --primary-rgb: 230, 46, 0;
    --secondary-rgb: 26, 26, 26;
    --transition-all: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-color);
    color: var(--secondary-color);
    overflow-x: hidden;
    line-height: 1.8;
}

/* Barra de navegación futurista */
.navbar {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(30,30,30,0.95) 100%) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-all);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(0,0,0,0.98) !important;
}

.navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: white !important;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
    transition: var(--transition-all);
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem !important;
    position: relative;
    transition: var(--transition-all);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-all);
}

.nav-link:hover::before {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section con efecto parallax */
.hero-section {
    height: 100vh;
    min-height: 800px;
 background: linear-gradient(135deg, rgba(0, 0, 0, 0.836) 0%, rgba(0, 0, 0, 0.664) 100%), /* Degradado oscuro */
                url('../fotos/bushidotodos.jpg') center/cover fixed; /* Tu imagen aquí */
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 95%, 0 85%);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-color);
    clip-path: polygon(0 100%, 100% 100%, 50% 0);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    transform: translateY(50px);
    animation: fadeInUp 1s forwards 0.3s;
}

.hero-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    line-height: 1;
}

.hero-content h1 span {
    color: var(--primary-color);
    display: inline-block;
    font-size: 1.2rem;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    animation: fadeInUp 1s forwards 0.6s;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s forwards 0.9s;
}

.btn-hero {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition-all);
    transform: translateY(0);
}

.btn-hero-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.6);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Sección "El Dojo" con efecto de vidrio */
.dojo-section {
    padding: 120px 0;
    background: var(--light-color);
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}
.sereveal2{
    color: rgb(255, 255, 255);
}
.dojo-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: var(--transition-all);
    transform: translateY(50px);
    height: 50rem !important;
}

.dojo-card.animated {
    transform: translateY(0);
    opacity: 1;
}

.dojo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.dojo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-all);
}

.dojo-card:hover img {
    transform: scale(1.05);
}

.dojo-card-body {
    padding: 30px;
}

.dojo-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.dojo-card-text {
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Sección Senseis con efecto 3D */
.sensei-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    color: white;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    margin-top: -50px;
    margin-bottom: -50px;
    position: relative;
    z-index: 1;
}

.sensei-title {
    color: white;
}

.sensei-card {
    background: rgba(255, 164, 164, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-all);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(20deg);
    height: 45rem;
}

.sensei-card.animated {
    transform: perspective(1000px) rotateY(0);
    opacity: 1;
}

.sensei-card:hover {
    transform: perspective(1000px) rotateY(0) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.15);
}

.sensei-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.sensei-body {
    padding: 25px;
    text-align: center;
}

.sensei-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.sensei-rank {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.sensei-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.sensei-social a {
    color: white;
    font-size: 1.3rem;
    transition: var(--transition-all);
}

.sensei-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Sección Galería con efecto mosaico */
.gallery-section {
    padding: 120px 0;
    background: var(--light-color);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-all);
    transform: scale(0.95);
}

.gallery-item.animated {
    transform: scale(1);
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-all);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    transition: var(--transition-all);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}
/* Estilos para la galería dinámica */
.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-all);
}

.gallery-item:hover .gallery-video {
    transform: scale(1.1);
}

.error-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: var(--primary-color);
    font-weight: bold;
}

/* Modal para imágenes/videos ampliados */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.gallery-modal-content {
    margin: auto;
    display: block;
    /* Reduce el ancho máximo */
    max-width: 30%; /* Puedes probar con valores como 60%, 50%, etc. */
    /* Reduce la altura máxima */
    max-height: 30%; /* Puedes probar con valores como 60%, 50%, etc. */
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.gallery-modal-content img{
    max-width: 100%;
}
.gallery-modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #fff;
    padding: 10px 0;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.close-gallery-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-all);
}

.close-gallery-modal:hover {
    color: var(--primary-color);
}

/* Sección Contacto con efecto de olas */
.contact-section {
    padding: 120px 0 80px;
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}
/* Estilos para la vista previa de PDFs */
.pdf-preview {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
        z-index: 10; /* Asegura que esté por encima de otros elementos si es necesario */

}

.pdf-thumbnail {
    text-align: center;
    padding: 1rem;
}

.pdf-icon {
    font-size: 3rem;
    color: #e62e00;
    margin-bottom: 0.5rem;
}

.pdf-pages {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    font-size: 0.9rem;
}

.pdf-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .pdf-overlay {
    opacity: 1;
}

.pdf-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #e62e00;
    color: white;
    border-radius: 50px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pdf-link:hover {
    background: #ff5e29;
    transform: translateY(-2px);
}
.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23e62e00" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23e62e00" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23e62e00"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(180deg);
}



/* Footer futurista */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-links h4 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    transition: var(--transition-all);
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: rgb(255, 255, 255);
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-all);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

/* Animaciones personalizadas */
@keyframes fadeInUp {
    from {
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

/* Efectos de scroll - Animaciones mejoradas */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animaciones específicas para diferentes elementos */
.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-rotate {
    transform: rotate(5deg);
}

.reveal.active {
    transform: translateX(0) translateY(0) scale(1) rotate(0);
}

/* Retrasos para animaciones escalonadas */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* Animación para las tarjetas de sensei */
.sensei-card {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.sensei-card.active {
    opacity: 1;
    transform: perspective(1000px) rotateY(0);
}

/* Animación para las tarjetas del dojo */
.dojo-card {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.dojo-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animación para los elementos de la galería */
.gallery-item {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.gallery-item.active {
    opacity: 1;
    transform: scale(1);
}

/* Animación para los testimonios */
.testimonial-card {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

/* Animación para el formulario de contacto */
.contact-form {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.contact-form.active {
    opacity: 1;
    transform: translateY(0);
}
/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .btn-hero {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-top: 2rem;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .imgfot img {
       display: none;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-top: 2rem;

    }
    
    .contact-form {
        padding: 25px;
    }
    
}