:root {
    --color-principal: #abc2bf;
    --color-secundario: #b9a59d;
    --color-fondo: #f1f1f1;
    --color-acento: #ff9f1c;
    --color-texto: #333333;
    --color-texto-secundario: #7d7d7d;
}

* {
    padding: 0;
    box-sizing: border-box;
}

body, p {
    margin: 0;
}

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;
}

nav {
    display: flex;
    gap: 15px;
}

nav a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 500;
}

nav a:hover {
    background-color: #7da0a3;
    color: var(--color-fondo);
}

ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.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;
}

.image-main-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.image-main-container img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.image-thumbnails img {
    width: 100px;
    height: 75px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-thumbnails img:hover {
    transform: scale(1.1);
}

.info-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 18px;
}

.info-icons i {
    color: var(--color-principal);
    margin-right: 5px;
}

.info-icons span {
    font-size: 16px;
    color: var(--color-texto);
}

.description-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1600px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.description-left, .description-right {
    flex: 1;
    width: 50%;
}

.description-left {
    border-right: 2px solid var(--color-principal);
}

.description-right {
    padding-left: 20px;
}

.description h2, .description h3 {
    color: var(--color-principal);
    margin-bottom: 12px;
}

.description h3 {
    margin-bottom: 30px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

/* Estilos para listas */
.description ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.description ul li {
    font-size: 16px;
    color: var(--color-texto);
    padding: 8px 0;
}

.description ul li strong {
    color: var(--color-principal);
}

.map-container {
    width: 100%;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.description-right iframe {
    width: 100%;
    height: 250px;
    border-radius: 8px;
}

/* Redes Sociales */
.social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
}

.social-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.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 {
    transform: scale(1.1);
    background-color: #7da0a3;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 2000;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.lightbox-img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.lightbox-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    max-width: 90%;
}

.lightbox-thumbnail {
    width: 70px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.lightbox-thumbnail.active {
    opacity: 1;
    border: 2px solid var(--color-acento);
    transform: scale(1.1);
}

.lightbox-thumbnail:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    body {
        padding: 0;
        margin: 0;
    }

    .content {
        width: 100%;
        max-width: 100%;
        margin: 10px auto;
        padding: 15px 10px;
    }

    header {
        flex-direction: column;
        align-items: center;
        padding: 5px 10px;
        height: auto;
        box-shadow: none;
    }

    .logo .logo-text {
        font-size: 22px;
        text-align: center;
        margin-bottom: 5px;
        letter-spacing: 1px;
    }

    nav {
        display: flex;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    nav a {
        font-size: 12px;
        padding: 5px 10px;
        width: auto;
        text-align: center;
    }

    nav a:hover {
        background-color: #2e573b;
        color: var(--color-fondo);
    }


    .info-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .info-icons span {
        font-size: 14px;
    }

    .description-container {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .description-left, .description-right {
        width: 100%;
        padding: 0;
        border-right: none;

    }

    .image-main-container {
        width: 100%;
        padding: 0 5px;
    }

    .image-main-container img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .image-thumbnails {
        justify-content: flex-start;
        padding: 0;
    }

    .description h2, .description h3 {
        font-size: 18px;
    }

    .social-icons {
        bottom: 15px;
        right: 10px;
    }
    .lightbox-thumbnail {
        width: 50px;
        height: 35px;
    }

    .lightbox-thumbnails {
        gap: 5px;
        margin-top: 10px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 75vh;
    }

    .lightbox-img {
        max-width: 100%;
        max-height: 100%;
    }
}