/* Estilo da seção de boas-vindas */
.welcome-section {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust height as needed */
    background: url('/imgs/welcome-background.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    /*Conteúdo adicional para a borda*/
    border-bottom: 5px solid rgb(0, 5, 105);
    box-shadow: 0 7px 5px rgba(0, 0, 0, 0.3);
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent layer */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-content {
    color: white;
    text-align: center;
    padding: 40px;
    max-width: 600px;
}

.welcome-logo {
    width: 200px; /* Adjust size as needed */
    margin-bottom: 10px;
}

.welcome-section h1 {
    font-size: 2em;
    margin: 0;
}

/* Responsividade para a seção de boas-vindas */
@media (max-width: 768px) {
    .welcome-content {
        flex-direction: column;
    }

    .welcome-logo {
        margin-bottom: 10px;
        margin-right: 0;
    }
}

/*<----------------------------------------------------------------------------------------------->*/

/* Estilo da seção Sobre */
.about-section {
    padding: 40px 20px;
    background-color: #f4f4f4;
}

.about-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-column {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
}

.photo-container {
    position: relative;
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center; /* Center the overlay and image vertically */
}

.about-photo {
    width: 150px;
    height: auto;
    display: block;
    margin-bottom: 15px;
    border: 2px solid rgb(0, 5, 105);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 93%;
    background-color: rgba(0, 5, 105, 0.7); /* Dark semi-transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.5s ease;
}

.overlay-text {
    font-size: 0.7em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.about-column h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: rgb(0, 5, 105);
}

.about-column ul {
    list-style-type: none;
    padding-left: 0;
    font-size: 0.8em;
    text-align: center;
}

.about-column ul li {
    margin-bottom: 5px;
}

/* Responsividade para a seção Sobre */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-column {
        margin-bottom: 20px;
        width: 100%;
    }
}

/*Animação de overlay nas fotos das pessoas*/
.photo-container:hover .photo-overlay {
    opacity: 1;
    transform: translateY(0);
}

.photo-container:hover .overlay-text {
    opacity: 1;
    transform: translateY(0);
}

/*<----------------------------------------------------------------------------------------------->*/

/* Estilo da seção de botões PDF */
.pdf-buttons-section {
    padding: 40px 20px;
    background-color: rgb(0, 5, 105);
    border-bottom: 5px solid rgb(0, 5, 105);
    box-shadow: 0 7px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.pdf-buttons-container {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
    gap: 20px;
}

.pdf-button-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

.pdf-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #fff;
    color: black;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease, transform 0.3s ease;
}

.pdf-button:hover {
    background-color: rgb(0, 5, 105);
    color: white;
    transform: scale(1.05);
    border: 5px solid white;
}

/*<----------------------------------------------------------------------------------------------->*/

/* Estilo da seção de contactos */
.contact-section {
    padding: 40px 20px;
    background-color: #f4f4f4;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-column {
    flex: 1;
    padding: 10px 20px 20px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    border-radius: 10px;
}

.maps-image {
    width: 100%;
    height: auto;
    margin-top: 10px;
}

.contact-column h3 {
    margin-top: 10px;
    color: rgb(0, 5, 105);
}

.contact-column p,
.contact-column ul {
    font-size: 13px;
    line-height: 1.6;
}

.contact-column ul {
    list-style-type: none;
    padding-left: 0;
}

.contact-column ul li {
    margin-bottom: 5px;
}

/* Responsiveness for Contact Section */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-column {
        width: 100%;
        margin-bottom: 20px;
    }
}