/*****************
* INITIALIZATION *
*****************/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

:root {
    --color-accent: #f9b71b;
    --color-accent-alt: #ffe3a0;
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

/* sections with photos as background */
#titulo,
#descripcion,
#servicios,
#clima-reservas,
#ultimo-llamado,
#reservas {
    background-color: #606060; /* color de fondo por si no carga la imagen principal */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*******************
* ANIMATION EFFECT *
*******************/

@keyframes aparecer {

    0% {
        opacity: 0;
        transform: translateY(6rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

.anim {
    opacity: 0;
}

.in-anim {
    animation: aparecer 1.3s;
    opacity: 1;
}

/*********************************
* USED ACROSS SECTIONS AND PAGES *
*********************************/

html {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

h1 { /* used in page titles */
    font-size: 4rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    text-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.75);
    color: white;
}

h2 { /* used in session titles */
    font-size: 3rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
}

#titulo h2,
#ultimo-llamado h2,
#reservas h2 {
    text-shadow: 0 0 0.6rem rgba(0, 0, 0, 0.75);
}

h3 { /* used in session subtitles */
    font-size: 1.5rem;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

hr {
    border: var(--color-accent) 0.25rem solid;
    width: 20%;
}

a.button {
    display: inline-block;
    background-color: var(--color-accent);
    padding: 0.5rem 1.0rem;
    border-radius: 0.5rem;
    color: black;
    font-weight: 700;
    text-transform: uppercase;
}

a.button:hover {
    background-color: var(--color-accent-alt);
}

b {
    font-weight: 700;
}

/****************************************
* USED IN A SINGLE SECTION ACROSS PAGES *
****************************************/

#fijo-superior {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#barra-superior {
    justify-content: space-between;
    padding: 0.2rem 1rem;
    background-color: #27245F;
    color: white;
    width: 100%;
    display: flex;
    align-items: center;
}

#barra-superior h4 {
    font-size: 1rem;
    font-weight: 800;
}

#barra-superior .redes {
    display: flex;
    gap: 4rem;
}

#navegador {
    width: 100%;
    margin-top: 0;
    background-color: white;
    padding-left: 2rem;
    padding-right: 2rem;
    transition: all 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

#navegador ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#navegador ul li a {
    font-weight: 700;
}

#navegador ul li a:hover {
    color: var(--color-accent);
}

#navegador .logo {
    height: 9rem;
    object-fit: cover;
    transition: all 0.4s ease-in-out;
    padding: 1.25rem;
}

#navegador.scroll-menu .logo { /* when the user scrolls down the screen */
    height: 3.5rem;
    padding: 0.65rem;
}

#navegador .menu-icon {
    display: none;
    width: 1.25rem;
    cursor: pointer;
    transition: transform 0.3s ease-in-out .3s;
    object-fit: cover;
}

/* .toggle-menu is added when the menu is opened in a small device */ 
#navegador.toggle-menu ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
    gap: 1rem;
    z-index: 10;
    transition: all 0.2s ease-in-out;
}

#navegador.toggle-menu ul li {
    font-size: 1.5rem;
    border-bottom: solid 1px gray;
    width: 100%;
    padding: 0 1rem;
}

#navegador.toggle-menu .menu-icon {
    transform: rotateX(180deg);
    transition: transform 0.3s ease-in-out .3s;
}
/*******************************************************************/

#titulo {
    width: 100%;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 5% 3.5rem 5%;
}

#titulo p {
    color: white;
    text-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.75);
    font-size: 150%;
    font-weight: 700;
}

#titulo a.button {
    margin-top: 1.5rem;
}

#banner-i {
    font-weight: 800;
    padding: 1rem;
    font-size: 130%;
    background-color: black;
    color: white;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}

#banner-i p span {
    color: var(--color-accent);
}

#descripcion {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5rem;
    padding: 3rem;
    background-attachment: fixed;
}

#descripcion h2 {
    color: white;
}

#descripcion .tarjeta {
    max-width: 31rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.67);
}

#descripcion .tarjeta img {
    width: 30%;
    padding-top: 3rem;
    padding-bottom: 0.5rem;
    object-fit: cover;
}

#descripcion .tarjeta h3 {
    text-align: center;
}

#descripcion .tarjeta p {
    text-align: justify;
}

#descripcion .tarjeta a.button {
    margin-top: 0.75rem;
}

#requisitos {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: black;
    color: white;
    padding: 2rem 8%;
    gap: 2rem;
}

#requisitos ul {
    max-width: 44rem;
    width: 100%;
    text-align: left;
    font-weight: 700;
    font-size: 120%;
}

#requisitos ul li {
    position: relative;
    text-indent: 2rem;
    padding: 0.5rem 0;
}

#requisitos ul li::before {
    display: inline-block;
    content: '';
    width: 1.4rem;
    height: 1.4rem;
    background-image: url(../assets/iconos/ok-sign.svg);
    background-size: cover;
    background-position: center;
    margin-right: 0.5rem;
    position: absolute;
    left: 0;
    top: 0.69rem;
}    

#requisitos p {
    max-width: 44rem;
    width: 100%;
    font-size: 75%;
    text-align: justify;
}

#el-club {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background-image: url(../assets/fotos/islas-malvinas.jpg);
    background-attachment: fixed;
    padding: 2rem;
}

#el-club img.logo {
    width: 85%;
    max-width: 20rem;
    margin: 4rem auto;
}

#el-club .descripcion {
    max-width: 50rem;
    width: 95%;
    text-align: justify;
}

#el-club .team {
    max-width: 50rem;
    width: 95%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
}

#el-club .team .team-member {
    width: 30%;
    min-width: 9rem;
    background-color: white;
    border-radius: 0.6rem;
    overflow: hidden;
    box-shadow: 0 0.15rem 0.6rem rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease-in-out;
}

#el-club .team .team-member:hover {
    transform: translateY(-0.6rem);
}

#el-club .team .team-member img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

#el-club .team .team-member .member-info {
    padding: 0.5rem;
}

#el-club .team .team-member .member-info h3 {
    text-transform: none;
}

#el-club .team .team-member .member-info hr {
    border: var(--color-accent) 0.2rem solid;
    width: 45%;
    margin-bottom: 0.4rem;
}

#el-club .team .team-member .member-info .position {
    font-weight: 700;
    font-style: italic;
}

#el-club .google-reviews {
    background-color: white;
    width: 35rem;
    max-width: 95%;
    border-radius: 0.6rem;
    overflow: hidden;
    box-shadow: 0 0.15rem 0.6rem rgba(0, 0, 0, 0.1);
}

#el-club .google-reviews .header {
    padding: 1rem;
}

#el-club .google-reviews .header h2 {
    font-weight: 400;
    font-style: normal;
    text-align: left;
    text-transform: none;
}

#el-club .google-reviews .header p {
    color: rgb(94, 94, 94);
    font-size: 125%;
}

#el-club .google-reviews .header p img {
    height: 1.75rem;
    aspect-ratio: 1 / 1;
    vertical-align: bottom;
}

#el-club .google-reviews .testigos {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#el-club .google-reviews .testigos .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    transform: translateX( 0% );
}

#el-club .google-reviews .testigos .carousel .testigo {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
}

#el-club .google-reviews .testigos .carousel .testigo .reviewer {
    padding: 1rem 1rem 0.2rem 1rem;
    display: flex;
    gap: 1rem;
}

#el-club .google-reviews .testigos .carousel .testigo .reviewer img {
    aspect-ratio: 1 / 1;
}

#el-club .google-reviews .testigos .carousel .testigo .reviewer p {
    font-size: 85%;
}

#el-club .google-reviews .testigos .carousel .testigo .reviewer p.history {
    color: rgb(94, 94, 94);
}

#el-club .google-reviews .testigos .carousel .testigo .stars {
    font-size: 85%;
    padding: 0.2rem 1rem 1rem 1rem;
}

#el-club .google-reviews .testigos .carousel .testigo .stars img {
    height: 1.2rem;
    aspect-ratio: 1 / 1;
    vertical-align: bottom;
}

#el-club .google-reviews .testigos .carousel .testigo img.photo {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    object-position: 50% 50%;
}

#el-club .google-reviews .testigos .carousel .testigo .content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

#el-club .google-reviews .testigos .carousel .testigo .content .respuesta {
    padding-left: 2rem;
    color: #555555;
    font-style: italic;
}

#el-club .google-reviews .testigos .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2rem;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

#el-club .google-reviews .testigos .arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#el-club .google-reviews .testigos .left-arrow {
    left: 10px;
}    

#el-club .google-reviews .testigos .right-arrow {
    right: 10px;
}    

#galeria {
    width: 100%;
    display: grid;
    grid-template-columns: repeat( 6, 1fr );
    padding: 0.125rem;
}

#galeria div {
    overflow: hidden;
    border: white solid 0.20rem;
    width: 100%;
    aspect-ratio: 1 / 1;
}

#galeria div.hor {
    aspect-ratio: 2 / 1;
    grid-column-end: span 2;
}

#galeria div.ver {
    aspect-ratio: 1 / 2;
    grid-row-end: span 2;
}

#galeria div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#banner-instagram {
    padding-bottom: 0.6rem;
}

#banner-instagram p {
    font-size: 200%;
    font-weight: 700;
    margin: 0 auto;
    text-align: center;
    max-width: 33rem;
    width: 95%;
    padding: 0.4rem 0;
}

#banner-instagram p a {
    font-family: 'Sigmar One';
    text-transform: uppercase;
    background: radial-gradient( circle at 30% 30%,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#mapa {
    height: 25rem;
    width: 100%;
}

#mapa iframe{
    height: 100%;
    width: 100%;
    border: none;
}

#ultimo-llamado {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2rem;
    align-items: center;
    height: 80vh;
    text-align: center;
    width: 100%;
    padding: 0 5% 2rem 5%;
}

#ultimo-llamado h2 {
    color: white;
}

#medios-pago {
    width: 100%;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8rem;
    padding: 1rem 2rem;
}

#medios-pago p {
    font-weight: 700;
    font-size: 120%;
    text-transform: uppercase;
}

#medios-pago .lista {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 8rem;
}

#medios-pago .item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#medios-pago .item img {
    width: 2rem;
    object-fit: fill;
}

#pie {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
    padding: 3rem;
    background-color: #303030;
    color: white;
}

#pie div.links {
    display: flex;
    align-items: baseline;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 3rem;
}

#pie div.links div.columna {
    width: 13rem;
}

#pie div.logo img {
    display: block;
    width: 85%;
    max-width: 20rem;
    margin: 0 auto;
}

#barra-inferior {
    background-color: black;
    color: white;
    padding: 1rem;
    width: 100%;
}

#barra-inferior p {
    width: 100%;
}

a.wa-float {
    position: fixed;
    width: 3.75rem;
    height: 3.75rem;
    bottom: 2.5rem;
    right: 2.5rem;
    background-color: #25d366;
    color: #FFF;
    border-radius: 3rem;
    text-align: center;
    font-size: 2rem;
    box-shadow: .125rem .125rem .2rem #999;
    z-index: 100;
}

i.wa-float {
    margin-top: 1rem;
}

/**************************
* SCREEN SIZE ADJUSTMENTS *
**************************/

@media (max-width: 900px) {

    /* hide social media addresses */
    #barra-superior .redes {
        gap: 1rem;
    }
    #barra-superior .redes a span {
        display: none;
    }

}

@media (max-width: 848px) {

    /* break it into two lines */
    #medios-pago {
        flex-direction: column;
        gap: 1.5rem;
    }
    #medios-pago .lista {
        gap: 2rem;
    }

}

@media (min-width: 800px) { /* min-width, efecto solo para desktops */

    #galeria div img {
        transition: all 0.4s ease-in-out;
    }

    #galeria div img:hover {
        transform: scale(1.2);
    }

}

@media (max-width: 770px) {

    /* reduce font sizes */
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 1.35rem;
    }
    html {
        font-size: 0.92rem;
    }

}

@media (max-width: 650px) {

    /* reduce font sizes */
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 2.08rem;
    }
    h3 {
        font-size: 1.215rem;
    }
    html {
        font-size: 0.8464rem;
    }

    /* make it sticky to #barra-superior */
    #navegador {
        border-radius: 0;
        width: 100%;
        padding: 1rem;
        margin-top: 0;
        justify-content: space-between;
    }
    #navegador ul {
        gap: 1rem;
    }
    #navegador .logo {
        order: -1;
    }

}

@media (max-width: 580px) {

    /* move it closer to edge of screen*/
    a.wa-float {
        bottom: 2rem;
        right: 2rem;
    }

}

@media (max-width: 550px) {

    /* make menu collapsable */
    #navegador {
        flex-wrap: wrap;
        gap: 0;
        padding: 0.5rem 1rem;
    }
    #navegador ul {
        display: none;
    }
    #navegador .menu-icon {
        display: block;
    }

}

@media (max-width: 512px) {

    /* reduce font sizes */
    h1 {
        font-size: 2.025rem;
    }
    h2 {
        font-size: 1.872rem;
    }
    h3 {
        font-size: 1.0125rem;
    }
    html {
        font-size: 0.76176rem;
    }

}

@media (max-width: 426px) {
    
    #pie div.links {
        justify-content: flex-start;
    }
}

@media (max-width: 408px) {

    /* break it into 3 lines */
    #medios-pago {
        gap: 0.5rem;
        align-items: start;
    }
    #medios-pago .lista {
        flex-direction: column;
        gap: 0.5rem;
        align-items: start;
    }

}

@media (max-width: 360px) {

    /* avoid it breaking into two lines */
    #barra-superior h4 {
        font-size: 0.85rem;
    }

    /* move it closer to edge of screen*/
    a.wa-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }

}