/*
Theme Name: Moaid Mahjoub
Theme URI: https://moaidmahjoub.com
Author: Moaid Mahjoub
Author URI: https://moaidmahjoub.com
Description: A professional bilingual (English/Arabic) business website theme for Moaid Mahjoub — The Art of Business Diplomacy.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: moaid
Tags: bilingual, rtl, business, professional, arabic
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
    --color-primary:       #E6E6FA;   /* Lavender */
    --color-primary-mid:  #C4C0E8;   /* Medium lavender */
    --color-accent:        #5C4D8A;   /* Deep purple – buttons, headings */
    --color-accent-hover:  #4A3D72;   /* Darker accent on hover */
    --color-dark:          #1C1533;   /* Near-black purple – footer, hero overlay */
    --color-dark-2:        #2E2A50;   /* Slightly lighter dark */
    --color-text:          #2A2640;   /* Body text */
    --color-text-muted:    #6B6585;   /* Secondary text */
    --color-white:         #FFFFFF;
    --color-off-white:     #F8F8FF;   /* Light page background */
    --color-border:        #E0DDEF;

    --font-en:  'Inter', sans-serif;
    --font-ar:  'Tajawal', sans-serif;

    --radius-sm:  6px;
    --radius-md: 12px;
    --radius-lg: 24px;

    --shadow-card: 0 4px 24px rgba(92, 77, 138, 0.10);
    --shadow-hover: 0 8px 40px rgba(92, 77, 138, 0.18);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
    --section-pad: 100px 0;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-en);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.lang-ar {
    font-family: var(--font-ar);
    direction: rtl;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad { padding: var(--section-pad); }

.text-center { text-align: center; }
.text-white  { color: var(--color-white) !important; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-accent);
}

.btn-white:hover {
    background: var(--color-primary);
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 14px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 600px;
}

/* Arrow icon in links */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.9rem;
    transition: gap var(--transition);
}

.arrow-link:hover { gap: 14px; }
.arrow-link svg { transition: transform var(--transition); }
.arrow-link:hover svg { transform: translateX(4px); }

body.lang-ar .arrow-link:hover svg { transform: translateX(-4px); }
