/*
Theme Name: UniCargo Express
Theme URI: https://unicargo.tn
Author: UniCargo Express
Author URI: https://unicargo.tn
Description: Thème officiel UniCargo Express - Votre partenaire logistique e-commerce en Tunisie
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: unicargo
*/

:root {
  --orange: #F7941D;
  --navy: #1B2A4A;
  --navy-dark: #0F1E35;
  --white: #FFFFFF;
  --light-gray: #F5F7FA;
  --gray: #6B7280;
  --border: #E5E7EB;
  --green: #22C55E;
  --shadow: 0 4px 24px rgba(27,42,74,0.10);
  --radius: 12px;
  --font-main: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-main);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 40px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
}
.site-logo img { height: 48px; }
.site-logo span { font-size: 1.5rem; font-weight: 800; }
.site-logo span em { color: var(--orange); font-style: normal; }
.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-menu a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-primary:hover { background: #e5840a; transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #EFF4FF 0%, #FFF8F0 100%);
  padding: 80px 40px 60px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-badge {
  display: inline-block;
  background: rgba(247,148,29,0.12);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(247,148,29,0.35);
}
.btn-hero-primary:hover { background: #e5840a; transform: translateY(-2px); }
.btn-hero-secondary {
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-hero-secondary:hover { background: var(--navy-dark); transform: translateY(-2px); }
.hero-img { display: flex; justify-content: center; align-items: center; }
.hero-img img { width: 100%; max-width: 560px; }
.hero-van-placeholder {
  width: 100%;
  max-width: 520px;
  height: 320px;
  background: linear-gradient(135deg, var(--navy) 0%, #2d4a7a 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 5rem;
}

/* ===== SERVICES STRIP ===== */
.services-strip {
  padding: 40px 40px;
  background: var(--white);
}
.services-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.25s;
  cursor: default;
}
.service-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(247,148,29,0.15);
  transform: translateY(-3px);
}
.service-card .icon {
  width: 48px; height: 48px;
  background: rgba(247,148,29,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.4rem;
  color: var(--orange);
}
.service-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.service-card p { font-size: 0.78rem; color: var(--gray); }

/* ===== TRACKING SECTION ===== */
.tracking-section {
  background: linear-gradient(135deg, var(--navy) 0%, #2d4a7a 100%);
  padding: 60px 40px;
  text-align: center;
}
.tracking-section h2 { color: var(--white); font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.tracking-section p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.tracking-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.tracking-form input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  font-size: 1rem;
  font-family: var(--font-main);
  outline: none;
  color: var(--navy);
}
.tracking-form button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 18px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.tracking-form button:hover { background: #e5840a; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--navy-dark);
  padding: 16px 40px;
}
.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-item span.icon { font-size: 1.1rem; }

/* ===== ABOUT PAGE ===== */
.page-hero {
  background: linear-gradient(135deg, #EFF4FF 0%, #FFF8F0 100%);
  padding: 60px 40px;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.page-hero h1 { font-size: 2.4rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.page-hero p { color: var(--gray); font-size: 1.05rem; max-width: 640px; }

.about-section { padding: 70px 40px; }
.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, #2d4a7a 100%);
  border-radius: 20px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
}
.about-content h2 { font-size: 1.9rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.about-content p { color: var(--gray); margin-bottom: 24px; line-height: 1.8; }
.about-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.about-features li {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy); font-weight: 500;
}
.about-features li::before { content: '✓'; color: var(--green); font-weight: 800; font-size: 1rem; }

.stats-section { background: var(--light-gray); padding: 60px 40px; }
.stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-card .stat-icon { font-size: 2rem; margin-bottom: 12px; }
.stat-card .stat-number { font-size: 2.2rem; font-weight: 900; color: var(--orange); }
.stat-card .stat-label { color: var(--gray); font-size: 0.9rem; margin-top: 4px; }

/* ===== DEVIS FORM ===== */
.devis-section { padding: 70px 40px; }
.devis-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; color: var(--navy);
  margin-bottom: 6px; font-size: 0.9rem;
}
.form-group label span.required { color: var(--orange); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { height: 120px; resize: vertical; }
.btn-submit {
  background: var(--orange);
  color: var(--white);
  border: none;
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background 0.2s, transform 0.1s;
}
.btn-submit:hover { background: #e5840a; transform: translateY(-1px); }

.devis-sidebar .sidebar-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-main);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 16px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-whatsapp:hover { background: #1db954; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.check-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: var(--navy);
}
.check-list li::before { content: '✓'; color: var(--green); font-weight: 800; }

/* ===== SUIVI PAGE ===== */
.suivi-section { padding: 70px 40px; }
.suivi-inner { max-width: 900px; margin: 0 auto; }
.suivi-search-box {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 40px;
  margin-bottom: 40px;
}
.suivi-search-box h2 { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.suivi-search-box p { color: var(--gray); margin-bottom: 24px; }
.suivi-form { display: flex; gap: 12px; }
.suivi-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s;
}
.suivi-form input:focus { border-color: var(--orange); }
.suivi-form button {
  background: var(--orange);
  color: white; border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.suivi-form button:hover { background: #e5840a; }

.tracking-result {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px;
}
.tracking-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.tracking-id { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.status-badge {
  background: rgba(247,148,29,0.12);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}
.status-badge.delivered { background: rgba(34,197,94,0.12); color: var(--green); }
.tracking-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 28px; }
.meta-item label { font-size: 0.8rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.meta-item p { font-weight: 600; color: var(--navy); margin-top: 4px; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 16px;
}
.timeline-dot {
  position: absolute; left: -30px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--white);
}
.timeline-dot.done { background: var(--green); }
.timeline-dot.current { background: var(--orange); box-shadow: 0 0 0 4px rgba(247,148,29,0.2); }
.timeline-date { font-size: 0.82rem; color: var(--gray); margin-bottom: 2px; }
.timeline-event { font-weight: 600; color: var(--navy); font-size: 0.95rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 40px 0;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.2fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin: 16px 0; opacity: 0.7; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none; font-size: 0.9rem;
  transition: background 0.2s;
}
.social-btn:hover { background: var(--orange); }
.footer-col h4 {
  color: white; font-size: 0.95rem; font-weight: 700;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--orange); display: inline-block;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.88rem; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,0.65); font-size: 0.88rem; margin-bottom: 12px;
}
.footer-contact-item .icon { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.app-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.app-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 16px;
  color: white; text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  transition: background 0.2s;
  font-size: 0.85rem;
}
.app-btn:hover { background: rgba(247,148,29,0.2); border-color: var(--orange); }
.app-btn .icon { font-size: 1.3rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--orange); }

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: #25D366;
  color: white; border: none;
  width: 56px; height: 56px; border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner, .about-grid { grid-template-columns: 1fr; }
  .services-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .devis-inner { grid-template-columns: 1fr; }
  .tracking-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .nav-menu { display: none; }
  .hero { padding: 50px 20px; }
  .hero h1 { font-size: 2rem; }
  .services-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .suivi-form { flex-direction: column; }
  .tracking-meta { grid-template-columns: 1fr; }
}
/* ===== إخفاء عنوان الصفحة ===== */
.entry-title,
.page-title {
  display: none !important;
}
/*
============================================
UNICARGO EXPRESS - إصلاح القائمة للموبايل
============================================
ضع هذا الكود في ملف style.css للثيم الخاص بك
أو في Appearance > Customize > Additional CSS
============================================
*/

/* ====== إعدادات عامة للهيدر ====== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 10px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== تصميم الشعار ====== */
.site-logo {
    display: flex;
    align-items: center;
    z-index: 10000;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

/* ====== زر الهامبرغر للموبايل ====== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    position: relative;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #1e3a8a;
    border-radius: 3px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* تحريك الهامبرغر عند الفتح */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    background: #f97316;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    background: #f97316;
}

/* ====== تصميم القائمة الرئيسية ====== */
#main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 10px 18px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #f97316;
    color: #ffffff;
}

/* ====== زر الاتصال/Connexion ====== */
.nav-actions .btn-outline {
    padding: 8px 20px;
    border: 2px solid #1e3a8a;
    color: #1e3a8a;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-actions .btn-outline:hover {
    background-color: #1e3a8a;
    color: #ffffff;
}

/* ============================
   تصميم الموبايل - الجزء الأهم
   ============================ */
@media screen and (max-width: 991px) {
    
    /* إظهار زر الهامبرغر */
    .hamburger {
        display: flex;
    }
    
    /* إخفاء القائمة الأصلية وإظهارها عند الفتح */
    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 80px;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
        z-index: 9998;
    }
    
    /* فتح القائمة */
    #main-nav.active {
        right: 0;
    }
    
    /* تصميم القائمة العمودية */
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li a {
        padding: 16px 25px;
        border-radius: 0;
        font-size: 16px;
    }
    
    .nav-menu li a:hover,
    .nav-menu li a.active {
        background-color: #f97316;
        color: #ffffff;
        padding-right: 30px;
    }
    
    /* زر الاتصال في الموبايل */
    .nav-actions {
        width: 100%;
        padding: 20px 25px;
        margin-top: 10px;
    }
    
    .nav-actions .btn-outline {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    /* خلفية شفافة خلف القائمة */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 9997;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* للشاشات الصغيرة جداً */
@media screen and (max-width: 480px) {
    #main-nav {
        width: 100%;
        max-width: 320px;
    }
    
    .site-logo img {
        max-height: 40px;
    }
}

/* ====== تصحيح مشاكل WordPress ====== */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* تصحيح مشاكل z-index مع Elementor */
.elementor-element {
    z-index: auto !important;
}

/* إضافة مسافة للمحتوى تحت الهيدر الثابت */
body {
    padding-top: 80px;
}
