@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
/* START PROJECT */
/* HEADER */
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    transition: 0.5s;
}
header.sticky{
    background: rgb(242, 240, 223);
    padding: 20px 100px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
header .logo{
    color: #000;
    font-size: 24px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
}
header.sticky .logo{
    color:#111;
}
header ul{
    position: relative;
    display: flex;
}
header ul li{
    position: relative;
    list-style: none;
}
header ul li a{
    position: relative;
    display: inline-block;
    margin: 0  15px;
    color: #000;
    text-decoration: none;
} 
.social-icon-wrap {
    display: flex;
    position: relative;
    text-align: center;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    gap: 5px;
}
.social-icon-wrap img{
    width: 32px;
    height: 32px;
}
.social-icon-wrap.style5 a {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 5px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 500ms ease;
}
.social-icon-wrap.style5 a:hover {
    background-color: lightgray;
    color: #fff;
}
header .social-icon-wrap {
    justify-self: end;
}
header .logo {
    justify-self: start;
}
header ul {
    justify-self: center;
}
header .toggle {
    display: none;
}
/* HEADER ENDS */
/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100%;
    background: var(--navbar-bg-color); /* Usa el mismo color de fondo que el navbar */
    color: var(--navbar-font-color); /* Usa el mismo color de texto que el navbar */
    font-family: var(--navbar-font-family); /* Usa la misma fuente que el navbar */
    backdrop-filter: blur(10px);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar ul li a {
    text-decoration: none;
    color: var(--navbar-font-color); /* Usa el mismo color de texto que el navbar */
    font-size: 18px;
    font-weight: bold;
}

.sidebar .close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
    color: var(--navbar-font-color); /* Usa el mismo color de texto que el navbar */
}

.open-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: none;
    color: var(--navbar-font-color); /* Usa el mismo color de texto que el navbar */
}

/* Ocultar navbar cuando el ancho es menor a 1110px */
@media (max-width: 1110px) {
    header ul {
        display: none;
    }

    .open-btn {
        display: block;
    }

    .sidebar {
        right: -50%;
    }

    .sidebar.active {
        right: 0;
    }

    .open-btn.hidden {
        display: none;
    }
}
/* Ocultar social icons cuando el ancho es menor a 1110px */
@media (max-width: 1110px) {
    .social-icon-wrap {
        display: none;
    }
}

/* Estilo para los íconos sociales dentro del sidebar */
.sidebar .social-icon-wrap {
    display: flex;
    justify-content: center; /* Centra los íconos horizontalmente */
    align-items: center;
    gap: 10px; /* Espaciado entre los íconos */
    margin-top: 20px; /* Espaciado superior opcional */
}

.sidebar .social-icon-wrap img {
    width: 32px; /* Tamaño de los íconos */
    height: 32px;
    transition: transform 0.3s ease; /* Efecto al pasar el cursor */
}

.sidebar .social-icon-wrap img:hover {
    transform: scale(1.1); /* Aumenta ligeramente el tamaño al pasar el cursor */
}
/* BANNER */
.banner {
    position: relative;
    min-height: 100vh;
    background-image: url(images/foto.png);
    background-position: right;
    display: flex;
    justify-content: center; /* Centra el contenido horizontalmente */
    align-items: center; /* Centra el contenido verticalmente */
    padding: 100px;
    text-align: center; /* Asegura que el texto esté centrado */
}

.banner h2 {
    font-size: 3em;
    color: #000;
    font-weight: 500;
    line-height: 1.5em;
}

.banner h2 span {
    font-size: 1.5em;
    font-weight: 700;
}

.banner h3 {
    font-size: 1.5em;
    color: #000;
    font-weight: 500;
}

.banner p {
    font-size: 1.5em;
    color: #000;
    font-weight: 400;
    margin-right: 100;
    text-align: justify;
}

@media (max-width: 1270px) {
    .banner p {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .banner {
        flex-direction: column; /* Asegura que el contenido esté en una columna */
        justify-content: center; /* Centra el contenido verticalmente */
        align-items: center; /* Centra el contenido horizontalmente */
        padding: 100px 20px; /* Ajusta el padding para evitar colisiones con el header */
        background-position: center !important;
        background-size: cover;
    }


    .banner h2 {
        font-size: 2em; /* Ajusta el tamaño del texto para pantallas pequeñas */
    }

    .banner p {
        font-size: 1em; /* Ajusta el tamaño del párrafo */
        margin-right: 0; /* Elimina el margen derecho */
    }
}
.btn{
    position: relative;
    background:#fff;
    display: inline-block;
    color: #000;
    margin-top: 20px;
    padding: 10px 30px;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn:hover, .btn2:hover {
    background-color: lightgray;
    transform: scale(1.05);
}
.btn2{
    position: relative;
    border: 1px solid #000;
    background: transparent;
    display: inline-block;
    color: #000;
    margin-top: 20px;
    padding: 9px 16px;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
/* BANNER ENDS */
/* MAPS CONTAINER */
.card-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 100px;
    margin-bottom: 100px;
}
.card img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    height: 300px;
}
.card{
    width: 500px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 20px;
    }
.card-content{
    padding: 16px;
    }
.card-content h3{
    font-size: 28px;
    margin-bottom: 8px;
    }
.card-content p{
    font-size: 15px;
    color: #666;
    line-height: 1.3;
}
.card-content .btn{
    display: inline-block;
    padding: 8px 16px;
    background-color: #333;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 16px;
    color: #fff;
}
.maps{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 0px;
    justify-items: center;
}
/* Center the third card below the first row */
.maps .card-container:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
}
@media(max-width: 1100px){
    .maps{
        display: block;
    }
}
/* MAPS CONTAINER ENDS */
/* FOOTER */
footer {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se ajusten en varias líneas */
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 100px;
    background: rgb(242, 240, 223);
    color: #000;
}

footer div {
    flex: 1; /* Cada columna ocupa el mismo espacio */
    margin: 10px;
    text-align: center;
}

footer h4 {
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

footer a {
    display: block;
    text-decoration: none;
    color: #000;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #555;
}

footer form input {
    width: 100%;
    max-width: 400px;
    height: 40px;
    border-radius: 4px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    outline: none;
    border: 1px solid #ccc;
}

footer form button {
    background: transparent;
    border: 2px solid #000;
    color: #000;
    border-radius: 30px;
    padding: 10px 30px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

footer form button:hover {
    background-color: #000;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    footer {
        flex-direction: column; /* Cambia a diseño vertical */
        align-items: center;
        padding: 20px;
    }

    footer div {
        margin: 20px 0; /* Añade espacio entre las columnas */
        text-align: center;
    }

    footer form input {
        width: 90%; /* Ajusta el ancho del input */
    }
}
/* Centrar los íconos de redes sociales */
footer .social-icon-wrap {
    display: flex;
    justify-content: center; /* Centra los íconos horizontalmente */
    align-items: center; /* Centra los íconos verticalmente */
    gap: 10px; /* Espaciado entre los íconos */
    margin-top: 20px; /* Espaciado superior opcional */
}

footer .social-icon-wrap img {
    width: 32px; /* Tamaño de los íconos */
    height: 32px;
    transition: transform 0.3s ease; /* Efecto al pasar el cursor */
}

footer .social-icon-wrap img:hover {
    transform: scale(1.1); /* Aumenta ligeramente el tamaño al pasar el cursor */
}
/* FOOTER ENDS */