@import url('./typography.css');

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

html,
body {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #2a4d3c;
    background: linear-gradient(-45deg, #fdfaf4, #f2e7d5, #e6dccb, #fdfaf4);
    background-size: 400% 400%;
    animation: gradientFlow 12s ease infinite;
    text-align: justify;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(-45deg, #fdfaf4, #f2e7d5, #e6dccb, #fdfaf4);
    background-size: 400% 400%;
    animation: gradientFlow 20s ease infinite;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    z-index: 1000;
    border: none;
    box-shadow: none;
}

.logo {
    height: 150px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    font-size: 1.2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2a4d3c;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ca5c2c;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #2a4d3c;
}

/* Content */
main {
    max-width: 800px;
    margin: 2rem auto;
    margin-top: 120px;
    padding: 6rem 1rem 2rem;
    flex: 1;
}

main p,
main li {
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

section {
    margin-bottom: 3rem;
}

ul {
    list-style: none;
    padding-left: 0;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.cta-buttons a {
    text-decoration: none;
    background-color: #ca5c2c;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.cta-buttons a:hover {
    background-color: #b14e23;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2a4d3c;
    color: white;
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.footer p {
    margin: 0;
    padding: 0.5rem 1rem;
    color: white;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Mobile Styles */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        border-radius: 0.5rem;
        top: 80px;
        right: 1.2rem;
        background-color: #fdfaf4;
        padding: 1rem;
        gap: 1rem;
        font-size: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .nav-menu.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        margin-left: auto;
    }

    .logo {
        height: 70px;
    }

    main {
        max-width: 800px;
        margin: 2rem auto;
        margin-top: 50px;
        padding: 6rem 1rem 2rem;
        flex: 1;
    }


    .cta-buttons a {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .footer {
        padding: 0.5rem 1rem;
        font-size: 0.3rem;
        margin-top: auto;
    }
}

html {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
}