@import url('./default.css');
/* ==========================================================================
   1. ESTILOS BASE (Mobile First - Pantallas < 576px)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #e1e1e1; /* En móvil, el fondo gris predomina */
    color: #212529;
}

/* El contenedor se mantiene gris en móvil para evitar cortes asimétricos raros */
.split-background {
    background: #e1e1e1; 
}

/* Navbar móvil */
.logo-img {
    max-height: 110px; /* Más pequeño en móviles */
    width: auto;
    position: absolute;
    top: 10px;
    left: 5px;
}

.nav-link {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #000000 !important;
    text-align: center; /* Centrado para el menú desplegable */
    padding: 0.5rem 0;
}

.btn-contact {
    border-radius: 4px;
    border-color: #a3a3a3;
    color: #000000;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}

.btn-contact:hover,
.btn-get-started:hover {
    background-color: var(--colorGreen);
    border-color: var(--colorGreen);
    color: #ffffff;
}

/* Contenido Hero en Móvil */
.hero-text-container {
    overflow: visible;
    text-align: center; /* Todo centrado en pantallas pequeñas */
    margin-top: 2rem;
}

.hero-text-container h1{
    color: var(--colorGreen);
}

.tracking-wide {
    letter-spacing: 1px;
    line-height: 1.2;
    font-size: 2rem; /* Título adaptado a móviles */
}

.leading-relaxed {
    line-height: 1.6;
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
}

.btn-get-started {
    border-radius: 4px;
    border-color: #a3a3a3;
    color: #000000;
    font-size: 0.9rem;
    letter-spacing: 1px;
    background-color: transparent;
    display: inline-block;
    width: 100%; /* Botón ancho completo en móviles */
}

.hero-img {
    width: 100%;
    height: 200px;
    object-fit: cover;

}

.section-info{
    width: 100%;
    height: auto;
}

.background-info{
    width: 100%;
    height: 300px;
    background-image: linear-gradient(to bottom, rgba(20, 44, 45, 0.85), rgba(31, 67, 67, 0.9)), 
        url('../img/cover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}

.container-sliderCards{
    width: 100%;
    height: auto;
}

.cardProperty{
    width: 100%;
    height: auto;
    /* border: 1px solid #2125290e; */
    /* padding: 10px; */
    background-color: rgba(255, 255, 255, 0.373);
    padding-bottom: 15px;
}

.imgCard{
    max-width: 100%;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.cardInfo{
    width: 100%;
    height: auto;
    padding: 10px;
}

.cardInfo h3{
    text-align: center;
    padding: 15px 0px;
    color: var(--colorGreen);
}

.cardInfo ul{
    padding: 0;
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.cardInfo ul li{list-style: none;}


.cont-controls {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;          
    padding: 10px 20px;            
    box-sizing: border-box;        
}

.cont-controls h4 {
    margin: 0;                      
    font-size: 2.2rem;          
}

.controls {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

/* Estilo base para ambos botones */
.blaze-prev,
.blaze-next {
  background: transparent;
  border: 1px solid var(--colorGreen);
  border-radius: 10px;
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.blaze-next:hover {
    background-color: #21252922;
    color: white;
}

.blaze-prev:hover {
    background-color: #21252922;
    color: white;
}

.blaze-prev i,
.blaze-next i {
  font-size: 1.25rem;
  color: #212529;
  display: flex;
}

.blaze-prev[disabled],
.blaze-next[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}


.section-divided{
    width: 100%;
    height: auto;
    position: relative;
}

.cont-divided1{
    width: 100%;
    height: 300px;
    
}
.cont-divided2{
    width: 100%;
    height: 300px;
    background-color: var(--colorGreen);
}

.cardDivided{
    height: auto;
    /* padding: 30px 15px; */
    background-color: #e1e1e1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.img-divided{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contenido-divided{
    padding: 30px;
     display: flex;
    justify-content: center;
    align-items: center;
}

.contenido-divided h2{
    color: var(--colorGreen);
    font-weight: 500;
}

.cardDivided p{
    text-align: justify;
    padding: 15px 0px;
}

.personImg{
    width: 90px;
    height: 90px;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
}

.infoPersonImg{border-left: 1px solid rgba(128, 128, 128, 0.258); 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    align-items: flex-start;
}

.why-choose-us-section {
    /* background-color: #f9f9f9; */
    padding-bottom: 50px; 
}


.why-choose-us-section .bg-hero-image {
    background-image: url('../img//cover2.jpg');
    background-size: cover;
    background-position: center;
    height: 280px; 
    position: relative;
}

.why-choose-us-section .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(20, 44, 45, 0.85), rgba(31, 67, 67, 0.9));
}


.why-choose-us-section .section-title {
    font-size: 1.8rem;
}
.why-choose-us-section .section-subtitle {
    font-size: 1rem;
}


.why-choose-us-section .cards-container {
    margin-top: -50px; 
    position: relative;
    z-index: 2;
    padding-left: 20px; 
    padding-right: 20px;
}


.why-choose-us-section .feature-box {
    background-color: #ffffff;
    border-bottom: 1px solid #eef0f2; 
}

.why-choose-us-section .feature-box:last-child {
    border-bottom: none;
}

.section-mansonryGallery{
    width: 100%;
    height: auto;
    background-color: #ebebeb;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: 1fr; /* Una sola columna en móvil */
    gap: 10px;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 250px; /* Altura uniforme para pantallas pequeñas */
}

/* Ajuste de las imágenes para que cubran todo su contenedor sin deformarse */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

/* Efecto Hover Premium */
.gallery-item:hover img {
    transform: scale(1.04);
}


/* Pantallas chicas/medianas (Sm - Tablets en vertical) */
@media screen and (min-width: 576px) {
    .tracking-wide {
        font-size: 2.5rem;
    }
    
    .btn-get-started {
        width: auto; /* El botón recupera su tamaño normal */
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr); /* Pasa a 2 columnas */
    }
    .gallery-item {
        height: 300px;
    }
}

/* Pantallas medianas (Md - Tablets en horizontal) */
@media screen and (min-width: 768px) {
    .logo-img {
        max-height: 85px;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .tracking-wide {
        font-size: 3rem;
    }

    .cont-divided1{
        width: 100%;
        height: 300px;
    }
    .cont-divided2{
        width: 100%;
        height: 300px;
        background-color: var(--colorGreen);
    }

    .why-choose-us-section {
        padding-bottom: 80px;
    }

    /* La sección de fondo recupera su altura de impacto visual */
    .why-choose-us-section .bg-hero-image {
        height: 420px;
    }

    .why-choose-us-section .section-title {
        font-size: 2.8rem;
    }
    
    .why-choose-us-section .cards-container {
        margin-top: -100px;
        padding-left: 0;
        padding-right: 0;
    }


    .why-choose-us-section .feature-box {
        border-bottom: none; 
        border-right: 1px solid #eef0f2; 
    }
    
    .why-choose-us-section .feature-box:last-child {
        border-right: none;
    }
}

/* Pantallas grandes (Lg - Computadoras portátiles/Laptops) */
@media screen and (min-width: 992px) {

    .background-info{
        background-attachment: fixed;
    }

    .split-background {
        background: linear-gradient(to right, #ffffff 35%, #e1e1e1 35%);
    }

    .nav-link {
        text-align: left;
        padding: 0;
    }

    .btn-contact {
        margin-top: 0;
    }

    .hero-text-container {
        text-align: left; 
        margin-top: 0;
    }

    .leading-relaxed {
        margin-left: 0;
        margin-right: 0;
        max-width: 520px; 
    }

    .hero-img {
      
        max-width: 100%; 
        height: 430px;
        margin-left: 7%;
    }

        .why-choose-us-section .bg-hero-image {
            background-attachment: fixed;
        }
    
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(180px, auto);
    }

    .gallery-item {
        height: 100%; 
    }

    .gallery-masonry .gallery-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    .gallery-masonry .gallery-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .gallery-masonry .item-long {
        grid-column: 3;
        grid-row: 1 / span 2; 
    }

    .gallery-masonry .gallery-item:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }
    .gallery-masonry .gallery-item:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }
}

/* Pantallas muy grandes (Xl - Desktops estándar) */
@media screen and (min-width: 1200px) {
    .logo-img {
        max-height: 150px; /* Tamaño completo del logo de Figma */
    }

    .tracking-wide {
        font-size: 3.5rem;
    }
}

/* Pantallas gigantes (Xxl - Monitores de alta resolución) */
@media screen and (min-width: 1400px) {
    .tracking-wide {
        font-size: 4rem;
    }
    
    /* Si quieres ajustar el corte del fondo en pantallas gigantes */
    .split-background {
        background: linear-gradient(to right, #ffffff 35%, #e1e1e1 35%);
    }
}