/* General Styles */
@font-face {
    font-family: 'Neuton';
    src: url('Fuentes/NeutonCursive-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Merriweather';
    src: url('Fuentes/Merriweather-Italic-VariableFont_opsz\,wdth\,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Cocomat';
    src: url('Fuentes/cocomat-pro-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Arapey';
    src: url('Fuentes/Arapey-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('Fuentes/Montserrat-Bold.ttf') format('truetype');
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat light';
    src: url('Fuentes/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
}

body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif, 'Neuton', 'Arapey';
    margin: 0;
    padding: 0;
    color: #333;
}

/* Navbar */

.navegacion-container {
    display: flex;
    justify-content: space-around;
    /*flex-wrap: wrap;*/
    background-color: #205b2c;
}

.navegacion-item1 {
    width: 85%;
    margin: 0;
    text-align: center;
}
.navegacion-item2 {
    width: 15%;
    margin: 0;
    text-align: center;
}


.navbar {
    background-color: #205b2c;
    overflow: hidden;
    text-align: center;
    padding-right: 20%;
    margin: 0;
}
.navbar2 {
    background-color: #205b2c;
    overflow: hidden;
    text-align: right;
    padding-right: 0px;
    margin: 0;
}

.navbar a {
    float: inline-end;
    display: block;
    color: white;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 17px;
    font-family: 'Montserrat';
    font-weight:700;
    letter-spacing: 1px;
}
.navbar2 a {
    float: right;
    display: block;
    color: white;
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 10px;
    text-decoration: none;
    font-size: 17px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.navbar2 a, .navbar2 img {
    border: none;
}
.navbar2 img {
    border: none;
    margin-top: 1px;
}

.navbar2 a:hover {
    background-color: #ddd;
    color: black;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

#language-selector a {
    color: #000; /* Cambia el color según tu diseño */
    text-decoration: none;
    margin: 0 0px; /* Reduce el espacio entre EN y ES */
    padding: 0 0px;
}

#language-selector a:hover {
    text-decoration: underline;
}

#language-icon {
    width: 25px; /* Ajusta el tamaño del icono según necesites */
    height: 25px;
    margin-right: 5px;
    text-align: center;
    padding-top:7px;
}

/* Header Section */
.header-bg {
    position: relative;
    background: url('Images/Pabellon\ claro\ Recortado.svg') no-repeat center center;
    background-size: cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: left;
    color: white;
    text-align: center;
    padding-left: 200px;
}

.logo {
    width: 300px;
    position: left;
}

.slogan {
    margin-top: 130px;
    padding-left: 70px;
    padding-top: 2%;
    font-size: 170%;
    font-family: 'Merriweather';
    color: #732231;
    font-weight: 530;
    letter-spacing: 3px;
}


/* Image Strip */
.image-strip {
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    padding: 0;
    height: 170px;
}

.image-strip img {
    width: 16.66%;
    object-fit: cover;
}

/* Sections */
section {
    padding: 60px 20px;
}

.background-light {
    background-color: #fcf4f7ff;
    padding-top: 20px;
    padding-bottom: 25px;
    letter-spacing: 3px;
}

.background-white-services {
    background-color: white;
    padding-top: 20px;
    padding-bottom: 25px;
}
.background-white {
    background-color: white;
    padding-top: 20px;
    padding-bottom: 25px;
    letter-spacing: 3px;
}
.background-soft-green {
    background-color: #82dc9177;
    padding-top: 20px;
    padding-bottom: 25px;
    letter-spacing: 3px;
}
h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Merriweather';
    color: #333;
    font-size: 170%;
}


/* Contenedor principal */
.seccion-destacada {
    background-color: #82dc9177; /* Fondo oscuro */
    color: #333; /* Texto oscuro */
    padding: 30px 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1200px;
    text-align: center; /* Título centrado */
}

/* Título centrado */
.titulo-destacado {
    font-size: 1.8em;
    margin-bottom: 20px; /* Espacio debajo del título */
    font-weight: 2000;
    letter-spacing: 2px;
    font-family: 'Cocomat';
    padding-bottom: 10px; 
}


/* Contenedor del contenido (ícono + texto) */
.contenido-destacado {
    display: flex; /* Flexbox para ícono y texto */
    align-items: center; /* Centrado vertical */
    text-align: left;
}

/* Estilo del ícono */
.icono-destacado {
    flex: 0 0 120px; /* Tamaño fijo del ícono */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10%;
}

.icono-destacado img {
    width: 100%; /* Tamaño del ícono */
    height: auto;
    padding-bottom: 100%;
    align-items: start;
}

/* Texto alineado a la derecha */
.texto-destacado {
    flex: 1; /* El texto ocupa el espacio restante */
    padding-left: 20px; /* Espacio entre ícono y texto */
    padding-right: 15%;
}

.texto-destacado p {
    font-size: 1.3em;
    line-height: 1.6;
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 3%;
}


/* Media Query para pantallas más pequeñas */
@media screen and (max-width: 768px) {
    .titulo-destacado {
        margin-bottom: 5px; /* Espacio debajo del título */
    }
    
    .contenido-destacado {
        flex-direction: column; /* Cambia a vertical */
        text-align: center; /* Centra el texto */
    }

    .icono-destacado {
        margin: 2px 0; /* Espacio entre el logo y el texto */
        width: 60px; /* Reduce el tamaño del ícono en móviles */
        height: auto;
        padding-left: 0%;
        padding-right: 0%;
    }
    
    .icono-destacado img {
        width: 60px; /* Tamaño del ícono */
        height: auto;
        padding-bottom: 0%;
    }

    .contenido-destacado p {
        text-align: center;
        font-size: 1.1em; /* Ajuste del tamaño del texto */
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-weight: 600;
        letter-spacing: 1px;
    }

    .texto-destacado {
        padding-left: 5%;
        padding-right: 5%;
    }
}



/* Services Section */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    color: #333;
}

.service-item {
    text-align: center;
    width: 26%;
    margin: 10px 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    text-align: center;
    padding: 20px;
    font-size: 21px; 
    color: #333;
    letter-spacing: 0px;
}

.service-item img {
    width: 80px;
    height: 80px;
    padding-top: 7%;
}

.service-item h3 {
    margin-top: 20px;
    font-size: 1em;
    font-family: 'Cocomat';
    padding-left: 6%;
    padding-right: 6%;
    letter-spacing: 1px;
    line-height: 1.3;
}
.service-item p{
    padding-left: 6%;
    padding-right: 6%;
    line-height: 1.5;
}


/* About Us Section */
#about h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Merriweather';
    font-size: 170%;
    color: #333;
}

#about p {
    margin: 0 0%;
    text-align: center;
    line-height: 1.625;
    padding-left: 150px;
    padding-right: 150px;
    padding-bottom: 20px;
    padding-top: 0px;
    color: #333;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.3em;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* News Section */
.news-container {
    display: flex;
    justify-content: space-around;
    color: #333;
}

.news-item {
    width: 30%;
    margin: 10px;
    text-align: center;
}

.news-item img {
    border-radius: 5px;
    width: 350px;
    height: 200px;
    object-fit: cover;
    color: #333;
}

.news-item h1 {
    margin-top: 10px;
    font-family: 'Montserrat';
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: large;
    padding-left: 3%;
    padding-right: 3%;
}
.news-item p {
    margin-top: 10px;
    font-family: 'Montserrat light';
    font-weight: 500;
    letter-spacing: 0.01em;
    padding-left: 3%;
    padding-right: 3%;
    line-height: 1.5;
}

/* Contact Section */
.contact-container {
    display: flex;
    justify-content: space-around;
    color: #333;
}

.contact-item1 {
    width: 30%;
    padding-left: 10%;
    padding-top: 40px;
    text-align: left;
    color: #333;   
    font-size: 100%;
    font-weight: 700; 
    font-family: 'Cocomat'
}

.contact-item1 p {
    text-decoration: none;
    padding-top: 5px;
    padding-bottom: 5px;
    letter-spacing: 2px;
}
.contact-item1 a {
    text-decoration: none;
    padding-left: 10px;
    color: inherit
}

.contact-item2 {
    width: 70%;
    margin: 40px;
    text-align: center;
    font-size: large;
    font-weight: 700; 
    font-family: 'Cocomat'
}

.contact-item2 label{
    letter-spacing: 2px;
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 1em;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
    margin-bottom: 0.5em;
    color: #333;
    font-weight: bold;
    font-family: 'Cocomat';
    letter-spacing: 2px;
}

form input {
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Cocomat';
    font-size: large;
    letter-spacing: 2px;
}
form textarea {
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 150px; /* Ajusta la altura según tu preferencia */
    resize: vertical; /* Permite que el usuario cambie la altura verticalmente, si lo deseas */
    font-family: 'Cocomat';
    font-size: large;
    letter-spacing: 2px;
}
form button {
    padding: 0.7em;
    color: #333;
    background-color: #82dc9177;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-family: 'Cocomat';
    font-weight: 700;
    letter-spacing: 2px;
}

form button:hover {
    background-color: #205b2c;
    color: white;
}

.form-response p {
    font-size: 16px;
    margin-top: 10px;
    font-family: 'Cocomat'
}
.form-response .success {
    color: #333;
}
.form-response .error {
    color: rgb(224, 129, 4);
}

/* Footer */
footer {
    background-color: #205b2c;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Back to Top Button */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    padding: 5px;
    border-radius: 15px;
}

#backToTopBtn img {
    width: 45px;
    height: 45px;
    align-items: center;
}

#backToTopBtn:hover {
    background-color: #205b2c;
}
/*confirmación de correo*/
.barconfirm {
    background-color: #205b2c;
    overflow: hidden;
    text-align: right;
    padding-right: 0px;
    margin: 0;
}

.barconfirm a {
    float: right;
    display: block;
    color: white;
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 10px;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.barconfirm a:hover {
    background-color: #ddd;
    color: black;
}

.barconfirm img {
    border: none;
    margin-top: 2px;
}

.confirm {
    text-align: center;
    background-color: #fcf4f7ff;
    padding-top: 5%;
    padding-bottom: 5%;
}
.confirm h1{
    font-family: 'Cocomat';
    font-size: 220%;
    margin: 5%;
    letter-spacing: 3px;
}
.confirm p{
    font-family: 'Merriweather';
    font-size: 120%;
    letter-spacing: 2px;
}

.contact-icons {
    display: flex;
    justify-content: center; /* Centra los íconos horizontalmente */
    align-items: center; /* Centra los íconos verticalmente */
    gap: 40px; /* Ajusta la separación entre los íconos */
    padding-top: 30px;
}

.contact-icons a {
    text-decoration: none;
    color: inherit; /* Mantiene el color original del ícono */
}

.barconfirm2 {
    background-color: #82dc9177;
    overflow: hidden;
    align-items: center;
}

.barconfirm2 a {
    float: right;
    display: block;
    color: #333;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding-right: 10%;
    padding-left: 10%;
}
.barconfirm2 a:hover {
    background-color: #205b2c;
    color: white;
}
.divider-confirm {
    border-left: 2px solid #333; /* Define el color y grosor de la línea */
    height: 40px; /* Define la altura de la línea */
    margin: 0 10px; /* Define la separación entre la línea y las secciones */
}

@media screen and (max-width: 768px) {
    .navegacion-container {
        background-color: #205b2c;
        height: max-content;
    }
    
    .navegacion-item1 {
        width: 70%;
        padding-right: 30%;
    }
    .navegacion-item2 {
        width: 30%;
        display: flex;
        justify-content: flex-end;
        align-items: top;
    }
    .navbar a {
        float: none;
        display: block;
        text-align: right;
    }
    .navbar2 a {
        font-size: 13px;
    }
    #language-icon {
        width: 18px; /* Ajusta el tamaño del icono según necesites */
        height: 18px;
        padding-top:9px;
    }

    .header-bg {
        padding-left: 20px;
        height: auto;
        justify-content: center;
        text-align: center;
        padding-top: 5%;
        padding-bottom: 5%;
    }

    .header-bg .logo {
        width: 50%;
        max-width: 300px;
        margin: 0 auto;
    }

    .slogan {
        margin-top: 20px;
        padding-left: 0;
        padding-right: 10%;
        font-size: 20px;
    }

    .image-strip img {
        width: 50%;
        height: auto;
    }

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

    .service-item {
        width: 90%;
        margin: 10px 0;
    }

    #about p {
        padding-left: 20px;
        padding-right: 20px;
    }

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

    .news-item {
        width: 90%;
        margin-bottom: 20px;
    }
    
    #contact p {
        padding-left: 10px;
        padding-right: 10px;
    }
    .contact-container {
        display: flex;
        flex-direction: column;
    }
    .contact-item1 {
        width: 90%;
        padding-left: 15%;
    }

    .contact-item2 {
        margin-top: 20px;
    }
}