/* 
   قهوة تركي - دليل الأنماط والتصميم الفاخر
   Qahwa Turkey Cafe - Premium Design Stylesheet
*/

/* 1. إعدادات التصميم الأساسية ونظام الألوان (Variables & Setup) */
:root {
    --bg-dark: #0f0a07;
    --bg-medium: #17100b;
    --bg-card: #201610;
    --bg-card-hover: #2a1e16;
    --primary-gold: #c5a880;
    --primary-gold-rgb: 197, 168, 128;
    --accent-copper: #e5ba73;
    --accent-gold: #f3c677;
    --text-light: #fdfaf7;
    --text-muted: #bcaf9c;
    --text-dark: #201610;
    --glass-bg: rgba(23, 16, 11, 0.65);
    --glass-border: rgba(197, 168, 128, 0.15);
    --neon-shadow: 0 0 15px rgba(197, 168, 128, 0.3);
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    text-align: right;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-light);
}

.highlight {
    color: var(--accent-copper);
    font-family: 'Amiri', serif;
    font-style: italic;
    background: linear-gradient(120deg, var(--accent-copper), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

/* 2. شاشة التحميل (Loading Screen) */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 20px auto;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-gold);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: sk-bounce 2.0s infinite ease-in-out;
    box-shadow: var(--neon-shadow);
}

.double-bounce2 {
    animation-delay: -1.0s;
    background-color: var(--accent-copper);
}

.loader-text {
    font-size: 1.1rem;
    color: var(--primary-gold);
    letter-spacing: 1px;
    animation: pulseText 1.5s infinite ease-in-out;
    margin-top: 10px;
}

@keyframes sk-bounce {
    0%, 100% { transform: scale(0.0); }
    50% { transform: scale(1.0); }
}

@keyframes pulseText {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1.0; }
}

/* 3. عناصر التصميم العامة (Buttons & Utilities) */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

.section-header {
    margin-bottom: 48px;
}

.section-header.align-center {
    text-align: center;
}

.section-header.align-right {
    text-align: right;
}

.section-tagline {
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.section-tagline.gold {
    color: var(--accent-gold);
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-copper), transparent);
    border-radius: 2px;
}

.section-header.align-center .section-title::after {
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(90deg, transparent, var(--accent-copper), transparent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* الأزرار (Buttons) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--border-radius-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-copper));
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.4), var(--neon-shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(197, 168, 128, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(197, 168, 128, 0.1);
    border-color: var(--accent-copper);
    transform: translateY(-3px);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* 4. رأس الصفحة والقائمة (Header & Navigation) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 10, 7, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    transition: var(--transition-fast);
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: rgba(15, 10, 7, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper .logo-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.arabic-logo {
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-copper);
    line-height: 1;
    text-shadow: 0 0 10px rgba(229, 186, 115, 0.2);
}

.sub-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: 2px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-copper);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-copper);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-fast);
}

/* 5. قسم البطل (Hero Section) */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding-top: 100px;
}

.hero-content-wrapper {
    max-width: 800px;
    text-align: center;
    padding: 0 24px;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background-color: rgba(197, 168, 128, 0.15);
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-copper);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-copper);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(197, 168, 128, 0.25);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(23, 16, 11, 0.5);
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.arrow-icon {
    width: 24px;
    height: 24px;
    fill: var(--accent-copper);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 6. قسم نبذة عنّا (About Section) */
.about-section {
    background-color: var(--bg-medium);
}

.about-image-wrapper {
    position: relative;
    padding: 15px;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(197, 168, 128, 0.15);
    transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.02);
}

.floating-experience-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
    border: 2px solid var(--primary-gold);
    border-radius: var(--border-radius-md);
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), var(--neon-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.floating-experience-badge .years {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-copper);
    line-height: 1;
}

.floating-experience-badge .exp-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
    font-weight: 600;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-text-secondary {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-copper);
}

.feature-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-light);
}

.feature-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* 7. محاكي طهي القهوة على الرمل (Sand Brewing Simulator) */
.brewing-section {
    background-image: linear-gradient(rgba(15, 10, 7, 0.93), rgba(15, 10, 7, 0.95)), url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.brewing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--bg-dark) 90%);
}

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

.relative {
    position: relative;
    z-index: 2;
}

/* تصميم المحاكي تفصيلياً */
.simulator-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    margin-top: 60px;
    align-items: center;
    background: rgba(32, 22, 16, 0.4);
    border: 1px solid rgba(197, 168, 128, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.simulator-info h3 {
    font-size: 1.8rem;
    color: var(--accent-copper);
    margin-bottom: 12px;
}

.simulator-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.control-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.brew-status {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-gold);
    padding: 8px 16px;
    background-color: rgba(197, 168, 128, 0.1);
    border-radius: 6px;
    border-right: 3px solid var(--accent-copper);
    width: 100%;
    max-width: 320px;
    transition: var(--transition-fast);
}

.simulator-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
}

.sand-tray {
    width: 320px;
    height: 200px;
    background: linear-gradient(180deg, #422d1e, #1a110a);
    border: 8px solid #6b4d36;
    border-radius: 50% / 20%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), inset 0 5px 20px rgba(0,0,0,0.6);
    overflow: visible;
}

.sand-surface {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: radial-gradient(ellipse at center, #d8ad7a 0%, #b2854e 60%, #7c582f 100%);
    border-radius: 50% / 20%;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.4);
    transition: background 1s ease;
}

/* تأثير التوهج الحراري للرمل عند بدء التشغيل */
.brewing-active .sand-surface {
    background: radial-gradient(ellipse at center, #ff9f43 0%, #e65f00 40%, #b2854e 70%, #54391e 100%);
}

.sand-heat-glow {
    position: absolute;
    width: 340px;
    height: 220px;
    background: radial-gradient(ellipse at center, rgba(230, 95, 0, 0.25) 0%, transparent 70%);
    border-radius: 50% / 20%;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    z-index: 1;
}

.brewing-active .sand-heat-glow {
    opacity: 1;
}

/* الدلة (The copper pot) */
.copper-pot {
    position: absolute;
    top: -90px;
    left: 100px;
    width: 80px;
    height: 120px;
    z-index: 10;
    transform: translateY(0) rotate(-5deg);
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: bottom center;
}

.pot-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d3733c 0%, #a24b1d 60%, #682c0e 100%);
    border-radius: 12px 12px 30px 30px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: -5px 10px 15px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

/* لمعة النحاس */
.pot-body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 15%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.pot-neck {
    position: absolute;
    top: 0;
    left: 10px;
    width: 60px;
    height: 25px;
    background: linear-gradient(135deg, #a24b1d, #682c0e);
    border-radius: 5px;
    z-index: 2;
}

.pot-rim {
    position: absolute;
    top: -5px;
    left: 5px;
    width: 70px;
    height: 10px;
    background: linear-gradient(135deg, #e48f5a, #8e3e15);
    border-radius: 50%;
    border-bottom: 2px solid #54220b;
    z-index: 3;
}

.pot-handle {
    position: absolute;
    top: 20px;
    left: -110px;
    width: 120px;
    height: 12px;
    background: linear-gradient(180deg, #5c3c26, #2d1c10);
    border-radius: 6px;
    transform: rotate(25deg);
    transform-origin: right center;
    box-shadow: -2px 5px 10px rgba(0,0,0,0.3);
}

/* بخار القهوة */
.coffee-steam {
    position: absolute;
    top: -50px;
    left: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: space-around;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 5;
}

.coffee-steam span {
    width: 3px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(2px);
    animation: steamRising 2.5s infinite linear;
    transform-origin: bottom center;
}

@keyframes steamRising {
    0% { transform: translateY(20px) scaleX(1) scaleY(1); opacity: 0; }
    30% { opacity: 0.6; }
    50% { transform: translateY(0px) scaleX(1.5) scaleY(1.3); opacity: 0.4; }
    100% { transform: translateY(-30px) scaleX(2.5) scaleY(1.8); opacity: 0; }
}

/* رغوة القهوة المتصاعدة */
.coffee-foam {
    position: absolute;
    top: 5px;
    left: 10px;
    width: 60px;
    height: 20px;
    background: radial-gradient(ellipse at center, #6b4021 0%, #3e1b07 100%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.2);
    z-index: 4;
    transition: opacity 2s ease, transform 3s ease;
    border: 1px solid #7c4c2a;
}

/* حركات الأنيميشن عند البدء */
.brewing-active .copper-pot {
    animation: brewingMotion 10s infinite ease-in-out;
}

@keyframes brewingMotion {
    0% { transform: translateY(0) rotate(-5deg); }
    15% { transform: translateY(40px) rotate(2deg); } /* غمر الكنكة */
    30% { transform: translateY(45px) rotate(-1deg); }
    40% { transform: translateY(40px) rotate(1deg); }
    55% { transform: translateY(43px) rotate(-3deg); }
    70% { transform: translateY(40px) rotate(1deg); }
    85% { transform: translateY(38px) rotate(-1deg); }
    100% { transform: translateY(0) rotate(-5deg); } /* رفع الكنكة */
}

.brewing-active .coffee-steam {
    opacity: 1;
}

.brewing-active .coffee-foam {
    opacity: 1;
    transform: scale(1) translateY(-8px);
}

/* 8. قائمة الطعام والمنيو التفاعلي (Visual Premium Menu) */
.menu-section {
    background-color: var(--bg-dark);
}

.menu-tabs-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.menu-tab-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-card);
    border: 1px solid rgba(197, 168, 128, 0.15);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.menu-tab-btn:hover {
    background-color: var(--bg-card-hover);
    color: var(--text-light);
    border-color: var(--primary-gold);
}

.menu-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-copper));
    color: var(--text-dark);
    border-color: transparent;
    box-shadow: var(--neon-shadow);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.menu-item-card {
    display: none; /* يتم إخفاء كل العناصر افتراضياً ويتم إظهارها بواسطة الفئة show */
    background: var(--bg-card);
    border: 1px solid rgba(197, 168, 128, 0.1);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.menu-item-card.show {
    display: flex;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-item-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.menu-item-image-wrapper {
    width: 140px;
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.menu-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.menu-item-card:hover .menu-item-img {
    transform: scale(1.08);
}

.menu-item-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-copper);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.menu-item-tag.premium {
    background: linear-gradient(135deg, #ffd700, #ffa500);
}

.menu-item-tag.best-seller {
    background-color: #d35400;
    color: var(--text-light);
}

.menu-item-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 10px;
}

.menu-item-title {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 700;
}

.menu-item-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-copper);
    white-space: nowrap;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.menu-footer {
    text-align: center;
    margin-top: 40px;
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 9. معرض الصور الفاخر والألبوم (Interactive Photo Gallery) */
.gallery-section {
    background-color: var(--bg-medium);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border: 1px solid rgba(197, 168, 128, 0.1);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 16, 11, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-fast);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 2.2rem;
    color: var(--accent-copper);
    font-weight: 300;
    margin-bottom: 8px;
}

.gallery-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.gallery-item-cat {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 10, 7, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox-modal.show {
    display: flex;
    opacity: 1;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--primary-gold);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    object-fit: contain;
}

.lightbox-caption {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 16px;
    text-align: center;
    background-color: var(--bg-card);
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 2.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--text-light);
}

/* 10. آراء العملاء (Customer Reviews & Testimonials) */
.testimonials-section {
    background-color: var(--bg-dark);
}

.testimonials-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(197, 168, 128, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    min-height: 350px;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    text-align: center;
    animation: slideIn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.testimonial-slide.active {
    display: block;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.stars-rating {
    margin-bottom: 20px;
}

.stars-rating .star {
    font-size: 1.4rem;
    color: #e5ba73;
    margin: 0 2px;
}

.testimonial-comment {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-copper));
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(197, 168, 128, 0.3);
}

.user-meta {
    text-align: right;
}

.user-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
}

.user-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(197, 168, 128, 0.25);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dots .dot.active {
    background-color: var(--accent-copper);
    width: 25px;
    border-radius: 5px;
}

/* 11. الحجز والاتصال والخريطة (Booking & Contact Section) */
.booking-section {
    background-color: var(--bg-medium);
}

.align-start {
    align-items: flex-start;
}

.booking-form-wrapper {
    padding: 40px;
    border: 1px solid rgba(197, 168, 128, 0.15);
}

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

.booking-header h3 {
    font-size: 1.8rem;
    color: var(--accent-copper);
    margin-bottom: 8px;
}

.booking-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(15, 10, 7, 0.6);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: var(--text-light);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-copper);
    background-color: rgba(15, 10, 7, 0.8);
    box-shadow: 0 0 10px rgba(229, 186, 115, 0.15);
}

.form-group textarea {
    resize: none;
}

/* قائمة تفاصيل الاتصال */
.contact-details-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid rgba(197, 168, 128, 0.08);
    border-radius: var(--border-radius-md);
    padding: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--accent-copper);
}

.info-text h4 {
    font-size: 1rem;
    color: var(--primary-gold);
    margin-bottom: 4px;
    font-weight: 700;
}

.info-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.phone-link {
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.phone-link:hover {
    color: var(--accent-copper);
}

/* خريطة مخصصة محاكاة فاخرة ومظلمة (Simulated Dark Map Container) */
.map-container-wrapper {
    border: 1px solid rgba(197, 168, 128, 0.15);
    overflow: hidden;
}

.simulated-map {
    width: 100%;
    height: 250px;
    position: relative;
    background-color: #120d09;
    overflow: hidden;
}

.map-bg-graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* رسم بياني للخرائط المظلمة */
.map-grid-lines {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(197, 168, 128, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 168, 128, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-road-1 {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    height: 14px;
    background-color: #241c14;
    transform: rotate(-15deg);
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
}

.map-road-2 {
    position: absolute;
    top: 0;
    left: 60%;
    width: 16px;
    height: 100%;
    background-color: #241c14;
    transform: rotate(20deg);
    border-left: 1px solid rgba(197, 168, 128, 0.1);
    border-right: 1px solid rgba(197, 168, 128, 0.1);
}

.map-river {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40%;
    height: 60px;
    background-color: #192a3a;
    border-radius: 50% 50% 0 0;
    transform: rotate(5deg);
}

.map-landmark {
    position: absolute;
    background-color: #1a1410;
    border: 1px dashed rgba(197, 168, 128, 0.2);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.map-landmark.park {
    top: 15%;
    left: 15%;
}

.map-landmark.center {
    bottom: 15%;
    right: 15%;
}

/* نبضات الدبوس الجغرافي */
.map-pin-pulse {
    position: absolute;
    top: 48%;
    left: 56%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(229, 186, 115, 0.15);
    border-radius: 50%;
    animation: mapPulse 2s infinite ease-out;
}

@keyframes mapPulse {
    0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

.map-pin {
    position: absolute;
    top: 48%;
    left: 56%;
    transform: translate(-50%, -100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

.pin-head {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-copper), var(--primary-gold));
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5), var(--neon-shadow);
}

.logo-mini {
    transform: rotate(45deg);
    font-size: 1.1rem;
}

.pin-label {
    background-color: var(--bg-card);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 6px;
    border: 1px solid var(--primary-gold);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.map-overlay-info {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background-color: rgba(32, 22, 16, 0.9);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
}

.map-overlay-info span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
}

/* 12. تذييل الصفحة (Footer) */
.main-footer {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(197, 168, 128, 0.1);
}

.footer-top {
    padding: 60px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    color: var(--accent-copper);
    margin-bottom: 12px;
}

.footer-slogan {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-copper));
    transform: translateY(-3px);
}

.social-links a svg {
    width: 18px;
    height: 18px;
    fill: var(--text-light);
    transition: var(--transition-fast);
}

.social-links a:hover svg {
    fill: var(--text-dark);
}

.footer-links-col h4 {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-copper);
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col ul a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links-col ul a:hover {
    color: var(--accent-copper);
    padding-right: 4px;
}

.footer-links-col p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-bottom {
    padding: 24px 0;
    background-color: #0b0705;
    border-top: 1px solid rgba(197, 168, 128, 0.05);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 13. العناصر العائمة والإشعارات (Floating & Toasts) */
.floating-actions-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: var(--transition-fast);
    animation: glowRing 3s infinite;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.phone-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-copper));
}

.whatsapp-btn {
    background-color: #25d366;
    animation-delay: 1.5s;
}

.btn-svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.phone-btn .btn-svg {
    fill: var(--text-dark);
}

@keyframes glowRing {
    0% { box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.4), 0 5px 15px rgba(0,0,0,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(197, 168, 128, 0), 0 5px 15px rgba(0,0,0,0.4); }
    100% { box-shadow: 0 0 0 0 rgba(197, 168, 128, 0), 0 5px 15px rgba(0,0,0,0.4); }
}

.whatsapp-btn {
    animation: glowRingWA 3s infinite;
}

@keyframes glowRingWA {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4), 0 5px 15px rgba(0,0,0,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 5px 15px rgba(0,0,0,0.4); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 5px 15px rgba(0,0,0,0.4); }
}

/* إشعارات التوست (Toast Notifications) */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2500;
}

.toast {
    background-color: var(--bg-card);
    border: 1px solid var(--primary-gold);
    border-radius: var(--border-radius-sm);
    padding: 16px 24px;
    color: var(--text-light);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), var(--neon-shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    min-width: 300px;
    border-right: 4px solid var(--accent-copper);
}

.toast.success {
    border-right-color: #2ecc71;
}

.toast-msg {
    font-size: 0.95rem;
    font-weight: 600;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.toast.fade-out {
    animation: toastSlideOut 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes toastSlideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-30px); }
}

/* 14. الاستجابة للشاشات والأجهزة المختلفة (Media Queries) */

@media (max-width: 1024px) {
    .section-title {
        font-size: 2.1rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .section-container {
        padding: 50px 16px;
    }
    
    .about-image-wrapper {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    /* قائمة الهواتف المحمولة */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(15, 10, 7, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 40px;
        transition: var(--transition-slow);
        border-top: 1px solid rgba(197, 168, 128, 0.1);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .btn-nav {
        display: none; /* إخفاء زر الحجز في الموبايل من الهيدر لعدم التزاحم */
    }
    
    /* محاكي القهوة على الرمل للموبايل */
    .simulator-wrapper {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    
    .simulator-visual {
        order: 2;
        height: 280px;
    }
    
    .simulator-info {
        order: 1;
    }
    
    .sand-tray {
        width: 280px;
        height: 180px;
    }
    
    .copper-pot {
        left: 85px;
    }
    
    /* آراء الزبائن للموبايل */
    .testimonials-slider-container {
        padding: 30px 20px;
    }
    
    .testimonial-comment {
        font-size: 1.1rem;
    }
    
    /* الحجز للموبايل */
    .booking-form-wrapper {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .floating-actions-container {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    .stat-divider {
        display: none;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .menu-item-card {
        flex-direction: column;
    }
    .menu-item-image-wrapper {
        width: 100%;
        height: 160px;
    }
}
