:root {
    --text-white: #fff;
    --navbar-bg-color: #fff;
    --navbar-shadow-color: rgba(0, 0, 0, 0.2);
    --text-dark-blue: #002e6f;
    --text-dark-gray: #343a40;
    --primary-color: #014AAD;
    --section-bg-color: #E3F2FD;
    --footer-bg-color: #333;
    --carousel-shadow-color: rgba(0, 0, 0, 0.1);
    --background-light-gray: #f8f8fa;
    --welcome-message-mask-bg: rgba(248, 249, 250, 0.3);
}

body {
    font-family: Arial, sans-serif;
}

.language-flag {
    height: 40px;
    width: auto;
}

/* Navbar styles */
.navbar-scrolled {
    background-color: var(--navbar-bg-color) !important;
    box-shadow: 0 3px 10px var(--navbar-shadow-color);
}

.navbar {
    transition: all 0.5s;
}

@media (max-width: 992px) {
    .language-flag {
        height: 25px;
    }
}

/* End Of Navbar styles */

/* Welcome Message styles */
.welcome-message-container {
    background: url('../images/welcome/playa-calafell.webp') no-repeat center center;
    background-size: cover;
    height: 500px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-message-mask {
    width: 100%;
    height: 100%;
    background-color: var(--welcome-message-mask-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

#welcome-message {
    color: var(--text-dark-blue);
    font-size: 2.5rem;
    padding: 20px;
    max-width: 80%;
    font-weight: bold;
}
/* End Of Welcome Message styles */

/* Description styles */
.description-section {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 2rem 0;
}

.description-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-white);
}
/* End of Description styles */

/* Carousel styles */
.container.carousel-info {
    margin-bottom: 2rem;
}

.carousel h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.carousel p {
    color: var(--text-dark-gray);
    margin-bottom: 1rem;
}

#carouselEscorContainer,
#carouselPescadorContainer {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: var(--background-light-gray);
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px var(--carousel-shadow-color);
}
/* End of Carousel styles */

/* Sections styles */
.section-img {
    height: 100%;
    max-height: 300px;
    width: auto;
}

.text-section {
    padding: 30px 40px;
    max-height: 300px;
    font-size: 1.2rem;
    background-color: var(--section-bg-color);
}

.section-heading {
    color: var(--primary-color);
}

.culture-section,
.sports-section,
.gastronomy-section,
.commerce-section {
    margin-bottom: 30px;
    max-height: 300px;
    overflow: hidden;
}

@media (max-width: 850px) {
    .culture-section,
    .sports-section,
    .gastronomy-section,
    .commerce-section {
        flex-direction: column-reverse;
        max-height: fit-content;
    }

    .section-img {
        width: auto; /* Adjust if needed */
        max-height: auto;
    }

    .text-section {
        padding: 10px;
        text-align: center; /* Adjust if needed */
        max-height: fit-content;
    }
}
/* End Of Sections styles */

/* Footer styles */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--text-white);
    padding: 20px 0;
}

.footer-img {
    height: 100px;
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}
.footer-content {
    text-align: center;
}


.footer-copyright {
    color: var(--text-white);
    padding: 10px 0;
}
