:root {
    --color-principal: #abc2bf;
    --color-secundario: #b9a59d;
    --color-fondo: #f1f1f1;
    --color-acento: #7da0a3;
    --color-texto: #333333;
    --color-texto-secundario: #7d7d7d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    padding: 20px;
    min-height: 100vh;
    line-height: 1.6;
}

header {
    background-color: var(--color-principal);
    color: white;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 50px;
    margin-right: 10px;
}

header .logo-text {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 30px;
}

nav {
    display: flex;
    gap: 15px;
}

nav a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
    background-color: var(--color-acento);
    color: var(--color-fondo);
}

.content {
    padding: 40px;
    background-color: white;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 1700px;
}

.alojamiento {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--color-fondo);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.alojamiento .text, .alojamiento .image-container {
    width: 45%;
    margin-left: 5%;
}

.alojamiento .image-container {
    height: 700px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.alojamiento .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.alojamiento .image-container img.active {
    opacity: 1;
}

.more-info-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-principal);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.more-info-btn:hover {
    background-color: #7da0a3;
}

.social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    background-color: var(--color-principal);
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 24px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons a i {
    vertical-align: middle;
}

.social-icons a:hover {
    background-color: #7da0a3;
    transform: scale(1.1);
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.6);
}


@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 15px;
        box-shadow: none;
    }

    .logo .logo-text {
        font-size: 22px;
        text-align: center;
        margin-bottom: 5px;
        line-height: 1.2;
    }

    nav {
        display: flex;
        justify-content: space-around;
        gap: 15px;
        width: 100%;
        text-align: center;
    }

    nav a {
        font-size: 14px;
        padding: 5px 10px;
    }

    .social-icons {
        bottom: 15px;
        right: 15px;
    }

    .alojamiento {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        margin: 0 auto;
        width: 100%;
    }

    .alojamiento .text,
    .alojamiento .image-container {
        width: 100%;
        margin: 0;
    }

    .alojamiento .image-container {
        height: 400px;
    }

    .more-info-btn {
        font-size: 14px;
        padding: 8px 16px;
        margin-bottom: 20px;
    }

    .arrow {
        font-size: 20px;
        padding: 8px;
    }

    .social-icons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .social-icon-container {
        width: 40px;
        height: 40px;
    }

    .social-icon-container img {
        width: 25px;
        height: 25px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .description {
        width: 100%;
        font-size: 14px;
    }

   .logo .logo-text {
        font-size: 22px;
        text-align: center;
        margin-bottom: 5px;
        letter-spacing: 1px;
    }
    .content {
        padding: 40px 20px;
        max-width: 100%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .alojamiento {
        flex-direction: column;
        padding: 20px;
    }

    .alojamiento .text {
        width: 90%;
        text-align: center;
    }

    .alojamiento .image-container {
        width: 90%;
        height: 400px;
    }

    .alojamiento .image-container img {
        object-fit: cover;
    }

    .arrow {
        font-size: 28px;
        padding: 10px;
    }

    .section-title {
        font-size: 32px;
    }

    .more-info-btn {
        font-size: 16px;
        padding: 10px 20px;
        margin-bottom: 20px;
    }
 
}
