/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Fondo general del sitio */
body {
  font-family: Arial, sans-serif;
  background-image: url('assets/fondo.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed; /* ← ESTA LÍNEA LO FIJA */
  padding-top: 200px;
}


/* Header */
header {
  background-color: #1E3045;
  color: white;
  padding: 20px;
  position: fixed;          /*  Lo hace fijo */
  top: 0;                   /* Siempre en la parte superior */
  left: 0;
  width: 100%;              /* Ocupa todo el ancho */
  z-index: 1000;            /* Se mantiene encima de todo */
  text-align: center;
}

.servicios-box {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  background-color: #1E3045;
  font-family: Arial, sans-serif;
}

.servicios-box ul {
  list-style-type: disc;
  padding-left: 20px;
}

.btn-container {
  text-align: center;
  margin-top: 20px;
}

.btn-servicios {
  padding: 10px 20px;
  background-color: #1E3045;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-servicios:hover {
  background-color: #ffffff;
	color: #1E3045;
}


a {
  text-decoration: none; /* Quita el subrayado */
  color: inherit;        /* Hereda el color del texto normal */
} 

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: 35%;
  color: white;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;

}

/* Menú de navegación */
.menu {
  list-style: none;
  display: flex;
  justify-content: center;
	  align-items: center;
  flex-wrap: wrap;
background-color: #1E3045;
  gap: 10px;
  margin-top: 10px;
position: relative;
  padding-left: 160px; /* Deja espacio para el logo */
font-family: "Special Gothic Expanded One", sans-serif;
  font-size: 18px;
  font-style: normal;
} 
.menu .logo {
  position: absolute;
  left: 0;
  top: -15;
}

.menu .logo img {
  display: block;
	
}


.menu li a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s;
}

.textas{
	font-size: 20px;
	margin-left: 20px;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
}

.tita{
	font-size: 30px;
	text-align: center;
	font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
}

.tita :hover{
	color: cadetblue;
}

.menu li a:hover {
  background-color: #ffffff;
color: #0F1823;
}

/* Contenido principal */
.divi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px auto;
  max-width: 1000px;
}
.cuadro-columnas {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
  gap: 20px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #ffffff;
  max-width: 1000px;
  margin: auto;
}

.columna {
  background-color: #003145;
	color: #ffffff;
	font-size: 20px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
}

/* Estilo tipo ventana sobre fondo */
.contenido {
  background-color: rgba(255, 255, 255, 0.7); /* Semitransparente */
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  width: 90%;
  height: 500px;
  min-height: 100px; /* Aquí le damos más altura */
}

.contenido2 {
  background-color: rgb(15, 24, 35,0.7); /* Semitransparente */
	color: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  width: 90%;
  height: 500px;
  min-height: 100px; /* Aquí le damos más altura */
  margin-left: 450px; /* Alinea el contenedor a la derecha */
}


.tit {
  display: flex;
  justify-content: center;
  align-items: center;
}

.caja {
  background: white;
	text-align: center;
	padding: 30px;
  border-radius: 15px;
  margin: 100px auto;
  width: 90%;
  min-height: 100px; /* Aquí le damos más altura */
}

.caja-falsa {
  padding: 0px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin: 40px auto;
  width: 90%;
  max-width: 800px;
  min-height: 200px; /* Aquí le damos más altura */
  webkit-backdrop-filter: blur(3px);
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  background-color: #ffffff;
  color: #003145;
  border-radius: 5px;
	font-size: 20px;
}

main{
  background-image: url("assets/alegre-joven-sentada-playa-manana-verano-tiro-al-aire-libre-hermosa-chica-traje-bano-naranja-posando-playa.jpg");
  background-size:cover; /* Asegura que la imagen cubra toda la caja */
  background-position: bottom; /* Centra la imagen */
  background-repeat: no-repeat;
  grid-template-columns: 1fr;
  width: 100%;
  height: 500px;          /* Altura visible para mostrar la imagen */
  margin: 0 auto;         /* Centra horizontalmente la caja */
  border-radius: 10px;
  overflow: hidden;
}
.main2{
  background-size:cover; /* Asegura que la imagen cubra toda la caja */
  background-position: bottom; /* Centra la imagen */
  background-repeat: no-repeat;
  grid-template-columns: 1fr;
  width: 100%;
  height: 500px;          /* Altura visible para mostrar la imagen */
  margin: 0 auto;         /* Centra horizontalmente la caja */
  border-radius: 10px;
  overflow: hidden;
}

/* Responsive: móviles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    margin-top: 15px;
  }

  nav.activo {
    display: block;
  }

  .menu {
    flex-direction: column;
    align-items: center;
  }
}