/* style.css - Estilos comunes para toda la web */

/* ==============================
   Body y fuente general
   ============================== */
body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #f4f4f9;
  color: #333333;
  text-align: justify;
  padding-top: 0; /* El header es fijo, main tiene padding propio */
}

/* ==============================
   Contenedor principal
   ============================== */
main {
  max-width: 1024px;
  margin: 0 auto;
  padding: 11rem 2rem 3rem; /* espacio suficiente para header fijo */
  text-align: justify;
}

/* ==============================
   Enlaces
   ============================== */
a {
  color: #0056A6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==============================
   Títulos
   ============================== */
h1 {
  color: #0056A6;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

h2 {
  color: #555555;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

h3 {
  color: #666666;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

/* ==============================
   Párrafos
   ============================== */
p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ==============================
   Imágenes centradas
   ============================== */
.about-image {
  margin-top: 1.5rem;
  text-align: center;
}

.about-image img {
  max-width: 60%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ==============================
   Sección de descargas
   ============================== */
.download-section {
  margin-top: 1.5rem;
  text-align: center;
}

.download-section p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.download-section a {
  color: #0056A6;
  text-decoration: none;
  font-weight: 600;
}

.download-section a:hover {
  text-decoration: underline;
}

.download-section .price {
  font-weight: 600;
  color: #0a2540;
  margin-left: 0.3rem;
}

/* ==============================
   Header: menú centrado
   ============================== */
header nav {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center; /* centra horizontalmente el menú */
}

header nav ul {
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

header nav li {
  position: relative;
}

header nav a {
  text-decoration: none;
  font-weight: bold;
  color: #0056b3;
  transition: color 0.3s;
}

header nav a:hover {
  color: #3399ff;
}

/* Dropdown del menú */
header .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  list-style: none;
  padding: 0.5rem 0;
  min-width: 220px;
  z-index: 1000;
}

header .dropdown-content li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #0056b3;
}

header .dropdown-content li a:hover {
  background: #f0f0f0;
}

header .dropdown:hover .dropdown-content {
  display: block;
}






