/* =========================================================================  INDEX */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000000;
}

.container-expandido {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

a{
    color: #ffc55a!important;
}
p{
    color: #fff!important;
}

.gold-text{
    color: #ffc55a;
}


@keyframes fadeSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animation-opening {
    opacity: 0;
    animation: fadeSlideDown 2.5s ease forwards;
}
.bg-dark{
    background-color: #000!important;
}
.text-white{
    color: #fff!important;
}

.bg-dark-light{
    background-color: #1f1f1f!important;
}
/* ========================================================================= PRELOAD */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.preloader-content {
    position: relative;
    width: 600px;
    height: 337.5px;
    /* Proporción 16:9 */
    background-color: #000000;
    overflow: hidden;
}

.layer {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    top: -100%;
    /* opacity: 0; */
    transition: all 0.8s ease-out;
    background-color: white;
}

.base {
    top: -100%;
}

.base.animate {
    top: 0;
    z-index: 1;
}

.layer-1.animate {
    top: 0;
    opacity: 1;
    z-index: 2;
}

.layer-2.animate {
    top: 0;
    opacity: 1;
    z-index: 3;
}

.layer-3.animate {
    top: 0;
    opacity: 1;
    z-index: 4;
}

.layer-4.animate {
    top: 0;
    opacity: 1;
    z-index: 5;
}

.layer-final.animate {
    top: 0;
    z-index: 7;
    transform: scale(1);
    transition: transform 1.5s ease-in-out, top 0.6s;
}

.layer-final.zoom {
    transform: scale(3);
    /* zoom desde el mismo centro */
    transition: transform 1.5s ease-in-out;
}

#mainContent {
    transition: transform 0.5s ease-in-out;
    transform: scale(1);
}

#mainContent.zoom-in {
    transform: scale(0.32);

}


/* ========================================================================= MENU */


.fullscreen-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #1f1f1f;;
    color: white;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 2rem;
}

.fullscreen-menu.show {
    transform: translateY(0);
}

.fullscreen-menu .menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
}

.fullscreen-menu a {
    display: block;
    font-size: 5vw;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding: 1rem 0;
    border-bottom: 1px solid #ffc55aa4;
    transition: 0.3s ease;
}

.fullscreen-menu a:hover {
    color: #4400ff;
}

.navbar {
    color: white;
    padding: 0px !important;
    background-color: #00000040;
}

.navbar-link {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
    font-size: 40px;
}

.navbar-buttom-menu {
    color: white !important;

}

.navbar-icon {
    font-size: 40px;
}


.navbar-underline {
    border-bottom: 1px solid #fff;
}




/* estado inicial: transition debe existir antes del cambio */
#navOverlayContent {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* estado final */
#navOverlayContent.NavTextTransition {
    opacity: 1;
}





/* ticker carousel del nav */
.ticker-wrapper {
    position: relative;
    height: 1.5rem;
    overflow: hidden;
    white-space: nowrap;
    max-width: 400px;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker-slide 15s linear infinite;
}

.ticker span {
    display: inline-block;
    padding-right: 2rem;
    color: white;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (hover: none) and (pointer: coarse) {
    .navbar-link {
        font-size: 20px !important;
    }

    .ticker-wrapper {
        max-width: 100px !important;
    }

}


@keyframes ticker-slide {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* =================================== Introduction  section */
.introduction-section-intro {
    background-color: #000;
    padding: 2vh 1vw;
}

.introduction-section {
    background-color: #000;
    padding: 6vh 1vw;
}

.container-intro {
    margin: 0 auto;
}

.intro-label {
    /* display: block; */
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-weight: 600;
    padding: 1px 4px 1px 4px;
    border: black 1px solid;
    border-radius: 16px;
}

.intro-text {
    font-size: clamp(4rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

@media (max-width: 768px) {
    .intro-text {
        font-size: 1.5rem;
    }
}

.border-dark {
    border-color: rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important;
}
.border-gold {
    opacity: 1;
    border: 2px;
    border-color: #ffc55a  !important;
}



/* =================================== Carousel section*/
.carousel,
.carousel-item,
.carousel-item img {
    height: 100vh;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
}

/* Opcional: overlay de texto centrado */
.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
}

@media (hover: none) and (pointer: coarse) {}


/* ====================== Main content 1 */
.main-content-section-1 {
    background-color: #000;
    padding: 6vh 1vw;
}

#hero {
    height: 100vh;
    overflow: hidden;
}

#heroCarousel .carousel-item,
#heroCarousel img {
    height: 100vh;
    object-fit: cover;
}

.hero-text {
    font-size: clamp(6rem, 10vw, 14rem);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

@media (hover: none) and (pointer: coarse) {
    .hero-text {
        font-size: clamp(4rem, 10vw, 8rem);
    }
}


/* ================================== sectrion 1 */
/* Línea negra vertical  */
.border-left-custom {
    border-left: 1px solid black;
    padding-left: 1.5rem;
}









/* ======================================================fOOTER=========== */
footer {
    background-color: #1f1f1f;
    padding: 4rem 1rem;
    font-family: sans-serif;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-top div {
    flex: 1;
    min-width: 150px;
}

.footer-top a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    font-size: 6vw;
    font-weight: bold;
    line-height: 1;
    color: #ffffff;

}

.footer-img {
    height: 100px;
    width: auto;
    object-fit: cover;
}

.footer-arrow {
    font-size: 5rem;
    font-weight: bold;
    transform: rotate(45deg);
}

@media (hover: none) and (pointer: coarse) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-text {
        font-size: 10vw;
    }

    .footer-arrow {
        font-size: 4rem;
        align-self: flex-end;
    }
}



/* WORKS STYLES */

.works-hero-section {
    /* height: 100vh; */
    /* pantalla completa */
}




.works-spacer {
    margin-top: 100px;
}

.works-hero-title {
    font-size: 11.875vw;
}

.works-hero-image {
    height: 100vh;
    /* mitad inferior */
    overflow: hidden;
    /* corta la imagen */
}

.works-hero-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* recorte sin deformarse */
}

@media (hover: none) and (pointer: coarse) {}

.works-collapse-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-weight: bold;
    font-size: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid #ccc;
}

.works-collapse-btn .icon {
    font-size: 1.25rem;
}

.works-collapse .collapse {
    margin-top: .5rem;
}


/* Columna izquierda */
.works-meta p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.works-meta p.fw-bold {
    font-size: 0.75rem;
    /* más pequeño para el título */
    letter-spacing: 0.5px;
    color: #000;
}

/* Columna derecha */
.works-description p {
    font-size: 3rem;
    /* equivalente a fs-4 */
    font-weight: 600;
    /* bold pero no exagerado */
    line-height: 1.4;
    margin: 0;
    color: #111;
}

@media (hover: none) and (pointer: coarse) {

    /* Columna derecha */
    .works-description p {
        font-size: 1.5rem;
    }
}


/* video */

/* Video fullscreen */
.works-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* ocupa toda la pantalla */
    overflow: hidden;
}

.works-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Texto de la cita */
.works-quote-text {
    font-size: 3rem;
    line-height: 1.3;
    text-transform: uppercase;
    padding-top: 100px;
    padding-bottom: 100px;
}


@media (hover: none) and (pointer: coarse) {
    .works-quote-text {
        font-size: 1.5rem;
        line-height: 1.3;
        text-transform: uppercase;
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

/* Badge */
.works-floor-badge {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid #000;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* Texto izquierdo */
.works-floor-left p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Texto derecho */
.works-floor-right p {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0;
}

@media (hover: none) and (pointer: coarse) {
/* Texto derecho */
.works-floor-right p {
    font-size: 1.3rem;
}
}