        /* فونت Vazir */
        @font-face {
            font-family: "Vazir";
            src: url("../content/font/Vazir-Black.woff2");
            font-display: swap;
        }

        /* ریست استایل ها */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-weight: 300;
            outline: none;
            scroll-behavior: smooth;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
            -moz-tap-highlight-color: transparent;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }

        :root {
            --primary-blue: #1a237e;
            --dark-blue: #0d1b3e;
            --light-blue: #283593;
            --orange: #ffffff;
            --light-orange: #021c74;
            --white: #ffffff;
            --off-white: #f5f5f5;
            --gray: #e0e0e0;
            --dark-gray: #616161;
            --shadow: rgba(0, 0, 0, 0.15);
            --glass-bg: rgba(255, 255, 255, 0.12);
            --glass-border: rgba(255, 255, 255, 0.25);
            --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body {
            color: var(--white);
            line-height: 1.7;
            background-color: #01262c;
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* استایل های گلاسمورفیسم پیشرفته */
        .glass-effect {
            background: var(--glass-bg);
            backdrop-filter: blur(15px) saturate(180%);
            -webkit-backdrop-filter: blur(15px) saturate(180%);
            border: 1px solid var(--glass-border);
            box-shadow: 0 10px 35px 0 rgba(0, 0, 0, 0.2);
        }

        .glass-dark {
            background-color: #01191d;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .squircle-border {
            border-radius: 80px;
            corner-shape: squircle;
            -webkit-border-radius: 80px;
            -moz-border-radius: 80px;
        }

        /* هدر - نسخه بهبود یافته */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 1.2rem 0;
            transition: var(--transition);
        }

        header.scrolled {
            padding: 0.8rem 0;
            background-color: #01262c4f;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* لوگو و منو در وسط */
        .header-center {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 1;
            gap: 3rem;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-placeholder {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('../content/logo/mainlogo.png') no-repeat center center/cover;
            color: var(--white);
            font-weight: bold;
            font-size: 1.3rem;

        }

        .restaurant-name {
            font-size: 1.9rem;
            font-weight: bold;
            background: linear-gradient(to right, var(--white), var(--gray));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.5px;
        }

        /* منوی اصلی */
        .nav-menu {
            display: flex;
            gap: 2rem;
        }

        .nav-link {
            color: var(--white);
            text-decoration: none;
            font-size: 1.1rem;
            padding: 0.6rem 1.2rem;
            transition: var(--transition);
            position: relative;
            border-radius: 80px;
            corner-shape: squircle;
            -webkit-border-radius: 80px;
            -moz-border-radius: 80px;
        }

        .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--orange);
            transform: translateY(-2px);
        }


        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            background: linear-gradient(to right, #ffffff);
            bottom: -5px;
            right: 50%;
            transform: translateX(50%);
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        .nav-link:hover::after {
            width: 70%;
        }

        /* استایل‌های منوی دراپ‌داون دسکتاپ */
        .nav-dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .dropdown-arrow {
            transition: transform 0.3s ease;
        }

        .nav-dropdown:hover .dropdown-arrow {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            min-width: 220px;
            background: rgb(0, 0, 0);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 1rem 0;
            margin-top: 1rem;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
            z-index: 1000;
        }

        .nav-dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.8rem 1.5rem;
            color: var(--white);
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .dropdown-item:hover {
            background-color: rgba(13, 27, 62, 0.95);
            color: var(--orange);
            padding-right: 2rem;
        }

        .dropdown-icon {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        /* دکمه منوی موبایل - انیمیشنی */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--white);
            cursor: pointer;
            width: 40px;
            height: 40px;
            position: relative;
            z-index: 1001;
        }

        .hamburger {
            display: block;
            position: relative;
            width: 30px;
            height: 2px;
            background-color: var(--white);
            transition: var(--transition);
            margin: 0 auto;
        }

        .hamburger::before,
        .hamburger::after {
            content: '';
            position: absolute;
            width: 30px;
            height: 2px;
            background-color: var(--white);
            right: 0;
            transition: var(--transition);
        }

        .hamburger::before {
            top: -8px;
        }

        .hamburger::after {
            top: 8px;
        }

        /* انیمیشن تبدیل به ضربدر */
        .mobile-menu-btn.active .hamburger {
            background-color: transparent;
        }

        .mobile-menu-btn.active .hamburger::before {
            transform: rotate(45deg);
            top: 0;
            background-color: var(--orange);
        }

        .mobile-menu-btn.active .hamburger::after {
            transform: rotate(-45deg);
            top: 0;
            background-color: var(--orange);
        }

        /* منوی موبایل */
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 320px;
            height: 100vh;
            background-color: #01191ddd;
            backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 1rem 2rem 2rem;
            transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
            box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            overflow-y: auto;
        }

        .mobile-nav.active {
            right: 0;
        }

        .mobile-nav-logo {
            text-align: center;
            margin-bottom: 2rem;
        }

        .mobile-nav-logo .logo-placeholder {
            margin: 0 auto;
        }

        .mobile-nav-link {
            color: var(--white);
            text-decoration: none;
            font-size: 1.2rem;
            padding: 1rem 1.5rem;
            border-radius: 80px;
            corner-shape: squircle;
            -webkit-border-radius: 80px;
            -moz-border-radius: 80px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 1rem;
            border: 1px solid transparent;
        }

        .mobile-nav-link:hover {
            background-color: rgba(0, 0, 0, 0.15);
            color: var(--orange);
            border-color: rgba(13, 27, 62, 0.95);
            transform: translateX(-10px);
        }

        .mobile-nav-icon {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* استایل دراپ‌داون موبایل */
        .mobile-dropdown-toggle {
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .mobile-dropdown-menu {
            background: rgba(13, 27, 62, 0.9);
            border-radius: 15px;
            margin: 0.5rem 1.5rem;
            padding: 0;
            border: 1px solid rgba(255, 255, 255, 0.1);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .mobile-dropdown-menu.active {
            max-height: 300px;
            padding: 0.5rem 0;
        }

        .mobile-dropdown-item {
            padding: 0.8rem 1.5rem !important;
            margin: 0.2rem 0;
            border-radius: 80px;
            corner-shape: squircle;
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--gray);
            text-decoration: none;
            transition: var(--transition);
        }

        .mobile-dropdown-item:hover {
            background-color: rgba(255, 109, 0, 0.2) !important;
            color: var(--orange);
        }

        /* استایل SVG */
        .svg-icon {
            width: 100%;
            height: 100%;
            fill: currentColor;
            transition: var(--transition);
        }

        /* بخش اصلی */
        main {
            margin-top: 140px;
            padding: 0 2rem 6rem;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Hero Section پیشرفته */
        .hero {
            text-align: center;
            margin-bottom: 5rem;
            padding: 11rem 2rem;
            border-radius: 80px;
            corner-shape: squircle;
            -webkit-border-radius: 80px;
            -moz-border-radius: 80px;
            position: relative;
            overflow: hidden;
            min-height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 200px;
            border: 2px solid #e0e0e0;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0.322)),
                url('../content/logo/mainpic2.jpg') no-repeat center center/cover;
            z-index: -1;
        }

        .hero-content {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .hero h1 {
            font-size: 4.2rem;
            margin-bottom: 2rem;
            line-height: 1.2;
        }

        /* تعریف انیمیشن */
        @keyframes fadeInUpWithShake {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }

            70% {
                opacity: 1;
                transform: translateY(0);
            }

            80% {
                transform: translateY(-5px);
            }

            90% {
                transform: translateY(3px);
            }

            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* کلاس hero-subtitle */
        .hero-subtitle {
            font-size: 2.4rem;
            color: var(--gray);
            margin-bottom: 2rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            font-weight: 400;
            animation: fadeInUpWithShake 1.5s ease-out 1s forwards;
            opacity: 0;
            border-radius: 80px;
            corner-shape: squircle;
            background-color: rgba(0, 0, 0, 0.63);
            backdrop-filter: blur(10px);
            font-family: 'Noto Nastaliq Urdu', 'IranNastaliq', 'Traditional Arabic', 'Urdu Typesetting', serif !important;
        }



        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .btn-primary,
        .btn-secondary {
            padding: 1rem 2.5rem;
            border-radius: 80px;
            corner-shape: squircle;
            -webkit-border-radius: 80px;
            -moz-border-radius: 80px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
        }

        .btn-primary {
            background: linear-gradient(135deg, #01262c);
            color: var(--white);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-5px);
        }

        .btn-secondary {
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--white);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .btn-secondary:hover {
            background-color: rgba(255, 255, 255, 0.15);
            transform: translateY(-5px);
        }

        .btn-icon {
            width: 20px;
            height: 20px;
        }

        /* بخش های منو */
        .menu-section {
            margin-bottom: 5rem;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 3rem;
        }

        .section-title {
            font-size: 2.3rem;
            position: relative;
            padding-bottom: 1rem;
            color: var(--white);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 120px;
            height: 4px;
            background: linear-gradient(to right, var(--orange), transparent);
            border-radius: 2px;
        }

        .section-subtitle {
            color: var(--gray);
            font-size: 1.1rem;
            max-width: 600px;
        }

        .menu-items {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

        /* کارت های منو */
        .menu-card {
            background-color: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--white);
            overflow: hidden;
            transition: var(--transition);
            border-radius: 80px;
            corner-shape: squircle;
            -webkit-border-radius: 80px;
            -moz-border-radius: 80px;
            position: relative;
        }

        .menu-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-color: rgba(13, 27, 62, 0.95);
        }


        .card-image {
            height: 200px;
            background-color: var(--dark-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s ease;
        }

        .menu-card:hover .card-image img {
            transform: scale(1.1);
        }

        .card-content {
            padding: 1.8rem;
        }

        .card-header {
            display: contents;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .item-name {
            font-size: 1.4rem;
            font-weight: bold;
            color: var(--white);
            line-height: 1.3;

        }

        .item-price {
            font-size: 1.4rem;
            color: var(--orange);
            font-weight: bold;
            direction: rtl;
        }

        .item-price del {
            font-size: 1rem;
            color: var(--dark-gray);
            margin-left: 0.5rem;
        }

        .item-description {
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
            line-height: 1.6;
            height: 4.8rem;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
        }

        .card-footer {
            /* display: flex;
            justify-content: space-between; */
            align-items: center;
            margin-top: 1rem;
        }

        .card-actions {
            display: flex;
            gap: 0.8rem;

        }


        .details-btn , .order-btn {
            background-color: rgb(0, 0, 0);
            color: var(--white);
            border: none;
            padding: 0.7rem 1.5rem;
            border-radius: 80px;
            corner-shape: squircle;
            -webkit-border-radius: 80px;
            -moz-border-radius: 80px;
            cursor: pointer;
            font-weight: bold;
            transition: var(--transition);
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            width: 100%;
            text-align: center;
        }


        .details-btn {
            background-color: rgba(0, 0, 0, 0.815);
            color: var(--white);
            border: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 30px;
        }

        .details-btn:hover , .order-btn:hover {
            background-color: rgba(255, 255, 255, 0.15);
            transform: translateY(-3px);
        }

        .order-icon,
        .details-icon {
            width: 30px;
            height: 30px;
        }

        /* مودال جزئیات غذا */
        .modal-overlay {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.192);
            backdrop-filter: blur(10px);
            z-index: 2000;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .food-modal {
            background: rgba(0, 0, 0, 0.705);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 30px;
            max-width: 900px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            transform: translateY(30px);
            transition: transform 0.4s ease;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        }

        .modal-overlay.active .food-modal {
            transform: translateY(0);
        }

        .modal-close {
            position: absolute;
            top: 20px;
            left: 20px;
            bottom: 20px;
            background: rgb(0, 0, 0);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--white);
            font-size: 1.5rem;
            transition: var(--transition);
            z-index: 10;
        }

        .modal-close:hover {
            background-color: #01262c;
            transform: rotate(90deg);
        }

        .modal-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            padding: 2rem;
        }

        .modal-image {
            border-radius: 20px;
            overflow: hidden;
            height: 400px;
        }

        .modal-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .modal-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .modal-title {
            font-size: 2rem;
            color: var(--white);
            font-weight: bold;
            margin-top: 30px;
        }

        .modal-price {
            font-size: 2rem;
            color: var(--orange);
            font-weight: bold;
            margin-top: 30px;
        }

        .modal-description {
            color: var(--gray);
            line-height: 1.8;
            font-size: 1.1rem;
        }

        .modal-details {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            color: var(--gray);
        }

        .detail-icon {
            width: 20px;
            height: 20px;
            fill: var(--orange);
        }

        .detail-label {
            font-weight: bold;
            min-width: 100px;
            color: var(--white);
        }

        .detail-value {
            color: var(--gray);
        }

        .modal-ingredients {
            background-color: rgba(255, 255, 255, 0.05);
            padding: 1.5rem;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .ingredients-title {
            font-size: 1.2rem;
            color: var(--white);
            margin-bottom: 1rem;
            font-weight: bold;
        }

        .ingredients-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            list-style: none;
        }

        .ingredient {
            background-color: rgba(255, 109, 0, 0.15);
            color: var(--orange);
            padding: 0.5rem 1rem;
            border-radius: 80px;
            corner-shape: squircle;
            font-size: 0.9rem;
        }

        .modal-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .modal-actions {
            display: flex;
            gap: 1rem;
        }

        /* ===== شمارنده تعداد در مودال ===== */
        .quantity-selector {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.3rem;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 80px;
            /* squircle */
            corner-shape: squircle;
            -webkit-border-radius: 80px;
            padding: 0.2rem;
            backdrop-filter: blur(5px);
            margin-left: 1rem;
        }

        .quantity-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border: none;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 1.6rem;
            font-weight: 400;
            border-radius: 80px;
            corner-shape: squircle;
            cursor: pointer;
            transition: var(--transition);
            line-height: 1;
            padding: 0;
        }

        .quantity-btn:hover {
            background: var(--orange);
            color: black;
            transform: scale(1.05);
        }

        .quantity-btn:active {
            transform: scale(0.95);
        }

        .quantity-number {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 50px;
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--white);
            background: rgba(255, 255, 255, 0.05);
            border-radius: 80px;
            padding: 0.2rem 0.5rem;
            margin: 0 0.2rem;
        }

        /* برای موبایل کوچک‌تر */
        @media (max-width: 576px) {
            .quantity-btn {
                width: 36px;
                height: 36px;
                font-size: 1.4rem;
            }

            .quantity-number {
                min-width: 40px;
                font-size: 1.2rem;
            }
        }

        .modal-actions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem;
            width: 100%;
        }

        @media (max-width: 576px) {
            .modal-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .quantity-selector {
                justify-content: center;
                margin-left: 0;
            }
        }



        /* ===== مودال جزئیات (نسخه کوچک) ===== */
        #foodModal .modal-content {
            display: block !important;
            /* حذف گرید دوستونی */
            padding: 1.8rem;
        }

        #foodModal .modal-info {
            width: 100% !important;
        }

        #foodModal .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.2rem;
            flex-wrap: wrap;
            gap: 0.8rem;
        }

        #foodModal .modal-title {
            font-size: 1.6rem;
            margin-top: 0;
        }

        #foodModal .modal-price {
            font-size: 1.6rem;
            margin-top: 0;
        }

        #foodModal .modal-category {
            color: var(--orange);
            font-size: 0.95rem;
            margin-top: 0.3rem;
        }

        #foodModal .modal-ingredients {
            margin: 1.2rem 0;
            padding: 1.2rem;
        }

        #foodModal .modal-footer {
            margin-top: 0.5rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        #foodModal .modal-actions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.8rem;
        }

        #foodModal .quantity-selector {
            margin-left: 0;
        }

        @media (max-width: 576px) {
            #foodModal .modal-content {
                padding: 1.5rem;
            }

            #foodModal .modal-header {
                flex-direction: column;
                align-items: flex-start;
            }

            #foodModal .modal-actions {
                flex-direction: column;
                align-items: stretch;
            }

            #foodModal .quantity-selector {
                justify-content: center;
            }
        }

        /* فوتر حرفه‌ای */
        footer {
            background-color: rgba(0, 0, 0, 0.322);
            padding: 4rem 2rem 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 4rem;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .footer-main {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
            padding-bottom: 3rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-logo-section {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .footer-logo-img {
            width: 100px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('../content/logo/mainlogo.png') no-repeat center center/cover;
            color: var(--white);
            font-weight: bold;
            font-size: 1.4rem;
            border-radius: 80px;
            corner-shape: squircle;
        }

        .footer-logo-text {
            font-size: 1.8rem;
            font-weight: bold;
            background: linear-gradient(to right, var(--white), var(--orange));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .footer-description {
            color: var(--gray);
            line-height: 1.8;
            font-size: 1rem;
            max-width: 400px;
        }

        .enamad {
            display: inline-block;
            background-color: var(--white);
            padding: 1rem;
            border-radius: 12px;
            max-width: 200px;
            margin-top: 1rem;
        }

        .enamad img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }

        .footer-title {
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--white);
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.8rem;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(to right, var(--orange), transparent);
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .footer-link {
            color: var(--gray);
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }

        .footer-link:hover {
            color: var(--orange);
            transform: translateX(-5px);
        }

        .footer-link-icon {
            width: 20px;
            height: 20px;
        }

        .footer-contact {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            color: var(--gray);
        }

        .contact-icon {
            width: 22px;
            height: 22px;
            fill: var(--orange);
            flex-shrink: 0;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-link {
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--white);
            border-radius: 80px;
            corner-shape: squircle;
            -webkit-border-radius: 80px;
            transition: var(--transition);
        }

        .social-link:hover {
            background-color: black;
            transform: translateY(-5px);
        }

        .social-icon {
            width: 22px;
            height: 22px;
            fill: currentColor;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--dark-gray);
            font-size: 0.95rem;
            text-align: center;
        }

        .copyright {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: white;
            text-align: center;
        }

        .copyright-icon {
            width: 18px;
            height: 18px;
            fill: var(--dark-gray);
        }


        /* انیمیشن ها */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .fade-in-up {
            animation: fadeInUp 0.7s ease forwards;
        }

        .fade-in {
            animation: fadeIn 0.8s ease forwards;
        }

        .delay-1 {
            animation-delay: 0.1s;
        }

        .delay-2 {
            animation-delay: 0.2s;
        }

        .delay-3 {
            animation-delay: 0.3s;
        }

        .delay-4 {
            animation-delay: 0.4s;
        }


        /* ===== مودال لیست منوها (نسخه پایدار و ریسپانسیو) ===== */
        #menuListModal.modal-overlay {
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgba(0, 0, 0, 0.192);
            backdrop-filter: blur(10px);
            z-index: 2100;
            /* بالاتر از همه مودال‌ها */
        }

        .menu-list-modal {
            background: rgba(0, 8, 26, 0.479);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 40px;
            width: 90%;
            max-width: 800px;
            max-height: 80vh;
            overflow-y: auto;
            padding: 2.5rem;
            position: relative;
            transform: scale(0.95);
            transition: transform 0.3s ease, opacity 0.3s ease;
            opacity: 0;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
        }

        #menuListModal.active .menu-list-modal {
            transform: scale(1);
            opacity: 1;
        }

        .menu-list-content {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.2rem;
            margin-top: 40px;
        }

        .menu-list-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.2rem 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 80px;
            corner-shape: squircle;
            color: var(--white);
            text-decoration: none;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .menu-list-item:hover {
            background: rgba(2, 83, 79, 0.596);
            border-color: var(--orange);
            transform: translateY(-3px);
            color: var(--orange);
        }

        .menu-list-icon {
            width: 28px;
            height: 28px;
            fill: currentColor;
            flex-shrink: 0;
        }

        /* ===== موبایل ===== */
        @media (max-width: 768px) {
            .menu-list-modal {
                width: 95%;
                padding: 2rem 1.2rem;
                border-radius: 30px;
                max-height: 85vh;
            }

            .menu-list-content {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }

            .menu-list-item {
                padding: 1rem 1.2rem;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .menu-list-modal {
                padding: 1.8rem 1rem;
                width: 92%;
            }

            .menu-list-item {
                padding: 0.9rem 1rem;
            }
        }



        /* ریسپانسیو */
        @media (max-width: 1200px) {
            .menu-items {
                grid-template-columns: repeat(3, 1fr);
            }

            .footer-main {
                grid-template-columns: 1fr 1fr;
            }

            .modal-content {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .modal-image {
                height: 300px;
            }
        }

        @media (max-width: 992px) {
            .menu-items {
                grid-template-columns: repeat(2, 1fr);
            }

            .nav-menu {
                display: none;
            }

            .nav-dropdown {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .header-center {
                justify-content: space-between;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .footer-main {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .card-actions {
                flex-direction: column;
                gap: 0.5rem;
            }

            .order-btn,
            .details-btn {
                padding: 0.6rem 1rem;
                font-size: 0.85rem;
            }
        }

        @media (max-width: 768px) {
            .menu-items {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            .hero {
                padding: 3rem 1.5rem;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

            .hero-subtitle {
                font-size: 1.2rem;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .btn-primary,
            .btn-secondary {
                width: 100%;
                max-width: 300px;
            }

            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 1.5rem;
                text-align: center;
            }

            main {
                padding: 0 1.5rem 4rem;
                margin-top: 120px;
            }

            .header-container {
                padding: 0 1.5rem;
            }

            .food-modal {
                max-height: 95vh;
            }
        }

        @media (max-width: 576px) {
            .menu-items {
                grid-template-columns: 1fr;
            }

            .hero {
                padding: 2rem 1rem;
                min-height: 400px;
            }

            .hero h1 {
                font-size: 1.9rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .mobile-nav {
                width: 280px;
            }

            footer {
                padding: 3rem 1.5rem 1.5rem;
            }

            .card-actions {
                flex-direction: row;
                gap: 0.8rem;
            }

            .order-btn,
            .details-btn {
                padding: 0.7rem 1.2rem;
            }

            .modal-content {
                padding: 1.5rem;
            }

            .modal-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }

            .modal-footer {
                flex-direction: column;
                gap: 1.5rem;
                align-items: stretch;
            }

            .modal-actions {
                flex-direction: column;
            }
        }

        @media (max-width: 400px) {
            .restaurant-name {
                font-size: 1.5rem;
            }

            .logo-placeholder {
                width: 50px;
                height: 50px;
                font-size: 1rem;
            }

            .card-actions {
                flex-direction: column;
            }

            .menu-items {
                grid-template-columns: 1fr;
                gap: 1.2rem;
            }
        }

        /* ریسپانسیو */
        @media (max-width: 1200px) {
            .menu-items {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 992px) {
            .menu-items {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* برای تبلت و موبایل بزرگ */
        @media (max-width: 768px) {
            .menu-items {
                grid-template-columns: repeat(2, 1fr);
                /* دو کارت در هر ردیف */
                gap: 1.5rem;
            }
        }

        /* برای موبایل متوسط */
        @media (max-width: 576px) {
            .menu-items {
                grid-template-columns: repeat(2, 1fr);
                /* دو کارت در هر ردیف */
                gap: 1rem;
            }

            /* تنظیمات کارت برای موبایل */
            .menu-card {
                min-height: 320px;
            }

            .card-image {
                height: 150px;
            }

            .item-name {
                font-size: 1.1rem;
            }

            .item-price {
                font-size: 1.1rem;
            }
        }

        /* برای موبایل خیلی کوچک (یک کارت در هر ردیف) */
        @media (max-width: 400px) {
            .menu-items {
                grid-template-columns: 1fr;
                gap: 1.2rem;
            }
        }

        @media (max-width: 576px) {
            .card-image {
                height: 150px;
                /* از 200px به 150px کاهش دادم */
            }
        }

        @media (max-width: 576px) {
            .card-actions {
                flex-direction: column;
                gap: 0.5rem;
            }

            .order-btn,
            .details-btn {
                padding: 0.6rem 1rem;
                font-size: 0.85rem;
            }
        }



        /* ===== برای عرض‌های 400px و کمتر ===== */
        @media (max-width: 400px) {

            /* هدر */
            .restaurant-name {
                font-size: 1.5rem;
            }

            .logo-placeholder {
                width: 50px;
                height: 50px;
                font-size: 1rem;
            }

            /* منوی موبایل */
            .mobile-nav {
                width: 260px;
            }

            /* آیتم‌های منو – دوکارته ثابت */
            .menu-items {
                grid-template-columns: repeat(2, 1fr) !important;
                /* دو ستون */
                gap: 0.8rem;
                /* فاصله کمتر بین کارت‌ها */
            }

            /* کارت غذا */
            .menu-card {
                border-radius: 50px;
                /* squircle کوچک‌تر */
            }

            .card-image {
                height: 130px;
                /* کاهش ارتفاع تصویر */
            }

            .card-content {
                padding: 1rem 0.8rem;
            }

            .item-name {
                font-size: 1rem;
            }

            .item-price {
                font-size: 1rem;
            }

            .item-description {
                font-size: 0.8rem;
                height: 3.6rem;
                /* محدودیت سه خط */
                -webkit-line-clamp: 2;
                /* گاهی دو خط کافی‌ست */
                line-height: 1.4;
                margin-bottom: 0.8rem;
            }

            /* دکمه‌های داخل کارت – کنار هم در یک ردیف (ستونی نباشد) */
            .card-actions {
                flex-direction: row;
                gap: 0.5rem;
            }

            .order-btn,
            .details-btn {
                padding: 0.5rem 1rem;
                font-size: 0.8rem;
                border-radius: 50px;
            }

            .order-icon,
            .details-icon {
                width: 20px;
                height: 20px;
            }
        }

        /* ===== در صورت وجود media query مشابه دیگر (پایان فایل) ===== */
        @media (max-width: 400px) and (min-width: 1px) {

            /* این بخش تضمین می‌کند تنظیمات بالا اعمال شود */
            .menu-items {
                grid-template-columns: repeat(2, 1fr) !important;
            }
        }