/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom right, #4a0404, #7a1e1e);
  color:#ffecd7 ;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  color: #ffecd7;
}

p {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: #1a0000;
  box-shadow: 0 0 10px #ffecd7;
}

.logo img {
  height: 60px;
  animation: pulse 3s infinite;
}

.logo-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 1px 1px 3px #ffecd7;
  letter-spacing: 1px;
}

.regresar-btn {
  background: transparent;
  color: #ffecd7;
  padding: 10px 20px;
  border: 2px solid #ffecd7;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.regresar-btn::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 204, 204, 0.2);
  transition: left 0.5s;
}

.regresar-btn:hover::after {
  left: 0;
}

.regresar-btn:hover {
  background: #ffecd7;
  color: #1a0000;
}

/* === HERO === */
.hero {
  position: relative;
  height: 90vh;
  background: url('imgg/basquetbol_img/bas.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: fadeIn 1.5s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  animation: slideInUp 1.2s ease;
  text-shadow: 2px 2px 5px #1a0000;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  animation: slideInUp 1.5s ease;
  color: #ffeaea;
}

.hero button {
  padding: 12px 30px;
  font-size: 16px;
  background: #ffecd7;
  color: #1a0000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.hero button:hover {
  background: white;
  color: #7a1e1e;
}

/* === RESTO DEL CÓDIGO (sin cambios) === */
/* Aquí continuarías con las secciones de beneficios, about, coach, galería, footer, etc., 
   usando la misma paleta y estilo, como lo has hecho antes. Puedo ayudarte a ajustarlo todo si quieres. */


/* === ICON BLOCKS === */
.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.05);
}

.benefit-box {
  background: #f5f5dc; /* beige */
  color: #7a1e1e;      /* rojo oscuro */
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 0 10px rgba(255, 85, 85, 0.3);
  text-align: center;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}
.benefit-box h3 {
  color: #7a1e1e;
}

.benefit-box:nth-child(1) { animation-delay: 0.3s; }
.benefit-box:nth-child(2) { animation-delay: 0.6s; }
.benefit-box:nth-child(3) { animation-delay: 0.9s; }

.benefit-box i {
  font-size: 40px;
  color: #7a1e1e;
  margin-bottom: 15px;
  animation: pulse 3s infinite;
}

/* === ABOUT SECTION === */
.about {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 80px 60px;
  animation: fadeIn 1.5s ease;
}

.about img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 85, 85, 0.4);
  transition: transform 0.4s ease;
}

.about img:hover {
  transform: scale(1.03);
}

.about-text {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
}

.about-text h2 {
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text button {
  padding: 10px 24px;
  font-size: 16px;
  background: #ffffff;
  color: #ff5555;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.about-text button:hover {
  background: #ff5555;
  color: white;
}

/* === COACH === */
.coach-section {
  padding: 80px 30px;
  text-align: center;
  background: #1a0000;
  animation: flipUp 1.2s ease;
}

.coach-box {
  display: inline-block;
  background: #ffffff;
  color: #1a0000;
  padding: 30px;
  border-radius: 20px;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(255, 85, 85, 0.3);
}

.coach-box img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 20px;
  animation: pulse 4s infinite;
}

.coach-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #b21f1f;
}

.coach-box p {
  font-weight: 500;
  font-size: 16px;
}

/* === GALERÍA === */
.galeria {
  padding: 80px 30px;
  text-align: center;
  animation: fadeIn 1.2s ease;
}

.galeria h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.galeria-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 10px rgba(255, 85, 85, 0.3);
}

.galeria-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 85, 85, 0.5);
}

/* === CTA FINAL === */
.final-cta {
  padding: 60px 20px;
  text-align: center;
  background: #7a1e1e;
}

.final-cta h2 {
  margin-bottom: 20px;
}

.final-cta button {
  padding: 12px 28px;
  font-size: 18px;
  background: white;
  color: #b21f1f;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
}

.final-cta button:hover {
  background: #b21f1f;
  color: white;
}

/* === FOOTER === */
footer {
  background: #1a0000;
  color: #ff5555;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0 -4px 10px rgba(255, 85, 85, 0.2);
}

footer p {
  margin: 10px 0;
}

footer img {
  width: 28px;
  height: 28px;
  margin: 0 8px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

footer img:hover {
  transform: scale(1.2);
}
.decor-line {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  animation: fadeIn 2s ease;
}

.decor-line svg {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawLine 4s linear infinite;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 500;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* === ANIMACIONES PERSONALIZADAS === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes flipUp {
  from { transform: rotateX(-90deg); opacity: 0; }
  to { transform: rotateX(0); opacity: 1; }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  .about {
    flex-direction: column;
    padding: 40px 20px;
  }
  .benefits {
    padding: 40px 20px;
  }
  .benefit-box {
    width: 90%;
  }
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
