/* Reset y estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #3b0909;
}

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

h1, h2, h3, h4 {
  margin-bottom: 15px;
  color: #222;
}

p {
  margin-bottom: 10px;
}

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

ul {
  list-style: none;
}

/* Header */
header {
  background-color: #1a1a1a;
  color: rgb(13, 126, 126);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.logo {
  height: 60px;
  margin-right: 15px;
}

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

.logo-text p {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #110331;
}

.burger {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('plantilla-pagina-aterrizaje-plana-gimnasio-ejercicio_23-2149557500.avif') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 80px;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: #ff6b6b;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #ff5252;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: white;
}

.services h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

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

.service-card {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background-color: #f9f9f9;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 50px;
  color: #ff6b6b;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

/* Schedule Section */
.schedule {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.schedule h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

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

.schedule-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.schedule-card h3 {
  color: #ff6b6b;
  margin-bottom: 20px;
  font-size: 24px;
}

.schedule-card ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.schedule-card ul li::before {
  content: "•";
  color: #ff6b6b;
  position: absolute;
  left: 0;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background-color: white;
}

.pricing h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.price-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.price-card.highlight {
  border: 2px solid #ff6b6b;
  position: relative;
}

.price-card.highlight::after {
  content: "POPULAR";
  position: absolute;
  top: -10px;
  right: 20px;
  background-color: #ff6b6b;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.price-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.price {
  font-size: 28px;
  font-weight: bold;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.promo-box {
  background-color: rgba(255, 107, 107, 0.1);
  padding: 15px;
  border-left: 4px solid #ff6b6b;
  margin-top: 15px;
  border-radius: 8px;
}

.promo-box p {
  color: #ff6b6b;
  font-weight: bold;
  margin: 0;
}

.payment-info {
  margin-top: 40px;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 10px;
  text-align: center;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.contact h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

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

.contact-info {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  color: #ff6b6b;
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-info p {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 10px;
  color: #ff6b6b;
}

.contact-form {
  background-color: rgb(26, 82, 43);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: #ff6b6b;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background-color: #ff5252;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 50px;
  margin-right: 15px;
}

.footer-logo h3 {
  color: white;
  margin: 0;
}

.social-links {
  display: flex;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  margin-left: 10px;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: #ff6b6b;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
      position: fixed;
      top: 90px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 90px);
      background-color: #1a1a1a;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: left 0.3s;
  }

  .nav-links.active {
      left: 0;
  }

  .nav-links li {
      margin: 15px 0;
  }

  .burger {
      display: block;
  }

  .hero h2 {
      font-size: 36px;
  }

  .hero p {
      font-size: 18px;
  }
}

@media (max-width: 480px) {
  .logo-text h1 {
      font-size: 20px;
  }

  .hero h2 {
      font-size: 28px;
  }

  .services-grid, .pricing-grid {
      grid-template-columns: 1fr;
  }
  /* Añade esto al final del archivo CSS */

@media (max-width: 480px) {
  /* Header ajustado */
  header {
      padding: 10px 0;
  }
  
  .logo {
      height: 40px;
      margin-right: 10px;
  }
  
  .logo-text h1 {
      font-size: 18px;
  }
  
  .logo-text p {
      font-size: 12px;
  }
  
  /* Hero section optimizada */
  .hero {
      padding-top: 70px;
      height: auto;
      min-height: 80vh;
  }
  
  .hero h2 {
      font-size: 28px;
      margin-bottom: 15px;
  }
  
  .hero p {
      font-size: 16px;
      margin-bottom: 20px;
  }
  
  .cta-button {
      padding: 10px 20px;
      font-size: 16px;
  }
  
  /* Servicios en columna */
  .services-grid {
      grid-template-columns: 1fr;
      gap: 15px;
  }
  
  .service-card {
      padding: 20px;
  }
  
  .service-card i {
      font-size: 40px;
  }
  
  /* Horarios mejor organizados */
  .schedule-container {
      grid-template-columns: 1fr;
      gap: 15px;
  }
  
  .schedule-card {
      padding: 20px;
  }
  
  /* Precios en columna */
  .pricing-grid {
      grid-template-columns: 1fr;
      gap: 15px;
  }
  
  .price-card {
      padding: 20px;
  }
  
  /* Contacto en columna */
  .contact-container {
      grid-template-columns: 1fr;
      gap: 30px;
  }
  
  /* Formulario optimizado */
  .form-group input,
  .form-group textarea {
      padding: 10px;
  }
  
  /* Footer ajustado */
  .footer-content {
      flex-direction: column;
      text-align: center;
  }
  
  .footer-logo {
      justify-content: center;
      margin-bottom: 20px;
  }
  
  .social-links {
      justify-content: center;
      margin-top: 20px;
  }
  
  /* Mejoras específicas para móviles pequeños */
  @media (max-width: 360px) {
      .hero h2 {
          font-size: 24px;
      }
      
      .hero p {
          font-size: 14px;
      }
      
      .container {
          width: 95%;
          padding: 0 10px;
      }
  }
  
  /* Ajuste del menú hamburguesa */
  .burger {
      font-size: 20px;
  }
  
  .nav-links {
      top: 70px;
      height: calc(100vh - 70px);
  }
  
  /* Mejora en los márgenes generales */
  .services, .schedule, .pricing, .contact {
      padding: 50px 0;
  }
  
  h2 {
      font-size: 28px;
      margin-bottom: 30px;
  }
  
  /* Ajuste de tarjetas */
  .service-card, .schedule-card, .price-card {
      box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }
}
}
/* Agrega al final de tu styles.css */
.whatsapp-admin-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #25D366;
  color: white;
  padding: 10px 15px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-admin-btn i {
  font-size: 24px;
}

/* Solo visible para el administrador */
@media (max-width: 768px) {
  .admin-access {
      display: block !important;
  }
}