@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section.header{
    width: 100%;
    height: 50vh;
    position: relative;
    background-color: black;
}

.header__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: opacity(.7);
}

.header__banner{
    position: absolute;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem;
    border-top: 3px solid white;
    border-bottom: 3px solid white;
    z-index: 1;
}

.header__banner h1{
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 3rem);
}

.header__banner h3{
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}


section.about-us{
    width: 100%;
    min-height: 220px;

    background-color: rgb(235, 255, 235);

    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 3rem;
    padding: 1rem 4rem;
    
    border-top: 2px solid rgba(0, 0, 0, 0.37);
    border-bottom: 2px solid rgba(0,0,0,0.37);

    box-shadow: 0px 10px 13px -7px #000000, 5px 5px 13px 5px rgba(0,0,0,0.37);
}

.about-us___info{
    flex: 1 1 400px;
    width: 70%;
    font-family: sans-serif;
}


section.about-us img{
    width: calc(100vw/4.5);
    min-width: 250px;
    object-fit: cover;
}

section.main-products{
    width: 100%;
    min-height: auto;
    background-color: rgb(120, 168, 75);
    padding: 1rem;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    grid-auto-rows: minmax(10rem);
    justify-items: center;
    align-items: center;
    gap: 1rem;
}

.main-product{
    width: 8rem;
    height: 12rem;
    background-color: rgb(53, 51, 49);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: .3rem;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.456);

    cursor: pointer;
    transition: all 500ms ease-in-out;
}
.main-product:hover{
    transform: scale(1.03);
}

.main-product img{
    width: 2rem;
}

.main-product a{
    font-family: sans-serif;
    color: white; 
    text-align: center; 
    text-decoration: none;
    font-size: clamp(.5rem, 1rem, 2rem);
}

section.job-summary{
    background-color: rgb(236, 236, 236);
    width: 100%;
    min-height: 10rem;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-items: center;
    align-items: center;

    font-family: sans-serif;
}

.summary-item{
    display: flex;
    flex-direction: row;
    padding: 1rem;
}

.summary-item img{
    width: 3rem;
    margin-right: 0.5rem;
}

section.jobs-descriptions{
    width: 100%;
    min-height: 500px;
    padding: 3rem 0;
    background-color: white;
}

section.jobs-descriptions h1{
    font-family: sans-serif;
    text-align: center;
}

section.jobs-descriptions h1 span{
    color: green;
}

.slider-row-container{
    width: 100%;
    min-height: 400px;
    margin: 4rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
/* Slider */

.slider-container{
    max-width: 400px;
    font-family: sans-serif;
}

.slider-container h4{
    padding: 0 0.5rem;
    text-transform: uppercase;
}

.slider-container p{
    font-size: 0.8rem;
    padding: 0.5rem;
    color: rgb(61, 61, 61);
}

 .slider{
    position: relative;
    width: 100%;
    height: 270px;
    border-radius: 20px;
    box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.233);
}

.slider .services-lockscreen{
    position: absolute;
    width: 100%;
    height: 100%;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: rgba(0, 0, 0, 0.457);
    transition: all 500ms ease-in-out;
    z-index: 10;
}

.slider:hover .services-lockscreen{
    filter: opacity(0);
}

.services-lockscreen ul{list-style: none;}
.slider img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 500ms ease-in-out;
}

.btn-change-img{
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.4;

    width: 80px;
    height: 100%;
    z-index: 90;
}

.btn-change-img img{
    left: 0;
    width:80px;
    height:80px;
    top:40%;
}

.btn-change-img:hover img{
    transform: scale(1.1);
}

.btn_img_left{top: 0;left: 0;}
.btn_img_right{top: 0; right: 0;}


section.inter-title{
    width: 100%;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

section.inter-title h1{
    font-family: sans-serif;
    text-align: center;
}

section.inter-title h1 span{
    color: rgb(23, 102, 167);
} 

.more-about-us{
    width: 100%;
    padding: 1.4rem;
    font-family: sans-serif;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;

    background-color: lightgoldenrodyellow;
}

.more-about-us .section-desc{
    max-width: 50%;
    min-width: 300px;
}
.more-about-us img{
    max-width: 300px;
}


.section-social {
    width: 100%;
}

.social-scroll{
    position: relative;
    width: 100%;
    height: auto;
    
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 10px;
    justify-content: space-between;
    align-items: flex-start;
    overflow-x: scroll; 
}

.social-subtitle{
    padding: 1rem;
    color: #224610;
}

/* Galeria */
.gallery-wrapper {
    width: 100%;
    padding: 60px 5%;
    box-sizing: border-box;
}

.gallery-section {
    margin-bottom: 60px;
}

.gallery-title {
    font-family: sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2F5D50;
}

.gallery-subtitle {
    font-family: sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #2F5D50;
}

/* Horizontal scroll */
.gallery-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.gallery-row::-webkit-scrollbar {
     height: 6px;
}

.gallery-row::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 10px;
}

/* Images */
.gallery-row img {
    height: 220px;
    min-width: 320px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

.gallery-row img.large {
    height: 260px;
    min-width: 420px;
}

.gallery-row img:hover {
    transform: scale(1.04);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}


/** concactos */

.social-contact {
  background: linear-gradient(135deg, #111, #1f1f1f);
  padding: 24px;
  text-align: center;
  max-width: 100%;
  margin: auto;
  font-family: sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}

.social-title {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: .5px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2a2a2a;
  transition: transform .25s ease, background .25s ease;
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.icon:hover {
  transform: translateY(-4px) scale(1.05);
}

.icon.phone:hover {
  background: #2ecc71;
}

.icon.facebook:hover {
  background: #1877f2;
}

.icon.email:hover {
  background: #e74c3c;
}

.section-reference{
    background-color: #212121;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.section-reference > *{color: white;}


