@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #0d0d0d;
  color: #f5f5f5;
  line-height: 1.6;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #111;
  position: sticky;
  top: 0;
  z-index: 10;
}

header h1 {
  font-size: 1.6em;
  color: #00ffff;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover {
  color: #00ffff;
}

/* BOTÓN MENÚ (MÓVIL) */
.menu-btn {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
  color: #00ffff;
}

/* HERO */
.hero {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(135deg, #00ffff20, #ffffff05);
}

.hero h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #ccc;
}

button {
  background-color: #00ffff;
  color: #0d0d0d;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

button:hover {
  transform: scale(1.05);
  background-color: #00cccc;
}

/* SECCIONES */
.content {
  padding: 80px 20px;
  text-align: center;
}

.content h2 {
  margin-bottom: 30px;
  font-size: 1.8em;
  color: #00ffff;
}

/* CARDS */
.cards-propias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card-propia {
  background-color: #111;
  border-radius: 15px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 0 15px #00ffff20;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-propia:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px #00ffff40;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background-color: #111;
  font-size: 0.9em;
  color: #888;
}

/* -------------------- */
/* ESTILOS RESPONSIVE   */
/* -------------------- */

/* Tablets y móviles */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #111;
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: none;
    padding: 20px 0;
  }

  nav.show {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding: 100px 20px;
  }

  .hero h2 {
    font-size: 1.6em;
  }

  .card {
    width: 90%;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.3em;
  }

  .hero h2 {
    font-size: 1.4em;
  }

  .hero p {
    font-size: 0.9em;
  }

  button {
    padding: 8px 16px;
  }

  .contacto {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #00ffff12, #ffffff04);
  }


  .btn-mail {
    background-color: #00ffff;
    color: #0d0d0d;
    border-radius: 25px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s;
  }

  .btn-mail:hover {
    background-color: #00cccc;
  }

  .btn-ig {
    background: linear-gradient(45deg, #ff007a, #ffbf00);
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s;
  }

  .btn-ig:hover {
    background: linear-gradient(45deg, #ff3399, #ffcc33);
  }
}