/*
Theme Name: Adfy Media
Theme URI: https://example.com/adfy-media
Author: Adfy Media
Author URI: https://example.com
Description: قالب ووردبريس عربي RTL لهوية رقمية، تصميم، تطوير وتسويق.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: adfy-media
*/

:root {
  --adfy-bg: #00170b;
  --adfy-surface: #052113;
  --adfy-surface-2: #082b19;
  --adfy-text: #f4fff7;
  --adfy-muted: #b7cdbd;
  --adfy-primary: #9dff00;
  --adfy-secondary: #28d989;
  --adfy-line: rgba(157, 255, 0, 0.22);
  --adfy-shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  background: var(--adfy-bg);
  color: var(--adfy-text);
  font-family: "Tajawal", "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(0, 18, 8, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap,
.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand img {
  width: 128px;
  max-height: 54px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--adfy-muted);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--adfy-primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--adfy-primary);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--adfy-primary), var(--adfy-secondary));
  color: #00170b;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(75, 255, 86, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--adfy-text);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 140px 0 76px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 23, 11, 0.18), rgba(0, 23, 11, 0.86) 62%, rgba(0, 23, 11, 0.96)),
    linear-gradient(0deg, var(--adfy-bg), rgba(0, 23, 11, 0.12) 42%);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--adfy-primary);
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--adfy-primary);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin-bottom: 30px;
  color: #d8f1de;
  font-size: clamp(18px, 2.2vw, 23px);
}

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

.section {
  padding: 92px 0;
}

.section.alt {
  background: #021d0f;
}

.section-title {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-title h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.16;
}

.section-title p {
  color: var(--adfy-muted);
  font-size: 19px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--adfy-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 60px var(--adfy-shadow);
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: rgba(157, 255, 0, 0.14);
  color: var(--adfy-primary);
  font-size: 28px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.35;
}

.service-card p {
  margin-bottom: 0;
  color: var(--adfy-muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.proof-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.proof-list li {
  padding: 14px 18px;
  border-right: 3px solid var(--adfy-primary);
  background: rgba(255, 255, 255, 0.045);
  color: #e8faec;
}

.statement {
  padding: 36px;
  border: 1px solid var(--adfy-line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(157, 255, 0, 0.16), rgba(40, 217, 137, 0.07));
}

.statement strong {
  display: block;
  margin-bottom: 16px;
  color: var(--adfy-primary);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.focus-item {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--adfy-surface);
  text-align: center;
  font-weight: 800;
}

.cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(157, 255, 0, 0.18), rgba(40, 217, 137, 0.06)),
    #031c0f;
}

.cta .section-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta h2 {
  max-width: 740px;
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.14;
}

.cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--adfy-muted);
  font-size: 19px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #001208;
  color: var(--adfy-muted);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

@media (max-width: 980px) {
  .services-grid,
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .cta .section-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    min-height: 68px;
  }

  .brand img {
    width: 106px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 112px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(0, 23, 11, 0.1), rgba(0, 23, 11, 0.78)),
      linear-gradient(0deg, var(--adfy-bg), rgba(0, 23, 11, 0.16) 48%);
  }

  .section {
    padding: 70px 0;
  }

  .services-grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .statement {
    padding: 26px;
  }

  .footer-wrap {
    flex-direction: column;
  }
}
