/* Agrega esta línea al principio del archivo para importar la fuente desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --primary-color: #D4AF37;  /* Mustard Yellow */
    --secondary-color: #1A1A1A; /* Rich Black */
    --text-color: #333333;
    --background-color: #1A1A1A;
    --gray-color: #808080;
    --white-color: #FFFFFF;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Actualiza la regla global para usar Roboto */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
  }

    /* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000000;
  color: white;
  text-align: left;
  padding: 10px 20px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: #D4AF37;
}

.header {
  position: relative;
  background: url('img/img/IMG_6692.JPG') no-repeat center center/cover;
  color: var(--white-color);
  padding: 160px 20px; /* Aumenta el padding */
  min-height: 90vh; /* Aumenta la altura mínima */
  text-align: center;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Fondo negro con 50% de opacidad */
  z-index: 1;
  pointer-events: none;
}

.header * {
  position: relative;
  z-index: 2; /* Asegura que el contenido esté por encima del pseudo-elemento */
}

.header .title {
  font-size: 4rem; /* Aumenta el tamaño del título */
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.header p {
  font-size: 1.5rem; /* Aumenta el tamaño del texto */
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.8;
}
  
  section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Sau Section */

 .split-screen {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.split-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

/*color box de nosotros*/
.split-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1A1A1A;
  z-index: 1;
}
/**/

.desmin {
  font-size: 1.0rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 600px;;
}

.title {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 50px;
  height: 4px;
}


.title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}


.split-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--white-color);
  opacity: 0.9;
}

.split-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px; /* Agrega bordes redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Opcional: sombra para destacar */
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

.split-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(44, 62, 80, 0.3),
    rgba(230, 126, 34, 0.3)
  );
  z-index: 1;
  opacity: 0;
  transition: var(--transition);
}


  /* Boxes Section */
  .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
  }
  
  .box {
    background: #333333;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: var(--white-color);
  }
  
  .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1));
    transform: translateX(-100%);
    transition: var(--transition);
  }
  
  .box:hover {
    transform: translateY(-10px);
  }
  
  .box:hover::before {
    transform: translateX(0);
  }
  
  .box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
  }
  
  /* Services Section */
  .servicios-single {
    background: #333333;
    color: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
  }
  
  .servicios-single ul {
    list-style: none;
  }
  
  .servicios-single li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    transition: var(--transition);
  }
  
  .servicios-single li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
  }
  
  .servicios-single li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
  }

/* excavaciones section */
.about-container {
  display: flex;
  justify-content: center;
  gap: 40px; /* Aumentado el espacio entre tarjetas */
  flex-wrap: wrap;
  padding: 20px;
  max-width: 1400px; /* Aumentado el ancho máximo */
  margin: 0 auto;
}


.about-container {
  display: flex;
  justify-content: center;
  gap: 60px; /* Aumentado el espacio entre tarjetas */
  flex-wrap: wrap;
  padding: 20px;
  max-width: 1400px; /* Aumentado el ancho máximo */
  margin: 0 auto;
}



.about-container {
  display: flex;
  justify-content: center;
  gap: 60px; /* Aumentado el espacio entre tarjetas */
  flex-wrap: wrap;
  padding: 20px;
  max-width: 1400px; /* Aumentado el ancho máximo */
  margin: 0 auto;
}

.about-card {
  background-color: #333333;
  padding: 30px; /* Aumentado el padding de las tarjetas */
  border-radius: 12px; /* Borde redondeado más grande */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  width: 486px; /* Disminuido el ancho de las tarjetas en un 10% */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-12px); /* Efecto hover más pronunciado */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada */
}

.about-card h3 {
  font-size: 2rem; /* Aumentado el tamaño del texto del encabezado */
  margin-bottom: 20px; /* Aumentado el margen inferior */
  color: #D4AF37;
}

.about-card img {
  
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px; /* Aumentado el margen inferior de la imagen */
}

.video {
  width: 100%;
  height: 350px; /* Aumentada la altura del video */
  border-radius: 8px;
}


  /* filo-agg*/
  .price {
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
  }



  /* Valores Section */
  .valores-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .valores {
    background: #333333;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
  }
    
  .valores:hover {
    transform: translateY(-5px);
  }
  
  .subs {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
  }

  /* Objetivos Section */

.objetivos .title {
  font-size: 2.5rem;
  color: #D4AF37; /* Mustard Yellow */
  margin-bottom: 30px;
  text-transform: uppercase;
}

.objetivos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.objetivos-box {
  background-color: #333333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objetivos-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.objetivo-icon {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  background-color: #D4AF37; /* Mustard Yellow */
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  margin: 0 auto 15px;
}

.objetivos-box p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
}
  
  /* Contact Section */
  .contact-section {
    color: var(--white-color);
    padding: 80px 0;
    position: relative;
  }
  
  .contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .contact-form {
    background: #333333;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .contact-form h2 {
    color: #D4AF37;
    margin-bottom: 30px;
    font-size: 2.2rem;
  }
  
  form {
    display: grid;
    gap: 25px;
  }
  
  /*subtitle*/
  label {
    color: #D4AF37;
    font-weight: bold;
    font-size: 1.1rem;
  }
  
  input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    margin-top: 8px;
    transition: var(--transition);
    font-size: 1rem;
  }
  
  input:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
  }
  
  .btn {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
  }
  
  .contact-info {
   
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
  }
  
  .info-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
  }
  
  .info-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
  }
  
  .info-box .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: block;
  }
  
  .info-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    
  }
  .gmail-link {
    color: var(--white-color);
}
  
  .p {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
/* Botones de redes sociales */
.social-btn {
  padding: 12px 25px;
  border-radius: 8px;
  color: var(--white-color);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem; /* Tamaño base del texto */
}

.social-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9; /* Agrega un efecto de opacidad al hover */
}

/* Colores específicos para cada red social */
.facebook {
  background: #1877f2;
}

.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.whatsapp {
  background: #25d366;
}

/* Ajuste global para todas las secciones */
section {
  padding: 50px 20px; /* Espaciado uniforme para todas las secciones */
  margin: 0 auto;
  max-width: 1200px;
}

/* Ajuste para encabezados dentro de las secciones */
section h2, section .title {
  margin-bottom: 20px; /* Espaciado uniforme debajo de los títulos */
}

/* Ajuste para párrafos dentro de las secciones */
section p {
  margin-bottom: 15px; /* Espaciado uniforme debajo de los párrafos */
}

/* Ajustes responsivos para los botones de redes sociales */

/* Pantallas medianas (entre 768px y 1200px) */
@media (max-width: 1200px) {
  .social-btn {
      padding: 10px 20px; /* Reduce el padding */
      font-size: 0.9rem; /* Reduce el tamaño del texto */
  }

  .social-links {
      gap: 20px; /* Reduce el espacio entre botones */
  }
}

/* Pantallas pequeñas (entre 480px y 768px) */
@media (max-width: 768px) {
  .social-btn {
      padding: 8px 15px; /* Reduce aún más el padding */
      font-size: 0.8rem; /* Reduce el tamaño del texto */
  }

  .social-links {
      flex-wrap: wrap; /* Permite que los botones se ajusten en varias filas */
      gap: 15px; /* Reduce el espacio entre botones */
  }
}

/* Pantallas extra pequeñas (menores a 480px) */
@media (max-width: 480px) {
  .social-btn {
      padding: 6px 10px; /* Reduce el padding para pantallas pequeñas */
      font-size: 0.7rem; /* Reduce el tamaño del texto */
  }

  .social-links {
      flex-direction: column; /* Coloca los botones en una sola columna */
      gap: 10px; /* Reduce el espacio entre botones */
  }
}
/* Footer Styles */
.footer {
  background-color: #1A1A1A;
  color: var(--white-color);
  padding: 20px 10px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  max-width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0;
}

.footer-terms p {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin: 5px 0;
}

.footer-terms a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-terms a:hover {
  color: var(--white-color);
}

/* Extras */
section {
  padding: 60px 20px; /* Reducido de 100px a 60px */
  max-width: 1200px;
  margin: 0 auto;
}

/* Ajuste específico para la sección de contacto */
.contact-section {
  padding: 60px 0; /* Reducido de 80px a 60px */
}

/* Ajuste específico para la sección de valores */
.valores-container {
  margin-top: 30px; /* Reducido de 40px a 30px */
}

/* Ajuste específico para la sección de objetivos */
.objetivos-container {
  gap: 15px; /* Reducido el espacio entre elementos */
}

/* Ajuste específico para la sección de servicios */
.servicios-single {
  padding: 30px; /* Reducido de 40px a 30px */
}

/* Ajuste específico para la sección de cajas */
.box-container {
  gap: 30px; /* Reducido de 40px a 30px */
  margin-top: 30px; /* Reducido de 40px a 30px */
}

/* Ajuste específico para la sección de nosotros */
.about-container {
  gap: 30px; /* Reducido de 60px a 30px */
  padding: 15px; /* Reducido de 20px a 15px */
}



/* Pantallas grandes (mayores a 1200px) */
@media (min-width: 1200px) {
  .header {
      padding: 150px 20px;
  }

  .title {
      font-size: 3.5rem;
  }

  .about-card {
      width: 400px; /* Ajuste para pantallas grandes */
  }

  .contact-form {
      padding: 60px;
  }
}

/* Pantallas medianas (entre 768px y 1200px) */
@media (max-width: 1200px) {
  .header {
      padding: 100px 20px;
  }

  .title {
      font-size: 3rem;
  }

  .about-container {
      gap: 30px; /* Reduce el espacio entre tarjetas */
  }

  .about-card {
      width: 85%; /* Ajuste para pantallas medianas */
  }

  .contact-form {
      padding: 40px;
  }

  .objetivos-container {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Pantallas pequeñas (entre 480px y 768px) */
@media (max-width: 768px) {
  .split-screen {
      flex-direction: column; /* Cambia a diseño vertical */
  }

  .split-content,
  .split-image {
      min-height: 50vh;
  }

  .split-content {
      padding: 2rem;
  }

  .title {
      font-size: 2.5rem;
  }

  .about-container {
      flex-direction: column;
      align-items: center;
      gap: 20px; /* Reduce el espacio entre tarjetas */
  }

  .about-card {
      width: 90%; /* Ajuste para pantallas pequeñas */
      margin-bottom: 20px;
  }

  .video {
      height: 250px; /* Ajusta el tamaño del video */
  }

  .contact-form {
      padding: 30px;
  }

  .objetivos-container {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* Pantallas extra pequeñas (menores a 480px) */
@media (max-width: 480px) {
  .header {
      padding: 80px 20px;
  }

  .title {
      font-size: 2rem;
  }

  .header p {
      font-size: 0.9rem;
  }

  .about-card {
      width: 100%; /* Ocupa todo el ancho */
  }

  .video {
      height: 200px; /* Ajusta el tamaño del video */
  }

  .contact-form {
      padding: 20px;
  }

  .objetivos-box {
      padding: 15px; /* Reduce el padding en objetivos */
  }

  .objetivo-icon {
      font-size: 1.5rem; /* Reduce el tamaño del ícono */
      width: 40px;
      height: 40px;
      line-height: 40px;
  }

  .footer {
      padding: 15px 10px;
  }

  .footer-logo img {
      max-width: 80px;
  }

  .footer-logo h3 {
      font-size: 1.2rem;
  }

  .footer-terms p {
      font-size: 0.8rem;
  }
}

/* Ajustes responsivos header */
@media (max-width: 768px) {
  .header {
      padding: 120px 20px; /* Reduce el padding en móviles */
      min-height: 70vh; /* Reduce la altura mínima en móviles */
  }

  .header .title {
      font-size: 2.5rem; /* Reduce el tamaño del título */
  }

  .header p {
      font-size: 1rem; /* Reduce el tamaño del texto */
  }
}