/* Estilos Generales */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}
/* --- Galeria --- */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 10px;
    margin-top: 40px;
} 
.gallery-column {
    display: grid;
    grid-auto-rows: auto;
    grid-gap: 15px;
}
.gallery-column img {
    width: 100%;
    display: block;
}
/* --- Responsive para galería --- */
@media (max-width: 900px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
        margin-top: 30px;
    }
    
    .gallery-container::before {
        content: '';
        width: 20px;
        grid-column: 2 / 2;
    }

    .gallery-column img {
        width: 100%;
        display: block;
    }

    .gallery-container > :nth-child(5) {
        display: none;
    }
}
/* --- Sección de inspiración --- */
.inspiration-section {
    display: flex;
    align-items: center;
    margin: 40px 0;
    padding-left: 4.5em;
    padding-right: 2.5em;
}
.left-side {
    position: relative;
    width: 50%;
}
.carrusel01 img {
    visibility: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.carrusel01 img.active {
    visibility: visible;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}
.left-side img {
    position: absolute;
    right: 200px;
    top: 50%;
    transform: translateY(30%);
    width: 250px;
    height: auto;
}
.texto-inspiracion {
    font-size: 3em;
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    top: 5px;
    right: -200px;
    text-align: right;
    margin-right: 20px;
    line-height: 1.2;
}
.texto-inspiracion strong {
    font-size: 1.5em;
    font-weight: 700;
    font-style: italic;
    font-family: 'Montserrat', sans-serif;
}
/* ---------------------------------------------------------------------- */
.right-side {
    position: relative;
    flex-basis: 50%;
}
.carrusel02 img {
    visibility: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.carrusel02 img.active {
    visibility: visible;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}
.right-side img {
    position: absolute;
    bottom: -520px;
    right: 90px;
    width: auto;
    height: 250px;
}
.texto-elementos-experenciales {
    font-size: 1.5em;
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    text-align: left;
    bottom: -340px;
    right: 85%;
    transform: rotate(-90deg);
    transform-origin: bottom right;
}
.texto-elementos-experenciales strong {
    font-size: 1em;
    font-weight: 700;
    font-style: bold;
    font-family: 'Montserrat', sans-serif;
}
/* --- Responsividad de Inspiración --- */
@media (max-width: 900px) {
    .inspiration-section {
        padding-left: 1em;
        padding-right: 1em;
    }
    .left-side img {
        right: -160px;
        margin-top: 5px;
        width: 300px;
    }
    .texto-inspiracion {
        font-size: 2em;
        text-align: center;
    }
    /* ---------------------------------------------------------------------- */
    .right-side img {
        bottom: -820px;
        right: 10px;
        height: 170px;
    }
    .texto-elementos-experenciales {
        font-size: 1.2em;
        bottom: -670px;
        right: 165%;
    }
}

@media (min-width: 1600px) {
    .right-side img {
        bottom: -530px;
        right: 15em;
        height: 300px;
    }
}

/* --- Sección de jarrones --- */
.jarrones {
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    box-sizing: border-box;
    background-color: #000;
    height: 73vh;
    margin-top: 650px;
}
.text-content {
    color: #fff;
    text-align: center; 
    flex-basis: 50%;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
}
.text-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 3em;
    margin-bottom: 0.5em;
}
.text-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 1em;
    margin-bottom: 2em;
}
.text-content a {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding: 20px 60px;
    border: 1px solid transparent;
    cursor: pointer;
    border-radius: 35px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}
.text-content a:hover {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255);
}
.image-content {
    flex-basis: 50%;
    position: relative;
}
.image-content img {
    max-width: 100%;
    height: 23em;
    align-self: flex-start;
}
.image-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 3.5em;
    position: absolute;
    right: 10px;
    color: #fff;
    align-self: self-end;
}
/* --- Responsividad de Jarrones --- */
@media (max-width: 900px) {
    .jarrones {
        margin-top: 900px;
        flex-direction: column;
        height: 90vh;
        padding: 0 0px;
    }
    .text-content h3 {
        font-size: 1.9em;
        margin-bottom: 0px;
    }
    .text-content p {
        font-size: 0.9em;
        margin-bottom: 37em;
    }
    .image-content img {
        position: absolute;
        max-width: 100%;
        height: auto;
        margin-top: -35em;
    }
    .image-content h3 {
        font-size: 2.7em;
        position: absolute;
        top: calc(100% - 6em); 
        left: 0;
        right: 0;
        text-align: center;
        transform: none;
    }
}
/* ---- sección del muro ---- */
.muro {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../media/img/muro-de-escalar.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 70vh;
    color: #fff;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.text-container {
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
    text-align: left;
    padding-left: 30px;
}
.text-container h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 3em;
    margin-bottom: 0;
}
.text-container p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 1em;
    margin-top: 10;
}
.muro a {
    background-color: rgba(255, 255, 255, 0);
    color: rgb(255, 255, 255);
    padding: 20px 60px;
    border: 1px solid rgb(255, 255, 255);
    cursor: pointer;
    border-radius: 35px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    align-self: center;
    margin-top: 50vh;
}
.muro a:hover {
    background-color: rgb(249, 249, 249);
    color: rgb(0, 0, 0);
    border: 1px solid rgb(255, 255, 255);
}
/* --- Responsividad de muro --- */
@media (max-width: 900px) {
    /* Debemos conseguir una imagen de fondo que se vea bien en dispositivos móviles */
}
/* --- sección Espacios de Calidad  --- */
.espacios-de-calidad {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #000;
}
.texto {
    flex: 1;
    text-align: left;
    padding-right: 20px;
    padding-left: 40px;
    position: relative;
}

.texto::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    border-left: 2px solid #000;
}
.texto h3 {
    font-size: 3.5em;
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
}
.carrusel03 {
    flex: 1;
    text-align: right;
    position: relative;
}
.carrusel03 img {
    visibility: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    width: 100%;
    height: 500px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.carrusel03 img.active {
    visibility: visible;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    position: relative;
}
/* --- Responsividad de espacios de calidad --- */
@media (max-width: 900px) {
    .espacios-de-calidad {
        flex-direction: column;
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 0px;
    }
    .texto {
        text-align: center;
    }
    .texto h3 {
        font-size: 2em;
    }
}
/* --- Sección del footer --- */
.footer {
    display: flex;
    flex-wrap: wrap;
}
.site-footer {
    position: relative;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    padding-bottom: 8.5em;
    font-family: 'Montserrat', sans-serif;
}
.footer-column {
    flex: 1 0 200px;
    text-align: left;
    padding: 10px;
}
.footer-column h4 {
    font-size: 1.3em;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
}
.footer-column p {
    font-size: 0.9em;
    margin: 5px 0;
}
.footer-column img {
    width: auto;
    height: 5em;
    margin-top: 3em;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.footer-column ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
    margin-top: 5.5em;
}
.footer-column ul li {
    display: inline-block;
    margin-right: 20px;
}
.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: color 0.5s ease;
}
.footer-column ul li a:hover {
    color: #ccc;
}
.scroll-top {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background-color: #000;
    color: #fff;
    border-radius: 10%;
    margin-top: 10px;
    transition: background-color 0.5s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.scroll-top:hover {
    background-color: #ccc;
    color: #000;
}
.footer-copyright {
    position: absolute;
    top: 15em;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8em;
    padding-bottom: 0px;
    margin-top: 30px;
}
.footer-copyright a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
.footer-copyright a:hover {
    color: #ff0000;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    transition: color 0.5s ease;
}
.social-icons a:hover {
    color: #ccc;
}
/* --- Responsividad del footer --- */
@media (max-width: 900px) {
    .footer, .site-footer {
        flex-direction: column;
    }
    .footer-column ul {
        display: flex;
        flex-direction: column;
        margin-top: 2em;
    }
    .footer-column {
        width: 100%;
        flex: 1 0 100px;
    }
    .footer-column, .social-icons {
        text-align: center;
        margin: 5px 0;
        padding: 0 0 0px 0; /* Ajusta el relleno para reducir la altura */
    }
    .footer-column h4, .footer-column ul li a {
        display: block;
    }
    .footer-column img {
        margin: 20px auto;
        display: flex; /* Añade flex */
        justify-content: center; /* Centra horizontalmente */
        align-items: center; /* Centra verticalmente */
    }
    .scroll-top {
        margin: 20px auto;
    }
    .footer-column ul li {
        margin: 5px 0;
    }
    .scroll-top {
        position: fixed;
        bottom: 20px;
    }
    .footer-copyright {
        position: static; /* Elimina la posición absoluta */
        margin-top: 20px; /* Añade un margen superior */
        border-top: 1px solid #fff; /* Añade un borde superior */
        padding-top: 20px; /* Añade un espaciado superior */
    }
}