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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

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

/* Header */
.header {
  background: #1a1a1a;
  color: white;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

.logo img {
  height: 50px;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

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

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #00bfff;
}

/* Hero */
.hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: white;
  position: relative;
}

.hero-content {
  flex: 1;
  padding-right: 30px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btns {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: #00bfff;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #0077cc;
}

.btn-secondary {
  background: transparent;
  color: #00bfff;
  padding: 12px 30px;
  border: 2px solid #00bfff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #00bfff;
  color: white;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Products */
.products {
  padding: 80px 0;
  background: white;
}

.products h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.products p {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}

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

.product-card {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  padding: 1rem;
  text-align: center;
  font-size: 1.3rem;
  color: #1a1a1a;
}

.product-card p {
  padding: 0 1rem 1rem;
  color: #555;
  text-align: center;
}

/* Benefits */
.benefits {
  padding: 80px 0;
  background: #1a1a1a;
  color: white;
}

.benefits h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

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

.benefit-item {
  text-align: center;
  padding: 2rem;
  background: #222;
  border-radius: 10px;
  transition: transform 0.3s;
}

.benefit-item:hover {
  transform: scale(1.05);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.benefit-item p {
  color: #ccc;
}

/* CTA */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #00bfff, #000000);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: white;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #1a1a1a;
}

.contact-info {
  max-width: 500px;
  margin: 0 auto 40px;
  text-align: center;
  color: #555;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-text p {
  margin-bottom: 10px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .btns {
    flex-direction: column;
    align-items: center;
  }

  .product-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* Beneficios - Sección principal */
.benefits-full {
  padding: 80px 0;
  background: #f9f9f9;
}

.benefits-full .benefits-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.2rem;
  color: #555;
}

.benefits-full .benefits-intro h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 20px;
}

/* Cuadrícula de beneficios */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 60px;
}

.benefit-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: #00bfff;
  color: white;
  text-align: center;
}

.benefit-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.benefit-item p {
  color: #555;
  line-height: 1.7;
}

/* Menú Hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 10px;
}

/* Menú en móviles */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #00bfff;
}

/* Responsive: Ocultar menú en móviles y mostrar botón */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #1a1a1a;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .nav-menu li a {
    font-size: 1.4rem;
  }
}

/* Hero Especial para Productos */
.products-hero {
  background: linear-gradient(135deg, #000000, #1a1a1a), url('../images/auto-led.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 160px 0 100px;
}

.products-hero h1 {
  color: #00bfff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Sección de Productos */
.products-full {
  padding: 80px 0;
  background: #f4f4f4;
}

.products-full h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.products-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.2rem;
  color: #555;
}

/* Cuadrícula de Productos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 80px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #00bfff;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
}

.product-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.4rem;
  color: #1a1a1a;
}

.product-card p {
  padding: 0 1.5rem;
  color: #555;
  line-height: 1.7;
}

.product-info {
  padding: 0.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: #00bfff;
  font-weight: 500;
  border-top: 1px solid #eee;
  margin-top: auto;
}

/* CTA Catálogo */
.catalogo-cta {
  text-align: center;
  padding: 40px;
  background: #1a1a1a;
  color: white;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.catalogo-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.catalogo-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.catalogo-cta .btn-primary {
  background: #00bfff;
  color: white;
  padding: 14px 36px;
  font-size: 1.1rem;
}

/* Hero Especial para Contacto */
.contact-hero {
  background: linear-gradient(135deg, #000000, #1a1a1a), url('../images/auto-led.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 160px 0 100px;
}

.contact-hero h1 {
  color: #00bfff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.contact-hero .btn-primary i {
  margin-right: 8px;
}

/* Sección de Contacto */
.contact-full {
  padding: 80px 0;
  background: #f4f4f4;
}

.contact-full h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.contact-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.2rem;
  color: #555;
}

/* Contenedor de info y formulario */
.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: start;
}

/* Información de contacto */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: #00bfff;
  color: white;
  text-align: center;
  flex-shrink: 0;
}

.info-item h3 {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Formulario */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-form h3 {
  font-size: 1.6rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}

.contact-form select {
  appearance: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path d="M6 8l4-4H2z" fill="%2300bfff"/></svg>') no-repeat right 12px center;
  background-size: 12px;
  padding-right: 30px;
}

.contact-form button {
  width: 100%;
  margin-top: 0.5rem;
}

/* Estilos para enlaces internos */
a {
  color: #00bfff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0077cc;
  text-decoration: underline; /* Subrayado solo al pasar el mouse */
}