/* ===================================
    Crafto - Architecture
====================================== */
/* font */
@import url('../../css2-12');
@import url('../../css2-7');
/* variable */
:root {     
    --base-color: #d20022;
    --dark-gray:#171717;
    --medium-gray:#737373;
    --extra-medium-gray:#707070;
    --alt-font: 'Antonio', sans-serif;
    --primary-font: 'Plus Jakarta Sans', sans-serif;
} 
html {
    overflow-x: hidden;
}
body{
    line-height: 30px;
}
/* reset */
.word-break-normal {
    word-break: normal;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}
h1, .h1 {
    line-height: 4.6rem;
}
h2 {
    line-height: 3.7rem;
}
h3 {
    line-height: 3.4rem;
}
h4 {
    line-height: 3rem;
}
h5 {
    line-height: 2.5rem;
}
h6 {
    line-height: 2.3rem;
}
/* header */ 
header .widget-text {
    font-size: 15px;
}
header .navbar-brand {
    padding: 28px 0;
}
header.sticky .disable-fixed .navbar-brand {
    padding: 18px 0;
}
header .navbar-brand img {
    max-height: 60px;
}
.hamburger-logo img {
    max-height: 85px;
}
.header-icon .header-social-icon a {
    font-size: 17px;
    padding-left: 15px;
    font-weight: 600;
}
header.sticky .navbar {
    min-height: 70px;
}
.hamburger-menu-simple .menu-item-list .nav-link {
    font-size: 55px;
    line-height: 50px;
}
header .elements-social ul li {
    margin-right: 25px;
    margin-left: 0;
}
header .elements-social ul li a {
    width: auto;
    height: auto;
}
/* revolution slider */
#architecture-slider .tp-splitted {
    text-align: inherit !important;
}
.magic-cursor-base-color #ball-cursor:before, .magic-cursor-base-color #ball-cursor:after {
    color: var(--dark-gray);  
}
/* tag */
.blog-comment li .btn-reply:hover {
    color: var(--dark-gray);
}
.tag-cloud a:hover, .tag-cloud a.active {
    border-color: var(--white);
}
.blog-comment li .btn-reply {
    border: 1px solid var(--extra-medium-gray);
    background-color: transparent;
}
.blog-comment li .btn-reply {
    padding: 6px 20px 7px;
}
.categories-btn {
    padding: 4px 18px;
    border-radius: 24px;
}
/* first letter block  */ 
.first-letter-block {
    line-height: 88px;
}
/* top right bottom left */
.top-25 {
    top: 25%;
}
.right-18 {
    right: 18%;
}
/* text color */ 
.text-nero-grey {
    color: #1F1F1F;
}
.text-charcoal {
    color: #282828;
}
/* bg color */ 
.bg-nero-grey {
    background-color: #1F1F1F;
}
.bg-dark-gray-transparent {
    background-color:rgba(25, 25, 25,.7);
}
.bg-charcoal-grey {
    background-color: #3E3E3E;
}
.bg-base-color-transparent {
    background-color: rgba(239, 255, 2,.2);
}
.bg-gradient-dark-transparent {
    background: -webkit-gradient(linear, left bottom, left top, color-stop(-4%, #101010), to(transparent));
    background: linear-gradient(to top, #101010 -4%, transparent 100%);
}
.bg-gradient-dark-gray-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(25, 25, 25, 1)), to(transparent));
    background-image: linear-gradient(to top, rgba(25, 25, 25, .9) 20%, transparent 90%);
}
/* border color */
.border-color-charcoal-grey {
    border-color: #3E3E3E !important;
}
/* slider navigation*/
.slider-navigation-style-07 {
    left: 58.4%;
}
/* btn */ 
.btn.btn-base-color, .btn.btn-box-shadow.btn-base-color:hover {
    color: var(--dark-gray);  
}
.btn.btn-link {
    padding: 0 0 2px;
    font-weight: 600;
}
.btn { 
    font-family: var(--primary-font);
}
/* page title */
.page-title-extra-small h1 {
    font-size: 5.375rem;
    line-height: 5.5rem;
}
.page-title-extra-small h2 {
    font-size: 13px;
    line-height: 26px;
}
/* footer */
footer .footer-logo img {
    max-height: 70px;
}
footer .elements-social li {
    margin: 0 15px 0 0;
}
.video-icon-extra-large .video-icon {
    width: 170px;
    height: 170px;
    font-size: 16px;
}
/* magic cursor */
.magic-drag-cursor #ball-cursor:before {
  font-size: 15px;
}
/* media query responsive */
@media (max-width: 1430px) {
    .architecture-number {
        display: none !important;
    }
}
@media (orientation: landscape) and (max-width: 1080px) {
    .architecture-slider-text-row {
        margin-top: 200px !important;
    }
}
@media (orientation: landscape) and (max-width: 850px) {
    .architecture-slider-text-row { 
        margin-bottom: 200px !important;
    }
}
@media (orientation: landscape) and (max-width: 768px) {
    .architecture-slider-text-row {
        margin-top: 200px !important;
        margin-bottom: 200px !important; 
    }
}
@media (max-width: 991px) {
    .interactive-banner-style-06 .interactive-banners-content {
        transform: translateY(calc(100% - 100px));
    }
    .md-right-0 {
        right: 0;
    }
    header .navbar-brand {
        padding: 20px 0;
    }
}
@media (max-width: 767px) {
    .video-icon-extra-large .video-icon {
        width: 120px;
        height: 120px;
    }
    .slider-navigation-style-07 {
        left: 0;
    }
    .interactive-banner-style-06 .interactive-banners-content {
        transform: translateY(calc(100% - 110px));
    }
    .hamburger-menu-simple .menu-item-list .nav-link {
        font-size: 38px;
        line-height: 34px;
    }
}

/* === INICIO DE LA INTEGRACIÓN DEL SLIDER === */

/* Contenedor del slider */
.slider-container {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    flex-direction: row; /* Mantener en fila en pantallas grandes */
}

.slider-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex: 1;
    position: relative;
    text-align: center;
    padding: 20px;
}

/* Primera Parte */
.first-section {
    background-color: #121212;
    width: 35%;
    color: white;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    height: 100vh;
}

/* Ajustar tamaño del logotipo para evitar empalme */
.first-section .logo {
    width: 100px; /* Reducir tamaño */
    max-width: 100%;
    margin-bottom: 15px; /* Espacio entre logo y texto */
}

/* Segunda y Tercera Parte con slider */
.slider-background {
    position: absolute;
    top: 0;
    left: 35%;
    width: 65%;
    height: 100vh; /* Mantener altura completa */
    overflow: hidden;
    z-index: 0;
}

.second-section {
    background: rgba(0, 0, 0, 0.2); /* Restaurar opacidad */
    width: 65%;
    color: white;
    position: relative;
    z-index: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Restaurar máscara negra en la segunda sección */
.second-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Contenedor del texto con scroll */
.about-text {
    max-height: 200px; /* Restaurar tamaño de scroll */
    overflow-y: auto;
    padding-right: 10px;
    text-align: center;
}

/* Restaurar color del scrollbar */
.about-text::-webkit-scrollbar {
    width: 6px;
}
.about-text::-webkit-scrollbar-track {
    background: #222;
}
.about-text::-webkit-scrollbar-thumb {
    background: #d20022;
    border-radius: 10px;
}
.about-text::-webkit-scrollbar-thumb:hover {
    background: #ff5555;
}

.third-section {
    width: 65%;
    background: transparent; /* Eliminar la capa negra en la tercera sección */
    color: white;
    position: relative;
    z-index: 1;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Restaurar la animación del carrusel */
.slider-images {
    display: flex;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
}

.slider-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    position: absolute;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.slider-image:nth-child(1) { animation: fade 18s infinite 0s; }
.slider-image:nth-child(2) { animation: fade 18s infinite 6s; }
.slider-image:nth-child(3) { animation: fade 18s infinite 12s; }

@keyframes fade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .slider-container {
        flex-direction: column;
        height: auto; /* Permitir que crezca */
    }
    .first-section {
        width: 100%;
        z-index: 3;
        height: auto;
        padding: 100px 20px 60px; /* Aumentar espacio superior para bajarlo un poco */
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .slider-background {
        position: relative;
        left: 0;
        width: 100%;
        height: 100vh; /* Mantener imágenes visibles */
    }
    .slider-images {
        height: 100vh; /* Asegurar que las imágenes ocupen toda la pantalla */
    }
    .slider-image {
        height: 100vh; /* Evitar que desaparezcan */
    }
    .second-section {
        width: 100%;
        height: auto;
        min-height: 400px; /* Aumentar tamaño en móviles */
        padding: 50px 20px;
        justify-content: center; /* Centrar en móviles también */
        text-align: center;
    }
    .third-section {
        width: 100%;
        height: auto;
        min-height: 400px; /* Asegurar que tenga altura en móviles */
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
    }
    html, body {
        overflow-x: hidden;
        height: auto; /* Ajustar altura */
    }
}

body::-webkit-scrollbar {
  width: 8px;               /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: #161616;        /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: #D20022;    /* color of the scroll thumb */
  border-radius: 40px;       /* roundness of the scroll thumb */
  border: 2px solid #D20022;  /* creates padding around scroll thumb */