/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hero (imagen grande de fondo) */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa toda la pantalla */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Capa oscura encima de la imagen */
.hero .overlay {
  background: rgba(0, 0, 0, 0.4); /* sombra */
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Título */
.hero h1 {
  color: white;
  font-size: 3rem;
  text-align: center;
  padding: 20px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
    padding: 10px;
  }
}

/* --- Características --- */
.caracteristicas {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 16px;
}

.caracteristicas h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #0ea5a4;
  text-align: center;
}

.caracteristicas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.caracteristica-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: #e0e9f3;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.caracteristica-item i {
  font-size: 1.4rem;
  color: #0ea5a4;
  flex-shrink: 0;
}

.caracteristica-item span {
  font-size: 0.95rem;
  color: #374151;
}

/* Estilos de la sección de descripción */
.descripcion-propiedad {
  background: #f3fafb;            /* Fondo blanco */
  border-radius: 16px;         /* Bordes redondeados */
  padding: 25px 30px;               /* Espaciado interno */
  margin: 40px 0;              /* Separación con otras secciones */
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08); /* Sombras suaves */
  border: 1px solid #e9eef5; /* Una línea de color para destacar */
 
}

.descripcion-propiedad h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.5;
  color: #1a1a1a;
}

.descripcion-propiedad p {
  font-size: 17px;
  line-height: 1.7;
  color: #3a3a3a;
  text-align: justify;
  margin: 30px 0;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);


/* Animación */
  opacity: 0;
  transform: translateY(20px);
  animation: aparecerSuave 0.8s ease-out forwards;
}

@keyframes aparecerSuave {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*slider galeria*/
.galeria-propiedad {
  margin: 40px auto;
  max-width: 900px;
  text-align: center;
}

.galeria-propiedad h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #333;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.slider {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.slider img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 12px;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.slider-controls span {
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 1.5em;
  transition: background 0.3s;
}

.slider-controls span:hover {
  background: rgba(0,0,0,0.8);
}

.cabecera {
  display: flex;
  justify-content:space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: rgb(226, 191, 75);
  color: white;
}

/*adicionar para cabecera y logo */
.cabecera .logo img {
  height: 40px;
}

.logo {
  display: flex;
  align-items: center;      /* Centra verticalmente */
  gap: 8px;                 /* Espacio entre logo y texto */
}

.textoLogo {
  height: 50px;             /* Ajusta tamaño del logo */
}

.logo-text {
  font-size: 1.3rem;
  font-weight: bold;
  color: #070642;               /* Cambia el color a tu gusto */
  font-family: Arial, sans-serif;
}


/* fin de cabecera adicionada */

/* boton de regresar al index */

.volver {
  text-align: center;
  margin: 20px 0;
}

.btn-regresar {
  display: inline-block;
  background: #e9df4e;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-regresar:hover {
  background: #c93e3e;
}

/* fin de regresar al index */

/* boton whatsapp */
.whatsapp-btn {
  background-color: #25d366;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  position: fixed;
}

.whatsapp-btn:hover {
  background-color: #1ebd58;
}


.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float img {
    width: 50px;
    height: 50px;
}

/* fin de boton de whatsapp*/
