/*? Declaracion de variables*/

@font-face {
    font-family: 'NaughtyMonster';
    src: url('../fonts/NaughtyMonster.ttf') format('truetype')
        /* Cambiado a truetype */
}

@font-face {
    font-family: 'Stash Black';
    src: url('../fonts/StashBlack.otf') format('truetype');
    /* Cambiado a truetype */
}

:root {
    --off-red: #EF2604;
    --dark-red: #8D1702;
    --rich-black: #0D0A0A;
    --light-night: #272727;
    --ghost-white: #f4f4f9;
    --selective-yellow: #ffb20f;
    --white-smoke: #f1edee;
    --black: #000000;
}

/*? CSS General*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Varela Round', sans-serif;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/*?Navbar*/

.navbar i {
    padding: 5px;
}

.navbar-brand {
    font-size: 2rem !important;
    font-family: 'NaughtyMonster', sans-serif !important;
    color: var(--white-smoke) !important;
}

.navbar-red {
    background-color: var(--rich-black);
    padding: 1rem;
    font-size: 1.2rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    /*Cambiar el icono de hamburguesa a blanco*/
}

.navbar-red .navbar-brand,
.navbar-red .nav-link {
    color: var(--off-red);
    transition: .3s ease-in-out;
}

.navbar-red .navbar-brand:hover,
.navbar-red .nav-link:hover {
    color: var(--dark-red);
}

.navbar-red .navbar-toggler {
    border: 2px solid var(--off-red);
}

/*?Banner*/

.h1_brand {
    font-family: 'NaughtyMonster', sans-serif;
    font-size: 9rem;
}

.h2_brand {
    font-family: 'Stash Black', sans-serif;
    color: var(--off-red);
    font-size: 4rem;
}

.h1_brand_n {
    font-family: 'NaughtyMonster', sans-serif;
    font-size: 4rem;
}

.h2_brand_n {
    font-family: 'Stash Black', sans-serif;
    color: var(--off-red);
    font-size: 2rem;
}

.banner {
    background-color: var(--rich-black);
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.banner-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.content {
    position: absolute;
    top: 0;
    left: 0;
    width: 33.33%;
    /* Un tercio del ancho del banner */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.band p {
    color: white;
    margin: 0 0 20px;
}

.consulta-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.2rem;
    color: white;
    background-color: var(--off-red);
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.consulta-btn:hover {
    background-color: var(--dark-red);
    transition: .3s ease-in-out;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: 1;
    overflow: hidden;
}

.image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*?Carousel*/

.carousel {
    background: var(--rich-black);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.carousel .carousel-inner {
    width: 60%;
    margin: 0 auto;
    /*Centrar el carrusel */
    border-radius: 5px;
}

.carousel-item img {
    object-fit: cover;
    max-height: 1200px;
    width: auto;
}

/*?Intregrantes*/

.integrantes {
    color: var(--black);
    text-align: center;
    padding: 20px;
    margin: 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.integrantes h3 {
    font-size: 3rem;
    margin: 10px;
}

.integrantes h4 {
    font-size: 2rem;
    margin: 20px;
}

.integrantes .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.integrantes-fotos {
    margin: 30px;
}

.integrantes-fotos img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 7px solid var(--dark-red);
}

.integrantes-fotos:hover {
    animation: pulse 1s infinite;
    /* Animación de pulso */
}

/*?Sticky Button*/

.sticky-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    height: 60px;
    width: 60px;
    background-color: var(--off-red);
    border-radius: 50%;
}

.sticky-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    color: var(--ghost-white);
    font-size: 2em;
    text-decoration: none;
}

.sticky-button a:hover {
    background-color: var(--dark-red);
    border-radius: 50%;
    color: var(--ghost-white);
}

/*? Footer*/

footer {
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--rich-black);
    height: auto;
    width: 100vm;
    padding-top: 20px;
    color: var(--ghost-white);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.footer-content h3 {
    font-size: 2rem;
    font-weight: 700;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
}

.footer-content p {
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 1rem;
}

.socials {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
}

.socials li {
    margin: 0 10px;
}

.socials a {
    text-decoration: none;
    color: var(--ghost-white);
}

.socials a i {
    font-size: 1.8rem;
    transition: color .3s ease;
}

.socials a:hover i {
    color: var(--off-red);
}

.footer-bottom {
    background: var(--black);
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
}

.footer-bottom span {
    text-transform: uppercase;
    opacity: .4;
    font-weight: 200;
}

/*?Gallery*/

.intro-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    color: #555;
}

.social-icons a {
    color: #333;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--off-red)
}

.gallery .col-md-4 {
    text-align: center;
    /* Centrar las fotos */
}

.gallery img {
    width: 100%;
    /* Que la imagen ocupe todo el ancho del contenedor */
    height: 350px;
    /* Ajusta la altura*/
    object-fit: cover;
    /* Las imágenes se recortan para llenar el espacio sin perder la proporción */
    border-radius: 10px;
    /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra suave */
    transition: transform 0.3s ease;
    /* Añade una transición suave */
}

.gallery img:hover {
    transform: rotate(5deg) scale(1.05);
    /* Rota 5 grados y aumenta el tamaño un 5% */
}

/*?Media Queries*/

@media screen and (max-width: 768px) {
    .content {
        width: 100%;
        /* Ajustar el ancho al 100% en pantallas más pequeñas */
    }

    .image-overlay {
        width: 100%;
    }

    .carousel .carousel-inner {
        width: 100% !important;
        /* Ancho completo en pantallas pequeñas */
        margin: 0 !important;
        /* Remover el margen para asegurar que ocupe todo el ancho */
    }

    .integrantes-fotos {
        margin: 10px;
    }

    .integrantes-fotos img {
        width: 180px;
        height: 180px;
    }

    .integrantes h4 {
        font-size: 1.5rem;
        margin: 10px;
    }

    .integrantes h3 {
        font-size: 2rem;
        margin: 10px;
    }

    .gallery img:hover {
        transform: scale(1.05);
    }

    .h1_brand {
        font-size: 6rem;
    }

    .h2_brand {
        font-size: 3rem;
    }

    .h1_brand_n {
        font-size: 2rem;
    }

    .h2_brand_n {
        font-size: 1.5rem;
    }
}

/*?Modal*/

/* El modal (fondo oscurecido) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
    animation: zoomIn 0.5s;
    /* Esto asegura que la altura se ajuste automáticamente según la proporción de la imagen */
}

/* Evita que la imagen se extienda más allá del tamaño de la ventana */
.modal-content {
    max-height: 80vh;
    /* Esto asegura que la imagen no sea más alta que el 80% de la altura de la ventana */
    object-fit: contain;
    /* Esto asegura que la imagen se ajuste sin distorsionarse */
}

/* Efecto de zoom */
@keyframes zoomIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Botón de cierre */
.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Estilo del texto descriptivo */
#caption {
    text-align: center;
    color: #ccc;
    font-size: 18px;
    padding: 10px 20px;
}