/* === Reset básico === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #000; /* Fondo negro */
  color: #00ffe7; /* Cyan neón */
  line-height: 1.6;
  padding-top: 70px;
  min-height: 100vh;
}

/* === Header fijo y responsivo con menú hamburguesa CSS === */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background-color: #111;
  color: #00ffe7;
  padding: 15px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
  flex-wrap: wrap;
}

/* Título */
header h2 {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

/* Menú hamburguesa */
#menu-toggle {
  display: none;
}

label[for="menu-toggle"] {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  flex-direction: column;
  justify-content: space-between;
}

label[for="menu-toggle"] span {
  display: block;
  height: 4px;
  background: #00ffe7;
  border-radius: 2px;
}

/* Navegación */
nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #00ffe7;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: #00ffc8;
  transform: scale(1.1);
  outline: none;
}

/* === Hero Section === */
.hero {
  padding: 120px 5vw 80px;
  text-align: center;
  color: #00ffe7;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  text-shadow: 0 0 10px #00ffe7;
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: #a0f0f9;
  max-width: 600px;
  margin: 0 auto;
}

/* === Secciones generales === */
.section {
  padding: 60px 5vw;
  text-align: center;
  color: #00ffe7;
}

/* === Grilla responsiva === */
.services,
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* === Tarjetas modernas === */
.card {
  background: #111;
  padding: 25px;
  border-radius: 15px;
  border-left: 5px solid #00ffe7;
  box-shadow: 0 0 15px #00ffe7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #a0f0f9;
}

.card:hover,
.card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 0 30px #00ffc8;
  outline: none;
}

/* === Footer === */
footer {
  background-color: #111;
  color: #666;
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
  border-top: 2px solid #00ffe7;
  font-size: 0.9rem;
}

footer a {
  color: #00ffe7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
  color: #00ffc8;
  outline: none;
}

/* === Responsive - menú hamburguesa === */
@media (max-width: 768px) {
  label[for="menu-toggle"] {
    display: flex;
  }

  nav {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 10px;
  }

  #menu-toggle:checked + nav {
    max-height: 300px;
  }

  nav a {
    padding: 10px 0;
  }
}

/* === Ajustes para pantallas pequeñas === */
@media (max-width: 480px) {
  .hero {
    padding: 100px 5vw 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .card {
    padding: 20px;
  }
}


.logo {
  height: 100px; /* ajusta según tu diseño */
  margin-right: -790px;
  object-fit: contain;
}
