/* RESET + FUENTE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}

html, body {
    overflow-x: hidden;
}

/* Navbar */

/* Banderas */




/* Fin banderas */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgb(0,0,0);
    color: #fff;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;

}

.navbar .logo img {
    width: 200px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    background: rgb(0, 0, 0);
}

.nav-links li {
    margin-top: 18px;
}

.nav-links li:last-child {
    margin-top: 12px;
}

.nav-links a {
    color: rgb(222, 222, 222);
    text-decoration: none;
    transition: all .5s ease;
}

.nav-links a:hover,
.nav-links .nav-active {
    color: rgb(252, 236, 211);
    font-weight: bold;
}

.reserva,
.reservas,
.btn-contacto {
    background-color: rgb(188, 180, 170);
    border: 1px solid rgb(0,0,0);
    padding: 10px;
    border-radius: 50px;
    text-decoration: none;
    color: rgb(0, 0, 0);
    transition: all .5s ease;
    min-width: 150px;
    text-align: center;
    margin: 10px;
}

.btn-contacto {
    background-color: rgb(0, 0, 0);
    color: rgb(188, 180, 170);
    border: 1px solid rgb(188, 180, 170);
}

.nav-links a.reservas {
    background-color: rgb(188, 180, 170);
    color: rgb(0, 0, 0);
}

.reserva:hover {
    background-color: rgb(188, 180, 170);
    box-shadow: 0 0px 80px rgba(255, 255, 255, 1);
}

.reserva {
    margin-top: 20px;
}

.reserva:hover,
.reservas:hover,
.btn-contacto:hover {
    box-shadow: 0 0 100px rgb(255, 255, 255);
    transition: all .5s ease;
    scale: calc(1.1);
}



.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: rgb(255, 255, 255);
    cursor: pointer;
}

/* Responsive navbar */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 80px;
        right: 0;
        background: linear-gradient(rgba(0,0,0,1),rgba(0,0,0,1),rgba(0,0,0,1),rgba(0,0,0,.9),rgba(0,0,0,0));
        width: 200px;
        padding: 70px 0 100px 0;
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .nav-links.show {
        transform: translateX(0);
        opacity: 1;
    }
    .hamburger {
        display: block;
    }
    .nav-links li a {
        padding: 10px;
        text-decoration: none;
    }
}

/* Submenú base */
.has-submenu {
    position: relative;
}
.submenu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    color: rgb(222,222,222);
    font: inherit;
    cursor: pointer;
    padding: 0;
}
.submenu-toggle:hover,
.has-submenu:focus-within .submenu-toggle {
    color: rgb(188, 180, 170);
    font-weight: bold;
}

/* Contenedor del submenú (desktop) */
.submenu {
    list-style: none;
    position: absolute;
    text-align: left;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgb(0,0,0);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 0;
    display: none; /* CERRADO por defecto */
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.submenu li a {
    background-color: rgba(0, 0, 0, 0);
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: rgb(222,222,222);
    white-space: nowrap;
}
.submenu li a:hover {
    background: rgba(255,255,255,0.06);
    color: rgb(252,236,211);
}

/* Mostrar al hover solo en dispositivos con ratón real */
@media (hover: hover) and (pointer: fine) {
  .has-submenu:hover > .submenu {
      display: block;
  }
}



/* Accesibilidad: refleja estado con aria-hidden también */
.submenu[aria-hidden="true"] { display: none; }
.submenu[aria-hidden="false"] { display: block; }

.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-top:0;
    align-items: center;
    margin-left: 1rem;
    transform: translateY(-2px);
}

.flag-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-link:hover {
    border-color: #64b5f6;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(100, 181, 246, 0.3);
}

.flag-link img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    display: block;
}

/* Mobile: se despliega dentro del menú lateral */
@media (max-width: 768px) {
    .has-submenu {
        width: 100%;
    }
    .submenu {
        position: static;
        display: none;
        border: none;
        box-shadow: none;
        padding: 0 0 6px 0;
        margin-top: 6px;
    }
    .has-submenu.open > .submenu {
        display: block;
    }
    .submenu-toggle {
        width: 100%;
        text-align: left;
        padding: 0px;
    }
    .submenu li a {
        padding: 10px 20px;
    }
    
    .nav-links .language-selector {
        position: fixed;
        right: 60px;
        top: 1rem;
        transform: none;
        margin: 0;
        padding: 0;
        border: none;
        z-index: 1000;
    }
}


body {
    display: flex;
    flex-direction: column;
    width: 100vw;
    color: rgb(255, 255, 255);
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portada {
    height: 100vh;
}

h1 {
    margin-top: 0px;
    margin-right: 50px;
    margin-left: 50px;
    text-align: center;
    font-size: 2.5rem;
    line-height: 0.9em;
}

h1 span {
    color: rgba(255,255,255,0.4);
    font-size: 0.5em;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

h3 {
    font-size: 2.1rem;
    text-align: center;
    margin: 20px 10px 20px 10px;
}

/* Vídeo de fondo */
#bg-video {
    position: fixed;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    width: 120vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

.presentacion {
    display: flex;
    flex-direction: column;
    padding: 50px 0px 50px 0px;
    background: rgba(0,0,0,0.9);
}

.presentacion h2 {
    margin: 20px 50px;
    text-align: center;
}

.presentacion p {
    display: flex;
    flex-direction: column;
    margin: 0 50px 50px 50px;
    text-align: center;
}

@media (min-width: 900px) {
    .presentacion {
        display: flex;
        flex-direction: column;
        padding: 50px 0px 50px 0px;
        background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9));
    }
    .presentacion p {
        display: inline;
        text-align: justify;
        width: 50vw;
    }
    .presentacion div {
        display: flex;
        flex-direction: row;
    }
}

/* SERVICIOS */
.servicios {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 60vh;
    background:rgba(0, 0, 0, 0.9);
}

.servicios h2 {
    color: rgb(255, 255, 255);
    font-size: 2.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.acordeon-servicios {
    display: flex;
    width: 100vw;
    height: 50vh;
    overflow: hidden;
    position: relative;
}

.acordeon-item {
    position: relative;
    flex-grow: 1;
    width: 0;
    overflow: hidden;
    transition: all 0.8s ease;
}

.acordeon-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
    filter: brightness(0.3);
}

.acordeon-item:hover {
    width: 30vw;
}

.acordeon-item:hover img,
.activated img {
    filter: brightness(1);
}

/* Botón encima de cada imagen */
.acordeon-item a.btn-servicios,
.acordeon-serv a.btn-servicios {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: rgb(242,237,229);
    text-decoration: none;
    background: rgba(0, 0, 0, 0);
    font-size: 2rem;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.4s ease;
    pointer-events: all;
}

/* Hover del botón (desktop con ratón) */
@media (hover: hover) and (pointer: fine) {
  .acordeon-item:hover a.btn-servicios,
  .acordeon-serv:hover a.btn-servicios {
      transform: translate(-50%, -50%) scale(1.2);
      font-size: 5em;
  }
}

.acordeon-item:hover .servart {
    color: rgb(3,0,0);
}

@media screen and (max-width: 900px) {
    .acordeon-serv a.btn-servicios {
        font-size: 0.8em;
    }
    .acordeon-serv:hover a.btn-servicios {
        font-size: 1em;
    }
}

/* PRESS */
.prensa {
    display: flex;
    flex-direction: column;
    padding: 0px 0px 100px 0px;
    margin: 0;
    align-items: center;
    justify-content: center;
    min-height: 30vh;
    background:rgb(0, 0, 0, 1);
}

.about-prensa {
    background:rgba(0, 0, 0, 0);
}

.prensa h2 {
    margin: 80px 20px 50px 20px;
}

.prensacard {
    width: 100px;
    height: 100%;
    margin: 20px;
}

.cajas {
    display: flex;
    flex-direction: row;
}

.cajaslineas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

@media screen and (min-width: 900px) {
    .cajas {
        display: flex;
        flex-direction: column;
    }
    .cajaslineas {
        display: flex;
        flex-direction: row;
    }
}

/* CONTACTO */

.contacto {
    display: flex;
    flex-direction: column;
    padding: 50px;
    background: rgb(140, 132, 114);
    color: rgb(255,255,255);
}

.contacto h2 {
    text-align: center;
    margin-bottom: 20px;
    color: rgb(255,255,255);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.formulario {
    margin-bottom: 20px;
}

.form-group {
    margin: 20px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-dos .form-group {
    padding: 0 50px 0 0;    
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: rgb(255,255,255);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;

}

.form-group input[type="checkbox"] {
    margin-right: 8px;
}

.form-descripcion {
    font-size: larger;
    margin-bottom: 5px;
}

.form-letras {
    color: rgb(255, 255, 255);
}

.textarea {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    padding-bottom: 50px;
}

textarea {
    width: 80vw;
}

.accept {
    margin: 0;
}

@media (min-width: 900px) {

    .contacto h2 {
        width: 50vw;
        color:rgb(0, 0, 0);
    }
    .contacto {
        display: flex;
        flex-direction: row;
        background: rgba(255, 255, 255, 1);
        min-height: 100vh;
        padding: 0;
    }
    .cartamail {
        background: rgb(140, 132, 114);
        color: rgb(255, 255, 255);
        min-height: 100vh;
        width: 50vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .formulario {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin: auto;
    }

    .formulario div {
        display: flex;
        flex-direction: column;
    }

    .formulario div div {
        display: flex;
        flex-direction: column;
        margin: 10px;
    }

    .textarea {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 50vw;
    }

    textarea {
        width: 30vw;
        margin-top: 0;
        margin-bottom: 25px;
    }

}

.form-group:nth-child(1),
.form-group:nth-child(3),
.form-group:nth-child(2){
    font-size: small;
    font-weight: lighter;
    margin-bottom: 0px;
    color: rgb(255, 255, 255);
}


/* BLOG */

.portadablog {
    display: flex;
    flex-direction: column;
    padding-top: 150px;
    background:rgba(0, 0, 0, 0.9);
}

.portadablog h1 {
    margin-bottom: 20px;
}

@media screen and (min-width: 900px) {
    .portadablog ul {
        display: flex;
        flex-direction: row;
    }
}


/* GALERIA */

.portadagaleria {
    display: flex;
    flex-direction: column;
    padding-top: 150px;
    background:rgba(0, 0, 0, 0.9);
}

.portadagaleria h1 {
    margin-bottom: 20px;
}

@media screen and (min-width: 900px) {
    .portadagaleria ul {
        display: flex;
        flex-direction: row;
    }
}

.galeria {
    width: 100vw;
    min-height: 100vh;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
    padding: 100px 20px;
}

.galeria div {
    box-shadow: 5px 5px 10px rgb(0, 0, 0);
    height: 250px;
}

.galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ;
}

/* popup */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 80%;
    max-width: 1600px;
    height: 90vh;
    max-height: 800px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    overflow: hidden;
    transition: 1s;
    opacity: 0;
}

.popup.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.popup.active .cerrar-btn,
.popup.active .image-name,
.popup.active .large-image,
.popup.active .index,
.popup.active .arrow-btn {
    opacity: 1;
    transition: opacity .5s;
    transition-delay: 1s;
}

.top-bar {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgb(0, 0, 0);
    color: rgba(255, 255, 255, 1);
    text-align: center;
    line-height: 50px;
    font-size: 300;
}

.image-name {
    opacity: 0;
    color: rgba(0, 0, 0, 0);
}

.cerrar-btn {
    opacity: 0;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 20px;
    right: 50px;
    width: 100px;
    height: 100px;
    cursor: pointer;
}

.cerrarrosa {
    width: 50px;
    height: 50px;
}

.arrow-btn {
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotateY(-50%);
    padding: 10px;
    border-radius: 50%;
    border: none;
    background: none;
    cursor: pointer;
    transition: 1s;
}

.arrow-btn:hover {
    background: rgba(255, 255, 255, 0.184);
}

.index {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 80px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0);
    opacity: 0;
}

.large-image {
    margin-top: 5%;
    width: 80%;
    height: 80%;
    object-fit: contain;
    opacity: 0;
}

.arrow-btn img {
    width: 50px;
    height: auto;
}

.left-arrow {
    left: 10px;
    transform: translateY(-50%) rotate(-90deg);
}

.right-arrow {
    right: 10px;
    transform: translateY(-50%) rotate(90deg);
}

@media screen and (min-width: 900px) {
    .portadagaleria ul {
        display: flex;
        flex-direction: row;
    }
  
    .galeria {
        padding: 10px 10vw;
    }
}



/* FAMILIES */


.fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Lo pone detrás del contenido */
    filter: brightness(40%);
}
.pservicios {
    height: 70vh;
    padding-top: 80px;
}

.h1serv {
    font-size: 1em;
    line-height: 60px;
}

.descripcion-servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 50px 80px 50px;
}

.descripcion-servicio p {
    margin: 50px 0 50px 0;
    max-width: 800px;
}

.servacordeon {
    background: rgba(0, 0, 0, 0);
}

@media screen and (min-width: 900px) {

    .descripcion-servicio p {
        text-align: justify;
    }
}

/* PREGUNTAS */

.preguntas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0px 0px 100px 0px;
}

.preguntas h2 {
    text-align: center;
    margin: 100px 80px 50px 80px;
}

.ppreguntas {
    text-align: justify;
    margin: 15px;
}

details {
    background: rgb(0,0,0);
    border: 1px solid rgb(188, 180, 170);
    padding: 15px;
    border-radius: 50px;
    margin: 8px 25px 8px 25px;
    padding: 25px;
    cursor: pointer;
    width: 80%;
}

details:hover {
    background: rgb(0, 0, 0);
}

details[open] {
    background: rgb(0, 0, 0);
}

summary{
    font-size: 1.5em;
}

summary::before{
    padding-right: 20px;
}


@media screen and (min-width: 900px) {
    .preguntas {
        padding: 50px 50px 50px 50px;
    }
}

/* ABOUT */

.about-alicia {
    padding: 0 50px 50px 50px;
}

.about-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-img img {
    display: flex;
    max-width: 90vw;
    object-fit: cover;
    margin: 20px 50px 20px 50px;
}

.about-text {
    text-align: center;
}

.about-text p {
    margin: 20px 0 0 0;
}

.entrevista {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    padding:0px;
}

.entrevista h2 {
    margin: 50px 30px 20px 30px;
    text-align: center;
}

.entrevista p {
    margin: 0 30px 20px 30px;
    text-align: center;
}

.ivoox-interview {
    display: flex;
    width: 80vw;
}

@media screen and (min-width: 900px) {
    .about-alicia {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
    }
    .about-img img {
        display: flex;
        max-width: 50vw;
        max-height: 90vh;
        margin: 0 150px 0 50px;
        object-fit: cover;
    }

    .about-text {
        margin: 0 50px 0 100px;
    }

    .about-text p {
        text-align: justify;
    }
}


/* FOOTER */
footer {
    display: flex;
    flex-direction: column;
    background: rgb(24, 24, 24);
    align-items: center;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

footer img {
    padding-top: 80px;
    padding-bottom: 50px;
    width: 300px;
    filter: brightness(3);
    transition: all .5s ease;
}

footer img:hover {
    scale: calc(1.2);
}

.footer-texto {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}

.footer-links {
    display: flex;
    flex-direction: column-reverse;
}

.footer-pags {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.h4-footer {
    margin-bottom: 20px;
}

.footer-pags ul,
.footer-links ul,
.footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.footer-pags ul,
.footer-links ul,
.footer-legal ul {
    text-align: center;
}

footer .coppyright {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgb(25, 25, 25),rgb(0, 0, 0));
    color: yellow;
    height: 50px;
    width: 100vw;
}

footer .coppyright a {
    text-decoration: none;
    color: rgba(255, 255, 0, 1);
}

@media screen and (max-width: 768px) {
    footer .coppyright {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        color: yellow;
        height: 100px;
        width: 100vw;
    }
}

@media screen and (min-width: 768px) {
    footer .footer-texto {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0 0 20px 50px;
    }

    .footer-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    footer .coppyright {
        margin-bottom: 0px;
    }
}
