/**
* Template Name: Restaurantly
* Template URL: https://bootstrapmade.com/restaurantly-restaurant-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Almarai", system-ui, -apple-system, "Segoe UI", Tajawal, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Almarai", Tajawal, sans-serif;
    --nav-font: "Almarai", Tajawal, sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #0c0b09; /* Background color for the entire website, including individual sections */
    --default-color: rgba(255, 255, 255, 0.7); /* Default color used for the majority of the text content across the entire website */
    --heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #cda45e; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #29261f; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #0c0b09; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #ffffff; /* The default color of the main navmenu links */
    --nav-hover-color: #cda45e; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #29261f; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #29261f; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #ffffff; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #cda45e; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #29261f;
    --surface-color: #464135;
}

.dark-background {
    --background-color: #000000;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #1a1a1a;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

.about {
    background-size: cover;
    position: relative;
    padding: 80px 0;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader > img {
    border-radius: 50%;
    animation: animate-preloader 1.5s linear infinite;
}

#preloader:before {
    /*content: "";*/
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
    /*--background-color: #0c0b09;*/
}

.header .branding {
    /*background-color: var(--background-color);*/
    /*background-color: transparent;*/
    min-height: 60px;
    padding: 10px 0;
    transition: 0.3s;
    /*border-bottom: 1px solid var(--background-color);*/
}

.scrolled .header .branding {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--background-color);
    border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.video-object-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.video-object-fit {
    object-fit: cover !important;
}

.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--default-color);
}

.hero video {
    max-width: 100%;
    margin: 0;
    line-height: 1;
    border: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh;
}

/*scrolled*/
@media (max-width: 480px) {
    .scrolled .header .sitename {
        display: block;
    }

    .header .sitename {
        display: none;
    }

    .hero {
        min-height: 50vh;
    }

    .hero video {
        height: 50vh;
    }
}

.text-accent {
    color: var(--accent-color);
}