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

body {
    background-color: #faf6ec;
    width: 100%;
    min-height: 100vh;
    font-family: 'Times New Roman', Times, serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0.1rem 7%;

    background-color: #fff6e5;
    border-bottom: 1px solid rgb(255, 251, 240);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 9999;
}

nav div img {
    width: 50px;
}

.navbar .navbar-nav a {
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;

    color: #31824C;
    font-size: 1.3rem;

    margin: 0 1rem;

    border-bottom: 1px solid transparent;

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.navbar .navbar-nav a:hover {
    color: #42B067;
    border-bottom-color: #42B067;
}

.cart-icon {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 20%;

    width: 60px;
    height: 48px;
    padding: 10px;

    text-decoration: none;

    transition: background-color 0.3s ease;
}

.cart-icon:hover {
    background-color: #dddddda9;
}

.cart-icon img {
    width: 24px;
    height: 24px;
}

#cart-count {
    background: #31824C;
    color: white;

    border-radius: 50%;
    padding: 2px 6px;

    font-size: 0.8rem;
    margin-left: 4px;
}

.navbar .navbar-extra a {
    color: #31824C;
    margin: 0 0.5rem;
    text-decoration: none;
}

.navbar .navbar-extra a:hover {
    color: #42B067;
}

#hamburger-menu {
    display: none;
    cursor: pointer;

    font-weight: 900;
    font-size: 2rem;

    font-family: 'Times New Roman', Times, serif;
}

.order-section {
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #fdebcf;

    padding: 3rem 4rem;
    gap: 3rem;
}

.order-text {
    flex: 1;

    color: #31824C;

    font-family: 'Times New Roman', Times, serif;

    font-weight: bold;
    font-size: 1.3rem;

    line-height: 1.6;
}

.order-text h2 {
    font-size: 2.5rem;
    line-height: 1.3;

    margin-bottom: 1rem;
    margin-left: 100px;
    margin-top: 60px;

    font-weight: 900;
    text-align: center;
}

.order-text p {
    font-size: 1.21rem;

    margin-top: 0;
    margin-left: 100px;

    font-weight: normal;
    text-align: center;
}

.order-image {
    flex: 0.7;

    display: flex;
    justify-content: flex-end;

    margin-right: 170px;
    margin-top: 60px;
}

.order-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
}

.form-grid {
    display: grid;

    grid-template-columns: 200px minmax(0, 1fr);

    gap: 1rem 2rem;

    max-width: 800px;

    margin: 80px auto 0;

    align-items: center;
}

.form-label {
    display: flex;
    align-items: center;

    gap: 0.5rem;

    color: #31824C;
    font-weight: bold;

    min-height: 38px;
}

.multi-line-label {
    padding-top: 1rem;
}

.form-field {
    min-width: 0;
}

.form-field input,
.form-field textarea {
    width: 100%;

    padding: 0.6rem;

    border: 1px solid #9dc5a3;
    border-radius: 4px;

    box-sizing: border-box;

    font-family: 'Times New Roman', Times, serif;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid #31824C;
    outline-offset: 1px;
}

.form-field textarea {
    height: 120px;
    resize: none;
}

.double {
    display: flex;
    gap: 1rem;

    margin-top: 0.5rem;
}

.double input {
    flex: 1;
    min-width: 0;
}

.button-wrapper {
    grid-column: 1 / -1;

    display: flex;
    justify-content: center;

    margin-top: 3rem;
}

.button-wrapper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 10px 20px;

    color: #ffffff;
    background-color: #31824C;

    border: 2px solid transparent;
    border-radius: 4px;

    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.button-wrapper button:hover {
    background-color: #ffffff;
    color: #31824C;

    border-color: #31824C;
}

.button-wrapper button:active {
    background-color: #e8f3ec;
    color: #256638;

    border-color: #256638;
}

.popup-overlay {
    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.4);

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.popup-box {
    background: #ffffff;

    padding: 20px 30px;

    border-radius: 10px;

    max-width: 600px;
    width: 90%;

    text-align: center;

    font-family: 'Times New Roman', serif;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.2);
}

.popup-message {
    display: block;

    margin-bottom: 20px;

    font-size: 1.2rem;
    color: #000000;
}

#popupCloseBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;

    background-color: #31824C;
    color: #ffffff;

    padding: 0.5rem 1.5rem;

    border: 2px solid transparent;
    border-radius: 6px;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

#popupCloseBtn:hover {
    background-color: #ffffff;
    color: #31824C;

    border-color: #31824C;
}

#popupCloseBtn:active {
    background-color: #e8f3ec;
    color: #256638;

    border-color: #256638;
}

.button-wrapper button:focus-visible,
#popupCloseBtn:focus-visible {
    outline: 3px solid #a5d6a7;
    outline-offset: 3px;
}

.footer {
    background-color: #fdebcf;

    padding: 40px 60px;

    font-family: 'Times New Roman', Times, serif;

    color: #1c1c1c;
    font-size: 18px;

    margin-top: 200px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    column-gap: 200px;

    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: bold;

    margin-bottom: 12px;
}

.footer-column ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;

    font-size: 16px;

    cursor: pointer;
}

.footer-column ul li:hover {
    text-decoration: underline;
}

.footer hr {
    width: 97%;

    border: none;
    border-top: 1px solid #000000;

    margin: 24px auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    flex-wrap: wrap;

    gap: 16px;
}

.footer-left {
    display: flex;
    align-items: center;

    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 60px;

    margin-left: 50px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 1.2rem;

    padding: 1rem 0;

    margin-right: 50px;
}

.footer-socials img {
    width: 44px;
    height: 44px;

    padding: 6px;

    background-color: #ead3ac;

    border-radius: 50%;

    border: 2px solid transparent;

    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.08);

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    cursor: pointer;

    object-fit: contain;
}

.footer-socials img[alt="youtube"],
.footer-socials img[alt="instagram"],
.footer-socials img[alt="linkedin"] {
    padding: 0;
}

.footer-socials img:hover {
    background-color: #fff9ee;

    border-color: #896526;

    transform: scale(1.05);

    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1440px) {

    html {
        font-size: 75%;
    }

}

@media (max-width: 1024px) {

    html {
        font-size: 62.5%;
    }

    #hamburger-menu {
        display: inline-block;
    }

    .navbar .navbar-nav {
        position: absolute;

        top: 100%;
        right: -100%;

        background-color: white;

        width: 30rem;
        height: 100vh;

        transition: right 0.3s ease;
    }

    .navbar .navbar-nav.active {
        right: 0;
    }

    .navbar .navbar-nav a {
        display: block;

        margin: 1.5rem;
        padding: 0.5rem;

        font-size: 2rem;

        position: relative;
    }

    .navbar .navbar-nav a::after {
        content: "";

        position: absolute;

        left: 0;
        bottom: 0;

        height: 2px;
        width: 100%;

        background-color: #31824C;

        transform: scaleX(0);

        transition: transform 0.3s ease;

        transform-origin: left;
    }

    .navbar .navbar-nav a:hover::after {
        transform: scaleX(0.2);
    }

    .order-section {
        gap: 2rem;
    }

    .order-text h2 {
        margin-left: 30px;
    }

    .order-text p {
        margin-left: 30px;
    }

    .order-image {
        margin-right: 30px;
    }

    .form-grid {
        width: 90%;
        max-width: 800px;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-logo {
        margin-left: 0;
    }

    .footer-socials {
        justify-content: center;
        margin-right: 0;
    }

}

@media (max-width: 600px) {

    html {
        font-size: 55%;
    }

    #hamburger-menu {
        display: inline-block;

        font-weight: 900;
        font-size: 2rem;

        font-family: Arial Black, sans-serif;

        color: #31824C;

        cursor: pointer;
    }

    .navbar .navbar-nav {
        display: none;

        position: absolute;

        top: 100%;
        right: 1rem;

        background: #ffffff;

        flex-direction: column;

        width: 200px;
        height: auto;

        padding: 1rem;

        box-shadow:
            0 4px 8px rgba(0, 0, 0, 0.1);

        border-radius: 0.5rem;
    }

    .navbar .navbar-nav.active {
        display: flex;
    }

    .order-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;

        padding: 4rem 1rem 2rem;

        text-align: center;
    }

    .order-text {
        margin: 0;
        padding: 0;
    }

    .order-text h2 {
        font-size: 3rem;

        margin: 10rem 0 1rem;

        line-height: 1.4;
    }

    .order-text p {
        font-size: 1.7rem;
        margin: 0 0 1.5rem;
    }

    .order-image {
        margin: 0;
        justify-content: center;
    }

    .order-image img {
        max-width: 250px;
        height: auto;

        margin-bottom: 2rem;
        margin-top: -2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;

        gap: 1rem;

        width: 100%;
        padding: 0 1rem;
    }

    .form-label {
        justify-content: flex-start;
    }

    .double {
        flex-direction: column;
        gap: 0.5rem;
    }

    .button-wrapper {
        margin-top: 2rem;
    }

    .button-wrapper button {
        width: 100%;

        padding: 0.8rem;

        font-size: 1.3rem;
    }

    .footer {
        padding: 40px 20px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;

        text-align: center;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 1rem;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        align-items: center;

        gap: 0.5rem;
    }

    .footer-logo {
        margin-left: 0;
    }

    .footer-socials {
        margin: 0;

        justify-content: center;
        flex-wrap: wrap;
    }

}

@media (prefers-reduced-motion: reduce) {

    .button-wrapper button,
    #popupCloseBtn,
    .footer-socials img {
        transition: none;
    }

}