/*

Sprint Template

https://templatemo.com/tm-401-sprint

*/

/* ==========================================================================
    HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */
html,
button,
input,
select,
textarea {
  color: #222;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

img {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.main-menu ul, .site-slider ul, ul.social {
  padding: 0;
  margin: 0;
  list-style: none;
}

.item-small, .item-large, .product-item .item-thumb {
  overflow: hidden;
}
.item-small img, .item-large img, .product-item .item-thumb img {
  width: 100%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
    Forms
   ========================================================================== */
form input[type="text"],
form input[type="email"],
form input[type="number"],
form input[type="password"] {
  background: #fff;
  border: 1px solid #fff;
  padding: 7px 10px;
  width: 60%;
}
form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="number"]:focus,
form input[type="password"]:focus {
  outline: none !important;
}
form .button {
  background: #fff;
  border: 1px solid #fff;
  padding: 7px 20px;
  text-transform: uppercase;
}
form .button:focus, form .button:active {
  outline: none !important;
}
form .button.yellow {
  background: #e7af2a;
  color: #fff;
  border: 1px solid #c89316;
}

/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links for images, or javascript/internal links
   */
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
    /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
/* ==========================================================================
    Structure & Defaults
   ========================================================================== */
html, body {
  font-size: 100%;
  width: 100%;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  vertical-align: baseline;
}

body {
  font: 13px/21px "Open Sans", Arial, sans-serif;
  color: #838383;
  background-color: white;
}

a {
  color: #26b864;
  text-decoration: none !important;
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  -ms-transition: all 200ms ease-in;
  -o-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}
a:hover {
  color: #f5a200;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", Arial, sans-serif;
  color: #444444;
}

h1 {
  font-size: 2.6em;
}

h2 {
  font-size: 2.2em;
}

h3 {
  font-size: 1.8em;
}

h4 {
  font-size: 1.4em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: .8em;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.section-title {
  border-top: 1px solid #e1e6e9;
  margin-top: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
  text-transform: uppercase;
  font-weight: 600;
}
.section-title:before {
  content: '';
  width: 180px;
  height: 3px;
  background: url(../images/t-left.png) no-repeat center;
  margin-bottom: 10px;
  margin-right: 15px;
  display: inline-block;
}
.section-title:after {
  content: '';
  width: 180px;
  height: 3px;
  background: url(../images/t-right.png) no-repeat center;
  margin-bottom: 10px;
  margin-left: 15px;
  display: inline-block;
}

.bigger-text {
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  margin-bottom: 50px;
}

/* ==========================================================================
    Header Site Styling
   ========================================================================== */
.site-header {
  position: fixed;
  min-height: 102px;
  height: 102px;
  width: 100%;
  z-index: 9999;
  background-color: #161616;
}

#templatemo_logo {
  background-color: #26b864;
  background-image: url(../images/templatemo_logo.png);
  background-repeat: no-repeat;
  background-position: 30px center;
  height: 102px;
  display: block;
}
#templatemo_logo h1 {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: 32px; /* Puedes ajustar el tamaño */
  color: rgb(0, 0, 0);
  text-transform: uppercase;
  letter-spacing: 5px; /* Opcional, para más impacto */
  font-weight: 600;
  line-height: 102px;
  display: block;
}
#templatemo_logo h1 a {
  margin-left: 140px;
  color: rgb(0, 0, 0);
  display: block;
}

.main-menu {
  text-align: right;
  position: relative;
}
.main-menu ul {
  position: absolute;
  background-color: #161616;
  width: 100%;
}
.main-menu ul li {
  display: inline-block;
  width: 150px;
  text-align: center;
  line-height: 102px;
}
.main-menu ul li a {
  color: white;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  outline: 0;
  border: 0;
  display: block;
}
.main-menu ul li a.current {
  background: url(../images/active-state.png) no-repeat;
  background-position: center 65px;
}

.toggle-menu {
  display: none;
  margin: 40px 35px 0 0;
  font-size: 24px;
  color: white;
  text-align: right;
}

.responsive .main-menu {
  display: none;
}
.responsive .main-menu ul li {
  width: 100%;
}
.responsive .main-menu ul li a {
  line-height: 55px;
  padding: 10px 20px;
}
.responsive .main-menu ul li a.current {
  background-image: none;
  color: #26b864;
  border-bottom: 0;
}

/* ==========================================================================
    Slider Styling
   ========================================================================== */
   .site-slider {
    padding-top: 102px;
  }
  
  .site-slider ul li {
    float: left;
    margin: 0;
  }
  
  .bx-wrapper img {
    opacity: 0.8;
    filter: alpha(opacity=80);
  }
  
  .bx-wrapper {
    background-color: #161616;
  }
  
  .bx-thumbnail-wrapper {
    background-color: #161616;
    text-align: center;
    margin-top: -1px;
    position: relative;
  }
  
  .caption-wrapper {
    position: relative;
  }
  
  .slider-caption {
    position: absolute;
    z-index: 988;
    bottom: 140px;
    background-color: white;
    display: inline-block;
    right: 0;
  }
  
  .slider-caption h2 {
    font-size: 30px;
    margin: 20px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
  }
  
  #bx-pager a {
    margin: 20px 10px 0 20px;
    padding: 0 0 40px 0;
    display: inline-block;
    opacity: 0.4;
    filter: alpha(opacity=40);
    outline: 0;
    border: 0;
  }
  
  #bx-pager a img {
    outline: 0;
    border: 0;
  }
  
  #bx-pager a.active {
    opacity: 1;
    filter: alpha(opacity=100);
    background: url(../images/active-state.png) no-repeat;
    background-position: center 85px;
  }
  
  .bx-controls {
    position: relative;
  }
  
  .bx-controls-direction {
    position: absolute;
    text-align: right;
    bottom: 80px;
    right: -2px;
    z-index: 998;
  }
  
  /* Ajustes para las flechas de navegación */
  .bx-controls-direction a {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.9);
    display: block;
    float: left;
    margin-right: 2px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    color: white;
  }
  
  /* Ocultar flechas en dispositivos móviles */
  @media (max-width: 768px) {
    .bx-prev, .bx-next {
      display: none !important; /* Asegura que las flechas no se muestren en pantallas pequeñas */
    }
  }
  

/* ==========================================================================
    Services Styling
   ========================================================================== */
#services {
  padding-top: 160px;
  margin-top: -60px;
}

.service-item {
  padding-bottom: 40px;
  text-align: center;
  -webkit-backface-visibility: hidden;
  /* Chrome, Safari, Opera */
  backface-visibility: hidden;
}
.service-item h3 {
  font-size: 18px;
  font-weight: 600;
}
.service-item .service-icon {
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  width: 100px;
  height: 113px;
  display: block;
}
.service-item .service-icon.first {
  background-image: url(../images/service-first.png);
}
.service-item .service-icon.second {
  background-image: url(../images/service-second.png);
}
.service-item .service-icon.third {
  background-image: url(../images/service-third.png);
}
.service-item .service-icon.fourth {
  background-image: url(../images/service-fourth.png);
}

/* ==========================================================================
    Promotion Styling
   ========================================================================== */


   .services-container {
       display: flex;
       flex-wrap: wrap;
       justify-content: space-around;
   }

   .service-box {
       width: 300px;
       border: 1px solid #ddd;
       border-radius: 8px;
       padding: 20px;
       margin-bottom: 20px;
       box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
       transition: transform 0.3s ease;
       font-size: 16px;
   }

   .service-box:hover {
       transform: translateY(-5px);
   }

   .service-box h3 {
       color: #333;
       margin-bottom: 10px;
       font-size: 1.3em; /* Títulos un poco más grandes */
       text-align: center; /* Centrar títulos */
       font-weight: bold; /* Negrita */
   }

   .service-box p {
       color: #666;
       line-height: 1.6;
   }

   .service-box ul {
       list-style-type: none;
       padding-left: 0;
   }

   .service-box li {
       margin-bottom: 5px;
   }

   .service-box .price {
       font-weight: bold;
       color: #007bff;
       margin-top: 15px;
   }

   .service-box .cta {
       background-color: #f0f8ff;
       padding: 10px;
       border-radius: 5px;
       margin-top: 10px;
       text-align: center;
       font-weight: bold;
   }

   /* Media query para pantallas más pequeñas (móviles) */
   @media (max-width: 768px) {
       .service-box {
           width: 90%;
           margin: 10px auto;
       }
   }
   



/* ==========================================================================
    Products Styling
   ========================================================================== */

/* Contenedor del slider */
.slider-container {
  width: 100%;
  position: relative;
  background-color: #f0f0f0; /* Fondo neutro */
  overflow: hidden;
  aspect-ratio: 9 / 16; /* Proporción fija de 9:16 */
  display: flex;
  flex-direction: column; /* Pie de foto debajo */
  justify-content: center;
  align-items: center;
}

/* Imágenes dentro del slider */
img-comparison-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ajustar las imágenes dentro del espacio sin recortar */
  object-position: center; /* Siempre centradas */
  background-color: #f0f0f0; /* Fondo para bordes vacíos si quedan */
}

/* Pie de foto correctamente alineado */
.caption {
  text-align: center;
  margin-top: 10px; /* Espacio debajo del slider */
  font-size: 1em;
  color: #555;
}

/* Etiquetas Before/After */
.labels-container {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
}

.before-label,
.after-label {
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 5px;
}

/* Galería */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Adaptabilidad en pantallas pequeñas */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: 1fr; /* Una columna en dispositivos pequeños */
  }
}

/* ==========================================================================
    Contact Styling
   ========================================================================== */


/* 🔹 General Section Styling */
#contact {
  background-color: #ffffff;
  padding: 30px 15px 0 15px;
}

.content-section h1.section-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
}

#contact-section {
  max-width: 700px;
  margin: 0 auto;
}

/* 🔹 Explanation Styling */
.contact-info {
  margin-bottom: 20px;
  text-align: center;
}

.contact-info p {
  margin-bottom: 25px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.contact-info h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 20px;
  color: #222;
  font-weight: 600;
  text-decoration: underline;
}

.contact-info ol {
  margin-top: 15px;
  margin-bottom: 20px;
  padding-left: 20px;
  font-size: 14px;
  color: #333;
  text-align: left;
}

.contact-info ol li {
  margin-bottom: 8px;
}

/* 🔹 Form Styling */
#contactForm {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  max-width: 500px;
  margin: 0 auto;
}

#contactForm:hover {
  transform: translateY(-2px);
}

#contactForm h2 {
  font-size: 20px;
  margin-bottom: 15px;
}

#contactForm p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

#contactForm input,
#contactForm textarea,
#contactForm button {
  margin-bottom: 15px;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

#contactForm textarea {
  resize: none;
}

#contactForm button {
  background-color: #4CAF50;
  color: white;
  border: none;
  font-size: 16px;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#contactForm button:hover {
  background-color: #45a049;
  transform: scale(1.02);
}

#contactForm label {
  font-size: 12px;
  color: #555;
  margin-bottom: 5px;
  display: block;
}

/* 🔹 Image Preview Styling */
.image-preview {
  max-width: 100px;
  margin-right: 10px;
  border-radius: 5px;
  margin-top: 10px;
}

/* 🔹 Dropzone Styling */
.drop-zone {
  border: 2px dashed #4CAF50;
  border-radius: 8px;
  background-color: #f9f9f9;
  text-align: center;
  padding: 30px;
  margin-bottom: 15px;
  color: #555;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.drop-zone:hover {
  background-color: #f0fff0;
  border-color: #45a049;
}

/* 🚀 Botón destacado para Google Forms */
.form-container {
  text-align: center;
  margin-top: 20px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.form-button {
  display: inline-block;
  padding: 15px 25px;
  background: #4CAF50;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.form-button:hover {
  background: #45a049;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}



/*------------------------------------------------------
	RESPONSIVE STYLES 
--------------------------------------------------------*/
.site-footer {
  margin-top: 120px;
  background-color: #26b864;
  color: white;
  padding: 25px 0;
}
.site-footer a {
  color: white;
}
.site-footer span {
  margin-top: 12px;
  display: block;
}
ul.social {
  text-align: right;
}
ul.social li {
  display: inline-block;
}
ul.social li a {
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  display: inline-block;
}


@media (max-width: 991px) {
  .main-menu, .bx-thumbnail-wrapper {
    display: none;
  }

  .toggle-menu {
    display: block;
  }

  .site-header .container {
    padding: 0;
  }

  .slider-caption {
    bottom: 80px;
  }

  .bx-controls-direction {
    bottom: 30px;
  }

  .section-title:after {
    display: none;
  }
  .section-title:before {
    display: none;
  }

  .main-menu {
    display: none;
    border-top: 1px solid #2f2f2f;
    text-align: left;
  }
  .main-menu ul li {
    padding: 0;
    margin: 0;
    display: block;
    border-bottom: 1px solid #2f2f2f;
  }
  .main-menu ul li:last-child {
    border-bottom: 0;
  }
  .main-menu ul li a {
    padding: 20px;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
    display: block;
  }
}
@media (max-width: 767px) {
  .section-title {
    font-size: 24px;
  }

  .contact-form {
    margin-top: 60px;
  }

  .item-large {
    margin: 40px 0;
  }

  .slider-caption {
    display: none;
  }

  #templatemo_logo h1 a {
    opacity: 0;
    filter: alpha(opacity=0);
  }
}

.bx-wrapper, .bx-viewport {
  height: auto; /* Ajusta automáticamente la altura */
  max-width: 100%; /* Evita que el slider se salga del contenedor */
  overflow: hidden; /* Esconde cualquier contenido fuera de los límites */
}

.bx-wrapper img {
  width: 100%;
  height: auto; /* Mantiene las proporciones originales */
  object-fit: cover; /* Asegura que las imágenes llenen el área */
}

