body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    font-family: 'Poiret One', cursive;
    font-size: 18px;
    overflow-x: hidden;
    background-color: #222;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
}

.nav-links li:last-child {
    padding-right: 30px;
}

.logo img {
    height: 90px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 20px;
}

.nav-links li {
    padding: 0 10px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
}

.video-container {
    max-height: 100vh;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.video-bg {
    width: 100%;
    height: auto;
    position: relative;
}

.services {
    text-align: center;
    padding: 50px 20px;
    color: #fff;
    background: #222;
}

.services h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.service-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item {
    border-radius: 30px;
    background: #212121;
    box-shadow: 15px 15px 30px rgb(25, 25, 25), -15px -15px 30px rgb(60, 60, 60);
    margin: 15px;
    padding: 20px;
    width: calc(50% - 30px);
    box-sizing: border-box;
}

.service-item h3 {
    color: #fff;
}

.service-item ul {
    list-style: none;
    padding: 0;
}

.service-item li {
    text-align: left;
    padding: 5px 0;
}

@media (max-width: 768px) {
    .service-container {
        flex-direction: column;
    }

    .service-item {
        width: 100%;
    }
}

.masonry-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 300; /* Asegúrate de que la galería esté delante del iframe */
}

.masonry-item {
    margin: 5px;
    flex-grow: 1;
}

.masonry-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    max-width: 100%;
    max-height: 100vh;
    display: block;
    margin: auto;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.contact-section {
    background: url('image/fulls/ParqueLineal_03.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 50px 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 400px;
}

.contact-form-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    margin-right: 50px;
}

.contact-form-card h2 {
    margin-top: 0;
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
}

.contact-form-card input,
.contact-form-card button {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

.contact-form-card button {
    background-color: #f1f1f1;
    color: #222;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form-card button:hover {
    background-color: #ccc;
}

.invite-text {
    font-style: italic;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-card {
        margin-right: 0;
        margin-top: 20px;
    }
}

.explorer-section {
    background: #222;
    color: #fff;
    padding: 50px 10px;
    text-align: center;
    z-index: 200; /* Asegúrate de que el iframe esté detrás de la galería */
}

.explorer-container {
    margin: 20px 0;
}

.explorer-container iframe {
    width: 100%;
    height: 1200px;
    border: none;
}
