/* Reset básico para el estilo de la página */
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Definición de la tipografía principal */
body {
    font-family: 'Poppins', sans-serif;
    /* font-family: 'Josefin Sans', sans-serif; */
    font-size: 16px;
    color: var(--black);
}

/* Definición del color negro */
:root {
    --black: #000;
    --gris-claro: #F1F1F1;
    --gris-medio: #D8D8D8;
    --gris: #A6A6A6;
    --menta: #09F9C9;
    --menta-light: #98FAB0;
    --menta-dark: #987F37;
}

::selection {
    background: var(--menta-light);
    color: black;
}
::-moz-selection {
    background: var(--dedalo);
    color: black;
}

ul, nav {list-style: none; padding: 0; margin: 0;}

a {text-decoration: none;}

/* Definición de los tamaños para los encabezados */
h1 {
    color: white;
    display: grid;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
    font-size: 2.3rem;
    font-weight: 300;
    font-weight: bolder;
    line-height: 3.2rem;
}

h1 span, h2 span {
    display: contents;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 100;
    text-transform: lowercase !important;
}
h2 span {
    font-size: 2.2rem;
}

h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.1rem;
    font-weight: 100;
    line-height: 2.4rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.4px;
}

h4 {
    font-size: 0.85rem;
}

h5, .boton-primario {
    font-size: 0.75;
    letter-spacing: 0.3px;
}

h6 {
    font-size: 0.6rem;
}

p, ul li {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.25px;
}

.subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.25px;
}

small {
    font-size: 12px;
}

.hidden {display: none !important;}

.txt-menta {
    color: var(--menta);
    display: contents;
}

.mobile {display: none;}

.boton-primario {
    color: black;
    /* display: inline-block; */
    padding: 12px 35px;
    /* margin: 2.5rem; */
    background: var(--menta);
    text-decoration: none;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 99;
}

.boton-primario:hover {
    color: white;
    background-color: var(--black);   
}

/* Escondemos el botón de "Abrir Menú Hamburguesa" */
.abrir-menu, .cerrar-menu {display: none;}

/* Menú */
nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 90px;
    margin: 20px 20px 0 20px;
    padding-right: 20px;
    /* background-color: rgba(0,0,0,0.30); */
    border-bottom: 0.7px solid rgba(255, 255, 255, 0.7);
    border-top: 0.7px solid rgba(255, 255, 255, 0.7);
}

nav .logo {
    position: absolute;
    left:0;
    right:0;
    margin: 0 auto;
    width: 100px;
    top: 31px;
}

nav ul {display: flex; gap: 1rem; position: relative;}

nav li a {
    padding: 12px 2px;
    color: white;
    transition: 0.3s ease;
}

nav li a:hover {
    color: var(--menta);
}

nav li {padding: 0 2px;}

/* NAV submenu droppdown  */
ul li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-align: left;
    /* left: 0; */
    top: 15px;
    display: none;
}
  
ul li:hover > ul,
ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}
  
ul li ul li {
    clear: both;
    width: 100%;
    padding: 2px 3px;
    margin-bottom: 2px !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
ul li ul li a {
    
    clear: both;
    display: block;
    width: 100%;
    margin: 0;
    padding: 2px 3px;
}

/* Header Home */
header.home {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    text-align: center;
    height: 85vh;
    min-height: 500px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.95)), url('../images/undercut-bkgr-hero.jpg') center center;
    background-size: cover;
}

header .frases-header-slider .boton-primario {
    position: relative;
    display: inline-block;
    top: 45px;
    /* bottom: -90px; */
}

.triangulos-hero {
    width: 100%;
    position: absolute;
    bottom: -8px;
}
.triangulos-hero img {
    width: 100%;
    box-sizing: border-box;
}

/* Header internas */
header.internas {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: 210px;
    width: 100%;
    padding-top: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.95)), url('../images/undercut-bkgr-header-internas.jpeg') no-repeat top center;
    background-size: cover auto 100%;
    background-attachment: fixed;
    border-bottom: 15px solid var(--menta);
    text-align: center;
}

header.internas nav {
    margin-top: 0;
}

header.internas h1 {
    display: flex;
    align-self: center;
    justify-self: center;
}

/* TIPOS DE BARCOS */
.tipos-de-barcos {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    padding: 0 20px;
}

.tipos-de-barcos .barcos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
     gap: 16px;
     margin: 25px 0 50px 0;
}

.tipos-de-barcos .titulo {
    padding: 70px 40px 20px 40px;
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box;
}
.tipos-de-barcos .titulo h2 {
    margin-bottom: 15px;
}
.tipos-de-barcos .barcos .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* width: 100%;
    max-width: 350px; */
    width: 350px;
    height: 300px;
    box-sizing: border-box;
    flex-wrap: wrap;
    background: white;
    border-top: 2px solid #000000;
    box-shadow: 0px 4px 85px rgba(0, 0, 0, 0.09);
    border-radius: 20px;
}
.tipos-de-barcos .barcos img {
    width: 100%;
    max-width: 230px;
}
.tipos-de-barcos .barcos p {
    padding: 0 10%;
}

/* PROYECTOS PRINCIPALES */
.proyectos-principales {
    color: white;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 400px;
    justify-content: center;
    border-bottom: 20px solid var(--menta);
    /* height: 300px; */
}
.proyectos-principales div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 60px 10% 0 10%;
    width: 100%;
    background-color: var(--gris-claro);
    box-sizing: border-box;
}
.proyectos-principales div h2 {
    margin-top: 25px;
}
.proyectos-principales .proyecto-1 {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 110%), url("../images/undercut-catamaran-halo.jpg") top center;
    background-size: cover;
    border-right: 0.7px solid rgba(255,255,255,0.7);
}
.proyectos-principales .proyecto-2 {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 110%), url("../images/undercut-yacht-domum.jpg") top center;
    background-size: cover;
}

/* CERTIFICACIÓN */
.certificacion {
    display: flex;
    flex-direction: column;
    text-align: center;
}
.certificacion .titulo {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 40.07%, rgba(0, 0, 0, 0.3) 100%), url("../images/undercut-trazos-ingenieria-yates.jpg") center fixed;
    background-size: cover;
    padding-left: 14%;
    padding-bottom: 65px;
    height: 290px;
    border-bottom: 10px solid var(--gris-claro);
    position: relative;
}
.certificacion .texto {
    margin: 50px 5% 0 5%;
    display: flex;
    flex-direction: column;
    text-align: justify;
    border-bottom: 1px solid black;
}
.certificacion .texto p {
    margin: auto 10%;
}
.certificacion .texto p:last-child {
    margin-bottom: 50px;
}
.certificacion .cert {
    width: 90px;
    margin-bottom: 20px;
    filter: invert(1);
}
.certificacion .semar {
    width: 120px;
    margin-bottom: 20px;
    margin: 20px 0 40px 10%;
}
.certificacion .circulo-flecha-abajo {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    bottom: -33px;
}
.certificacion .circulo-flecha-abajo img {
    width: 40%;
}

/* INTERNA :: PROYECTOS */
.scrollmenu {
    overflow: auto;
    white-space: nowrap;
}
.scrollmenu a {
    display: inline-block;
}
.menu-proyectos {
    width: 100%;
    background-color: var(--gris-claro);
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu-proyectos ul li {
    display: inline-flex;
}
.menu-proyectos ul a {
    color: black;
    background-color: white;
    padding: 10px 20px;
    margin: 0 4px;
    border-radius: 4px;
    border-top: 2px solid black;
    transition: 0.25s ease-in-out all;
}
.menu-proyectos ul a.activo {
    cursor:not-allowed;
}
.menu-proyectos ul a:hover, .menu-proyectos ul a.activo {
    border-top: 2px solid var(--menta);
    box-shadow: 0px 4px 16px -3px rgba(0, 0, 0, 0.24);
}

.proyecto {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
}
.proyecto h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3.5% 2%;
}
.proyecto .imagen {
    margin: 0 auto;
    padding: 4%;
    width: 60%;
    background: #FFFFFF;
    border-top: 2px solid #000000;
    box-shadow: 0px 4px 55px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}
.proyecto .imagen img {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.descripcion {
    margin: 70px 9%;
    padding-left: 40px;
    border-left:0.7px solid black;
}
.descripcion p {
    text-align: justify;
}

.galeria-de-fotos {
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    border-top: 20px solid var(--menta);
    padding: 7px 14px 7px;
}
.galeria-de-fotos img {
    width: 100%;
    max-width: 370px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
     gap: 16px;
     margin: 7px;
}

/* FOOTER */
footer {
    background-color: var(--gris-claro);
    display: grid;
    /* grid-template-columns: 150px 200px 1fr; */
    grid-template-columns: 1fr;
    align-items: center;
    height: 158px;
    margin-top:30px;
}

footer a {
    color: black;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--menta-dark);
}

.logo-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.logo-footer div {
    display: grid;
    justify-content: center;
}

.logo-footer div img {
    margin-bottom: 5px;
    width: 45px;
}

.enlaces-menu {
    display: grid;
    justify-content: center;
    align-items: center;
}

.enlaces-redes {
    display: flex;
}

.enlaces-redes li {
    padding: 15px;
}

.enlaces-redes li a {
    opacity: 1;
}

.enlaces-redes li a:hover {
    opacity: 0.4;
}

/* Titulos Home Slider-animación ---------- */
.header-text {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    /* top: 150px; */
}
.header-text h1 {
    margin-bottom: 30px;
}
  
.fade-text {
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.fade-text.active {
    opacity: 1;
}
  
/* INTERNAS --- Quienes Somos */
    /* Origen */
    #quienes-somos .origen, #quienes-somos .alcance {  /* origen y alcance */
        display: -ms-flex;
        display: -webkit-flex;
        display: flex;
        padding: 0 5%;
    }

    #quienes-somos .origen {
        padding-bottom: 40px;
    }

    #quienes-somos > h2:first-child {
        text-align: center;
        margin: 50px 2% 20px;
    }

    #quienes-somos .origen .texto, #quienes-somos .alcance .texto { /* origen y alcance */
        text-align: justify;
        width: 50%;
        padding: 20px;
    }

    /* Alcance */
    #quienes-somos .alcance {
        display: flex;
        align-items: center;
        background-color: var(--gris-claro);
        padding-top: 40px;
        padding-bottom: 40px;
    }

    #quienes-somos .alcance h3 {
        margin-bottom: 10px;
    }

    #quienes-somos .alcance .texto {
    }

    #quienes-somos .alcance ul {
        list-style-type: circle;
    }
    
    #quienes-somos .alcance ul li {
        font-style: italic;
        text-align: left;
        font-size: 0.8rem;
        font-weight: 400;
        line-height: 1.2rem;
        margin-bottom: 15px;
    }

    /* Misión-Visión */
    #quienes-somos .mision-vision {
        text-align: justify;
        color: white;
        display: flex;
        flex-direction: column;
        padding: 10% 15%;
        border-top: 20px solid var(--menta);
        background: linear-gradient(360deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.89) 83.69%), url("../images/galeria/domum/houseboat-yacht-domum-03.jpg") no-repeat center center;
        background-size: cover;
    }

    #quienes-somos h2 {
        text-align: center;
        margin-bottom: 25px;
    }

    #quienes-somos img {
        filter: invert(1);
        width: 100%;
        max-width: 100px;
        margin: 0 auto;
        margin-top: 15px;
    }

/* INTERNAS -- Contáctanos */
.contacto {
    color: white;
    text-align: center;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%), url("../images/contacto.jpg") no-repeat center center;
    /* background-attachment: fixed; */
    background-size: cover;
    padding: 6%;
    box-sizing: border-box;
}
.contacto a {color: var(--menta); transition: all 0.3s ease;}
.contacto a:hover {color: var(--menta-light);}
.contacto .textos {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    margin: 20px;
}
.contacto h3 {
    margin-bottom: 15px;
}
.contacto .textos div {
    padding: 25px;
}
.contacto .contacto-2 {
    /* padding: 0 20px; */
    /* border-left: 0.5px solid rgba(255,255,255,0.7); */
    border-right: 0.5px solid rgba(255,255,255,0.7);
}
.contacto .enlaces-redes {
    /* filter: invert(1); */
    filter: brightness(0) saturate(100%) invert(87%) sepia(72%) saturate(6171%) hue-rotate(84deg) brightness(106%) contrast(95%);
    justify-content: center;
    gap: 10px;
}
.contacto .enlaces-redes li {padding: 0 15px;}
.contacto .enlaces-redes img {
    width: 30px;
    height: 30px;
}

.visitanos {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
}
.visitanos h2 {margin-bottom: 10px;}
.visitanos .texto {
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 75px 20% 45px;
}
.visitanos .mapa {
    position: relative;
    display: flex;
    justify-content: center;
    height: 350px;
    width: 100%;
    z-index: 999;
}
.iframe-mapa {
    position: absolute;
    z-index: 999;
    filter: drop-shadow(0px 4px 33px rgba(0, 0, 0, 0.32));
    width: 80%;
    height: 350px;

}
.visitanos .mapa .plecanegra {
    position: absolute;
    display: flex;
    align-self: center;
    background-color: black;
    height: 45%;
    width: 100%;
    z-index: 10;
}

.formulario {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    margin-top: 70px;
    padding-top: 16px;
    background: linear-gradient(0deg, rgba(247, 247, 247, 0.4), rgba(247, 247, 247, 0.9)), url('../images/contacto-form-bkgr.jpg')no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    background-color: #F1F1F1;
    text-align: center;
}
.formulario h2 {
    padding: 40px 18% 30px 18%;
}
.form {
    height: 100px;
}

/* Botón flotante Whatsapp */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    display: none; /* DESAPARECE EL BOTON WHATSAPP */
  }

  .whatsapp-btn.active {
    transform: translateY(0);
    opacity: 1;
  }

  .whatsapp-btn a {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 60px;
    color: white;
    text-decoration: none;
    font-size: 24px;
    background: #7CFC00;
    mix-blend-mode: normal;
    opacity: 0.95;
    box-shadow: 0px 0px 20px 2px rgba(118, 234, 9, 0.7);
    transition: all 0.25s ease-in-out;
  }

  .whatsapp-btn a:hover {
    background-color: var(--menta-light);
    box-shadow: 0px 0px 10px 2px rgba(255, 255, 255, 0.8);
  }

  .whatsapp-btn img {
    position: absolute;
    bottom: 15px;
    left: 16px;
  }

  .idioma-enlace {
    display: none
  }

  @media only screen and (min-width: 769px) and (max-width: 5000px) {
    /* Botón Idioma */
    .idioma-enlace {
    display: block;
    position:absolute;
    padding: 15px;
    margin: 0 !important;
    left: 22px;
    top: 29px;
    }
    .idioma {
    position: relative;
    cursor: pointer;
    width: 50px;
    background: transparent;
    border: none;
    top: 0;
    left: 0;
    }
  }
  