/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #e0e0e0;
  background-color: #121212;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Encabezado / Navbar */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(31, 31, 31, 0.95);
  padding: 1rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.logo-container {
  display: flex;
  height: 40px;
  width: auto;
}

.logo {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.site-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 2rem;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar .nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar .nav-links a:hover {
  color: #ffd700;
  transform: translateY(-2px);
}

.navbar .nav-links i {
  font-size: 1.1rem;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.hamburger-menu:hover {
  color: #ffd700;
}

/* Main Content */
main {
  margin-top: 80px;
}

/* Sección Hero */
.hero {
  background: linear-gradient(135deg, #0d47a1, #121212);
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 2rem;
  position: relative;
  background-size: cover;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  max-width: 800px;
  background-color: transparent;
  padding: 3rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.btn-cta {
  background-color: #ffd700;
  color: #000000;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cta:hover {
  background-color: #ffcc00;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Secciones generales */
.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

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

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #ffffff;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: #ffd700;
  margin: 1rem auto;
}

/* About Section */
.about {
  background-color: #1f1f1f;
}

.about-content {
  display: grid;
  gap: 4rem;
}

.about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  background: #272727;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 2.5rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* Misión y Visión */
.mission-vision {
  background-color: #272727;
}

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

.mission,
.vision {
  background-color: #1f1f1f;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mission:hover,
.vision:hover {
  transform: translateY(-5px);
}

.mission i,
.vision i {
  font-size: 3rem;
  color: #ffd700;
  margin-bottom: 1.5rem;
}

.mission h3,
.vision h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

/* Contacto */
.contact {
  background-color: #1a1a1a;
}

.contact-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-item {
  text-align: center;
  padding: 2rem;
  background: #272727;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-item i {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

.contact-item p {
  margin: 0.5rem 0;
}

/* Footer */
.footer {
  background-color: #1f1f1f;
  padding: 3rem 5%;
  border-top: 1px solid #333;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.social-links {
  margin-bottom: 1.5rem;
}

.social-links a {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0 1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #ffd700;
  transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .site-title {
    font-size: 1rem;
    margin: 0 1rem;
  }

  .navbar .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: row;
    padding: 1rem 5%;
    height: auto;
  }

  .logo-container {
    height: 30px;
    margin-bottom: 0;
  }

  .navbar {
    margin-left: auto;
  }

  .site-title {
    text-align: center;
    margin-bottom: 1rem;
  }

  .hamburger-menu {
    display: block;
  }

  .navbar .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(31, 31, 31, 0.95);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

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

  .navbar .nav-links li {
    width: 100%;
  }

  .navbar .nav-links a {
    padding: 1rem 5%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .navbar .nav-links a:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: none;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section h2 {
    font-size: 2rem;
  }

  .feature,
  .mission,
  .vision,
  .contact-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 2rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .btn-cta {
    padding: 0.8rem 1.5rem;
  }
}