/* Variables */
:root {
  --primary-color: #27b7f8;
  --secondary-color: #ffffff;
  --dark-color: #575555;
}

/* Global */
body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: var(--dark-color);
  background: #f8f9fa;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
}

h1,
h2,
h3 {
  margin: 10;
}

/* Hero Section */
.hero {
  /*background: linear-gradient(135deg, var(--primary-color), #1d9ce6);*/
  color: var(--secondary-color);
  text-align: center;
  padding: 4rem 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
}

.hero-content span {
  color: var(--secondary-color);
}

.cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
}

.cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

/* Features Section */
.features {
  padding: 2rem 1rem;
  text-align: center;
}

.features-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.feature {
  background: var(--secondary-color);
  margin: 1rem;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--secondary-color);
  padding: 2rem 1rem;
  text-align: center;
}

/* Fondo de partículas */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #27b7f8, #1d9ce6);
}

/* Sección de planes */
.pricing {
  padding: 4rem 1rem;
  text-align: center;
  background: #f8f9fa;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #27b7f8;
}

.cta-button {
  display: inline-block;
  background: #27b7f8;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 1rem;
  transition: background-color 0.3s;
}

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


/* Barra de navegación */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100vw; /* Asegura que ocupe el ancho del viewport */
    padding: 1rem 2rem;
    background-color: rgba(34, 48, 77, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin: 0;
    box-sizing: border-box;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-shrink: 1;
    overflow-x: hidden;
  }
  
  .nav-links li {
    margin: 0;
    white-space: nowrap;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #1d9ce6;
  }
  
  /* Logo */
  .logo {
    flex-shrink: 0;
    width: 10%;
    max-width: 120px;
    height: auto;
  }
  
  /* Estilo para el botón de menú (toggle) */
  .menu-toggle {
    display: none; /* Se oculta por defecto */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 30px;
    height: 30px;
  }
  
  .menu-toggle div {
    width: 30px;
    height: 4px;
    background-color: white;
    transition: all 0.3s ease;
  }
  
  /* Estilo del toggle cuando está activo */
  .menu-toggle.active div:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 8px;
  }
  
  .menu-toggle.active div:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active div:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -8px;
  }
  
  /* Media Query para dispositivos pequeños */
  @media (max-width: 768px) {
    .nav-links {
      display: none; /* Ocultar menú por defecto en pantallas pequeñas */
      flex-direction: column;
      width: 100%;
      align-items: flex-start;
      gap: 1rem;
    }
  
    .navbar {
      padding: 1rem; /* Ajuste del padding */
    }
  
    .logo {
      width: 20%;
    }
  
    .menu-toggle {
      display: flex; /* Muestra el botón de menú en pantallas pequeñas */
    }
  
    .nav-links.active {
      display: flex; /* Muestra el menú cuando tiene la clase 'active' */
    }
  }
  