/* =======================================================
   Estilos Rediseñados para la Sección de Inicio
======================================================= */

/* Hero Section */
.home-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    background-image: url('../images/peakpx.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 10, 154, 0.85) 0%, rgba(20, 10, 154, 0.65) 100%);
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
  }
  
  .hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
  }
  
  .home-button {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .home-button.primary {
    background-color: white;
    color: rgb(20, 10, 154);
  }
  
  .home-button.primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .home-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
  }
  
  .home-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  /* Welcome Section */
  .home-welcome {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
  }
  
  .welcome-text {
    flex: 1;
  }
  
  .welcome-text h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  
  .welcome-text h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
  }
  
  .welcome-text h2 i {
    margin-right: 10px;
  }
  
  .welcome-text p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.1rem;
  }
  
  .welcome-image {
    flex: 1;
    max-width: 45%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
  }
  
  .welcome-image:hover img {
    transform: scale(1.05);
  }
  
  /* Stats Section */
  .home-stats {
    margin-bottom: 60px;
    animation: fadeIn 1s ease-out 1s forwards;
    opacity: 0;
  }
  
  .stats-title {
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
  }
  
  .stats-title i {
    margin-right: 10px;
  }
  
  .stats-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
  }
  
  /* Explore Section */
  .home-explore {
    animation: fadeIn 1s ease-out 1.2s forwards;
    opacity: 0;
  }
  
  .home-explore h2 {
    color: var(--primary);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .home-explore h2 i {
    margin-right: 10px;
  }
  
  .explore-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .explore-card {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border-top: 4px solid var(--primary);
  }
  
  .explore-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .explore-icon {
    background-color: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
  }
  
  .explore-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
  }
  
  .explore-card p {
    color: #666;
    font-size: 0.9rem;
  }
  
  /* Keyframes para animaciones */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* Media Queries */
  @media (max-width: 992px) {
    .hero-title {
      font-size: 3rem;
    }
    
    .hero-subtitle {
      font-size: 1.2rem;
    }
    
    .home-welcome {
      flex-direction: column;
    }
    
    .welcome-image {
      max-width: 100%;
      margin-top: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .hero-title {
      font-size: 2.5rem;
    }
    
    .hero-subtitle {
      font-size: 1rem;
    }
    
    .home-button {
      padding: 12px 24px;
      font-size: 0.9rem;
    }
    
    .home-hero {
      height: 50vh;
    }
    
    .hero-buttons {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  }