* {
    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;
}

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

    background-color: #fdebcf;

    padding: 130px 80px 60px;

    border-radius: 16px;

    overflow: hidden;

    position: relative;

    flex-wrap: wrap;
}

.promo-text h1 {
    color: #31824C;

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

    line-height: 1.5;

    text-align: center;

    margin-left: 50px;
}

.promo-text p {
    margin-top: 20px;
    margin-left: 50px;

    font-size: 1.5rem;

    color: #31824C;

    text-align: center;
}

.promo-buttons {
    margin-top: 30px;
    margin-left: 50px;

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

    gap: 20px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 12px 36px;

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

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

    border: 2px solid #31824C;
    border-radius: 8px;

    cursor: pointer;

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

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

.store-btn:hover {
    background-color: #ffffff;
    color: #31824C;

    border-color: #31824C;
}

.store-btn:active {
    background-color: #e8f3ec;
    color: #256638;

    border-color: #256638;
}

.store-icon {
    width: 25px;
    height: 25px;

    object-fit: contain;

    margin-right: 10px;
    margin-left: 10px;

    filter: brightness(0) invert(1);

    transition: filter 0.2s ease;
}

.store-btn:hover .store-icon {
    filter:
        brightness(20%)
        saturate(100%)
        invert(32%)
        sepia(64%)
        saturate(307%)
        hue-rotate(97deg)
        brightness(100%)
        contrast(91%);
}

.promo-image img {
    max-height: 500px;
    max-width: 100%;

    object-fit: contain;

    margin-right: 100px;
}

.section-heading {
    position: relative;

    text-align: center;

    margin-bottom: 40px;
}

.main-text {
    position: relative;

    font-size: 80px;
    font-weight: 700;

    color: #31824C;

    margin-bottom: 4px;
    margin-top: 115px;
}

.underline {
    width: 1100px;
    max-width: 90%;

    height: 9px;

    background-color: #31824C;

    border-radius: 6px;

    margin: 6px auto 0;
}

.special-rewards .reward-cards {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr 1fr auto auto;

    gap: 20px;

    max-width: 960px;

    margin: 0 auto;
}

.buy1get1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.drinks60k {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.special-bundle {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.voucher {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

.points-redeem {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
}

.reward-cards img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 35px;

    display: block;
}

.popup {
    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

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

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

    z-index: 10000;
}

.popup-content {
    background-color: #fffbe8;

    padding: 30px;

    border-radius: 20px;

    max-width: 600px;
    max-height: 80vh;

    overflow-y: auto;

    position: relative;
}

.popup-container {
    background-color: #fffbe8;

    border-radius: 30px;

    width: 900px;
    max-width: 95vw;

    padding: 40px 50px;

    display: flex;
    flex-direction: row;
    align-items: flex-start;

    gap: 50px;

    height: 400px;

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}

.popup-close {
    position: absolute;

    top: 15px;
    right: 20px;

    font-size: 28px;

    cursor: pointer;

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

    z-index: 2;

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

.popup-close:hover {
    color: #256638;
}

.popup-close:focus-visible {
    outline: 2px solid #31824C;
    outline-offset: 4px;
}

.popup-trigger {
    cursor: pointer;
}

.deal-text {
    flex: 1;

    display: flex;
    flex-direction: column;

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

    height: 100%;
    max-width: 400px;

    text-align: center;

    color: #31824C;

    font-size: 25px;

    margin: 30px 0 0;

    gap: 25px;
}

.buttons {
    display: flex;
    flex-direction: column;

    gap: 20px;

    margin-top: 15px;

    width: 240px;
    max-width: 100%;
}

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

    gap: 8px;

    width: 100%;

    padding: 12px 25px;

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

    font-weight: 700;
    font-size: 1.1rem;

    border-radius: 8px;

    border: 2px solid transparent;

    cursor: pointer;

    text-transform: uppercase;
    letter-spacing: 1px;

    user-select: none;

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

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

.btn:hover {
    background-color: #ffffff;

    color: #31824C;

    border-color: #31824C;
}

.btn:active {
    background-color: #e8f3ec;

    color: #256638;

    border-color: #256638;
}

.icon-playstore {
    width: 20px;
    height: 20px;

    display: inline-block;

    background:
        url('../Elements/Play\ Store.png')
        no-repeat center / contain;

    filter: brightness(0) invert(1);

    transition: filter 0.2s ease;
}

.icon-appstore {
    width: 18px;
    height: 20px;

    display: inline-block;

    margin-left: 5px;

    background:
        url('../Elements/App\ Store.png')
        no-repeat center / contain;

    filter: brightness(0) invert(1);

    transition: filter 0.2s ease;
}

.btn:hover .icon-appstore,
.btn:hover .icon-playstore {
    filter:
        brightness(20%)
        saturate(100%)
        invert(32%)
        sepia(64%)
        saturate(307%)
        hue-rotate(97deg)
        brightness(100%)
        contrast(91%);
}

.image-wrapper img {
    max-width: 250px;

    width: 100%;
    height: auto;

    object-fit: contain;
}

.store-btn:focus-visible,
.btn: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[alt="facebook"] {
    padding: 3px;
}

.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.2s 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.2s ease;

        transform-origin: left;
    }

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

    .promo-banner {
        flex-direction: column;

        text-align: center;

        padding-left: 40px;
        padding-right: 40px;
    }

    .promo-text h1 {
        font-size: 3rem;

        margin-left: 0;
    }

    .promo-text p {
        font-size: 2rem;

        margin-left: 0;
    }

    .promo-buttons {
        margin-left: 0;
    }

    .promo-image img {
        max-width: 100%;

        height: auto;

        margin: 30px auto 0;
    }

    .main-text {
        font-size: 5.2rem;
    }

    .underline {
        max-width: 85%;
    }

    .special-rewards {
        padding: 0 2rem;
    }

    .popup-container {
        width: 90vw;

        height: auto;
        min-height: 350px;

        gap: 20px;

        padding: 40px 30px;
    }

    .deal-text {
        font-size: 2rem;

        margin-top: 30px;
    }

    .image-wrapper img {
        max-width: 200px;
    }

    .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-color: #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;
    }

    .promo-banner {
        flex-direction: column;

        padding: 40px 20px;

        text-align: center;
    }

    .promo-text h1 {
        font-size: 2.5rem;
        line-height: 1.4;

        margin: 10rem auto 1rem;
    }

    .promo-text p {
        font-size: 1.7rem;

        margin-left: 0;
    }

    .promo-buttons {
        flex-direction: column;

        gap: 1rem;

        margin-left: 0;

        align-items: center;
    }

    .store-btn {
        font-size: 1.2rem;

        padding: 10px 20px;
    }

    .promo-image img {
        max-width: 100%;

        height: auto;

        margin: 0 auto;
    }

    .main-text {
        font-size: 3.2rem;
    }

    .underline {
        width: 80%;

        height: 6px;
    }

    .special-rewards {
        padding: 0 15px;
    }

    .special-rewards .reward-cards {
        gap: 10px;
    }

    .reward-cards img {
        border-radius: 15px;
    }

    .popup {
        padding: 20px;
    }

    .popup-container {
        width: min(95vw, 420px);

        max-width: 95vw;
        max-height: 90vh;

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

        gap: 15px;

        padding: 40px 20px 20px;

        height: auto;
        min-height: 0;

        overflow-y: auto;
    }

    .popup-close {
        top: 10px;
        right: 18px;

        font-size: 28px;
    }

    .deal-text {
        flex: none;

        font-size: 1.7rem;

        max-width: 100%;

        margin-top: 0;

        gap: 15px;
    }

    .buttons {
        width: 100%;

        max-width: 240px;

        flex-direction: column;

        gap: 12px;

        margin-top: 5px;
    }

    .btn {
        font-size: 1.4rem;

        padding: 10px 15px;
    }

    .image-wrapper {
        display: flex;

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

    .image-wrapper img {
        max-width: 150px;
    }

    .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) {

    .store-btn,
    .store-icon,
    .btn,
    .popup-close,
    .footer-socials img {
        transition: none;
    }

}