/*
Theme Name: Syro-British Projects & International Trading (Inshatec)
Theme URI: https://inshatec.com
Author: Inshatec IT
Description: قالب ووردبريس رسمي لـ السورية البريطانية للمشاريع والتجارة الدولية - Inshatec for Projects and Trading L.L.C. مع لوحة تحكم سهلة لغير التقنيين
Version: 3.0
Text Domain: inshatec
*/

:root {
  --primary: #0f2942;
  --primary-light: #1b436b;
  --accent: #c59b27;
  --accent-hover: #a8821c;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(15, 41, 66, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-ar {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
}

.brand-en {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-hover);
  letter-spacing: 0.3px;
  direction: ltr;
  text-align: right;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--accent-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

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

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

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-dark {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0b1f33 0%, #173a5e 100%);
  color: #fff;
  padding: 76px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 32px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(197, 155, 39, 0.2);
  color: #f4d06f;
  border: 1px solid rgba(197, 155, 39, 0.45);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: #f4d06f;
  margin-bottom: 14px;
}

.hero p {
  color: #e2e8f0;
  font-size: 0.98rem;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
}

.stat-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-label {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.stat-val {
  font-size: 1rem;
  font-weight: 700;
  color: #f4d06f;
}

/* Sections */
section {
  padding: 68px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 820px;
}

/* Featured International Trade Section */
.trade-featured {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
}

.trade-box {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 14px 34px rgba(15, 41, 66, 0.08);
}

.trade-tag {
  display: inline-block;
  background: rgba(197, 155, 39, 0.15);
  color: var(--accent-hover);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.trade-box h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.trade-desc {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 26px;
  max-width: 920px;
}

.trade-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-sub {
  font-size: 0.78rem;
  opacity: 0.9;
  font-weight: 600;
  direction: ltr;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.card p, .card li {
  font-size: 0.92rem;
  color: var(--text);
}

.card ul {
  padding-right: 18px;
}

.card li {
  margin-bottom: 6px;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Strategic Partnerships */
.partnership-section {
  background: linear-gradient(135deg, #0f2942 0%, #1b436b 100%);
  color: #fff;
}

.partnership-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
}

.partnership-wrap h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #f4d06f;
  margin-bottom: 14px;
}

.partnership-wrap p {
  color: #e2e8f0;
  font-size: 1rem;
  margin-bottom: 14px;
}

.partnership-cta-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

/* Contact */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 28px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.contact-person {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.contact-person-title {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-detail {
  font-size: 0.9rem;
  color: var(--text);
  direction: ltr;
  text-align: right;
}

.contact-detail a {
  color: var(--primary-light);
  font-weight: 600;
}

.contact-detail a:hover {
  color: var(--accent-hover);
}

.form-group {
  margin-bottom: 14px;
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #fff;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.notice {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.9rem;
  display: none;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
}

.modal-box {
  background: #fff;
  max-width: 580px;
  width: 100%;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
}

footer {
  background: #0b1f33;
  color: #e2e8f0;
  padding: 36px 0;
  font-size: 0.88rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid, .split-grid, .partnership-wrap {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .trade-box {
    padding: 24px;
  }
}
