/*
Theme Name: Media Focus Agency
Theme URI: https://mediafocusag.com
Author: Media Focus Agency
Author URI: https://mediafocusag.com
Description: Dedicated, ultra-fast and luxury custom WordPress theme for Media Focus Advertising & Production Agency. Fully independent of external themes, featuring built-in bilingual RTL/LTR support, responsive navigation, and interactive showcase engines.
Version: 1.0.3
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: mediafocus-theme
*/

/* ══════════════════════════════════════════════════════ */
/* MEDIA FOCUS THEME — GLOBAL DESIGN SYSTEM & TOKENS     */
/* ══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Sora:wght@400;500;600;700;800;900&display=swap');

:root {
  --mf-blue:      #1B3F72;
  --mf-blue-d:    #0E2A52;
  --mf-blue-dark: #091C38;
  --mf-blue-h:    #255294;
  --mf-gold:      #F4A820;
  --mf-gold-h:    #E09A15;
  --mf-gold-l:    #FEF7EA;
  --mf-gold-glow: rgba(244, 168, 32, 0.35);
  
  --mf-text:      #1A1A2E;
  --mf-text-l:    #334155;
  --mf-muted:     #5A6A7E;
  --mf-light:     #F8FAFC;
  --mf-white:     #FFFFFF;
  --mf-border:    #E8ECF4;
  
  --mf-radius-sm: 8px;
  --mf-radius:    14px;
  --mf-radius-lg: 20px;
  
  --mf-shadow-sm: 0 4px 12px rgba(27, 63, 114, 0.04);
  --mf-shadow:    0 10px 30px rgba(27, 63, 114, 0.08);
  --mf-shadow-h:  0 20px 48px rgba(27, 63, 114, 0.15);
  
  --mf-font-ar:   'Cairo', sans-serif;
  --mf-font-en:   'Sora', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--mf-font-ar);
  color: var(--mf-text);
  background-color: var(--mf-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.lang-en {
  font-family: var(--mf-font-en);
}

a {
  color: var(--mf-blue);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--mf-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.mf-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ══════════════════════════════════════════════════════ */
/* HEADER & NAVIGATION STYLES                            */
/* ══════════════════════════════════════════════════════ */

.mf-site-header {
  position: relative;
  width: 100%;
  z-index: 999;
  padding: 12px 0;
}

.mf-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ضبط حجم وموضع الشعار */
.mf-brand-logo {
  display: inline-flex;
  align-items: center;
  max-width: 250px;
  height: 55px; /* ارتفاع ثابت يمنع التمدد خارج الهيدر */
  flex-shrink: 0;
}

.mf-brand-logo img,
.mf-brand-logo .custom-logo {
  max-width: 250px;
  max-height: 55px;
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* القائمة الرئيسية على الديسكتوب */
.mf-desktop-nav {
  display: flex;
  align-items: center;
}

.mf-desktop-nav .mf-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* تحويل نصوص القائمة الرئيسية للأبيض */
.mf-desktop-nav .mf-nav-links li a,
.mf-desktop-nav .mf-nav-link {
  color: var(--mf-white) !important;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.mf-desktop-nav .mf-nav-links li a:hover,
.mf-desktop-nav .mf-nav-link:hover {
  color: var(--mf-gold) !important;
}

/* عناصر الإجراءات في الهيدر */
.mf-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* القائمة الجانبية في الموبايل */
.mf-drawer-links {
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

.mf-drawer-links li {
  margin-bottom: 12px;
}

.mf-drawer-links li a {
  color: var(--mf-white) !important;
  font-size: 16px;
  font-weight: 600;
  display: block;
  padding: 8px 12px;
}

.mf-drawer-links li a:hover {
  color: var(--mf-gold) !important;
}
