/* Paleta triádica basada en el azul #1E3A8A (hue: 222°) */
:root {
  /* Color principal (azul de cabecera) */
  --color-primary: #0080ff; /* Azul oscuro - 222° */

  /* Colores triádicos (120° de separación) */
  --color-secondary: #8a1e3a; /* Rojo violáceo - 342° */
  --color-accent: #60aaff; /* Verde esmeralda - 102° */

  /* Variantes del color principal */
  --color-primary-light: #3b82f6; /* Azul más claro */
  --color-primary-dark: #0f1d45; /* Azul más oscuro */

  /* Neutros */
  --color-light: #f8fafc; /* Fondo muy claro */
  --color-text: #1f2937; /* Texto oscuro */
  --color-white: #ffffff;
  --color-gray: #e5e7eb; /* Gris claro para bordes */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-light);
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  color: var(--color-primary);
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header - Manteniendo el azul especificado */
header {
  background-color: var(--color-primary);
  padding: 15px 0;
  color: #0080ff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0080ff;
}

.logo img {
  height: 50px;
  width: auto;
  color: #0080ff;
}

/* Menú */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: opacity 0.3s;
}

nav ul li a:hover {
  opacity: 0.8;
}

.btn-donate {
  background-color: var(--color-secondary);
  color: white;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700;
  transition: background-color 0.3s;
}

.btn-donate:hover {
  background-color: #6e1730;
}

/* Hero Section */
.hero {
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  max-height: fit-content;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-image {
  width: 25%;
  left: 37.5%;
  height: auto;
  align-content: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  background-color: var(--color-primary-dark);
}

.btn-hero {
  display: inline-block;
  background-color: var(--color-accent);
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s;
}

.btn-hero:hover {
  background-color: #0080ff;
}

/* Quote Section */
.quote {
  padding: 60px 0;
  background-color: var(--color-white);
  text-align: center;
  border-top: 1px solid var(--color-gray);
  border-bottom: 1px solid var(--color-gray);
}

.quote h2 {
  font-style: italic;
  font-weight: 900;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-secondary);
}

.quote-h2 {
  font-style: italic;
  font-weight: 900;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-secondary);
}

/* Programs Section */
.programs {
  padding: 80px 0;
  background-color: var(--color-white);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 15px auto 0;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.program-card {
  background-color: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-gray);
  transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-image {
  height: 250px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.program-card:hover .program-image img {
  transform: scale(1.05);
}

.program-info {
  padding: 25px;
}

.program-info h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--color-primary);
}

.btn-program {
  display: inline-block;
  color: var(--color-primary-light);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.btn-program:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Mission Section */
.mission {
  padding: 80px 0;
  background-color: var(--color-light);
  text-align: center;
}

.mission p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* Story Section */
.story {
  padding: 80px 0;
  background-color: var(--color-white);
}

.story-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.story-text {
  flex: 1;
  min-width: 300px;
}

.story-image {
  flex: 1;
  min-width: 300px;
}

.story-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-gray);
}

.story-image-2 img {
  width: 50%;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-gray);
}

/* Contact Section */
.contact {
  padding: 40px 0;
  background-color: var(--color-primary-dark);
  color: white;
  text-align: center;
}

.contact h2 {
  color: white;
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.contact-method:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.contact-method a {
  color: white;
  text-decoration: none;
}

.contact-icon {
  width: 24px;
  height: 24px;
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: white;
  padding: 20px 0 20px;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 10px;
}

.copyright {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 5px 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .contact-methods {
    flex-direction: column;
    gap: 15px;
  }

  .story-content {
    flex-direction: column;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }
}


.paypal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #003087 0%, #009cde 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 48, 135, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.paypal-button:hover {
  background: linear-gradient(135deg, #002b7a 0%, #0085c8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 48, 135, 0.4);
}

.paypal-icon {
  font-size: 24px;
}

.x-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #000000 0%, #000000 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 48, 135, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.x-button:hover {
  background-color: #1a1a1a; /* Negro más claro al hacer hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.x-icon {
  font-size: 24px;
}

.mail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #00ccff 0%, #008cff 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 48, 135, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}


.mail-button:hover {
  background-color: #1a1a1a; /* Negro más claro al hacer hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.mail-icon {
    font-size: 24px;
}

.action-menu {
  padding: 10px 0;
  background-color: var(--color-primary-dark);
  color: white;
  text-align: center;
}