/* ----------- GENERAL STYLING ----------- */
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600&display=swap');

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

html {
    font-size: 16px;
}

body {
    background-color: #1C1E28;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100vw;
}

.container {
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

/* ----------- HEADER ----------- */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #1C1E28;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 0;
    z-index: 1000;
}

header .logo {
    display: flex;
    align-items: center;
    padding-left: 10px;
}

header .logo img {
    max-height: 40px;
    height: auto;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    header {
        padding: 0 0.25em;
    }

    header .logo {
        padding-left: 2%;
    }

    header .logo img {
        max-height: 35px;
    }
}

/* ----------- NAVIGATION ----------- */
#main-menu {
    display: flex;
    align-items: center;
    gap: 1em;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.5rem;
    font-weight: 300;
    margin-right: 1.25em;
}

nav ul li a:hover {
    color: #B9B2AA;
}

@media (max-width: 1600px) {
    nav ul li a {
        font-size: 1.2rem;
    }
}

/* ----------- HAMBURGER MENU ----------- */
#hamburger-menu {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

#hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 6px auto;
    background-color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#hamburger-menu.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

#hamburger-menu.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1000px) {
    #hamburger-menu {
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        padding-right: 10px;
        z-index: 2001;
    }

    #main-menu {
        flex-direction: row-reverse;
        justify-content: flex-start;
        width: auto;
    }

    #main-menu ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 63px;
        left: 0;
        right: 0;
        background-color: #1C1E28;
        align-items: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        z-index: 2000;
    }

    #main-menu ul.show {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #main-menu ul li {
        margin: 0.8em 0;
        width: 100%;
        max-width: 300px;
    }

    #main-menu ul li a {
        font-size: 1.3rem;
        padding: 0.5em 1em;
        display: block;
        text-align: center;
    }

    #main-menu ul.show li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: scale(1.05);
    }
}

/* ----------- SECTION 1 ----------- */
.section1 {
    background-color: #FFFFFF;
    color: #1C1E28;
    width: 100%;
}

.section1-content {
    display: flex;
    padding: 1em;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.section1-content .left {
    width: 100%;
    text-align: left;
}

.section1-content h1 {
    font-weight: 700;
    font-size: 3rem;
    text-align: left;
}

@media (max-width: 786px) {
    .section1-content {
        flex-direction: column;
        padding: 1em;
    }

    .section1-content h1 {
        font-size: 2rem;
    }
}

/* ----------- SECTION 2 ----------- */
.section2 {
    background-color: #FFFFFF;
    color: #1C1E28;
}

.section2-content {
    display: flex;
    flex-wrap: wrap;
    padding: 1em 1em 2em 1em;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.section2-content .left {
    width: 100%;
}

.section2-content a {
    color: #1C1E28;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s;
}

.section2-content a:hover {
    color: #b9b2aa;
}

.section2-content p {
    margin: 1em;
    font-size: 1.2rem;
    font-weight: 200;
    padding: 0 3em;
    text-align: justify;
}

@media (max-width: 786px) {
    .section2-content {
        flex-direction: column;
        padding: 1em;
    }

    .section2-content p {
        font-size: 12px;
        font-weight: 300;
        padding: 0;
    }
}

/* ----------- FOOTER ----------- */
.footer {
    background-color: #414F47;
    color: #f0f0f0;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column {
    min-width: 120px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-logo {
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .footer-column {
        margin-bottom: 20px;
    }
}
