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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Colores de la Fundación */
:root {
  --rosa-mexicano: #FF1493;
  --amarillo: #FFA500;
  --gris-claro: #f5f5f5;
  --gris-oscuro: #333;
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 15px;
}

.logo img {
  height: 60px;
  width: 60px;
}

.logo-text h1 {
  font-size: 20px;
  color: #333;
  margin: 0;
}

.logo-text p {
  font-size: 16px;
  color: var(--rosa-mexicano);
  font-weight: 600;
  margin: 0;
}

/* Navegación */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--rosa-mexicano);
}

.btn-donar {
  background: var(--rosa-mexicano);
  color: #fff;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-donar:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

/* Menú Móvil */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

/* Slider Principal */
.hero-slider {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slide-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  color: #fff;
  max-width: 700px;
  z-index: 10;
}

.slide-content h2 {
  font-size: 60px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.slide-content .highlight {
  color: var(--rosa-mexicano);
}

.slide-content p {
  font-size: 22px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.slide-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: var(--rosa-mexicano);
  color: #fff;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 20, 147, 0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  border: 2px solid #fff;
  transition: all 0.3s;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: #fff;
  color: #333;
}

/* Controles del Slider */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.5);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* Secciones */
section {
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 15px;
  color: #333;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Estadísticas */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  color: var(--rosa-mexicano);
  margin-bottom: 10px;
}

.stat-item p {
  color: #666;
  font-size: 16px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: #FFF0F8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--rosa-mexicano);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

/* Formularios */
form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--rosa-mexicano);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  background: var(--rosa-mexicano);
  color: #fff;
  padding: 15px 40px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 20, 147, 0.3);
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 60px 20px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--rosa-mexicano);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--rosa-mexicano);
  color: #fff;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  color: #888;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-slider {
    height: 500px;
  }

  .slide-content {
    left: 20px;
    right: 20px;
  }

  .slide-content h2 {
    font-size: 36px;
  }

  .slide-content p {
    font-size: 16px;
  }

  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Utilidades */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 40px;
}

.mb-4 {
  margin-bottom: 40px;
}

.bg-gray {
  background: var(--gris-claro);
}

.bg-white {
  background: #fff;
}