/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* TIPOGRAFÍA GENERAL */
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* CONTENEDOR PRINCIPAL */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background: linear-gradient(90deg, #007BFF, #4682B4);
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo img {
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  float: right;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.8;
}

/* HERO */
.hero {
  background: url('bg-hero.jpg') no-repeat center center/cover;
  color: white;
  padding: 120px 0;
  position: relative;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0, 123, 255, 0.8), rgba(0, 0, 0, 0.6));
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.btn {
  background: #fff;
  color: #007BFF;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: #007BFF;
  color: #fff;
}

/* SECCIONES */
.seccion {
  padding: 60px 0;
}

.seccion.light {
  background: #fefefe;
}

.seccion h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #222;
}

/* BIOGRAFÍA CON FOTO AL COSTADO */
.bio-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.bio-image {
  width: 100%;
  max-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.bio-image img {
  width: 100%;
  border-radius: 8px;
}

.bio-text {
  flex: 1;
}

/* HOMENAJES Y LISTADOS */
.listado-homenajes li,
.listado-paises li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #444;
}

.listado-paises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  padding: 0;
}

.listado-paises li {
  background: #fff;
  border-radius: 6px;
  padding: 10px 15px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* GALERÍA DE IMÁGENES */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* FOOTER */
footer {
  background: #000;
  color: #eee;
  text-align: center;
  padding: 20px 0;
}

footer a {
  color: #fff;
  margin-left: 10px;
  text-decoration: underline;
}

/* WHATSAPP FLOTANTE */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: #25D366;
  border-radius: 50%;
  padding: 10px;
  transition: transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 50px;
  height: 50px;
}

/* ESTILOS PARA LA SECCIÓN "Más sobre Jorge Donn" */
#mas-sobre {
  padding: 4rem 0;
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.recurso {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.recurso:hover {
  transform: translateY(-5px);
}

.recurso h4 {
  color: #d63384;
  margin-bottom: 1rem;
}

.btn-recurso {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-recurso:hover {
  background-color: #0056b3;
}

/* EVENTOS MENSUALES */
.evento {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.evento:hover {
  transform: translateY(-5px);
}

.evento-fecha {
  font-weight: bold;
  color: #007BFF;
  font-size: 1rem;
  margin-bottom: 5px;
}

.evento-titulo {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 10px;
  display: block;
}

.evento-descripcion {
  font-size: 0.95rem;
  color: #555;
}
