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

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

.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;
    box-shadow: none;
    border: 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;
}

/* Hero */
.hero {
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem 1rem;
    margin-top: 170px;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    font-weight: 300;
}

/* Main */
.main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    flex: 1;
}

.main h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #2a4d3c;
}

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

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

/* Form */
.customer-form input,
.customer-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: -1rem;
    margin-bottom: 2rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
}

.checkout-btn {
    background-color: #ca5c2c;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    margin-bottom: 28px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.89rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.checkout-btn:hover {
    background-color: #b14e23;
}

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

.footer p {
    margin: 0 !important;
    padding: 0.3rem 0.5rem !important;
    color: white;
}

.page-wrapper {
    padding-bottom: 50px;
}

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

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

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

/* Mobile Styles */
@media (max-width: 767px) {
    .footer {
        padding: 0.5rem 1rem;
        font-size: 0.3rem;
        margin-top: auto;
    }

    .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;
        margin-left: auto;
    }

    .logo {
        height: 70px;
    }

    .hero {
        margin-top: 120px;
    }

    .customer-form input,
    .customer-form textarea {
        font-size: 0.9rem;
    }

    .checkout-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .customer-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .checkout-btn {
        width: auto;
        align-self: center;
        text-align: center;
    }

}