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

body {
    font-family: 'Montserrat', sans-serif;
    padding-top: 80px;
}

#top-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

#header-logo {
    width: 8rem;
}

#header-links {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.header-link {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

#language-selector {
    position: relative;
}

#current-language-selection {
    display: flex;
    align-items: center;
    gap: 0.3em;
    cursor: pointer;
    font-weight: bold;
}

#selection-arrow {
    width: 8px;
    height: auto;
}

#language-selection {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin: 0;
    display: none;
    z-index: 10;
}

#language-selection.show {
    display: block;
}

#language-selection li {
    padding: 10px 16px;
    white-space: nowrap;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3em;
}

#language-selection li:hover {
    background: #f0f0f0;
}

#header-icons {
    display: flex;
    gap: 1rem;
}

.header-icon {
    width: 2rem;
    height: 2rem;
}

#hamburger-button {
    display: none;
    background-color: #d3ab83;
    border: none;
    padding: 8px;
}

#hamburger-button img {
    width: 24px;
    height: 24px;
}

.selection-flag {
    width: 16px;
    height: 11px;
}

.image-container {
    position: relative;
    overflow: hidden;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(225, 225, 225, 0.82);
    z-index: 0;
}

.inner-container {
    position: relative;
    height: 100%;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    z-index: 1;
}

#home-first-section .inner-container {
    justify-content: left;
    padding-left: 0;
}

#home-second-section .inner-container {
    justify-content: flex-start;
}

#home-first-section {
    height: 500px;
    background-image: url('../img/conferencePicture.jpg');
    background-size: cover;
    background-position: center;
}

#home-first-section #home-hover-logo {
    position: relative;
    width: 60%;
    max-width: 550px;
}

#home-second-section {
    height: 484px;
    background-image: url('../img/meetingPicture.jpg');
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .inner-container {
        padding-left: 40px;
    }
    #home-first-section .inner-container {
        padding-left: 40px;
    }
    #home-first-section #home-hover-logo {
        width: 40%;
    }
    .home-second-text {
        padding-left: 0;
    }
}

.separator {
    width: 100%;
    height: 20px;
    background-color: #f8b87d;
    margin: 0;
}

.home-second-text {
    position: relative;
    width: 100%;
    text-align: left;
    color: #000;
}

.home-second-text h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    margin: 0.5rem 0 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #000;
}

.home-second-text p {
    font-size: 15px;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #000;
}

.button {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: bold;
}

.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* Page visibility */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* About page */
.about-section {
    background-size: cover;
    background-position: center;
}

.about-section .inner-container {
    padding: 4rem 2rem;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    color: #000;
}

.about-text h1,
.about-text h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 15px;
    font-weight: 500;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

#about-company {
    background-image: url('../img/feira-scaled.jpg');
    min-height: 500px;
}

#about-founder {
    background-image: url('../img/feira2-scaled.jpg');
    min-height: 500px;
}

#about-call {
    background-image: url('../img/services.png');
    background-size: cover;
    background-position: center;
}

#about-call .inner-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    min-height: 300px;
}

#about-call h2 {
    font-size: 2rem;
    font-weight: 700;
}

/* Services */
.service-section {
    background-size: cover;
    background-position: center;
}

.service-section .inner-container {
    padding: 4rem 2rem;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-text {
    flex: 1;
    color: #000;
}

.service-text h1,
.service-text h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-text p {
    margin-bottom: 1rem;
    font-size: 15px;
    font-weight: 500;
}

.service-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.inner-container.reverse {
    flex-direction: row-reverse;
}

.overlay-heavy::after {
    background-color: rgba(255, 255, 255, 0.85);
}

.overlay-light::after {
    background-color: rgba(255, 255, 255, 0.2);
}

.service-intro {
    background-image: url('../img/feira2-scaled.jpg');
}

.service-hostess {
    background-image: url('../img/services2back.jpeg');
}

.service-sales {
    background-image: url('../img/services.png');
}

.service-catering {
    background-image: url('../img/services4back.jpeg');
}

.service-rental {
    background-image: url('../img/services5back.jpeg');
}

.service-cta {
    background-image: url('../img/services6back.png');
}

.service-cta .inner-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    min-height: 300px;
}

/* Contact page */
#contact .image-container {
    background-image: url('../img/contactUsBack.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

#contact .inner-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

#contact h1 {
    margin-bottom: 1rem;
    text-align: center;
}


#contact .lang-content {
    width: 100%;
    max-width: 500px;
    flex-direction: column;
    align-items: center;
}

#contact .lang-content.active {
    display: flex;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #000;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.contact-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0);
}

.contact-form {
    width: 100%;
    max-width: 500px;
}

.contact-form label {
    display: block;
    margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    color: #333;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    width: 100%;
    background: #f8b87d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    #header-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(211, 171, 131, 0.95);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 1rem;
    }

    #header-links.show {
        display: flex;
    }

    #header-icons {
        display: none;
    }

    #hamburger-button {
        display: block;
    }

    #home-first-section .inner-container {
        justify-content: center;
    }

    .about-section .inner-container,
    .service-section .inner-container,
    .inner-container.reverse {
        flex-direction: column;
        align-items: flex-start;
    }

    #language-selection {
        position: static;
        transform: none;
        border: none;
        box-shadow: none;
        width: 100%;
        margin-top: 0.5rem;
    }

    #language-selector {
        width: 100%;
    }
}
