/* Estilos principales para Synergia Soluciones SAS */

:root {
  --primary-color: #0033a0; /* Azul principal basado en el logo */
  --secondary-color: #00a0e9; /* Azul secundario */
  --accent-color: #00cc33; /* Verde de acento basado en el punto verde del logo */
  --text-color: #333333;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --dark-gray: #444444;
  --footer-bg: #222222;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

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

/* Header y navegación */
header {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  height: 60px;
}

.language-selector {
  margin-left: 20px;
}

.language-selector a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  margin-left: 10px;
}

.language-selector a.active {
  font-weight: 700;
  border-bottom: 2px solid var(--accent-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #00b52e;
}

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

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Secciones */
section {
  padding: 80px 0;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.section-title {
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 15px auto 0;
}

/* Servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Correo empresarial */
.email-plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.plan-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.plan-card:hover {
  transform: scale(1.03);
}

.plan-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 20px 0;
}

.plan-features {
  list-style: none;
  margin-bottom: 25px;
}

.plan-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.plan-features li::before {
  content: '✓';
  color: var(--accent-color);
  position: absolute;
  left: 0;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.blog-meta {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  margin-top: 15px;
}

.read-more:hover {
  color: var(--accent-color);
}

/* Clientes */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
}

.client-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
  max-width: 100%;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Contacto */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

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

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  color: var(--white);
  text-align: center;
  line-height: 40px;
  transition: background-color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #444;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  nav {
    margin-top: 20px;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  .service-card, .blog-card, .plan-card {
    width: 100%;
  }
}
