* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Aref Ruqaa", serif;
    direction: rtl;
}

:root {
    --primary-color: rgb(245, 222, 179);
    --secondary-color: rgb(16, 58, 4);
    --success-color: rgb(245, 222, 179);
    --background-color: rgb(54, 80, 67);
    --second-background-color: rgb(16, 58, 4);
    --sticky-color: rgb(54, 80, 67);
    
}
.light-mode {
    --success-color: rgb(255, 255, 254);
    --primary-color: rgb(24, 83, 8);
    --secondary-color: rgb(240, 233, 218);
    --background-color: rgb(240, 233, 218);
    --second-background-color: rgb(57, 57, 57);
}

@font-face {
    font-family: "Rakkas";
    src: url("fonts/Rakkas/Rakkas-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Aref Ruqaa";
    src: url("fonts/Aref_Ruqaa/ArefRuqaa-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Noto Kufi Arabic";
    src: url("fonts/Noto_Kufi_Arabic/NotoKufiArabic-VariableFont_wght.ttf") format("truetype");
}
@font-face {
    font-family: "Inter";
    src: url(fonts/Inter/Inter-Italic-VariableFont_opsz\,wght.ttf) format("truetype");
}
@font-face {
    font-family: "Alexandria";
    src: url(fonts/Alexandria/Alexandria-VariableFont_wght.ttf) format("truetype");
}

html {
    background-color: var(--background-color);
    height: 100vh;
    scroll-behavior: smooth;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.font-change {font-family: "Noto Kufi Arabic", sans-serif;}

.photo-position-down {
    object-position: 20% 70%;
}
.photo-position-top {
    object-position: 20% 23%;
}

.element-position-up {
    padding-bottom: 15px;
}

.spin-up {animation: spinUp 42s linear infinite;}
.spin-down {animation: spinUp 42s linear infinite reverse;}

.a-color-black {color: black;}
.a-color-wheat {color: var(--primary-color);}
.color-change-white {color: white;}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 25px;
    color: rgb(223, 224, 221);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding-bottom: 50px;
}


/*HEADER*/

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-color);
    padding: 0 35px;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

ol {
    display: flex;
    gap: 18px;
    list-style-type: none;
}
a {text-decoration: none;}
li {
    text-decoration: none;
    font-size: 19px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: max-content;
    position: relative;
    color: var(--primary-color);
}
li:hover::after {
    content: '';
    display: block;
    background-color: var(--primary-color);
    width: 100%;
    height: 3px;
    position: absolute;
    animation: bordershow 0.3s ease-out forwards;
    bottom: 0;
    left: 0;
}
.dlm-header {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    border-radius: 50px;
    padding: 5px;
    gap: 5px;
    cursor: pointer;
    transition: all 0.1s ease;
}
.dlm-icon-size {
    width: 30px;
}

@keyframes bordershow {
    from {
        transform: translateY(0);
        opacity: 0; 
    }
    to {
        transform: translateY(-50%);
        opacity: 1;
    }
}

.logo {
    width: 120px;
    margin: 0 20px 0 0;
}

/*Page Sidebar*/
.sidebar-back-button-light-mode {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.page-side-bar-button {
    display: none;
    width: 50px;
}
.page-side-bar {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: var(--second-background-color);
    color: var(--success-color);
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    transition: 0.2s;
    z-index: 15;
    overflow: auto;
}

.sidebar-back-button {
    background-color: transparent;
    border: 2px solid white;
    color: var(--success-color);
    width: 70px;
    margin-bottom: 7px;
    border-radius: 25px;
}

.page-side-bar a,
.dlm-page-sidebar {
    display: flex;
    color: var(--success-color);
}
.page-side-bar-icon {
    width: 30px;
}

.page-side-bar.active {
    left: 0;
}

.psb-contacts {
    margin-top: 10px;
}
.psb-contacts img {
    width: 30px;
    object-fit: contain;
    cursor: pointer;
}

.psb-locations-container {
    display: flex;
    flex-direction: column;
    overflow: auto;
    text-align: center;
    gap: 20px;
    padding-bottom: 5px;
    height: 100%;
}

.psb-locations {
    display: flex;
    flex-direction: column;
    overflow: auto;
    gap: 19px;
}
.psb-ol-image {
    width: 100%;
    height: 50%;
    object-fit: cover;
}

.psb-ol-info-container {
    padding: 2px 7px;
    border-top: 2px solid var(--primary-color);
    text-align: right;
    color: var(--primary-color);
}


/*Bottom Header*/
.bottom-header {
    padding: 5px 0;
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 70px;
    border-top: 2px solid var(--primary-color);
    background-color: var(--background-color);
    z-index: 3;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 55px;
}

.bh-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bh-nav img {
    width: 30px;
}
.bh-nav p {
    color: var(--primary-color);
}

/*HERO*/
.hero-container {
    width: 100%;
    height: 550px;
    margin: auto;
    border-bottom: 1px solid var(--primary-color);
    position: relative;
}

.video-overlay {
    padding: 7px 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    color: rgb(203, 204, 202);
}
.white-logo {
    width: 400px;
}

.hc-catchphrase {
    font-size: 25px;
}

.hc-locations {
    font-size: 23px;
}

.hc-icons,
.psb-contacts {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.hc-icons img {
    width: 40px;
    object-fit: contain;
    cursor: pointer;
}

.hc-info {
    direction: ltr;
    display: flex;
    gap: 15px;
}
.hc-info p {
    font-family: "Noto Kufi Arabic", sans-serif;
    direction: ltr;
    color: rgb(203, 204, 202);
}

.muhab-button {
    font-weight: 500;
    width: 180px;
    height: 35px;
    border: none;
    border-radius: 50px;
    transition: all 0.1s ease;
    font-size: 17px;
    cursor: pointer;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background-color: var(--background-color);
}
.muhab-button:hover,
.dark-light-mode:hover {
    transform: scale(1.04);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*Best Products*/
.bp-container {
    margin: auto;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bp-title {
    font-size: 30px;
}

.best-products {
    display: flex;
    overflow: hidden;
    justify-content: center;
    width: 1300px;
    align-items: center;
    
}
.products {
    padding-right: 20px;
    display: flex;
    gap: 20px;
    animation: spin 15s infinite linear;
    text-align: center;
    
}

.product {
    flex: 1;
    font-size: 25px;
    width: 80px;
}

@keyframes spin {
    from {transform: translate(0);}
    to {transform: translate(-100%);}
}

/*Services*/
.services {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    gap: 15px;
    padding: 35px;
    
}

@keyframes appear {
    from {
        opacity: 0;
        scale: 0.5;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}


.service {
    width: 370px;
    height: 350px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-radius: 35px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
    display: flex;
    flex-direction: column;
}
.service:hover {
    transform: scale(1.02);
}

.service-photo {
    width: 100%;
    height: 50%;
    object-fit: cover;
}


.service-info-container {
    padding: 3px 7px;
    border-top: 2px solid var(--primary-color);
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-title {
    font-size: 28px;
}

.service-info {
    font-family: "Alexandria", sans-serif;
}




@keyframes fade {
    from {opacity: 0;}
    to {opacity: 1;}
}


.mb-title,
.md-title,
.wwg-title {
    font-size: 50px;
    animation: fade linear;
    animation-timeline: view();
    animation-range: entry 0 cover 35%;
}

.muhab-boxes {
    display: flex;
    justify-content: center;
    gap: 12px;
    height: auto;
    padding: 20px;
}
.muhab-desserts {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 12px;
}

.mb-extra {
    font-size: 13px;
    font-weight: 500;
}

/*What we got*/
.what-we-got-container,
.our-locations-container,
.our-locations-container-menu{
    margin: 25px auto 85px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.what-we-got,
.our-locations,
.our-locations-menu {
    display: grid;
    grid-template-columns: repeat(3, auto);
    margin: auto;
    gap: 12px;
}

.wwg-wrapper,
.our-location {
    width: 420px;
    height: 320px;
    position: relative;
    transition: all 0.2s ease;
    animation: appearBottom 0.2s ease-out forwards;
    animation-range: entry 0% cover 30%;
    animation-timeline: view();
}
.wwg {
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    transition: all 0.2s ease;
    padding: 10px;
    position: relative;
    background-color: var(--background-color);
    color: var(--primary-color);
}
.wwg-wrapper:hover,
.our-location:hover {
    transform: scale(1.02);
    margin: 0 12px;
}


@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.wwg-wrapper:hover::before {
    content:'';
    border-radius: 27px;
    background-image: conic-gradient(from var(--angle), transparent 50%, var(--primary-color));
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    animation: 3s borderSpin linear infinite;
    padding: 6px;
}

@keyframes borderSpin {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}

.wwg-wrapper:nth-child(1) {
    animation-range: entry 0% cover 10%;
}
.wwg-wrapper:nth-child(2) {
    animation-range: entry 5% cover 25%;
}
.wwg-wrapper:nth-child(3) {
    animation-range: entry 10% cover 40%;
}
.wwg-wrapper:nth-child(4) {
    animation-range: entry 15% cover 65%;
}
.wwg-wrapper:nth-child(5) {
    animation-range: entry 20% cover 70%;
}

@keyframes appearBottom {
    from {
        opacity: 0;
        translate: 0 20%;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}

.wwg img {
    width: 170px;
}

.wwg-info-title {
    font-size: 38px;
    transition: all 0.1s ease;
}

/*Our Community*/
.our-community-container {
    padding: 3px 12px;
    width: 1350PX;
    height: 570PX;
    margin: auto;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: repeat(14, auto);
    justify-content: space-between;
    background-color: var(--sticky-color);
    position: relative;
}
.oc-images-spin-container {
    width: 100%;
    height: auto;
    overflow: auto;
    overflow-y: hidden;
    
}

.oc-images-spin {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 5px;
}

.oc-image-spin {
    width: 80px;
    height: 150px;
    background-color: var(--primary-color);
    object-fit: fill;
}

.oc-title {
    font-size: 120px;
    cursor: default;
}

.oc-info {
    font-size: 21px;
    font-weight: 500;
}

@keyframes spinUp {
        from {
            transform: translateY(0)
        }
        to {
            transform: translateY(-100%);
        }
}

/*Announcement*/
.announcement {
    margin: 25px auto 35px auto;
    width: 1220px;
    height: 420px;
    position: relative;
    border: 3px solid var(--primary-color);
    border-radius: 25px;
    animation: appearTwo linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;    
}

.announcement-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 23px;
    position: relative;
    
}

@keyframes appearTwo {
    from {
        opacity: 0;
        transform: translateX(-10%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.announcement-info-container {
    padding: 3px 17px;
    width: 50%;
    height: 100%;
    background-color: var(--background-color);
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

.announcement-title {
    font-size: 55px;
    border-bottom: 1px solid rgb(203, 204, 202);
    color: white;
    padding-bottom: 10px;
}

.announcement-info {
    white-space: pre-line;
    font-size: 18px;
    max-width: 1110px;
}


.announcement-vo {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--primary-color);
    border-radius: 23px;
    padding-bottom: 15px;
}

.ai-end {
    font-size: 23px;
}

/*Our Locations*/
.ol-title,
.psb-location-title {
    font-size: 50px;
}

.ol-title {
    text-align: center;
}

.our-locations-wrapper {
    overflow: auto;
    width: auto;
    display: block;
}

.our-location {
    background-color: var(--background-color);
    border-radius: 35px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.ol-image {
    width: 100%;
    height: 70%;
    object-fit: cover;
    
}

.ol-info-container {
    padding: 2px 7px;
    border-top: 2px solid var(--primary-color);
    text-align: right;
}

.location-title {
    font-size: 24px;
    font-weight: bold;
}

.location-info {
    font-size: 14px;
}

/*MENU*/
.glass-background {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.main-menu {
    margin: 5px 0;
    display: flex;
}

.our-locations-container-menu {
    display: none;
}

.menu-contaienr {
    width: 100%;
    height: 700px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.menu-products-container {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(4, auto);
    gap: 15px;
}

.menu-title {
    font-size: 65px;
}

.menu-product {
    padding: 5px;
    width: 215px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: menu-appear 0.3s linear;
    transition: all 0.2s ease;
}
.menu-product:hover,
.menu-category:hover {
    transform: scale(1.02);
}

@keyframes menu-appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.menu-img {
    width: 200px;
    height: 200px;
    border-radius: 25px;
    object-fit: fill;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}

.product-price img {
    width: 18px;
}
.menu-side-nav {
    margin-right: 7px;
    width: 250px;
    height: 700px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-category {
    padding: 7px;
    width: 100%;
    height: 70px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
.menu-category-img {
    background-color: wheat;
    width: 60px;
    height: 55px;
    border-radius: 25px;
}
.menu-category-title {
    font-size: 16px;
    font-weight: bold;
}

@media (prefers-reduced-motion: reduce) {
    .wwg {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

footer {
    width: 100%;
    height: 100%;
    background-color: rgb(16, 58, 5);
    color: var(--success-color);
}

.logo-contant-follow-us {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
}

.footer-logo {
    width: 300px;
}

.contact-us-container,
.follow-us-container {
    border-right: 1px solid white;
    padding-right: 15px;
}

.fu-title,
.cu-title {
    font-size: 22px;
}

.fu-instagram,
.fu-tiktok {
    display: flex;
    gap: 5px;
}

.fu-instagram img,
.fu-tiktok img {
    width: 22px;
    object-fit: contain;
}

.follow-us p {
    direction: ltr;
}

.footer-c {
    text-align: center;
    margin: auto;
    position: relative;
    font-size: 18px;
}

.footer-c::after {
    content: "";
    background-color: white;
    width: 70%;
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 45px;
    margin: auto;
}

@media (max-width: 1400px) {
    ol {
        display: none;
    }

    .page-side-bar-button {
        display: block;
    }

    .announcement {
        animation: appearBottom 0.2s ease-out forwards;
        animation-range: entry 0% cover 30%;
        animation-timeline: view();
    }

    .wwg-wrapper,
    .our-location {
        width: 370px;
    }

    .our-location:hover {
        transform: none;
        margin: 0;
    }

    .location-info {
        font-size: 13px;
    }

    .our-community-container,
    .best-products,
    .bp-container {
        width: 100%;
    }

    .display-none {display: none;}
}

@media (max-width: 890px) {
    .service,
    .wwg-wrapper,
    .our-location {
        width: 250px;
    }

    .service-info {
        font-size: 14px;
    }

    .announcement {
        width: 800px;
    }

    .main-menu {
        flex-direction: column;
    }

    .menu-side-nav {
        margin-right: 0;
        overflow: auto;
        flex-direction: row;
        width: 100%;
        height: auto;
    }

    .menu-contaienr {
        height: 100%;
        padding-bottom: 20px;
    }

    .menu-products-container {
        grid-template-columns: repeat(3, auto);
        align-items: center;
    }
}

@media (max-width: 512px) {
    header {
        padding: 0;
        justify-content: center;
    }

    .logo {
        margin: 0;
    }

    .page-side-bar-button {
        display: none;
    }

    .bottom-header {
        display: flex;
    }

    .white-logo {
        width: 250px;
    }

    .hero-container {
        height: 370px;
    }

    .best-products,
    .what-we-got-container,
    .what-we-got,
    .our-community-container,
    .announcement {
        width: 100%;
    }

    .what-we-got {
        justify-content: center;
    }

    .hc-info,
    .hc-buttons,
    span,
    .ai-end,
    .hc-locations {
        display: none;
    }


    .services,
    .what-we-got,
    .our-locations {
        grid-template-columns: auto;
    }

    /* .our-locations-container {
        overflow: auto;
    } */

    .display-none {display: flex;}

    .service,
    .wwg-wrapper,
    .our-location {
        width: 300px;
    }

    .our-community-container {
        width: 100%;
        
        border: none;
        border-radius: 0;
    }
    .overlay {
        border-radius: 0;
    }

    .our-community-container {
        grid-template-columns: repeat(7, 1fr);
        gap: 15px;
        height: 320px;
    }

    .oc-image-spin {
        /*height: 100px;*/
        object-fit: cover;
    }

    .oc-images-spin-container:nth-child(8),
    .oc-images-spin-container:nth-child(9),
    .oc-images-spin-container:nth-child(10),
    .oc-images-spin-container:nth-child(11),
    .oc-images-spin-container:nth-child(12),
    .oc-images-spin-container:nth-child(13),
    .oc-images-spin-container:nth-child(14) {
        display: none;
    }

    .oc-title {
        font-size: 55px;
    }

    .announcement-title {
        font-size: 45px;
    }

    .oc-info,
    .announcement-info {
        font-size: 15px;
    }

    .announcement {
        height: 270px;
        border: 2px solid wheat;
    }

    .ol-image {
        height: 65%;
    }

    /*Menu*/
    .menu-products-container {
        grid-template-columns: repeat(2, auto);
        align-items: center;
    }

    .menu-product {
        width: 180px;
    }

    .menu-category-img {
        display: none;
    }

    .menu-category-title {
        font-size: 15px;
        text-align: center;
    }

    .menu-img {
        width: 160px;
        height: 160px;
    }

    .product-title {
        font-size: 15px;
    }

    .logo-contant-follow-us {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }

    .footer-logo {display: none;}

    .contact-us-container,
    .follow-us-container {
        margin-right: 13px;
    }

    .footer-c {
        font-size: 14px;
    }
}