/* Wave Divider - Final do Hero */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

.wave-desktop {
    width: 100%;
    height: auto;
    display: block;
}

.wave-mobile {
    display: none;
    width: 100%;
    height: auto;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font Faces */
@font-face {
    font-family: 'Milky Semibold';
    src: url('fonts/Milky-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;700&display=swap');

/* CSS Variables */
:root {
    --primary-blue: #0054A9;
    --white: #FFFFFF;
    --black: #000000;
}

/* Global Styles */
body {
    font-family: 'Libre Franklin', sans-serif;
    color: var(--black);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Milky Semibold', sans-serif;
}

/* Header */
.header {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    max-width: 1900px;
    padding: 0 20px;
}

.header-container {
    max-width: fit-content;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 16px;
    padding: 8px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 70px;
    width: auto;
}

.nav-desktop {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-desktop a {
    text-decoration: none;
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-desktop a:hover {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Menu Sidebar */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background-color: var(--white);
    padding: 80px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 1001;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--black);
    transition: color 0.3s;
    z-index: 1002;
}

.close-menu:hover {
    color: var(--primary-blue);
}

.close-menu svg {
    display: block;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--black);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--primary-blue);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-image: url('imagens/background-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-bottom: 100px;

}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding-top: 15vh;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    padding-bottom: 80px;
}

.hero-subtitle {
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 400;

    font-family: 'Libre Franklin', sans-serif;
}

.hero-title {
    font-size: 140px;
    font-weight: 600;
    letter-spacing: 10px;
    line-height: 1;

}

.scroll-icon {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Main Container - Now inside Hero */
.hero .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    color: var(--white);
}

/* Section Styles */
.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;

}

.section-content.reverse {
    margin-top: 120px;
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.text-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.text-column h2 {
    font-size: 80px;

    letter-spacing: 2px;
    color: var(--white);
}

.text-column .date {
    font-size: 16px;

    color: rgba(255, 255, 255, 0.8);
}

.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--white);
    border-radius: 20px;
    font-size: 14px;

    color: var(--white);
}

.description {
    font-size: 16px;
    line-height: 1.4;

    color: var(--white);
}

/* Section Linhas do Mar (Blue Card) */
.section-linhas-wrapper {
    background-color: var(--white);
    position: relative;
    padding: 150px 40px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -2px;
}

.section-linhas-card {
    background-color: var(--primary-blue);
    border-radius: 47px;
    max-width: 1200px;
    width: 100%;
    padding: 80px 100px;
    position: relative;
    z-index: 1;
}

.floating-turtle {
    position: absolute;
    top: -100px;
    right: calc(50% - 600px);
    width: 600px;
    height: auto;
    z-index: 10;
}

.linhas-content {
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.tag {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--white);
    border-radius: 20px;
    font-size: 14px;

}

.linhas-content h2 {
    font-size: 80px;

    letter-spacing: 3px;
}

.linhas-content .description {
    color: var(--white);
    font-size: 16px;
    line-height: 1.4;
}

/* Responsive Design - Menu Breakpoint */
@media (max-width: 1120px) {
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-container {
        max-width: 100%;
        justify-content: space-between;
        gap: 0;
    }
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .section-content {
        gap: 60px;
    }

    .hero-title {
        font-size: 100px;
    }

    .text-column h2 {
        font-size: 50px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .header {
        top: 20px;
        padding: 0 20px;
    }

    .header-container {
        width: 100%;
        max-width: 100%;
        padding: 10px 20px;
        justify-content: space-between;
        gap: 0;
    }

    .logo img {
        height: 45px;
        width: auto;
    }

    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        background-image: url('imagens/background-1-mobile.png');
    }

    .wave-desktop {
        display: none;
    }

    .wave-mobile {
        display: block;
    }

    .hero-title {
        font-size: 60px;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .scroll-icon svg {
        height: 30px;
        width: auto;
    }

    .content-wrapper {
        padding: 60px 20px;
    }

    .hero .content-wrapper {
        padding: 60px 20px;
    }

    .section-content {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .section-content .text-column {
        display: contents;
    }

    /* Reordering elements */
    .section-content .text-column h2 {
        order: 1;
    }

    .section-content .text-column .date {
        order: 2;
        text-align: center;
        width: 100%;
    }

    .section-content .text-column .location-tag {
        order: 3;
        align-self: center;
    }

    .section-content .image-column {
        order: 4;
        width: 100%;
    }

    .section-content .text-column .description {
        order: 5;
    }

    /* Handle specific spacing or legacy */
    .section-content.reverse {
        margin-top: 80px;
    }

    .text-column h2 {
        font-size: 50px;
    }

    .floating-turtle {
        width: 350px;
        max-width: 90%;
        top: -80px;
        /* Center using left and transform to be safe with max-width */
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .section-linhas-wrapper {
        padding: 100px 20px 60px;
    }

    .section-linhas-card {
        border-radius: 24px;
        padding: 50px 30px;
    }

    .linhas-content h2 {
        font-size: 36px;
    }

    .linhas-content {
        max-width: 100%;
    }
}
