/* =================== RESET =================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =================== VARIABLES =================== */
:root {
  --metal-dark: #0f172a;
  --metal-blue: #1b263b;
  --metal-accent: #0d6efd;
  --metal-light: #2a3f5f;
  --metal-bright: #1e40af;
  --highlight:  #ecf0f1;
  --light: #ecf0f1;
  --shadow: 0 6px 16px rgba(0,0,0,0.25);
  --transition: all 0.3s ease;
}

/* =================== BODY =================== */
body {
  background: var(--metal-dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =================== CONTAINER =================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =================== NAVBAR =================== */
.navbar {
  background: linear-gradient(90deg, var(--metal-dark), var(--metal-accent), var(--metal-dark));
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 20px;
}

/* Logo */
.nav-brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  gap: 12px;
}
.logo-img { height: 45px; }
.nav-brand span { font-weight: 700; font-size: 1.3rem; }

/* Links escritorio */
.nav-links {
  display: flex;
  gap: 25px;
}
.nav-link {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.8;
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--highlight);
  opacity: 1;
  font-weight: 700;
}

/* Botón menú hamburguesa */
#mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Menú móvil oculto */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--metal-blue);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
/* Visible al activar */
.mobile-menu.active {
  display: flex;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-link {
  color: var(--light);
  text-decoration: none;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.mobile-link:hover,
.mobile-link.active {
  background: rgba(255,255,255,0.05);
  color: var(--highlight);
}

/* =================== HERO =================== */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  text-align: center;
  background: linear-gradient(135deg, var(--metal-blue), var(--metal-light));
  padding: 40px 20px;
}
.hero-content h1 {
  font-size: 3rem;
  color: var(--highlight);
  margin-bottom: 15px;
}
.hero-content p { font-size: 1.2rem; }

/* =================== FEATURES =================== */
.features { padding: 60px 0; text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 40px; }
.feature-cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}
.feature-card {
  background: linear-gradient(135deg, var(--metal-blue), var(--metal-light));
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  min-width: 250px;
  max-width: 320px;
  transition: var(--transition);
}
.feature-card i { font-size: 2.5rem; color: var(--highlight); margin-bottom: 15px; }
.feature-card h3 { margin-bottom: 12px; color: var(--highlight); }

/* =================== FOOTER =================== */
footer {
  background: linear-gradient(90deg, var(--metal-dark), var(--metal-bright), var(--metal-dark));
  color: var(--light);
  text-align: center;
  padding: 30px 20px;
}

footer .socials {
  margin-bottom: 15px;
}

footer a {
  font-size: 1.8rem;
  margin: 0 15px;
  color: var(--light);
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
}

/* 🔥 Animación hover */
footer a:hover {
  color: var(--highlight);
  transform: scale(1.3) rotate(12deg);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  #mobile-menu-button { display: block; }
  .hero-content h1 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
}
