/* Base styles */
:root {
  --primary: #00ff00;
  --primary-dark: #00cc00;
  --background: #000000;
  --text: #ffffff;
  --text-secondary: #888888;
  --terminal-bg: rgba(0, 20, 0, 0.95);
  --glow: 0 0 10px rgba(0, 255, 0, 0.3);
}

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

body {
  font-family: "Courier New", monospace;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Noise effect */
.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+c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hwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==");
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
}

/* Scanlines effect */
.lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 50%);
  background-size: 100% 4px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.1;
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--primary);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  position: relative;
}

.logo-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Main content styles */
main {
  padding-top: 120px; /* Ajusta este valor según la altura de tu header */
}

/* Page header styles */
.page-header {
  padding: calc(80px + 4rem) 0 4rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 255, 0, 0.1), transparent);
}

/* Hero section */
.hero {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.cyber-glitch {
  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  color: var(--text);
  text-shadow: 2px 2px var(--primary);
  animation: glitch 1s infinite;
}

@keyframes glitch {
  0% {
    text-shadow: 2px 2px var(--primary);
  }
  25% {
    text-shadow: -2px -2px var(--primary);
  }
  50% {
    text-shadow: 2px -2px var(--primary);
  }
  75% {
    text-shadow: -2px 2px var(--primary);
  }
  100% {
    text-shadow: 2px 2px var(--primary);
  }
}

/* Terminal styles */
.terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--primary);
  border-radius: 5px;
  width: 100%;
  max-width: 600px;
  margin: 2rem 0;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.terminal-header {
  background: rgba(0, 20, 0, 0.8);
  padding: 0.5rem;
  border-bottom: 1px solid var(--primary);
  display: flex;
  align-items: center;
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
  margin-right: 1rem;
}

.terminal-buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}

.terminal-buttons span:nth-child(2) {
  background: #ffbd2e;
}

.terminal-buttons span:nth-child(3) {
  background: #27c93f;
}

.terminal-title {
  color: var(--text);
  font-size: 0.9rem;
}

.terminal-content {
  padding: 1rem;
  font-family: "Courier New", monospace;
}

.terminal-content .line {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.terminal-content .success {
  color: var(--primary);
}

.typing::after {
  content: "_";
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--background);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}

.btn-outline:hover {
  background-color: var(--text);
  color: var(--background);
}

/* Services section */
.services {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--background), #020202);
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--primary);
  text-shadow: var(--glow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.service-card {
  background: rgba(0, 20, 0, 0.3);
  border: 1px solid var(--primary);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.service-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.card-glitch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .card-glitch {
  opacity: 1;
}

/* About section */
.about {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #020202, var(--background));
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image {
  flex: 1;
}

.team-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

/* Contact section */
.contact {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--background), #020202);
}

.contact .contact-info {
  background: rgba(0, 20, 0, 0.3);
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.contact .contact-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 2rem;
}

.contact .contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.contact .contact-item i {
  margin-right: 1rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.contact .contact-item a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact .contact-item a:hover {
  color: var(--primary);
}

.contact .social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.contact .social-links a {
  color: var(--text);
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.contact .social-links a:hover {
  color: var(--primary);
  transform: scale(1.2);
}

/* Footer styles */
.footer {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 3rem 0;
  border-top: 1px solid var(--primary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-social a {
  color: var(--text);
  font-size: 1.5rem;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .logo-img {
    height: 50px;
  }

  .cyber-glitch {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

/* Estilos para la confirmación del mensaje */
.confirmation-message {
  background-color: var(--primary);
  color: var(--background);
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  animation: fadeIn 0.5s ease-out;
}

/* Estilos para la página de administración de mensajes */
.messages-section {
  padding: 4rem 0;
}

.message {
  background: rgba(0, 20, 0, 0.3);
  border: 1px solid var(--primary);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 5px;
}

.message h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.message p {
  margin-bottom: 0.5rem;
}

/* Estilos para la página de administración */
.admin-header {
  background-color: var(--primary);
  color: var(--background);
  padding: 1rem 0;
}

.admin-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.admin-header nav a {
  color: var(--background);
  text-decoration: none;
  font-weight: bold;
}

.admin-footer {
  background-color: var(--background);
  color: var(--text);
  padding: 1rem 0;
  text-align: center;
}

