
/* Reset básico y fuente */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* Header */
header {
  background-color: #002e5b;
  padding: 1rem;
  text-align: center;
}

header img {
  max-width: 300px;
  height: auto;
}

/* Menú */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  cursor: pointer;
}

nav {
  background-color: #004080;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: block;
  padding: 1rem 1.5rem;
  color: white;
  text-decoration: none;
}

nav ul li:hover {
  background-color: #0059b3;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #004080;
  z-index: 1000;
}

nav ul li:hover .submenu {
  display: block;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul.main-menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  nav ul.main-menu.show {
    display: flex;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }
}

/* Fondo principal */
.main-background {
  position: relative;
  background-image: url('assets/images/bg1.jpg');
  background-size:contain;
  background-position: center;
  background-repeat: no-repeat;
  color: black;
}

.main-background::before {
  content: "";
  position: absolute;
  inset: 0;
  
  z-index: 0;
}

.main-background section {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Secciones */
section {
  padding: 1rem 1rem;
  max-width: 900px;
  margin: auto;
}

/* Video placeholder */
.video-placeholder {
  background: #ddd;
  height: 200px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
}

/* Botones */
button {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  background-color: #002e5b;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 1rem;
}

/* Formulario DevExtreme */
#husmForm, #multiPropertyForm, #dxClientForm {
  background-color: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background-color: #002e5b;
  color: white;
  text-align: center;
  padding: 1rem;
}
