
*{
    margin: 0;
    padding: 0;
}

section{
    scroll-margin-top: 80px;
}

ul{
    list-style: none;
}

nav{
    padding: 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    
    a{
        display:inline-block;
        text-decoration: none;
        transition: transform 0.25s ease;
    }

    a:hover{
        transform: scale(1.15);
    }

    img{
        height: 50px;
    }

    .search-bar{
        background-color: #e8e8e8;
        border-radius: 0;
        height: 30px;

        
    }

    .searchIcon{
        height: 30px;
    }

    ul{
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;

        font-size: 20px;
        font-weight: lighter;

        img{
            height: 30px;
        }
    }
}

.hero{
    margin-top: 90px;
    width:100%;
    height:100%;
    overflow:hidden;
}

.hero-img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.map{
    padding: 60px;
    background-color: #8f8f8f;

    .img-map{
        width: 100%;
        height: 100%;
    }

    img{
        height: 100px;
        margin-left: 10px;
    }
    .dis{
        font-size: 15px;
    }
}

.hamburger{
    width:30px;
    cursor:pointer;
    position:relative;
    z-index: 10000;
}

.hamburger span{
    display:block;
    height:3px;
    background:#c09a5c;
    margin:6px 0;
    transition:0.3s;
}

.hamburger.active span:nth-child(1){
    transform: rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform: rotate(-45deg) translate(7px,-7px);
}

.menu{
    position: fixed;
    top: 90px;
    right: 0;

    width: 320px;

    background:#0c120c;
    padding:40px;

    transform: translateX(100%);
    transition: transform 0.35s ease;

    z-index: 2000;
}

.menu.active{
    transform: translateX(0);
}

.menu ul{
    list-style:none;
    padding:0;
}

.menu li{
    margin:20px 0;
}

.menu a{
    color:white;
    text-decoration:none;
    font-size:26px;
    font-weight:bold;
}

/* ABOUT US */
.map-section {
    position: relative;
    width: 50%;
    min-height: 50%;
    background: url('../img/map.png') center / contain no-repeat;
}

.text-top {
    position: absolute;
    top: 10%;
    right: 5%;
    max-width: 40%;
    color: white;
    text-align: right;
}

.text-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 33%;
    color: white;
}

/* WHO WE ARE */
.whoWeAre {
    background-color: #c09a5c;
}

.altura {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.altura img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.altura .container-fluid {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.salvador,
.fernando,
.david {
    box-sizing: border-box;
}

.salvador {
    padding: 15px;
    background-color: #8f8f8f;
    color: #464646;
}

.fernando {
    padding: 15px;
    background-color: #8f8f8f;
    color: white;
}

.david {
    padding: 15px;
    background-color: #6c6d67;
    color: white;
}

.altura:nth-child(2) img {
    order: 2;
}

.altura:nth-child(2) .container-fluid {
    order: 1;
}


/* WHAT WE DO */

.whatWeDo{
    background:#1f1f1f;
    padding:80px 40px;

    .intro{
        font-size: 20px;
    }
}

.services{
    list-style:none;
    padding:0;
    max-width:600px;
    margin-left:auto;
}

.services li{
    margin:8px 0;
}

.dorado{
    color: #c09a5c;
}

/* PROJECTS */

.project{
    padding: 0;
    background: white;
    color: #909090;
}

.ford-logo{
    width: 75%;
}
.gm-logo{
    width: 30%;
}
.DG-logo{
    width: 50%;
}
.DG2-img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.line{
    width: 50%;
    height: 3px;
    background: #909090;
    margin: 20px 0;
}

.project-img{
    height:450px;
    object-fit:cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    background-color:rgba(0,0,0,0.4);
    border-radius:50%;
}

.project-images{
    position:relative;
}

.image-wrapper{
    position: relative;
    display: inline-block;
}

.image-wrapper img{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
}

/* Decoracion 1 */
/* decoraciones */
.decor{
    position: absolute;
    z-index: 1;
}

/* cuadro dorado */
.decor-gold{
    background: #c89b5a;
    width: 30%;
    height: 60%;
    bottom: 1%;
    left: -4%;
}

.decor-gray{
    background: #9a9a9a;
    width: 30%;
    height: 60%;
    top: -5%;
    right: -4%;
}


/* Decoración 2 */
.indexZ{
    position: relative;
    z-index: 2;
}
.decor{
    position: absolute;
    z-index: 1;
}
.decor-gold2{
    background: #c89b5a;
    width: 30%;
    height: 60%;
    top: -5%;
    left: -4%;
}

.decor-gray2{
    background: #9a9a9a;
    width: 30%;
    height: 60%;
    bottom: 1%;
    right: -4%;
}

.decor-gold3{
    background: #c89b5a;
    width: 30%;
    height: 60%;
    bottom: 1%;
    right: -4%;
}

.decor-gray3{
    background: #9a9a9a;
    width: 30%;
    height: 60%;
    top: -5%;
    left: -4%;
}



/* Dots */
.dots{
    display:flex;
    gap:12px;
    margin-top:20px;
    width:fit-content;
}
.dots-center{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}
.dots-right{
    margin-left:auto;
}

.dots-left{
    margin-right:auto;
}

.dot{
    width:14px;
    height:14px;
}

.gray{
    background:#bfbfbf;
}

.grayOs{
    background:#9a9a9a;
}

.gold{
    background:#c89b5a;
}



.img-main{
    width:100%;
}

.grid-images{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:20px;
}

.grid-images img:nth-child(3){
    grid-column: span 2;
}

.carousel-indicators button{
    width:12px;
    height:12px;
    border-radius:2px;
}

/* VIDEOS */

.videos{
    background:#b0b0b2;
    padding:80px;
}

.video-main{
    height:350px;
    background:#1f1f1f;
}

.video-thumb1,
.video-thumb2,
.video-thumb3{
    padding: 10px;
    height:150px;
    position:relative;
    overflow:hidden;
}

.video-thumb1 a,
.video-thumb2 a,
.video-thumb3 a{
    display:block;
    width:100%;
    height:100%;
}

.video-thumb1 img,
.video-thumb2 img,
.video-thumb3 img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.video-thumb1{
    background:#c8c8c8;
}
.video-thumb2{
    background:#8f8f8f;
}
.video-thumb3{
    background:#6c6d69;
}

.video-container{
    padding: 10px;
    position:relative;
    display:flex;
    height:100%;
    background-color: #1e1f1b;
}

.video-container a{
    width:100%;
    height:100%;
}

.video-container img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.play-button{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    font-size:60px;
    color:white;
    background:rgba(0,0,0,0.5);
    border-radius: 50%;
    padding:10px 30px;
}

.play-button2{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    font-size:40px;
    color:white;
    background:rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 5px 20px;
}

.video-preview img{
    transition: transform .3s;
}

.video-preview:hover img{
    transform: scale(1.05);
}

/* CLIENTS */

.clients{
    padding:80px 50px 50px 80px;
    background-color: #e8e8e8;
}

.clients-title{
    color:#c09a5c;
    font-weight:bold;
}

.clients-logos{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

.clients-logos .col{
    display:flex;
    align-items:center;
    justify-content:center;
}

.clients-logos .row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.clients-logos .row > div{
    flex:1;
    display:flex;
    justify-content:center;
}

.clients-logos img{
    height: auto;
    width:100%;
    object-fit:contain;
    opacity:0.8;
}

.download{
    height: 25px;
}

.clients a{
    text-decoration: none;
    display: inline-block;
    transition: transform 0.25s ease;
}

.clients a:hover{
    transform: scale(1.1);
}


/* FOOTER */

.footer{
    background:#1a1a1a;
    color:#c09a5c;
    padding:20px;
    font-size:14px;
}

.footer a{
    text-decoration: none;
    display: inline-block;
    transition: transform 0.25s ease;
}

.footer a:hover{
    transform: scale(1.15);
}

.footer img{
    height: 25px;
}

/*  PRIVACY POLICY  */
.privacyP{
    margin-top: 80px;
    background-color: #8f8f8f;

    p{
        font-size: 18px;
    }
}

/*  CONTACT  */
.contacto{
    margin-top: 80px;

    img{
        height: 25px;
    }
    .img2{
        height: 20px;
    }
}
.contact-hero{
    background:#c19a5b;
    padding-top:120px;
    padding-bottom:120px;
}

.contact-title{
    color:white;
    font-size:60px;
    font-weight:700;
    letter-spacing:2px;
}

.custom-input{
    background:transparent;
    border:2px solid rgba(255,255,255,0.7);
    border-radius: 10px;
    color:white;
    padding:12px;
}

.custom-input::placeholder{
    color:rgba(255,255,255,0.8);
}

.custom-input:focus{
    background:transparent;
    color:white;
    border-color:white;
    box-shadow:none;
}

textarea.custom-input{
    resize:none;
}

.contact-info{
    color:white;
    font-size:18px;
}

.send-btn{
    background:#111;
    color: #c19a5b;
    padding: 12px 60px;
    border-radius:6px;
}

.send-btn:hover{
    background: white;
}

/*  CELULAR  */
@media (max-width: 768px) {

    /* About us */
    .map{
        padding: 30px;
        .image{
            gap: 0;
            justify-content: center;
        }

        img{
            height: 100%;
        }

    }
    .text-top {
        position: absolute;
        top: 10%;
        right: 5%;
        max-width: 45%;
        color: white;
        text-align: right;

        .fontSize{
            font-size: 20px;
        }
    }

    .text-bottom {
        position: absolute;
        bottom: 0;
        left: 0;
        max-width: 40%;
        color: white;
        font-size: 10px;
    }

    .images{
        margin: 0;
        height: 60px;
    }
    .map-section{
        width:100%;
        min-height:300px;
        background-size:contain;
    }


    /* Whoe we are */
    .altura {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .altura img {
        width: 100%;
        height: 250px;
    }

    .salvador,
    .fernando,
    .david{
        padding:20px;
    }

    /* Proyects */
    .project .row{
        margin:0 !important;
    }

    .project-img{
        height:250px;
    }

    .grid-images{
        gap:10px;
    }

    .decor-gold{
        bottom: 11%;
    }
    .decor-gray2{
        bottom: 10%;
    }

    .decor-gold3{
        background: #c89b5a;
        width: 30%;
        height: 60%;
        bottom: 11%;
        right: -4%;
    }

    .dots-center{
        margin-bottom: 30px;
    }

    /* Videos */
    .videos{
        padding:40px 20px;
    }

    .video-main{
        height:220px;
    }

    .video-thumb1,
    .video-thumb2,
    .video-thumb3{
        width: 75%;
        height:120px;
    }

    /* Cleints */

    /* Footer */
    .footer{
        text-align:center;
    }

    /* Contacto */
    .contact-title{
    color:white;
    font-size:40px;
    font-weight:700;
    letter-spacing:2px;
}
    
}