@import url('https://fonts.googleapis.com/css2?family=Courgette&family=Patrick+Hand+SC&family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Courgette&family=Patrick+Hand+SC&family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Courgette&family=Patrick+Hand+SC&family=Quicksand:wght@300..700&family=Satisfy&display=swap');

:root {
    --aqua: #9ff1e5;
    --purple: #c885ec;
    --light-purple: #f5e8fb;
    --dark-purple: #9f55c7;
    --white: #ffffff;
    --cream: #fffdf9;
    --black: #000000;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

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

nav {
    text-align: right;
    padding: 12px 15px;
    background-color: var(--aqua);
    width: fit-content;
    margin-left: auto;
    border-radius: 0 0 0 20px;
}

nav a {
    display: inline-block;
    text-decoration: none;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0 15px;
    color: var(--white);
    transition: color 0.2s ease, transform 0.2s ease;
}

nav a + a {
    border-left: 2px solid rgba(255, 255, 255, 0.5);
}

nav a:hover {
    color: var(--purple);
    transform: translateY(-3px);
}

/* ==== HERO ==== */

.order-hero {
    position: relative;
    padding: 100px 30px 125px;

    background-color: white;

    text-align: center;
    overflow: visible;
    z-index: 5;
}

.order-hero-content {
    position: relative;
    max-width: 850px;

    margin: 0 auto;
    z-index: 2;
}

.order-hero h1 {
    margin: 0 0 20px;

    color: var(--purple);

    font-family: "Courgette", cursive;
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 400;

    line-height: 1.1;
}

.order-hero p {
    max-width: 700px;
    margin: 0 auto;

    color: #555;

    font-size: 1.15rem;
    line-height: 1.8;
}

.order-hearts {
    display: flex;

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

    gap: 28px;
    margin-top: 30px;
}

.order-hearts span {
    display: inline-block;
    color: var(--aqua);
    font-size: 22px;
}

.order-hearts span:nth-child(1) {
    transform: rotate(-12deg);
}

.order-hearts span:nth-child(2) {
    color: var(--dark-purple);
    transform: translateY(-7px);
}

.order-hearts span:nth-child(3) {
    transform: rotate(12deg);
}

/* ==== TRANSITION 1 ==== */

.order-hero::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 100%;
    height: 8px;

    background-color: var(--aqua);

    clip-path: polygon(
        0% 45%,
        5% 35%,
        10% 50%,
        15% 38%,
        20% 52%,
        25% 40%,
        30% 48%,
        35% 35%,
        40% 50%,
        45% 39%,
        50% 52%,
        55% 38%,
        60% 49%,
        65% 37%,
        70% 51%,
        75% 38%,
        80% 49%,
        85% 37%,
        90% 50%,
        95% 39%,
        100% 45%,
        100% 65%,
        95% 59%,
        90% 66%,
        85% 57%,
        80% 65%,
        75% 58%,
        70% 66%,
        65% 57%,
        60% 64%,
        55% 56%,
        50% 65%,
        45% 56%,
        40% 64%,
        35% 55%,
        30% 65%,
        25% 57%,
        20% 64%,
        15% 56%,
        10% 65%,
        5% 56%,
        0% 62%
    );

    box-shadow:
        0 6px 8px rgba(91, 45, 120, 0.35);

    z-index: 12;

    pointer-events: none;
}

.order-hero::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -45px;

    width: 100%;
    height: 55px;

    background-color: var(--cream);

    clip-path: polygon(
        0% 0%,
        5% 18%,
        10% 5%,
        15% 22%,
        20% 8%,
        25% 20%,
        30% 6%,
        35% 23%,
        40% 8%,
        45% 21%,
        50% 5%,
        55% 21%,
        60% 7%,
        65% 22%,
        70% 6%,
        75% 20%,
        80% 7%,
        85% 22%,
        90% 5%,
        95% 19%,
        100% 0%,
        100% 100%,
        0% 100%
    );

    z-index: 10;

    pointer-events: none;
}

/* ==== BEFORE ORDER ==== */

.before-order {
    position: relative;
    background-color: var(--cream);

    padding: 110px 40px 150px;
    text-align: center;

    z-index: 1;
}

.before-order > h2 {
    margin: 0 0 15px;

    color: var(--purple);

    font-family: "Quicksand", sans-serif;
    font-size: 2.8em;

    line-height: 1.2;
}

.before-order > p {
    max-width: 650px;

    margin: 0 auto;
    color: #555;

    font-size: 1.1em;
    line-height: 1.7;
}

.before-order > .divider {
    display: flex;

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

    gap: 12px;
    margin: 25px auto 55px;
}

.before-order > .divider span:first-child, .before-order > .divider span:last-child {
    width: 60px;
    height: 2px;

    background-color: var(--aqua);
    border-radius: 10px;
}

.before-order > .divider span:nth-child(2) {
    color: var(--dark-purple);
    font-size: 1.1em;
}

.before-order-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
    max-width: 1150px;

    margin: 0 auto;
}

.order-info-card {
    display: flex;

    flex-direction: column;
    align-items: center;

    min-height: 280px;
    padding: 35px 25px 32px;

    background-color: var(--white);
    border-radius: 28px;

    box-shadow:
        0 8px 20px rgba(91, 45, 120, 0.10);

    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.order-infor-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 14px 28px rgba(91, 45, 120, 0.16);
}

.order-info-icon {
    width: 65px;
    height: 65px;

    display: flex;

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

    margin-bottom: 20px;
    background-color: var(--aqua);
    border-radius: 50%;

    color: var(--dark-purple);

    font-family: "Quicksand", sans-serif;
    font-size: 1.4em;
    font-weight: 700;

    transition:
        transform: 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease; 
}

.order-info-card:hover .order-info-icon {
    background-color: var(--purple);
    color: var(--white);
    transform: scale(1.08) rotate(-3deg);
}

.order-info-card h3 {
    margin: 0 0 12px;
    color: var(--dark-purple);

    font-family: "Quicksand", sans-serif;
    font-size: 1.35em;
}

.order-info-card p {
    margin: 0;
    color: #555;
    font-size: 0.98em;
    line-height: 1.65;
}

@media (max-width: 950px) {
    .before-order-options {
        grid-template-columns: repeat(2, 1fr);
        max-width: 750px;
    }
}

@media (max-width: 600px) {
    .before-order {
        padding: 90px 25px 100px;
    }
    .before-order > h2 {
        font-size: 2.3em;
    }
    .before-order-options {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

.before-order::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 130px;

    background: linear-gradient(
        to bottom,
        rgba(255, 253, 249, 0) 0%,
        rgba(159, 241, 229, 0.35) 55%,
        var(--aqua) 100%
    );

    z-index: -1;
    pointer-events: none;
}

/* ===== ORDER OPTIONS ===== */

.order-options {
    position: relative;

    padding: 100px 40px 120px;

    background-color: var(--aqua);

    text-align: center;

    z-index: 1;
}

.order-options-heading {
    max-width: 700px;

    margin: 0 auto 55px;
}

.order-options-heading h2 {
    margin: 0 0 15px;

    color: var(--dark-purple);

    font-family: "Quicksand", sans-serif;
    font-size: 2.8em;

    line-height: 1.2;
}

.order-options-heading p {
    max-width: 650px;

    margin: 0 auto 12px;

    color: #555;

    font-size: 1.1em;
    line-height: 1.7;
}

.order-options-heading p:last-child {
    margin-bottom: 0;
}

.order-options-heading a {
    color: var(--dark-purple);

    font-weight: 700;

    text-decoration: none;

    transition: color 0.2s ease;
}

.order-options-heading a:hover {
    color: var(--purple);
}

.order-cards {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

    max-width: 950px;

    margin: 0 auto;
}

.order-card {
    position: relative;

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 35px;

    background-color: var(--white);

    border-radius: 30px;

    text-align: left;

    box-shadow:
        0 10px 25px rgba(91, 45, 120, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.order-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 16px 32px rgba(91, 45, 120, 0.18);
}

.order-card-image {
    flex: 0 0 85px;

    width: 85px;
    height: 85px;

    display: flex;

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

    background-color: var(--light-purple);

    border-radius: 50%;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.order-card-image img {
    width: 55px;
    height: 55px;

    object-fit: contain;
}

.order-card:hover .order-card-image {
    background-color: var(--purple);

    transform: scale(1.08) rotate(-3deg);
}

.order-card-content {
    flex: 1;
}

.order-card-content h3 {
    margin: 0 0 10px;

    color: var(--dark-purple);

    font-family: "Quicksand", sans-serif;

    font-size: 1.5em;
}

.order-card-content p {
    margin: 0 0 20px;

    color: #555;

    line-height: 1.6;
}

.order-card-button {
    display: inline-block;

    padding: 11px 22px;

    background-color: var(--purple);

    color: var(--white);

    border-radius: 30px;

    font-family: "Quicksand", sans-serif;
    font-weight: 600;

    text-decoration: none;

    box-shadow:
        0 5px 0 var(--dark-purple);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.order-card-button:hover {
    background-color: var(--dark-purple);

    transform: translateY(-3px);

    box-shadow:
        0 8px 0 var(--purple);
}

.order-card-button:active {
    transform: translateY(2px);

    box-shadow:
        0 2px 0 var(--purple);
}

@media (max-width: 700px) {

    .order-options {
        padding: 85px 25px 100px;
    }

    .order-options-heading h2 {
        font-size: 2.3em;
    }

    .order-cards {
        grid-template-columns: 1fr;

        max-width: 500px;
    }

    .order-card {
        padding: 30px 25px;
    }

}

@media (max-width: 500px) {

    .order-card {
        flex-direction: column;

        text-align: center;
    }

    .order-card-content p {
        margin-left: auto;
        margin-right: auto;
    }

}

/* ===== HOW IT WORKS ===== */

.how-it-works::before {
    content: "";

    position: absolute;

    top: -110px;
    left: 0;

    width: 100%;
    height: 110px;

    background:
        linear-gradient(
            to bottom,
            var(--aqua) 0%,
            rgba(159, 241, 229, 0.65) 35%,
            rgba(255, 253, 249, 0.35) 75%,
            var(--cream) 100%
        );

    z-index: -1;

    pointer-events: none;
}

.how-it-works {
    position: relative;

    padding: 100px 40px 130px;

    background-color: var(--cream);

    text-align: center;

    z-index: 1;
}

.how-it-works-heading {
    max-width: 700px;

    margin: 0 auto 65px;
}

.how-it-works-heading h2 {
    margin: 0 0 15px;

    color: var(--dark-purple);

    font-family: "Quicksand", sans-serif;

    font-size: 2.8em;

    line-height: 1.2;
}

.how-it-works-heading p {
    margin: 0;

    color: #555;

    font-size: 1.1em;

    line-height: 1.7;
}

.order-steps {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 35px;

    max-width: 1150px;

    margin: 0 auto;
}

.order-step {
    position: relative;

    padding: 15px 20px;

    text-align: center;
}

.step-number {
    display: flex;

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

    width: 68px;
    height: 68px;

    margin: 0 auto 22px;

    background-color: var(--aqua);

    border: 3px solid var(--dark-purple);

    border-radius: 50%;

    color: var(--dark-purple);

    font-family: "Quicksand", sans-serif;

    font-size: 1.15em;

    font-weight: 700;

    box-shadow:
        0 5px 0 var(--light-purple);
}

.order-step h3 {
    margin: 0 0 12px;

    color: var(--purple);

    font-family: "Quicksand", sans-serif;

    font-size: 1.35em;

    line-height: 1.3;
}

.order-step p {
    margin: 0;

    color: #555;

    font-size: 1em;

    line-height: 1.7;
}

.order-step:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 48px;
    right: -18px;

    width: 36px;
    height: 2px;

    background-color: var(--aqua);

    border-radius: 50%;

    box-shadow:
        0 2px 3px rgba(91, 45, 120, 0.12);
}

@media (max-width: 900px) {

    .order-steps {
        grid-template-columns: repeat(2, 1fr);

        max-width: 750px;
    }

    .order-step:nth-child(2)::after {
        display: none;
    }

}

@media (max-width: 600px) {

    .how-it-works {
        padding: 80px 25px 100px;
    }

    .how-it-works-heading h2 {
        font-size: 2.3em;
    }

    .order-steps {
        grid-template-columns: 1fr;

        gap: 50px;

        max-width: 450px;
    }

    .order-step:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -35px;
        left: 50%;

        width: 2px;
        height: 25px;
    }

}

/* ===== ORDER HELP ===== */

.order-help {
    position: relative;

    padding: 100px 40px 110px;

    background-color: var(--cream);

    text-align: center;

    overflow: hidden;

    z-index: 1;
}

.order-help-content {
    position: relative;

    max-width: 700px;

    margin: 0 auto;

    z-index: 2;
}

.order-help-decoration {
    display: flex;

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

    gap: 22px;

    margin-bottom: 25px;
}

.order-help-decoration span {
    display: inline-block;

    color: var(--dark-purple);

    font-size: 22px;
}

.order-help-decoration span:nth-child(1) {
    color: var(--aqua);

    transform: rotate(-12deg);
}

.order-help-decoration span:nth-child(2) {
    color: var(--purple);

    font-size: 25px;

    transform: translateY(-6px);
}

.order-help-decoration span:nth-child(3) {
    color: var(--aqua);

    transform: rotate(12deg);
}

.order-help h2 {
    margin: 0 0 18px;

    color: var(--dark-purple);

    font-family: "Quicksand", sans-serif;

    font-size: 2.7em;

    line-height: 1.2;
}

.order-help p {
    max-width: 620px;

    margin: 0 auto 30px;

    color: #555;

    font-size: 1.1em;

    line-height: 1.7;
}

.order-help-button {
    display: inline-block;

    padding: 14px 30px;

    background-color: var(--purple);

    color: var(--white);

    border-radius: 30px;

    font-family: "Quicksand", sans-serif;

    font-weight: 600;

    text-decoration: none;

    box-shadow:
        0 5px 0 var(--dark-purple);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.order-help-button:hover {
    background-color: var(--dark-purple);

    transform: translateY(-3px);

    box-shadow:
        0 8px 0 var(--purple);
}

.order-help-button:active {
    transform: translateY(2px);

    box-shadow:
        0 2px 0 var(--purple);
}

.order-help-content::after {
    content: "";

    display: block;

    width: 150px;
    height: 3px;

    margin: 40px auto 0;

    background-color: var(--aqua);

    border-radius: 50%;
}

/* ===== FOOTER ===== */

.site-footer {
    position: relative;
    padding: 85px 30px 30px;

    background-color: var(--dark-purple);
    color: white;

    text-align: center;
    overflow: hidden;

    z-index: 1;
}

.site-footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    background: linear-gradient(
        to bottom,
        var(--white) 0%,
        rgba(255, 255, 255, 0.85) 25%,
        rgba(255, 255, 255, 0.45) 55%,
        rgba(255, 255, 255, 0) 100%
    );

    pointer-events: none;

    z-index: 2;
}

.footer-content {
    position: relative;

    width: min(1100px, 90%);
    margin: 0 auto;

    z-index: 3;
}

.footer-decoration {
    display: flex;

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

    gap: 22px;
    margin-bottom: 20px;
}

.footer-decoration span {
    display: inline-block;
    color: var(--aqua);
    font-size: 22px;
}

.footer-decoration span:nth-child(1) {
    transform: rotate(-12deg);
}

.footer-decoration span:nth-child(2) {
    color: var(--cream);
    font-size: 18px;
    transform: translateY(-5px);
}

.footer-decoration span:nth-child(3) {
    transform: rotate(12deg);
}

.footer-brand {
    display: flex;
    flex-direction: column;

    align-items: center;
    margin-bottom: 35px;
}

.footer-brand img { 
    width: 210px;
    height: auto;

    margin-bottom: 18px;
    filter: brightnexx(0) invert(1);
}

.footer-brand p {
    max-width: 500px;
    margin: 0;

    color: var(--cream);
    font-family: "Caveat", cursive;
    font-size: 1.45rem;
}

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

    flex-wrap: wrap;

    width: 100%;
    margin: 0 auto 25px;
   
    text-align: center;
}

.footer-nav a {
    display: inline-block;
    padding: 5px 18px;
    
    color: white;

    font-family: "Quicksand", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-nav a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-nav a:hover {
    color: var(--purple);
    transform: translateY(-2px);
}

.footer-social {
    display: flex;

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

    flex-wrap: wrap;

    gap: 22px;
    margin-bottom: 30px;
}

.footer-social a {
    color: var(--aqua);
    
    font-family: "Quicksand", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-social a:hover {
    color: white;

    transform: translateY(-2px);
}

.footer-divider {
    display: flex;

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

    gap: 12px;
    margin: 5px auto 25px;
}

.footer-divider span:first-child, .footer-divider span:last-child {
    width: 80px;
    height: 2px;

    background-color: var(--purple);

    border-radius: 50%;
}

.footer-divider span:nth-child(2) {
    color: var(--aqua);
    font-size: 15px;
}

.footer-bottom {
    padding-top: 5px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-family: "Quicksand", sans-serif;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .site-footer {
        padding: 75px 20px 25px;
    }

    .footer-brand img {
        width: 175px;
    }

    .footer-brand p {
        font-size: 1.25rem;
    }

    .footer-nav a {
        padding: 5px 12px;
    }

    .footer-nav a + a {
        border-left: none;
    }

    .footer-social {
        gap: 15px;
    }

    .footer-divider span:first-child, .footer-divider span:last-child {
        width: 55px;
    }
}