/* styles.css - Estilos globales para WDO.com.ar */

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  background-color: #16213e; /* Color de respaldo */
  position: relative;
  line-height: 1.6;
}

/* SVG de fondo aplicado como pseudo-elemento */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cdefs%3E%3ClinearGradient id='bgGradient' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%231a1a2e' /%3E%3Cstop offset='100%25' stop-color='%2316213e' /%3E%3C/linearGradient%3E%3Cpattern id='circuitPattern' width='200' height='200' patternUnits='userSpaceOnUse'%3E%3Cpath d='M10,10 L50,10 L50,50 L90,50 L90,90 L130,90 L130,130' stroke='%234361ee' stroke-width='1.5' fill='none' opacity='0.5' /%3E%3Cpath d='M30,30 L70,30 L70,70 L110,70 L110,110 L150,110 L150,150' stroke='%234cc9f0' stroke-width='1.5' fill='none' opacity='0.5' /%3E%3Ccircle cx='50' cy='50' r='4' fill='%234cc9f0' opacity='0.8' /%3E%3Ccircle cx='90' cy='90' r='4' fill='%234361ee' opacity='0.8' /%3E%3Ccircle cx='130' cy='130' r='4' fill='%234cc9f0' opacity='0.8' /%3E%3C/pattern%3E%3C/defs%3E%3Crect width='800' height='600' fill='url(%23bgGradient)' /%3E%3Crect width='800' height='600' fill='url(%23circuitPattern)' /%3E%3Ccircle cx='150' cy='150' r='80' fill='none' stroke='%23f72585' stroke-width='2' opacity='0.7' /%3E%3Ccircle cx='650' cy='450' r='100' fill='none' stroke='%237209b7' stroke-width='2' opacity='0.7' /%3E%3Cpolygon points='400,100 430,150 400,200 370,150' fill='%234cc9f0' opacity='0.2' /%3E%3Cpolygon points='500,300 530,350 500,400 470,350' fill='%234361ee' opacity='0.2' /%3E%3Cpolygon points='300,400 330,450 300,500 270,450' fill='%23f72585' opacity='0.2' /%3E%3Cline x1='200' y1='100' x2='600' y2='500' stroke='%237209b7' stroke-width='1' opacity='0.3' /%3E%3Cline x1='600' y1='100' x2='200' y2='500' stroke='%23f72585' stroke-width='1' opacity='0.3' /%3E%3Ccircle cx='200' cy='100' r='3' fill='%23f72585' /%3E%3Ccircle cx='600' cy='500' r='3' fill='%237209b7' /%3E%3Ccircle cx='600' cy='100' r='3' fill='%234cc9f0' /%3E%3Ccircle cx='200' cy='500' r='3' fill='%234361ee' /%3E%3Crect x='100' y='250' width='50' height='50' rx='10' fill='%234361ee' opacity='0.2' /%3E%3Crect x='650' y='150' width='70' height='70' rx='15' fill='%23f72585' opacity='0.2' /%3E%3Cg opacity='0.3'%3E%3Ccircle cx='100' cy='100' r='1' fill='white' /%3E%3Ccircle cx='120' cy='120' r='1' fill='white' /%3E%3Ccircle cx='140' cy='140' r='1' fill='white' /%3E%3Ccircle cx='700' cy='200' r='1' fill='white' /%3E%3Ccircle cx='720' cy='220' r='1' fill='white' /%3E%3Ccircle cx='740' cy='240' r='1' fill='white' /%3E%3Ccircle cx='300' cy='500' r='1' fill='white' /%3E%3Ccircle cx='320' cy='520' r='1' fill='white' /%3E%3Ccircle cx='340' cy='540' r='1' fill='white' /%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Navegación */
.navbar {
  background-color: rgba(26, 26, 46, 0.85);
  padding: 15px;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  margin: 0 20px;
  font-size: 18px;
  transition: color 0.3s;
  font-weight: 500;
}

.navbar a:hover {
  color: #4cc9f0;
}

.navbar a.active {
  border-bottom: 2px solid #f72585;
}

/* Contenedor principal */
.container {
  margin-top: 120px;
  text-align: center;
  padding: 20px;
  background-color: rgba(22, 33, 62, 0.7);
  border-radius: 15px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Logo */
.logo {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* Contacto */
.contact {
  margin-top: 30px;
  font-size: 18px;
}

.contact a {
  color: #4cc9f0;
  text-decoration: none;
  transition: color 0.3s;
}

.contact a:hover {
  color: #f72585;
}

/* Pie de página */
.footer {
  margin-top: 40px;
  font-size: 16px;
  padding: 20px 0;
  text-align: center;
  background-color: rgba(26, 26, 46, 0.85);
  width: 100%;
}

/* Elementos de página de inicio */
.hero-section {
  text-align: center;
  margin-bottom: 60px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #f72585;
  text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #f72585, #4361ee);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1rem;
  margin: 20px 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  font-weight: 600;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Sección de características */
.features-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.feature-box {
  background-color: rgba(22, 33, 62, 0.8);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid rgba(67, 97, 238, 0.3);
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #4cc9f0;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #f72585;
}

/* Testimonios */
.testimonials-section {
  margin-top: 60px;
  text-align: center;
}

.testimonial-box {
  background-color: rgba(22, 33, 62, 0.7);
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: bold;
  color: #4cc9f0;
}

/* Títulos de sección */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin: 40px 0 20px;
  color: #f72585;
}

/* Estilos para página de productos */
.product-item {
  background-color: rgba(22, 33, 62, 0.8);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  border: 1px solid rgba(67, 97, 238, 0.3);
}

.product-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-details h3 {
  color: #4cc9f0;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.product-details ul {
  list-style-type: none;
  margin: 15px 0;
  padding-left: 0;
}

.product-details li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.product-details li:before {
  content: "•";
  color: #f72585;
  position: absolute;
  left: 0;
}

.product-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #f72585;
  margin-top: 15px;
}

.product-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #4361ee, transparent);
  margin: 40px 0;
}

/* Estilos para página Nosotros */
.team-section {
  margin: 40px 0;
}

.team-image {
  width: 100%;
  max-width: 600px;
  border-radius: 15px;
  margin: 20px auto;
  display: block;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.value-item {
  background-color: rgba(22, 33, 62, 0.8);
  border-radius: 10px;
  padding: 20px;
  border-left: 4px solid #f72585;
}

.value-item h3 {
  color: #4cc9f0;
  margin-bottom: 10px;
}

.awards-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.awards-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.awards-list li:before {
  content: "🏆";
  position: absolute;
  left: 0;
}

/* Estilos para página de Contacto */
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.contact-card {
  background-color: rgba(22, 33, 62, 0.8);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  color: #4cc9f0;
  margin-bottom: 10px;
}

.map-container {
  margin: 30px 0;
  border-radius: 15px;
  overflow: hidden;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(67, 97, 238, 0.5);
  background-color: rgba(22, 33, 62, 0.5);
  color: white;
  font-family: inherit;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

button[type="submit"] {
  background: linear-gradient(45deg, #f72585, #4361ee);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 10px;
}

button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Estilos para página Empresa */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.service-card {
  background-color: rgba(22, 33, 62, 0.8);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.service-icon {
  font-size: 2.5rem;
  color: #f72585;
  margin-bottom: 15px;
}

.service-title {
  color: #4cc9f0;
  margin-bottom: 15px;
}

.alliance-section {
  margin: 50px 0;
}

.alliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.alliance-item {
  background-color: rgba(22, 33, 62, 0.7);
  border-radius: 10px;
  padding: 20px;
  border-top: 4px solid #4cc9f0;
}

.csr-list {
  list-style-type: none;
  padding: 0;
}

.csr-item {
  background-color: rgba(22, 33, 62, 0.7);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
}

.csr-name {
  font-weight: bold;
  color: #f72585;
  margin-bottom: 10px;
}

/* Media queries para responsive */
@media (max-width: 992px) {
  .features-section,
  .services-grid,
  .alliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 10px 0;
  }

  .navbar a {
    margin: 8px 0;
  }

  .container {
    margin-top: 180px;
    padding: 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .features-section,
  .services-grid,
  .alliance-grid,
  .values-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    margin-top: 200px;
  }
  
  .cta-button {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
}