:root {
    --anton: "Anton", sans-serif;
    --montserrat: "Montserrat", sans-serif;

    --color-primary: #000000;
    --color-secondary: #ffffff;
    --color-bg: #402F21;

    --prueba: 1px solid red;

}

/* Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.max-cont {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero */
.header-hero {
    width: 100%;
    min-height: 100vh;
    background-image: url(../img/hero-bg.jpeg);
    background-position: center right;
    background-size: cover;
    position: relative;
}

.hero-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
}

.navbar {
    width: 100%;
    max-height: 30rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    color: var(--color-secondary);
}

.navbar-items {
    width: 30%;
}

.navbar-logo {
    width: 30%;
}

.navbar-social {
    width: 30%;
}

.navbar-logo__img {
    display: block;
    margin: 0 auto;
    max-height: 600px;
    width: auto;
}

.navbar-items__list {
    width: 100%;
    display: flex;
    text-align: left;
    font-family: var(--anton);
    font-size: 1.3rem;

}

.navbar-items__link {
    display: block;
    width: 100%;
    margin-right: 0.5rem;
    color: var(--color-secondary);
    text-decoration: none;
}

.navbar-items__link:hover {
    color: var(--color-primary);
    transition: all 0.3s ease-in-out;
}

.navbar-social__list {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-size: 1.5rem;
}

.navbar-social__link:hover {
    color: var(--color-primary);
    transition: all 0.3s ease-in-out;
}

.navbar-mobile{
    display: none;
}

.hero-content {
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-secondary);
    font-family: var(--montserrat);
    padding: 0 1rem;
}

.hero-btn {
    display: block;
    width: 30%;
    margin: 1rem;
    padding: 1rem 2rem;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    text-decoration: none;
    font-family: var(--anton);
    font-size: 1.2rem;
    border-radius: 25px;
}

.hero-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    transition: all 0.3s ease-in-out;
}

/* Conóceme */
.conoceme-content {
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.conoceme-content__info {
    display: block;
    background-color: var(--color-secondary);
    padding: 2rem;
    border-radius: 25px;
    font-family: var(--montserrat);
    font-size: 1.2rem;
    text-align: center;
}

.conoceme-content__title {
    font-family: var(--anton);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.conoceme-text {
    margin: 2rem auto;
    text-align: justify;
}

.conoceme-content__phrase {
    font-style: italic;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.foto-conoceme {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1rem auto;
    object-position: center right;
    /* Ajusta este valor para centrar la imagen. Ej: 'top', 'bottom', '50% 25%' */
}

/* Videos */

.videos-hero {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(25, 16, 9, 0) 0%, rgba(25, 16, 9, 1) 100%),
    url(../img/hero-bg.jpeg);
    background-size: cover; 
    background-position: center;
    position: relative;
}

.videos-content {
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.videos-content__title {
    font-family: var(--anton);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-secondary);
}

.grid-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.video-item {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer; /* Indica que el elemento es clickeable */
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: scale(1.03);
}

.video-item__prevew {
    width: 100%;
    height: 350px;
    object-fit: cover;
    cursor: pointer;
}

.video-item__prevew:hover {
    transform: scale(1.05);
    transition: all 0.5s ease-in-out;
}

/* Estilos para el Pop-up de Video */

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
}

.popup.is-active {
    display: flex; /* Se muestra cuando tiene la clase is-active */
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

.popup-content {
    position: relative;
    z-index: 1001;
    width: 90%;
    max-width: 900px;
    background-color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporción 16:9 para el video */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Fotografías */
.fotos-content{
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.fotos-hero {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(25, 16, 9, 0) 0%, rgba(25, 16, 9, 1) 100%),
    url(../img/hero-bg.jpeg);
    background-size: cover; 
    background-position: center;
    position: relative;
}

/* .fotos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    padding: 2rem 1rem;
    margin: 0 auto;
}

.foto-item {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
} */

/* --- Estilos para el Slider de Fotos (Swiper) --- */

.fotos-slider {
    width: 100%;
    max-width: 900px; /* Ajusta el ancho máximo del slider */
    height: 600px; /* Ajusta la altura del slider */
    margin: auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #000;

    /* Centra la imagen dentro del slide */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer; /* Indica que las imágenes del slider son clickeables */
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Usa 'contain' para ver la foto completa o 'cover' para rellenar */
}

/* Estilos para los botones de navegación y paginación */
:root {
    --swiper-theme-color: #ffffff; /* Cambia el color de los controles a blanco */
    --swiper-navigation-size: 30px; /* Ajusta el tamaño de las flechas */
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--swiper-theme-color);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.swiper-pagination-bullet-active {
    background-color: var(--swiper-theme-color);
}

/* --- Estilos para el Lightbox de la Galería --- */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000; /* Por encima de todo lo demás */
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9); /* Fondo oscuro semitransparente */
}

.lightbox.is-active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 95%;
    height: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none; /* Evita que la imagen sea seleccionada */
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2002;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2001;
    transition: background-color 0.3s;
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

/* Contacto */
.contacto-content {
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.contacto-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-family: var(--anton);
}

.contacto-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem 0;
    font-size: 1.25rem;
    color: #000000;
    background-color: #ffffff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: var(--montserrat);
}

.contacto-btn:hover {
    background-color: #000000;
    color: #ffffff;
}