:root {
  --bg: #0a0f0d;
  --green: #00ff9f;
  --blue: #00bfff;
  --gray: #d0d0d0;
  --font: 'Fira Code', monospace;
  --font-alt: 'Rubik', sans-serif;

}
html {
  scroll-behavior: smooth;
}


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

body {
  font-family: var(--font-alt);
  background: var(--bg);
  color: #e0e0e0;
  font-size: 1.05rem;
  line-height: 1.6;
  padding-bottom: 80px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  box-shadow: 0 0 20px rgba(0, 255, 159, 0.2);
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(5px);
}

h1, h2, h3 {
  font-family: var(--font-alt);
  color: var(--green);
}

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.main-nav {
  position: relative;
}



.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--blue);
  transition: color 0.3s;
  padding: 10px;
  line-height: 1;
}

.hamburger:focus {
  outline: 2px dashed var(--green);
  outline-offset: 4px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}


@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    right: 0;
    top: 60px;
    width: 200px;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 255, 159, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  

  .hamburger {
    display: block;
  }
  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.logo {
  color: var(--green);
  font-size: 1.5rem;
  text-shadow: 0 0 10px var(--green);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--blue);
  transition: 0.3s;
}

nav a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  text-align: center;
  padding: 100px 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0f0d, #050505);
}

.hero-text h2 {
  font-family: var(--font-alt);  
  font-size: 2.5rem;
  color: var(--green);
  text-shadow: 0 0 10px var(--green);
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(0, 255, 159, 0.02),
    rgba(0, 255, 159, 0.02) 1px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 1;
  animation: scan 8s linear infinite;
}

.btn-neon-glow {
  display: inline-block;
  background: linear-gradient(90deg, var(--blue), var(--green));
  color: #000;
  font-weight: 700;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 0 20px var(--green);
  transition: transform 0.3s ease;
}

.btn-neon-glow:hover {
  transform: scale(1.05);
}

.btn-neon-glow:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}



.destacados {
  padding: 50px 20px;
  text-align: center;
}


.contacto {
  text-align: center;
  padding: 50px 20px;
  background: #0d0d0d;
  padding-bottom: 100px;
}




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

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contacto .btn-neon {
  margin-top: 20px;
  margin-bottom: 40px; 
}

.galeria {
  padding: 50px 20px;
  text-align: center;
}

.grid-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.galeria-item {
  background: #111;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 159, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.galeria-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px var(--green);
}

.galeria-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.galeria-item img:hover {
  filter: brightness(1.2);
  cursor: pointer;
  transform: scale(1.03);
}

.glow-text {
  color: var(--green);
  font-size: 2.8rem;
  font-family: var(--font-alt);
  text-shadow: 0 0 10px var(--green), 0 0 20px var(--green);
  animation: pulseGlow 3s ease-in-out infinite;
}

.trabajos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  padding: 0 20px;
}

.card {
  background: #111;
  border: 1px solid rgba(0, 255, 159, 0.2);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 255, 159, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 1rem;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 255, 159, 0.2);
}

.card h4 {
  color: var(--blue);
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
  padding: 0 10px;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px var(--green);
}




.fade-in {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100%;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    text-shadow: 0 0 10px var(--green), 0 0 20px var(--green);
  }
  50% {
    text-shadow: 0 0 20px var(--blue), 0 0 30px var(--blue);
  }
}

@keyframes glowButton {
  0% {
    box-shadow: 0 0 10px var(--blue);
  }
  100% {
    box-shadow: 0 0 20px var(--green);
    border-color: var(--green);
    color: var(--green);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px var(--green));
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 20px var(--green));
  }
}

.logo-img {
  animation: logoPulse 4s infinite ease-in-out;
}


@media (max-width: 768px) {
  .nav-links li {
    padding: 10px 20px;
  }
}


.social-icon img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon img:hover {
  transform: scale(1.2);
  filter: brightness(1.4);
}



footer {
  text-align: center;
  padding: 30px 20px;
  background: #111;
  font-size: 0.9rem;
  color: var(--gray);
  border-top: 1px solid rgba(0, 255, 159, 0.2);
}

.info-contacto {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
}

.info-contacto a {
  color: var(--green);
  text-decoration: none;
}

.mapa {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,255,159,0.2);
}
