/* ==========================================================================
   1. VARIABLES & CONFIGURATION (:root)
   ========================================================================== */
* {
    font-family: "Mulish", "Cairo", sans-serif;
}

body {
    font-family: "Mulish", "Cairo", sans-serif;
}

:root {
    /* Colors */
    --primary-orange: #EA7100;
    --primary-orange-rgb: 234, 113, 0;
    --primary-text: #363636;
    --text-muted: #666666;
    --text-gray-light: #8c8c8c;
    --white: #ffffff;
    --black: #000000;

    /* Borders & Light Grays */
    --border-light: #e2e8f0;
    --border-subtle: #edf2f7;
    --bg-hover-light: #f7fafc;

    /* Typography */
    --font-size-p: 19px;
    --font-size-p-mob: 15px;

    /* Layout */
    --sidebar-width: 320px;
    --sidebar-offset: -340px;
}

/* ==========================================================================
   2. GLOBAL STYLES & UTILITIES
   ========================================================================== */
p {
    color: var(--primary-text);
    font-size: var(--font-size-p);
}

.px-custom {
    padding-left: 5rem;
    padding-right: 5rem;
}

a:hover{
    color: var(--primary-orange);
}

/* ==========================================================================
   3. LAYOUT WRAPPERS (Hero Page Base)
   ========================================================================== */
.hero-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('/images/background-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* ==========================================================================
   4. HEADER & NAVIGATION (Desktop Navbar)
   ========================================================================== */
header {
    background: transparent;
    padding: 30px 0;
    width: 100%;
}

.logo {
    max-height: 60px;
    width: auto;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    position: relative;
}

.navbar-links li a {
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 600;
    font-size: 18px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.navbar-links li.active a {
    color: var(--primary-orange);
}

.navbar-links li.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-orange);
}

.header-extras {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.lang-switch {
    text-decoration: none;
    color: var(--black);
    font-weight: bold;
    font-size: 20px;
}

.btn-download {
    text-decoration: none;
    background-color: var(--primary-orange);
    color: var(--white) !important;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(var(--primary-orange-rgb), 0.15);
}

.btn-download:hover {
    filter: brightness(90%);
}

/* ==========================================================================
   5. MOBILE NAVIGATION (Sidebar Menu)
   ========================================================================== */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.mobile-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    inset-inline-start: var(--sidebar-offset);
    width: var(--sidebar-width);
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: inset-inline-start 0.3s ease-in-out;
}

.mobile-sidebar.open {
    inset-inline-start: 0;
}

.sidebar-header {
    margin-bottom: 30px;
}

.logo-mobile {
    max-height: 45px;
    width: auto;
}

.bar-menu {
    color: var(--primary-orange);
}

.btn-close-sidebar {
    background: transparent;
    border: 1px solid var(--border-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-sidebar:hover {
    background-color: var(--bg-hover-light);
    border-color: #cbd5e0;
}

.sidebar-links {
    margin-bottom: 25px;
}

.sidebar-links li {
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-links li a {
    display: block;
    padding: 14px 0;
    color: #2d3748;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.sidebar-links li.active a,
.sidebar-links li a:hover {
    color: var(--primary-orange);
}

.sidebar-footer {
    margin-top: 15px;
    text-align: center;
}

.lang-switch-mob {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--white) !important;
    padding: 10px 45px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(var(--primary-orange-rgb), 0.25);
    transition: all 0.2s ease;
}

.lang-switch-mob:hover {
    filter: brightness(90%);
    transform: translateY(-1px);
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 60px;
    padding-top: 60px;
}

.restaurant h1 {
    font-size: 50px;
    font-weight: 900;
    color: var(--primary-text);
    line-height: 1.25;
    margin-bottom: 35px;
    max-width: 85%;
}

.app-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.app-buttons a img {
    height: 70px;
    width: auto;
    transition: transform 0.2s ease;
}

.app-buttons a:hover img {
    transform: scale(1.03);
}

.img-restaurant {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-restaurant img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   7. ABOUT US SECTION
   ========================================================================== */
.about-section {
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('/images/about_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-section h1 {
    font-size: 50px;
    font-weight: 900;
    color: var(--primary-text);
    margin-bottom: 40px;
    line-height: 62px;
    max-width: 700px;
}

.about-section p {
    max-width: 800px;
    margin-bottom: 35px;
    margin: auto;
}

.about-section a {
    background: var(--primary-orange);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    padding: 15px 20px;
    line-height: initial;
    height: auto;
    border: none;
    background-image: none;
    border-radius: 10px;
    margin: auto;
    margin-top: 40px;
    display: block;
    width: 200px;
    text-transform: uppercase;
    text-decoration: none;
}

.about-section a:hover {
    filter: brightness(90%);
    transform: translateY(-1px);
}

/* ==========================================================================
   8. HOW IT WORKS SECTION
   ========================================================================== */
.works-section {
    padding: 80px 0;
}

.works-section .hading {
    margin-bottom: 60px;
    text-align: center;
}

.works-section .hading h2 {
    color: var(--primary-text);
    font-size: 50px;
    line-height: 62px;
    font-weight: 900;
    text-transform: capitalize;
}

.works-section .hading p {
    padding-top: 15px;
}

.work-card {
    text-align: center;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.work-img-box {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.work-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.work-card h4 {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary-text);
    margin-bottom: 18px;
    display: block;
}

.work-card h4 .step-num {
    font-size: 36px;
    color: #cfcfcf;
}

.work-card p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    width: 94%;
    margin: 0 auto;
}

/* ==========================================================================
   9. TRANSFORMING SECTION (Favorite Food)
   ========================================================================== */
.your-favorite-food {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.food-photo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.food-photo-section img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.05));
}

.food-content-section h2 {
    font-size: 40px;
    line-height: 62px;
    color: var(--primary-text);
    font-weight: 900;
}

.food-content-section p {
    padding: 20px 0 30px;
    width: 90%;
}

.food-content-section .btn-download-app {
    color: var(--white);
    border: 2px solid var(--primary-orange);
    background-image: linear-gradient(30deg, var(--primary-orange) 50%, transparent 50%);
    background-size: 500px;
    background-repeat: no-repeat;
    background-position: 0%;
    transition: background 300ms ease-in-out;
    line-height: 51px;
    padding: 14px 25px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(var(--primary-orange-rgb), 0.2);
    text-transform: uppercase;
    border-radius: 8px;
    font-weight: 700;
}

.food-content-section .btn-download-app:hover {
    background-position: 100%;
    background-color: transparent;
    color: var(--primary-orange);
    filter: brightness(90%);
    transform: translateY(-2px);
}

/* ==========================================================================
   10. FOOTER SECTION
   ========================================================================== */
.footer-section {
    background-color: var(--primary-text);
    padding: 60px 0 30px 0;
}

.logo-footer {
    max-height: 55px;
    width: auto;
}

.footer-social-media li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social-media li a:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.footer-bottom {
    padding-bottom: 30px;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 35px 0 25px 0;
    opacity: 1;
}

.copyright-text {
    color: var(--text-gray-light);
    font-size: 14px;
    font-weight: 400;
}

.footer-links a {
    color: var(--text-gray-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* ==========================================================================
   11. CUSTOM SCREEN LOADER
   ========================================================================== */
.wrapper {
    width: 200px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.circle {
    width: 15px;
    height: 15px;
    position: absolute;
    border-radius: 50%;
    background-color: #fff;
    left: 15%;
    transform-origin: 50%;
    animation: circle .5s alternate infinite ease;
}

@keyframes circle {
    0% {
        top: 60px;
        height: 5px;
        border-radius: 50px 50px 25px 25px;
        transform: scaleX(1.7);
    }

    40% {
        height: 20px;
        border-radius: 50%;
        transform: scaleX(1);
    }

    100% {
        top: 0%;
    }
}

.circle:nth-child(2) {
    left: 45%;
    animation-delay: .2s;
}

.circle:nth-child(3) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
}

.shadow {
    width: 15px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 62px;
    transform-origin: 50%;
    z-index: -1;
    left: 15%;
    filter: blur(1px);
    animation: shadow .5s alternate infinite ease;
}

@keyframes shadow {
    0% {
        transform: scaleX(1.5);
    }

    40% {
        transform: scaleX(1);
        opacity: .7;
    }

    100% {
        transform: scaleX(.2);
        opacity: .4;
    }
}

.shadow:nth-child(4) {
    left: 45%;
    animation-delay: .2s
}

.shadow:nth-child(5) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
}

.wrapper span {
    position: absolute;
    top: 75px;
    font-size: 20px;
    letter-spacing: 12px;
    color: #fff;
    left: 15%;
}

.page-loader {
    z-index: 1111111111111;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: fixed;
    background-color: var(--primary-orange);
}


/* ==========================================================================
   Custom Contact Us Design (Matching Image)
   ========================================================================== */

/* الخلفية والمساحات المحيطة بالقسم الرئيسي */
.contact-hero-wrapper {
    background-color: #ffffff !important;
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
    /* أو الخط الافتراضي المعتمد بمشروعك */
}

/* تنسيق العنوان الرئيسي */
.contact-title-box h2 {
    font-size: 3.5rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 45px;
}

/* شبكة توزيع الكروت الثلاثة بشكل متساوي ومحاذاة أفقية */
.contact-cards-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* تصميم الكرت المرتفع مع الظل الناعم والحواف الدائرية المستوحاة من الصورة */
.custom-contact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    flex: 1;
    min-width: 180px;
    min-height: 140px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f3f3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

/* تنسيق الأيقونة البرتقالية داخل الكروت */
.card-icon-wrap {
    font-size: 2.2rem;
    color: #ff7a00;
    /* اللون البرتقالي المطابق تماماً لتصميمك */
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* تدوير أيقونة الهاتف 90 درجة لتطابق شكلها في الصورة */
.card-icon-wrap.phone-icon i {
    transform: rotate(90deg);
}

/* روابط النصوص داخل الكروت لتبدو ناعمة وبدون خط أسفلها */
.card-link-wrapper {
    text-decoration: none !important;
    color: inherit;
}

/* تنسيق الخطوط والمقاسات للنصوص بداخل الكروت */
.card-text-content {
    font-size: 1rem;
    font-weight: 500;
    color: #555555;
    margin: 0;
    word-break: break-all;
}

/* حاوية الصورة اليمنى لتحديد أبعادها وحمايتها من التمدد العشوائي */
.contact-image-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.contact-image-container img {
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: cover;
}

@media (max-width: 991px) {
    .contact-title-box h2 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .contact-cards-grid {
        justify-content: center;
    }

    .custom-contact-card {
        flex: none;
        width: 100%;
        max-width: 320px;
    }

    .contact-image-container {
        margin-top: 40px;
    }
}

/* ==========================================================================
   Get In Touch Form Style
   ========================================================================== */
.bg-white-custom-section {
    background-color: #ffffff !important;
    padding-bottom: 60px;
}

.custom-form-container-card.full-width-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 45px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f3f3;
    width: 100%;
    max-width: 100%;
}

.form-header-content h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 15px;
}

.form-header-content p {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 35px;
}

.custom-clean-form .custom-input-group {
    position: relative;
    margin-bottom: 24px;
    width: 100%;
}

.custom-clean-form .custom-input-group .input-inner-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #d1d1d1;
    font-size: 1.05rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.custom-clean-form .custom-input-group input {
    width: 100%;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1.05rem;
    color: #333333;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-clean-form .custom-input-group textarea {
    width: 100%;
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1.05rem;
    color: #333333;
    background-color: #ffffff;
    outline: none;
    resize: vertical;
    min-height: 160px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-clean-form .custom-input-group input::placeholder,
.custom-clean-form .custom-input-group textarea::placeholder {
    color: #c5c5c5;
    font-weight: 400;
}

.custom-clean-form .custom-input-group input:focus,
.custom-clean-form .custom-input-group textarea:focus {
    border-color: #ff7a00;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.08);
}

.custom-submit-btn {
    width: 100%;
    background-color: #ea6c00 !important;
    color: #ffffff !important;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    margin-top: 10px;
}

.custom-submit-btn:hover {
    background-color: #d46200 !important;
}

@media (max-width: 767px) {
    .custom-form-container-card.full-width-card {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .form-header-content h3 {
        font-size: 1.8rem;
    }
}

.page-content-text {
    line-height: 26px;
    color: #333333;
    font-weight: 400;
    padding-bottom: 30px;
}

.page-text {
    font-size: 48px;
    font-weight: 700;
}

/* ==========================================================================
    RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablets & Small Desktops (max-width: 991px) */
@media (max-width: 991px) {
    .works-section {
        padding: 50px 0;
    }

    .works-section .hading h2 {
        font-size: 32px;
    }

    .work-img-box {
        margin-bottom: 20px;
        height: 160px;
    }

    .work-card h4 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .your-favorite-food {
        padding: 60px 0;
    }

    .food-photo-section {
        margin-bottom: 40px;
    }

    .food-content-section {
        text-align: center;
    }

    .food-content-section h2 {
        font-size: 30px;
    }

    .food-content-section p {
        font-size: var(--font-size-p-mob);
    }

    .flex-reverse-mob {
        flex-direction: column-reverse;
    }

    .restaurant h1 {
        font-size: 32px;
        text-align: center;
        margin-top: 30px;
    }

    .app-buttons {
        justify-content: center;
    }

    .hero-section {
        padding-top: 30px;
    }
}

/* Mobile Landscape & Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .about-section {
        padding: 50px 15px;
    }

    .about-section h1 {
        font-size: 28px;
    }

    .about-section p {
        font-size: 14px;
    }
}

/* Mobile Portrait (max-width: 767px) */
@media (max-width: 767px) {
    .footer-section {
        padding: 40px 0 20px 0;
    }

    .footer-divider {
        margin: 25px 0 20px 0;
    }
}
