/* .gradient-background {
  background: linear-gradient(300deg, #a7d12c, #a7d12c, #2d6326);
  background-size: 180% 180%;
  animation: gradient-animation 18s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} */


body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
  }

/*----------------- NAV --------------------*/

  .gradient-background {
    background-color: #2d6326;
  }

  .nav-wrapper{
    position: sticky;
  }
  
  .logo {
    height: 50px; 
    border-radius: 5px;
    display: flex;
    justify-content: center;
  }

  /**************** HAMBURGER ******************/

.hamburger {
  display: flex;
  flex-direction: column; /* direccion de la colocacion de las rayas del hamburger*/
  gap: 5px; /* separacion de cada raya del hamburger*/
  cursor: pointer;  /*cambia de flecha a dedo en hover sobre las rayas*/
  /* align-items: center; */
  margin-right: 300px;
  
}

/* header > .logo {
    margin: 0;
  } */

.hamburger span {
  width: 25px;  /*largo de cada raya*/
  height: 3px;
  background: white;
}

/* WRAPPER */
.nav-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  /* justify-content: space-between; */
}

/* MÓVIL */
@media (max-width: 1200px) {

  .nav-wrapper {
    position: relative;
    top: 100%;
    left: 0;
    /* width:50%; */
    background: #2d6326;
    flex-direction: column;
    display: none;
    padding: 10px 0;
    /* z-index: 999; */
  }

  .nav-wrapper.active {
    display: flex;
  }

  /* .nav-left,
  .nav-right {
    flex-direction: column;
    align-items: center;
  } */

  /* .nav-buttons {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  } */

}
  
  /*--------------------- HERO -----------------*/
  
  .Casalux{
    width: 1300px;
    object-fit: cover;
  }
  
 /*--------------- MAPA MAPBOX -----------------*/
/* .map-col {
  align-self: flex-start;   /* evita que se estire 
} */

.map-wrapper {
  /* position: relative; */
  /* height: 70vh; */         /* Ajusta a tu gusto: 60–80vh suele ir bien */
  /* min-height: 420px; */
  /* width: 300px; */
  position: sticky;
  top: 110px;               /* altura de tu navbar */
  height: calc(100vh - 100px);
}

#map {
  width: 100%;
  height: 100%;
}

/* .geocoder {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 90%;
  max-width: 400px;
} */

/*--------------- FILTER BAR ---------------*/
/* #searchLocation{
  flex: 2;
} */

.filter-section{

  top: 80px;
  border: 1px solid #ddd;
  background: white;
  z-index: 1000;
}

.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  padding-top: 20px;
}
 
.search-bar input,
.search-bar select,
.search-bar button {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
 
.search-bar button {
  background: #006aff;
  color: white;
  border: none;
  cursor: pointer;
}
 
.search-bar button:hover {
  background: #0053cc;
}

  /*----------------- PROPIEDADES ----------------*/

.title-prop{
  margin: 10px;
  margin-bottom: 20px;
}

.card{
  transition: transform 0.2s ease;
}

.card:hover{
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px; /* Ajusta la altura deseada */
  object-fit: cover; /* Recorta la imagen manteniendo proporción */
  display: block;
}

.list-wrapper {
  height: 100vh;
  overflow-y: auto;  /* este lado scrollea */
}


/* En móviles normalmente NO quieres sticky: deja fluir apilado */
@media (max-width: 991.98px) {
  .map-wrapper {
    height: 60vh;       /* menos alto en móvil */
  }
  .list-wrapper {
    max-height: none;
    overflow: visible;
  }
}

/*--------- CAJA DE CONTACTO ----------*/

.contact-form {
  max-width: 400px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
}

.contact-form h2 {
  font-size: 20px;
  margin-bottom: 15px;
}

.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

textarea {
  height: 80px;
  resize: none;
  margin-bottom: 15px;
}

.btn-email {
  width: 100%;
  background-color: #499bf2;
  color: #fff;
  font-size: 18px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  margin-top: 10px;
}

.btn-whatsapp {
  width: 100%;
  background-color: #25d366;
  color: #fff;
  font-size: 18px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.btn-email:hover {
  background-color: #2e00e6;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
}
  
  
  /*--------------- FOOTER ---------------*/
  
  main {
    flex: 1;
  }
  
  footer {
    position: relative;
  }

  .footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap; /* evita que salte de línea */
  }

  @media screen and (max-width: 768px) {
    #designedAstruck{
      display: none;   /* Elimina un componente */ 
    }
  }

  @media screen and (min-width: 1300px){

      .Casalux{
        width: 1700px;
        height: 600px;
      }
    
  }

  @media screen and (min-width: 1680px){

      .Casalux{
        width: 1900px;
        height: 900px;
      }
    
  }


  /***************************** ABOUT US ************************************/

html {
  scroll-behavior: smooth;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 90vh;
  width: 100%;
  background-image: url("../Material/aboutUs.jpg"); /* aquí va tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Capa oscura encima de la imagen */
.hero_overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
}

/* Contenido centrado */
.hero_content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

/* Texto */
.hero_content h1 {
  font-size: 46px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

/* Flecha */
.hero_arrow {
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

/* Hover opcional */
.hero_arrow:hover {
  background-color: #fff;
  color: #000;
  transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 320px;
  }

  /* .hero_content h1 {
    font-size: 20px;
  } */
}



/*------ Sección general ------*/
.about {
  padding: 30px 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
}

/* Contenedor */
.about .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.about_header {
  text-align: center;
  margin-bottom: 60px;
}

.about_header h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.about_header p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
}

/*----- Grid de misión y visión ------*/
.about_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}

/* Bloques */
.about_block h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about_block p {
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .about_grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about_header h2 {
    font-size: 26px;
  }

  .about_block h1 {
    font-size: 24px;
    text-align: center;
  }

  .about_block p {
    text-align: center;
  }
}




/*------- Sección valores -------*/
.values {
  background-color: #2b2b2b;
  color: #fff;
  padding: 60px 20px;
}

/* Contenedor */
.values .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Título */
.values_title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

/* Grid */
.values_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Item */
.value_item {
  text-align: center;
}

/* Ícono */
.value_icon {
  font-size: 36px;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Título valor */
.value_item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
}

/* Texto */
.value_item p {
  font-size: 14px;
  line-height: 1.5;
  color: #dcdcdc;
}

/* Responsive */
@media (max-width: 768px) {
  .values_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .values_grid {
    grid-template-columns: 1fr;
  }
}

/**************** NOTICIAS Y TENDENCIAS ******************/

.NewsTitle{
  margin-top: 30px;
  font-family: 'Times New Roman', Times, serif;
}


.containerNews{
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 20%;

  max-width:1200px;
  margin:auto;
  padding-left:20px;
  padding-right:20px;
}

/* NewsTitle*/
.row1{
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.left{
  display: flex;
  align-items: flex-end;
  height: 80px;
}

.row3{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}


/* NAVBAR DE NEWS  */
.navNews{
  display: flex;
  justify-content: center;
}

.navbarNews{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 40px;
  border-bottom:1px solid #ddd;
  font-family: Arial, sans-serif;
  width: 100%;
}

.menu{
  display:flex;
  gap:30px;
  
  justify-content:space-evenly;
  width:100%;
}

.menu a{
  text-decoration:none;
  color:#222;
  font-size:14px;
  letter-spacing:0.5px;
  padding-bottom:10px;
}

.menu a:hover{
  color:black;
}

.menu .active{
  border-bottom:3px solid black;
}

/* .search{
  font-size:20px;
  cursor:pointer;
} */

/* Underlying animado */
.menu a{
  position:relative;
}

.menu a::after{
  content:"";
  position:absolute;
  width:0;
  height:2px;
  background:black;
  bottom:0;
  left:0;
  transition:0.3s;
}

.menu a:hover::after{
  width:100%;
}

.trends{
  display: flex;
  justify-content: right;
}