/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* Header fijo */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
}

.header-container {
  max-width: 1500px;
  padding: 1rem 1.5rem;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container {
  padding: 0.35rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;          /* CLAVE: controlamos por altura */
  width: auto;           /* mantiene proporción */
  max-width: 420px;      /* evita que se desborde */
  object-fit: contain;
}

.logo {
  transform: translateY(1px);
}

.logo img {
  transition: opacity 0.2s ease;
}

.logo img:hover {
  opacity: 0.85;
}


.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-list li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-list li a:hover {
  color: #003366;
}

/* Botón hamburguesa */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .hamburger {
    display: block;
  }

  .nav.active {
    display: block;
  }
}

/* === HERO SECTION === */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 500px;
  height: 500px;
  background-image: url("/static/images/globo.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.05;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: #003366;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-content p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
}

.hero-btn {
  background-color: #003366;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #001f4d;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-bg {
    width: 300px;
    height: 300px;
    right: -10%;
  }
}

/* Productos */
.productos {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.productos h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #003366;
}

.producto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.producto-card {
  background: #f7f7f7;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.producto-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.producto-card h3 {
  color: #003366;
  margin-bottom: 0.5rem;
}

.producto-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.catalogo-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #003366;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.catalogo-btn:hover {
  background-color: #001f4d;
}

/* Sobre Nosotros */
.nosotros {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.nosotros-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.nosotros-img {
  flex: 1 1 300px;
}

.nosotros-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nosotros-texto {
  flex: 1 1 400px;
}

.nosotros-texto h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 1rem;
}

.nosotros-texto p {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

/* Contacto */
.contacto {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.contacto h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #003366;
}

/* Contenedor principal en dos columnas */
.contacto-contenedor {
  max-width: 1000px;
  margin: auto;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Formulario */
.formulario-contacto {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.formulario-contacto input,
.formulario-contacto textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.formulario-contacto button {
  background-color: #003366;
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #001f4d;
}

/* Información de contacto */
.info-contacto {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  color: #333;
  font-size: 1rem;
  padding-left: 2rem;
  border-left: 1px solid #eee;
}


.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon {
  font-size: 1.5rem;
  color: #003366;
}

.info-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.info-label {
  font-weight: bold;
  color: #003366;
  margin-bottom: 0.2rem;
  text-align: left;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.2s ease;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.footer {
  background-color: #003366;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.footer-social a {
  color: white;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-social img {
  width: 40px;
  height: 40px;
  margin: 0 0.5rem;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.footer-social img:hover {
  transform: scale(1.1);
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #0a0a0a;
    color: #f0f0f0;
  }
  .footer {
    background-color: #111;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 58px;
    max-width: 300px;
  }
}

.logo {
  display: flex;
  align-items: center;
}

