/* =========================================================
   YEW — REVIEWS PAGE
   reviews.css
========================================================= */


/* RESET */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}


/* BODY */

.reviews-body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;

    background:
        radial-gradient(circle at 8% 10%, rgba(217, 205, 255, 0.55), transparent 28%),
        radial-gradient(circle at 92% 14%, rgba(255, 213, 235, 0.48), transparent 29%),
        radial-gradient(circle at 15% 86%, rgba(205, 239, 230, 0.40), transparent 28%),
        linear-gradient(180deg, #fbf9ff 0%, #fffdfd 48%, #f8f6ff 100%);

    color: #343142;

    font-family: "Manrope", sans-serif;
}


/* =========================================================
   BACKGROUND
========================================================= */

.reviews-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.background-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-one {
    width: 520px;
    height: 520px;
    top: 130px;
    left: -300px;

    background:
        linear-gradient(
            145deg,
            rgba(190, 174, 242, 0.25),
            rgba(238, 231, 255, 0.08)
        );
}

.shape-two {
    width: 480px;
    height: 480px;
    top: 420px;
    right: -270px;

    background:
        linear-gradient(
            145deg,
            rgba(244, 185, 218, 0.22),
            rgba(255, 232, 244, 0.08)
        );
}

.shape-three {
    width: 390px;
    height: 390px;
    bottom: -260px;
    left: 35%;

    background:
        linear-gradient(
            145deg,
            rgba(186, 229, 217, 0.24),
            rgba(233, 248, 244, 0.08)
        );
}


/* BACKGROUND STARS */

.background-star {
    position: absolute;

    color: rgba(126, 103, 194, 0.20);

    font-size: 27px;

    user-select: none;

    animation: reviewFloat 5s ease-in-out infinite;
}

.star-one {
    top: 24%;
    left: 7%;
}

.star-two {
    top: 19%;
    right: 8%;

    color: rgba(224, 157, 192, 0.27);

    animation-delay: 1s;
}

.star-three {
    bottom: 17%;
    left: 9%;

    animation-delay: 2s;
}

.star-four {
    right: 7%;
    bottom: 15%;

    color: rgba(222, 168, 66, 0.25);

    animation-delay: 0.5s;
}


/* BACKGROUND WORDS */

.background-word {
    position: absolute;

    color: rgba(111, 88, 182, 0.045);

    font-family: "Fredoka", sans-serif;

    font-weight: 700;

    letter-spacing: 5px;

    user-select: none;
}

.word-one {
    top: 48%;
    left: 1%;

    font-size: 48px;

    transform: rotate(-9deg);
}

.word-two {
    top: 64%;
    right: 3%;

    font-size: 54px;

    transform: rotate(8deg);
}


/* =========================================================
   HEADER
========================================================= */

.reviews-body header {
    width: 100%;

    padding: 22px 24px 0;

    position: relative;

    z-index: 20;
}

.reviews-body nav {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding: 14px 18px 14px 26px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    background: rgba(255, 255, 255, 0.88);

    border: 1px solid rgba(143, 123, 214, 0.13);

    border-radius: 24px;

    box-shadow:
        0 12px 32px
        rgba(72, 58, 130, 0.09);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* LOGO */

.reviews-body .logo {
    padding: 12px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #8f7bd6,
            #b29cf7
        );

    border-radius: 16px;

    color: #ffffff;

    font-family: "Fredoka", sans-serif;

    font-size: 24px;

    font-weight: 700;

    letter-spacing: 2px;

    text-decoration: none;

    box-shadow:
        0 8px 20px
        rgba(143, 123, 214, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.reviews-body .logo:hover {
    transform:
        translateY(-2px)
        rotate(-2deg);

    box-shadow:
        0 11px 25px
        rgba(143, 123, 214, 0.32);
}


/* NAV */

.reviews-body .nav-links {
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    gap: 7px;

    list-style: none;
}

.reviews-body .nav-links a {
    padding: 11px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: #4c4960;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.reviews-body .nav-links a:hover {
    background: #f1edff;

    color: #725fc2;

    transform: translateY(-2px);
}


/* =========================================================
   MAIN
========================================================= */

.reviews-main {
    width: min(1080px, 90%);

    margin: 0 auto;

    padding: 75px 0 100px;

    position: relative;

    z-index: 2;
}


/* =========================================================
   INTRO
========================================================= */

.reviews-intro {
    max-width: 850px;

    margin: 0 auto 55px;

    text-align: center;
}

.reviews-label {
    display: inline-block;

    margin-bottom: 17px;

    padding: 8px 15px;

    background: #f0ecff;

    border-radius: 999px;

    color: #7965c3;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}

.reviews-intro h1 {
    margin: 0 0 17px;

    color: #302b4e;

    font-family: "Fredoka", sans-serif;

    font-size: clamp(43px, 7vw, 68px);

    font-weight: 650;

    line-height: 1.05;
}

.reviews-intro > p {
    max-width: 670px;

    margin: 0 auto;

    color: #555263;

    font-size: 17px;

    font-weight: 550;

    line-height: 1.8;
}


/* =========================================================
   LEAVE REVIEW BUTTON
========================================================= */

.leave-review-button {
    width: 100%;
    max-width: 570px;

    min-height: 84px;

    margin: 32px auto 0;

    padding: 15px 20px;

    display: flex;
    align-items: center;

    gap: 16px;

    background:
        linear-gradient(
            135deg,
            #8f7bd6,
            #a994ed
        );

    border-radius: 23px;

    color: #ffffff;

    text-align: left;

    text-decoration: none;

    box-shadow:
        0 14px 32px
        rgba(115, 94, 190, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.leave-review-button:hover {
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 19px 38px
        rgba(115, 94, 190, 0.32);
}

.review-star {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.17);

    border-radius: 15px;

    font-size: 22px;
}

.review-button-text {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.review-button-text strong {
    font-size: 16px;

    font-weight: 800;
}

.review-button-text small {
    color: rgba(255, 255, 255, 0.78);

    font-size: 11px;

    font-weight: 600;
}

.review-arrow {
    padding-right: 4px;

    font-size: 24px;

    transition: transform 0.25s ease;
}

.leave-review-button:hover .review-arrow {
    transform: translateX(5px);
}


/* =========================================================
   REVIEWS SECTION
========================================================= */

.reviews-section {
    padding: 35px;

    background: rgba(255, 255, 255, 0.78);

    border: 1px solid rgba(139, 118, 210, 0.12);

    border-radius: 35px;

    box-shadow:
        0 20px 55px
        rgba(68, 58, 105, 0.10);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.reviews-section-heading {
    margin-bottom: 27px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.section-label {
    display: block;

    margin-bottom: 7px;

    color: #8d79cb;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;
}

.reviews-section-heading h2 {
    margin: 0;

    color: #302d42;

    font-family: "Fredoka", sans-serif;

    font-size: clamp(27px, 4vw, 37px);

    font-weight: 600;
}

.heart-decoration {
    width: 54px;
    height: 54px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3efff;

    border-radius: 17px;

    color: #8f7bd6;

    font-size: 28px;
}


/* =========================================================
   REVIEWS WALL
========================================================= */

.view-reviews-button {
    width: 100%;
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px 28px;

    background: linear-gradient(
        135deg,
        #f1edff 0%,
        #e8e0ff 100%
    );

    border: 1px solid rgba(143, 123, 214, 0.18);
    border-radius: 22px;

    color: #725fc2;

    font-size: 17px;
    font-weight: 800;

    text-decoration: none;
    text-align: center;

    box-shadow: 0 10px 25px rgba(115, 94, 190, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.view-reviews-button:hover {
    background: linear-gradient(
        135deg,
        #8f7bd6 0%,
        #a994ed 100%
    );

    color: #ffffff;

    transform: translateY(-3px);

    box-shadow: 0 15px 32px rgba(115, 94, 190, 0.25);
}


/* =========================================================
   ENDING
========================================================= */

.reviews-ending {
    margin-top: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    text-align: center;
}

.reviews-ending span {
    color: #9b88d5;

    font-size: 15px;
}

.reviews-ending p {
    margin: 0;

    color: #565263;

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   FOCUS
========================================================= */

.reviews-body a:focus-visible {
    outline:
        3px solid
        rgba(112, 82, 193, 0.28);

    outline-offset: 4px;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes reviewFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {
        transform:
            translateY(-8px)
            rotate(6deg);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .reviews-body nav {
        flex-direction: column;

        padding: 16px;

        gap: 14px;
    }

    .reviews-body .nav-links {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }

    .reviews-main {
        padding-top: 55px;
    }

    .reviews-section {
        padding: 27px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .reviews-body header {
        padding: 12px;
    }

    .reviews-body nav {
        border-radius: 20px;
    }

    .reviews-body .logo {
        padding: 10px 18px;

        font-size: 22px;
    }

    .reviews-body .nav-links {
        gap: 6px;
    }

    .reviews-body .nav-links a {
        padding: 8px 12px;

        font-size: 12px;
    }

    .reviews-main {
        width: calc(100% - 24px);

        padding:
            48px
            0
            70px;
    }

    .reviews-intro {
        margin-bottom: 38px;
    }

    .reviews-intro h1 {
        font-size: 42px;
    }

    .reviews-intro > p {
        font-size: 15px;

        line-height: 1.7;
    }

    .leave-review-button {
        min-height: 76px;

        padding: 13px 15px;

        gap: 12px;

        border-radius: 20px;
    }

    .review-star {
        width: 44px;
        height: 44px;

        border-radius: 13px;

        font-size: 19px;
    }

    .review-button-text strong {
        font-size: 14px;
    }

    .review-button-text small {
        font-size: 10px;
    }

    .review-arrow {
        font-size: 20px;
    }

    .reviews-section {
        padding: 19px;

        border-radius: 27px;
    }

    .reviews-section-heading {
        margin-bottom: 20px;
    }

    .heart-decoration {
        width: 46px;
        height: 46px;

        border-radius: 14px;

        font-size: 23px;
    }

    .reviews-wall,
    .reviews-frame {
        min-height: 600px;
    }

    .reviews-wall {
        border-radius: 20px;
    }

    .background-word {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .reviews-body .nav-links a {
        padding: 7px 9px;

        font-size: 11px;
    }

    .reviews-intro h1 {
        font-size: 37px;
    }

    .review-button-text small {
        display: none;
    }

    .leave-review-button {
        min-height: 65px;
    }

    .reviews-section {
        padding: 15px;
    }

    .reviews-section-heading h2 {
        font-size: 25px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .background-star {
        animation: none;
    }

    .reviews-body .logo,
    .reviews-body .nav-links a,
    .leave-review-button,
    .review-arrow {
        transition: none;
    }

}