@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: auto;
}

body {
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100%;
    width: 100%;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #ecececa0;
    top: 0;
    width: 100%;
    z-index: 1;
    transition: top 0.3s;
}

.icono {
    max-width: 8rem;
    flex: 0 0 auto;
}

.font-title {
    margin-bottom: 10px;
}

.calibri-font {
    font-family: 'Calibri', sans-serif;
    font-size: 28px;
    font-weight: 300;
}

.image-gallery {
    margin: 10px 0;
}

.bars__menu {
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    z-index: 40;
}

.bars__menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: #ec8805d4;
    margin: 4px 0;
    transition: all 200ms;
}

.activeline1__bars-menu {
    transform: rotate(45deg) translate(-2px, 1px);
}

.activeline2__bars-menu {
    opacity: 0;
    margin-left: -30px;
}

.activeline3__bars-menu {
    transform: rotate(-45deg) translate(-4px, 2px);
}

.nav {
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 12rem;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #1c1c1c;
    padding: 72px;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5);
    z-index: 30;
    transition: opacity 0.3s, visibility 0.3s;
}

.nav.visible {
    opacity: 1;
    visibility: visible;
}

.nav-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    margin-top: 3rem;
}

.nav-list a {
    text-decoration: none;
    color: #ecececec;
}

.contact-section,
.photo-gallery {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}

.map-container,
.photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 2);
}

.welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.slider-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    box-sizing: border-box;
}

.image-slider {
    flex: 1;
    overflow: hidden;
    margin-right: 20px;
    position: relative;
    max-width: 40%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slides img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.welcome-text {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    max-width: 50%;
}

.welcome-text h2.description {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 896px) {
    .slider-container {
        flex-direction: column;
    }

    .image-slider,
    .welcome-text {
        width: 100%;
        margin: 0;
        padding: 10px;
        max-width: none;
    }

    .image-slider {
        max-height: 200px;
    }

    .slides img {
        max-height: 200px;
    }

    .welcome-text h2.description {
        text-align: center;
        padding: 10px;
    }
}

.about {
    text-align: center;
    margin: 2rem 0;
}

.about h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-container {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.service-card {
    position: relative;
    flex-basis: calc(33.333% - 20px);
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    display: block;
    transition: transform 0.2s ease;
}

.service-card:hover img {
    transform: scale(1.2);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.service-card:hover .service-overlay {
    transform: translateY(0);
}

.service-title {
    font-size: 1.5rem;
    margin: 0;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 2rem;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.service-link:hover {
    background-color: #5a6268;
}

@media screen and (max-width: 896px) {
    .bars__menu span {
        width: 20px;
        height: 2px;
        margin: 3px 0;
    }

    header {
        padding: 1rem;
    }

    .contact-section,
    .photo-gallery {
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
    }

    .map-container,
    .photo-container {
        width: 100%;
        margin: 10;
        padding: 50px;
    }

    .service-container {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        flex-basis: 90%;
        margin: 10px auto;
        margin-bottom: 2rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .service-card .service-image {
        width: 100%;
        height: auto;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-left,
    .footer-right {
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-right h4 {
        margin-right: 0;
    }
}

footer {
    position: relative;
    width: 100%;
    background-color: #2c2c2c;
    color: white;
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-left h4,
.footer-right h4 {
    margin-bottom: .5rem;
}

.bi-instagram,
.bi-envelope {
    margin: 0 0.5rem;
    font-size: 2rem;
    color: #878787
}

.whatsapp-icon {
    position: fixed;
    bottom: 50px;
    right: 10px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    padding: 0.5rem;
    font-size: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}


#svg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    z-index: -1;
    background: url('background.svg') no-repeat center center;
    background-size: cover;
}