/* ================================
   Fuente y estilos generales
   ================================ */
body {
  font-family: 'Montserrat', sans-serif; /* Fuente elegante y moderna */
  margin: 0;
  padding: 0;
  background: url('../img/fondo.jpg') no-repeat center center fixed; /* Fondo optimizado */
  background-size: cover;
  min-height: 100vh;
  color: #fff; /* Texto blanco por defecto */
  line-height: 1.6; /* Mejor legibilidad */
}

/* ================================
   Encabezado principal
   ================================ */
header {
  background: rgba(10, 61, 98, 0.8); /* Azul con transparencia para contraste */
  color: #fff;
  text-align: center;
  padding: 2em 1em;
}

header h1 {
  margin: 0;
  font-size: 1.5em;       /* Título principal (Andrés Mendieta) */
  font-weight: 700;     /* Negrita fuerte */
  letter-spacing: 1px;  /* Separación elegante */
}

.subtitle {
  font-size: 1.1em;     /* Subtítulo más pequeño */
  font-weight: 400;     /* Peso normal */
  margin-top: 0.5em;
}

/* ================================
   Navegación
   ================================ */
nav ul {
  list-style: none;
  padding: 0;
  margin-top: 1em;
  display: flex;
  justify-content: center;
  gap: 1.5em;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600; /* Enlaces destacados */
}

nav a:hover {
  color: #82ccdd; /* Color celeste al pasar el mouse */
}

/* ================================
   Secciones de contenido
   ================================ */
.content {
  padding: 2em;
  max-width: 800px;
  margin: auto;
  background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente para legibilidad */
  border-radius: 8px;
}

/* Títulos de secciones (Consultoría informática, Contacto) */
h2 {
  font-size: 1.2em;   /* Más pequeño que el título principal */
  font-weight: 600;
  margin-bottom: 0.5em;
  text-transform: uppercase; /* Estilo corporativo */
}

/* Listas de servicios */
ul {
  list-style: disc;
  padding-left: 1.5em;
  font-size: 1em; /* Texto base */
}

/* ================================
   Sección de contacto
   ================================ */
#contacto a {
  color: #fff;          /* Enlaces en blanco */
  text-decoration: none;
  font-weight: 600;
}

#contacto a:hover {
  color: #82ccdd;       /* Hover en celeste */
  text-decoration: underline;
}

/* ================================
   Pie de página
   ================================ */
footer {
  background: rgba(10, 61, 98, 0.8);
  color: #fff;
  text-align: center;
  padding: 1em;
  margin-top: 2em;
  font-size: 0.9em; /* Más discreto */
}