/* styles.css - OPCIÓN 1: GRADIENTE PROFESIONAL COMPLETO */

:root {
  --primary-color: #839996;
  --primary-dark: #839996;
  --primary-light: #839996;
  --secondary-color: #2c3e50;
  --accent-color: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #839996;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  padding-top: 80px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Navbar - Solo logo centrado */
.custom-navbar {
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 0;
  border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
  display: flex;
  align-items: center;
  color: #333 !important;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0;
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: #333 !important;
}

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

.logo-image {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
  filter: none;
}

.logo-image:hover {
  filter: brightness(1.1) contrast(1.05);
}

/* Efecto scroll */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15) !important;
  padding: 0.6rem 0 !important;
}

.navbar-scrolled .logo-image {
  height: 40px;
}

/* HERO SECTION - OPCIÓN 1: GRADIENTE PROFESIONAL */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url("https://i.pinimg.com/736x/69/d6/05/69d6055d43e01d07886d41ec68a6ff22.jpg")
    center center no-repeat;
  background-size: cover;
  background-attachment: fixed; /* Efecto parallax */
}

/* Overlay profesional con gradiente */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.8) 0%,      /* Azul oscuro profesional */
    rgba(131, 153, 150, 0.7) 30%,   /* Verde de tu marca */
    rgba(0, 0, 0, 0.6) 70%,         /* Negro suave */
    rgba(44, 62, 80, 0.8) 100%      /* Azul oscuro */
  );
  z-index: 1;
}

/* Efecto de partículas decorativas */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px, 75px 75px;
  z-index: 1;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}

/* Contenedor del contenido */
.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

/* Título principal con Glass Morphism */
.hero-section h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  /* Glass morphism effect */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 20px 35px;
  border-radius: 20px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Párrafo descriptivo */
.hero-section .lead {
  font-size: 1.4rem;
  font-weight: 500;
  color: white;
  background: rgba(131, 153, 150, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px 35px;
  border-radius: 15px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  display: inline-block;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 700px;
  line-height: 1.6;
}

/* Animaciones suaves para el contenido */
.hero-overlay .container > .row > .col-lg-8 > * {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-overlay .container > .row > .col-lg-8 > *:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-overlay .container > .row > .col-lg-8 > *:nth-child(2) {
  animation-delay: 0.5s;
}

.hero-overlay .container > .row > .col-lg-8 > *:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botón con estilo premium */
.btn-custom {
  background: linear-gradient(135deg, #131e13, var(--primary-color));
  border: none;
  color: white;
  padding: 18px 40px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 
    0 8px 25px rgba(131, 153, 150, 0.4),
    0 2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.6s ease;
}

.btn-custom:hover::before {
  left: 100%;
}

.btn-custom:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 35px rgba(131, 153, 150, 0.5),
    0 4px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--primary-color), #a8baa8);
  color: white;
}

/* Scroll indicator opcional */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  text-align: center;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 1.5rem;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Media queries para responsive */
@media (min-width: 1200px) {
  .hero-section {
    background-size: cover;
    background-position: center;
  }
  
  .hero-section h1 {
    font-size: 3.2rem;
  }
  
  .hero-section .lead {
    font-size: 1.6rem;
  }
}

@media (max-width: 1199px) {
  .hero-section {
    background-size: cover;
    background-attachment: scroll; /* Quitar parallax en tablets */
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 2rem 1rem;
  }

  .hero-section h1 {
    font-size: 2.2rem !important;
    padding: 15px 22px;
    line-height: 1.2;
  }

  .hero-section .lead {
    font-size: 1.1rem !important;
    padding: 15px 20px !important;
    margin-bottom: 1.5rem;
  }

  .btn-custom {
    padding: 14px 30px !important;
    font-size: 0.9rem !important;
  }

  .logo-image {
    height: 40px;
  }

  .custom-navbar {
    padding: 0.6rem 0;
  }

  body {
    padding-top: 70px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 70vh;
    padding: 1.5rem 0.5rem;
  }

  .hero-section h1 {
    font-size: 1.8rem !important;
    padding: 12px 18px;
  }

  .hero-section .lead {
    font-size: 1rem !important;
    padding: 12px 18px !important;
  }

  .btn-custom {
    padding: 12px 25px !important;
    font-size: 0.85rem !important;
  }

  .logo-image {
    height: 35px;
  }

  .custom-navbar {
    padding: 0.5rem 0;
  }

  body {
    padding-top: 65px;
  }
}

/* RESTO DEL CSS ORIGINAL (sin cambios) */

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
  animation-delay: 0.4s;
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Process Cards */
.process-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  border: 1px solid rgba(131, 153, 150, 0.1);
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(131, 153, 150, 0.2);
}

.process-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.process-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Workshop Images */
.workshop-image {
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.workshop-image:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.image-placeholder {
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-color)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.image-placeholder.large {
  height: 400px;
}

.image-placeholder p {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Innovation Section */
.innovation-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.innovation-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(131, 153, 150, 0.15);
}

.innovation-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.innovation-content h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  position: relative;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,100 100,0 100,100" fill="white" opacity="0.05"/></svg>');
}

.stat-item {
  position: relative;
  z-index: 2;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: #6e817e;
  color: #eaeaea;
  font-size: 0.95rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-brand {
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer p {
  margin: 0;
  color: #d4d4d4;
}

.footer .social-links {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.footer .social-link {
  font-size: 1.1rem;
  color: #d4d4d4;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
}

.footer .social-link:hover {
  color: white;
  transform: scale(1.2);
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-light);
  color: white;
  transform: translateY(-3px);
}

/* Responsive Design adicional */
@media (max-width: 768px) {
  .logo-image {
    height: 55px;
    max-width: 130px;
  }

  .navbar-scrolled .logo-image {
    height: 45px;
    max-width: 100px;
  }

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

  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }

  .innovation-item {
    flex-direction: column;
    text-align: center;
  }

  .innovation-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .nav-link {
    margin: 0 5px;
    padding: 0.4rem 0.8rem !important;
  }
}

@media (max-width: 576px) {
  .logo-image {
    height: 50px;
    max-width: 110px;
  }

  .navbar-scrolled .logo-image {
    height: 40px;
    max-width: 90px;
  }

  .process-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* Scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}