body, html {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

.hero {
  background: url('https://images.unsplash.com/photo-1581574209991-711027c245d6') no-repeat center center/cover;
  height: 100vh;
  position: relative;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
  color: blue;
}

#logo {
  height: 320px;       /* O ajusta el tamaño como desees */
  display: block;
  margin-top: -60px;   /* 🔼 Esto lo sube (ajusta el valor a tu gusto) */
  margin-left: 10px;   /* Alineado a la izquierda (valor base en desktop) */
}

.brand-text {
  margin-left: -220px;
  font-size: 1.0rem;
  position: relative;
  top: 70px; /* ajusta el valor para moverlo hacia abajo */
}

.navbar-dark-gradient {
  background: linear-gradient(to right, #000000, #3a3a3a); /* negro a gris oscuro */
  border-bottom: 2px solid #D4AF37; /* opcional: línea dorada abajo */
}

.btn-gold-black {
  background: black;
  color: #D4AF37; /* dorado */
  border: 2px solid #D4AF37;
  padding: 10px 20px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.btn-gold-black:hover {
  background: #D4AF37;
  color: black;
  border-color: #D4AF37;
}

.form-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.logo {
  font-size: 2rem;
  color: #27ae60;
  margin-bottom: 10px;
  font-weight: 700;
}

.form-card h2 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #2c3e50;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  text-align: left;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

input[type="range"] {
  width: 100%;
}

#bedroom-count,
#bathroom-count {
  font-weight: bold;
  color: #34495e;
  text-align: right;
  margin-top: 5px;
}

.service-type label {
  display: inline-block;
  margin-right: 10px;
}

button {
  background-color: #27ae60;
  color: #fff;
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #219150;
}

/* El navbar como referencia */
.brand-navbar {
  min-height: 80px; /* altura para que quepan los 2 textos */
}

/* Bloque de los textos */
.brand-block {
  display: flex;
  flex-direction: column; /* uno debajo del otro */
  align-items: flex-start; /* alineados a la izquierda */
}

/* Estilo dorado */
.gold-text {
  background: linear-gradient(90deg, #ffcc00, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}
.brand-title {
  font-size: 2.5rem; /* tamaño grande por defecto */
}

/* Ajuste para pantallas medianas */
@media (max-width: 991px) {
  .brand-title {
    font-size: 4rem;
  }
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 767px) {
  .brand-title {
    font-size: 1.9rem;
  }
}

/* ---- Breakpoints ---- */

/* Escritorio */
@media (min-width: 992px) {
  .brand-block {
    position: relative;
    top: 0;
    left: 0;
  }
  .brand-block span:first-child { font-size: 2rem; }
  .brand-block span:last-child  { font-size: 1.15rem; }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .brand-block span:first-child { font-size: 1.6rem; }
  .brand-block span:last-child  { font-size: 1rem; }
}

/* Móvil */
@media (max-width: 767px) {
  .brand-block {
    align-items: center; /* centrar en móviles */
    text-align: center;
  }
  .brand-block span:first-child { font-size: 1.3rem; }
  .brand-block span:last-child  { font-size: 0.95rem; }
}


/* 🔽 Media query para celulares */
@media (max-width: 576px) {
  #logo {
    height: 290px;
    margin-top: -20px;
    margin-left: 0px; /* completamente a la izquierda */
  }

  /* Opcional: eliminar padding del contenedor si afecta al logo */
  .container, .logo-wrapper {
    padding-left: 0 !important;
  }
  .brand-text {
  margin-left: -260px;
  font-size: 0.9 rem;
  position: relative;
  top: 30px; /* ajusta el valor para moverlo hacia abajo */
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

#logo {
  animation: bounce 1.5s infinite ease-in-out;
}

}
