/*
Theme Name: الو قلیون
Description: قالب اختصاصی سایت الو قلیون
Author: طراح سایت
Version: 1.0
*/

:root {
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --dark: #0a0a0a;
  --dark2: #111;
  --dark3: #1a1a1a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; background: var(--dark); color: #eee; direction: rtl; }

/* HEADER */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold);
  padding: 0 5%; display: flex; align-items: center; justify-content: space-between; height: 65px;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--gold); }
nav a { color: #ccc; text-decoration: none; margin-right: 24px; font-size: 0.95rem; transition: color 0.2s; }
nav a:hover { color: var(--gold); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--gold); }
.mobile-nav { display: none; position: fixed; top: 65px; right: 0; width: 100%; background: var(--dark2); border-bottom: 1px solid var(--gold); padding: 20px; z-index: 99; }
.mobile-nav.open { display: flex; flex-direction: column; gap: 16px; }
.mobile-nav a { color: #ccc; text-decoration: none; font-size: 1rem; }

/* HERO */
.hero { position: relative; height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('hero.jpg') center/cover no-repeat; filter: brightness(0.35); }
.hero-content { position: relative; z-index: 1; padding: 0 20px; }
.hero-content h1 { font-size: clamp(2rem, 6vw, 4rem); color: var(--gold); margin-bottom: 16px; text-shadow: 0 2px 20px rgba(201,168,76,0.4); }
.hero-content p { font-size: clamp(1rem, 2.5vw, 1.3rem); color: #ccc; margin-bottom: 32px; }
.btn-gold { background: var(--gold); color: #000; padding: 14px 36px; border: none; border-radius: 50px; font-size: 1rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: 0.2s; display: inline-block; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

/* SECTIONS */
section { padding: 70px 5%; }
.section-title { text-align: center; font-size: 1.8rem; color: var(--gold); margin-bottom: 50px; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 2px; background: var(--gold); margin: 12px auto 0; }

/* FEATURES */
#features { background: var(--dark2); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-card { background: var(--dark3); border: 1px solid #2a2a2a; border-radius: 12px; padding: 30px 20px; text-align: center; transition: 0.2s; }
.feature-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 14px; }
.feature-card h3 { color: var(--gold); margin-bottom: 8px; }
.feature-card p { color: #999; font-size: 0.9rem; line-height: 1.6; }

/* MENU */
#menu { background: var(--dark); }
.menu-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.tab-btn { padding: 8px 24px; border-radius: 50px; border: 1px solid var(--gold); background: transparent; color: var(--gold); cursor: pointer; font-size: 0.9rem; transition: 0.2s; }
.tab-btn.active, .tab-btn:hover { background: var(--gold); color: #000; }

.category-header {
  text-align: center; margin-bottom: 24px;
  padding: 14px 24px; background: var(--dark3);
  border: 1px solid var(--gold); border-radius: 10px;
  display: inline-block; width: 100%;
}
.category-header h3 { color: var(--gold); font-size: 1.1rem; margin-bottom: 4px; }
.category-header p { color: #aaa; font-size: 0.85rem; }

.menu-category { display: none; }
.menu-category.active { display: block; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.menu-item { background: var(--dark3); border: 1px solid #2a2a2a; border-radius: 10px; padding: 18px 14px; text-align: center; transition: 0.2s; }
.menu-item:hover { border-color: var(--gold); }
.menu-item .emoji { font-size: 2rem; margin-bottom: 8px; }
.menu-item h4 { color: #eee; font-size: 0.95rem; margin-bottom: 4px; }
.menu-item .desc { color: #888; font-size: 0.78rem; margin-bottom: 6px; line-height: 1.4; }
.menu-item .price { color: var(--gold); font-size: 0.85rem; font-weight: 600; }

/* COVERAGE */
#coverage { background: var(--dark2); }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.area-tag { background: var(--dark3); border: 1px solid #333; border-radius: 8px; padding: 12px; text-align: center; color: #ccc; font-size: 0.9rem; transition: 0.2s; }
.area-tag:hover { border-color: var(--gold); color: var(--gold); }

/* ORDER FORM */
#order { background: var(--dark); }
.order-form { max-width: 560px; margin: 0 auto; background: var(--dark3); border: 1px solid #2a2a2a; border-radius: 16px; padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: var(--gold); margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--dark2); border: 1px solid #333; border-radius: 8px;
  padding: 12px 14px; color: #eee; font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.2s; direction: rtl;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 90px; }
.btn-submit { width: 100%; background: var(--gold); color: #000; border: none; border-radius: 50px; padding: 14px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: 0.2s; }
.btn-submit:hover { background: var(--gold-light); }

/* INVOICE MODAL */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.85); z-index: 2000;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--dark3); border: 1px solid var(--gold);
  border-radius: 16px; padding: 32px; max-width: 460px; width: 100%;
  max-height: 90vh; overflow-y: auto;
}
.modal h2 { color: var(--gold); text-align: center; margin-bottom: 24px; font-size: 1.4rem; }
.invoice-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #2a2a2a; font-size: 0.95rem; }
.invoice-row:last-of-type { border-bottom: none; }
.invoice-row .label { color: #aaa; }
.invoice-row .value { color: #eee; font-weight: 500; }
.invoice-total { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--gold); }
.invoice-total .label { color: var(--gold); font-weight: 700; font-size: 1rem; }
.invoice-total .value { color: var(--gold); font-weight: 700; font-size: 1rem; }
.modal-btns { display: flex; gap: 12px; margin-top: 24px; }
.modal-btns button { flex: 1; padding: 12px; border-radius: 50px; border: none; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: 0.2s; }
.btn-confirm { background: #25D366; color: #fff; }
.btn-confirm:hover { background: #1ebe5d; }
.btn-cancel { background: #333; color: #ccc; }
.btn-cancel:hover { background: #444; }

/* FOOTER */
footer {
  background: var(--dark2); border-top: 1px solid #222;
  padding: 40px 5% 24px; color: #555;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { color: var(--gold); margin-bottom: 14px; font-size: 1rem; }
.footer-col p, .footer-col a { color: #666; font-size: 0.88rem; line-height: 2; display: block; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #1a1a1a; font-size: 0.82rem; }
.footer-bottom span { color: var(--gold); }

/* FLOATING PANEL */
.float-panel { position: fixed; bottom: 30px; left: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 1000; }
.float-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 50px; text-decoration: none; font-size: 14px; font-weight: 600; color: #fff; min-width: 140px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: 0.2s; }
.float-item:hover { transform: translateX(4px); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
.float-item.whatsapp { background: #25D366; }
.float-item.order-btn { background: var(--gold); color: #000; }
.float-item.call { background: #2196F3; }

@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .order-form { padding: 24px 18px; }
  .modal-btns { flex-direction: column; }
}
