/* Younis Marketing — "Black & Gold / Out of the box" theme. Gold + black only. Arabic RTL. */

:root {
  --black: #0a0a0a;
  --black-2: #121212;
  --black-3: #1a1a1a;
  --gold: #e8bf00;
  --gold-deep: #c9a400;
  --gold-soft: #ffdf4d;
  --gold-pale: #ffe97a;
  --text: #ffffff;
  --muted: #c2c2c2;
  --faint: #8a8a8a;
  --line: #2b2b2b;
  --grad-gold: linear-gradient(120deg, #ffdf4d 0%, #e8bf00 45%, #c9a400 100%);
  --glow: 0 0 24px rgba(232, 191, 0, 0.35);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Cairo", "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -100px;
  background: var(--gold); color: #111; font-weight: 800; padding: 10px 16px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0 0 16px; line-height: 1.35; font-weight: 800; color: var(--text); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.28; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; color: var(--text); }
.lead { font-size: 1.15rem; color: var(--muted); }
.shimmer {
  background: linear-gradient(110deg, #ffdf4d 20%, #fff6c4 40%, #e8bf00 60%, #ffdf4d 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 0.92rem; color: #111;
  background: var(--grad-gold); padding: 7px 18px; border-radius: 999px; margin-bottom: 16px;
  box-shadow: var(--glow);
}
.section-title { margin-bottom: 12px; }
.section-title::after {
  content: ""; display: block; width: 72px; height: 6px; border-radius: 3px;
  background: var(--grad-gold); margin-top: 10px; box-shadow: var(--glow);
}
.section-sub { color: var(--muted); max-width: 720px; margin-bottom: 36px; }
.section-head { margin-bottom: 36px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-weight: 800; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.4;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad-gold); color: #111; box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 34px rgba(232, 191, 0, 0.55); }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: rgba(232, 191, 0, 0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { width: 46px; height: 46px; object-fit: cover; border-radius: 12px; border: 2px solid var(--gold); box-shadow: var(--glow); }
.logo-text { font-weight: 800; font-size: 1.15rem; color: var(--text); line-height: 1.2; }
.logo-text small { display: block; font-size: 0.72rem; font-weight: 700; color: var(--gold); }
.logo:hover { text-decoration: none; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; color: var(--text); font-weight: 700; font-size: 0.95rem; border-radius: 999px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #111; text-decoration: none; background: var(--grad-gold); }

.header-cta { flex-shrink: 0; padding: 10px 22px; }
.nav-toggle {
  display: none; margin-inline-start: auto; background: var(--black-3); border: 1px solid var(--gold);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 3px; background: var(--gold); margin: 4px 0; border-radius: 2px; }


/* ---------- Hero ---------- */
.hero { padding: 90px 0 96px; position: relative; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px); }
.orb-1 { width: 480px; height: 480px; background: rgba(232, 191, 0, 0.16); top: -160px; inset-inline-end: -120px; animation: drift 11s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; background: rgba(232, 191, 0, 0.09); bottom: -140px; inset-inline-start: -100px; animation: drift 14s ease-in-out infinite reverse; }
.orb-3 { width: 220px; height: 220px; background: rgba(255, 223, 77, 0.1); top: 38%; inset-inline-start: 32%; animation: drift 9s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 34px) scale(1.08); }
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-watermark {
  position: absolute; top: 6px; inset-inline-start: 0; z-index: 0;
  font-size: clamp(4rem, 12vw, 9rem); font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(232, 191, 0, 0.16);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.hero-image { position: relative; }
.hero-image img { border-radius: 22px; width: 100%; border: 2px solid var(--gold); box-shadow: var(--shadow), var(--glow); }
.hero-badge {
  position: absolute; bottom: 18px; inset-inline-start: 18px;
  background: var(--grad-gold); color: #111; border-radius: 14px;
  padding: 10px 18px; font-weight: 800; font-size: 0.95rem;
  box-shadow: var(--glow); animation: pop 3.2s ease-in-out infinite;
}
@keyframes pop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-social {
  display: flex; gap: 10px; margin-top: 26px; align-items: center;
}
.hero-social .soc {
  width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--black-3); border: 1px solid var(--line); color: var(--gold);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.hero-social .soc:hover { transform: translateY(-3px) rotate(-6deg); border-color: var(--gold); box-shadow: var(--glow); text-decoration: none; }
.hero-social .soc svg { width: 22px; height: 22px; }

/* ---------- Marquee ticker ---------- */
.marquee {
  background: var(--grad-gold); overflow: hidden; white-space: nowrap; padding: 13px 0;
  border-block: 2px solid #111; transform: rotate(-1.2deg) scale(1.02);
}
.marquee-track { display: inline-flex; animation: marquee 26s linear infinite; }
.marquee span { display: inline-block; color: #111; font-weight: 800; font-size: 1.05rem; padding: 0 16px; }
.marquee span::after { content: "✦"; padding-inline-start: 32px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding: 76px 0; position: relative; }
.section-alt { background: var(--black-2); border-block: 1px solid var(--line); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: linear-gradient(160deg, var(--black-3) 0%, var(--black-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: center;
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow), var(--glow); }
.card:hover::after { transform: scaleX(1); }
.card h2, .card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; }
.card .card-link { margin-top: auto; padding-top: 12px; font-weight: 800; color: var(--gold); }
.svc-icon {
  width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(232, 191, 0, 0.1); border: 1.5px solid var(--gold);
  color: var(--gold); margin-bottom: 6px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.svc-icon svg { width: 30px; height: 30px; }
.card:hover .svc-icon { transform: scale(1.1) rotate(-6deg); background: var(--grad-gold); color: #111; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.why-card {
  background: linear-gradient(160deg, var(--black-3) 0%, var(--black-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.why-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.why-card .why-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px; background: var(--grad-gold);
  color: #111; font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; box-shadow: var(--glow);
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--muted); margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Packages ---------- */
.package-card { text-align: center; align-items: center; }
.package-card img { border-radius: 12px; margin-bottom: 6px; border: 1px solid var(--gold); }
.package-card h2 { letter-spacing: 2px; color: var(--gold); }
.package-price { font-size: 2.1rem; font-weight: 800; margin: 4px 0 8px; color: #fff; }
.package-price small { font-size: 1rem; color: var(--muted); }
.package-badge {
  position: absolute; top: 18px; inset-inline-end: -1px;
  background: var(--grad-gold); color: #111; font-weight: 800; font-size: 0.85rem;
  padding: 6px 16px; border-radius: 999px 0 0 999px; box-shadow: var(--glow);
  animation: pop 3.2s ease-in-out infinite;
}
.package-features { list-style: none; margin: 0 0 18px; padding: 0; text-align: start; width: 100%; }
.package-features li { padding: 8px 0 8px 30px; position: relative; color: var(--text); border-bottom: 1px dashed var(--line); }
.package-features li:last-child { border-bottom: none; }
.package-features li::before {
  content: "✓"; position: absolute; inset-inline-start: 2px; top: 8px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--grad-gold);
  color: #111; font-weight: 800; font-size: 0.8rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.pkg-highlight {
  background: rgba(232, 191, 0, 0.12) !important; border: 1.5px solid var(--gold) !important;
  border-radius: var(--radius-sm); padding: 10px 12px 10px 38px !important;
  font-weight: 800; color: var(--gold-soft) !important;
}
.pkg-highlight::before { top: 12px !important; inset-inline-start: 10px !important; }
.package-card .btn { width: 100%; margin-top: auto; }
.trust-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px;
  background: linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1.5px solid var(--gold); border-radius: var(--radius); padding: 38px 28px; margin-top: 48px;
  box-shadow: var(--glow);
}
.trust-item { text-align: center; color: #fff; }
.trust-item strong { display: block; font-size: 1.9rem; color: var(--gold); }
.trust-item span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Founder / press ---------- */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; }
.split img { border-radius: 22px; width: 100%; border: 2px solid var(--gold); box-shadow: var(--shadow), var(--glow); }
.founder-name { color: var(--gold); font-weight: 800; font-size: 1.1rem; margin-top: 8px; }
.press-figure { margin: 0; }
.press-figure img { border-radius: 22px; width: 100%; border: 2px solid var(--gold); box-shadow: var(--shadow); }
.press-figure figcaption { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }

/* ---------- Galleries ---------- */
.gallery { display: grid; gap: 18px; }
.gallery-results { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery-results figure { margin: 0; background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease; }
.gallery-results figure:hover { border-color: var(--gold); transform: translateY(-4px); }
.gallery-results img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--black-2); }
.gallery-partners { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.gallery-partners figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 16px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold); }
.gallery-partners img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.masonry { columns: 3; column-gap: 18px; }
.masonry figure { margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--black-2); }
.masonry img { width: 100%; }

/* ---------- Videos ---------- */
.gallery-videos { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.video-card { margin: 0; background: var(--black-2); border: 1px solid var(--gold); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #000; display: block; }
.video-card figcaption { color: var(--gold); text-align: center; padding: 12px; font-weight: 700; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-facts { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-facts li:last-child { border-bottom: none; }
.contact-facts .fact-label { color: var(--gold); font-weight: 800; display: block; font-size: 0.9rem; }
.form-card { background: var(--black-2); border: 1.5px solid var(--gold); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow), var(--glow); }
.form-card label { display: block; color: var(--text); font-weight: 700; margin: 16px 0 6px; }
.form-card label:first-of-type { margin-top: 0; }
.form-card input, .form-card textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--black-3); color: #fff; font-family: inherit; font-size: 1rem;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--gold); outline: none; box-shadow: var(--glow); }
.form-card input::placeholder, .form-card textarea::placeholder { color: var(--faint); opacity: 1; }
.form-card textarea { min-height: 130px; resize: vertical; }
.form-card .btn { margin-top: 20px; width: 100%; }
.form-note { color: var(--muted); font-size: 0.92rem; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #000; margin-top: 0; border-top: 2px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 40px; padding-block: 56px 36px; }
.footer-col h3 { color: var(--gold); font-size: 1.1rem; }
.footer-col p, .footer-col li { color: var(--muted); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; border: 2px solid var(--gold); }
.footer-logo strong { color: #fff; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--gold); }
.fb-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--text); font-weight: 800; border: 1.5px solid var(--gold);
  padding: 8px 18px 8px 8px; border-radius: 999px; transition: box-shadow 0.15s ease;
}
.fb-badge .fb-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad-gold); color: #111;
  font-size: 1.35rem; font-weight: 800; line-height: 1; flex-shrink: 0;
}
.fb-badge:hover { color: var(--gold); text-decoration: none; box-shadow: var(--glow); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-block: 20px;
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; align-items: center;
}
.footer-bottom p { margin: 0; color: var(--faint); font-size: 0.92rem; }
.footer-bottom a { color: var(--muted); }

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 150;
  background: var(--black-2); border-top: 2px solid var(--gold);
  padding: 14px 20px; display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 0.95rem; }
.cookie-bar .btn { padding: 9px 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .header-cta { display: none; }
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; flex-basis: 100%; order: 5;
    background: #0a0a0a; border-top: 1px solid var(--gold); padding: 12px 0 8px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 10px; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { border-radius: 8px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .masonry { columns: 2; }
  .footer-nav li { margin-bottom: 0; }
  .footer-nav a { display: block; padding-block: 10px; }
  .card .card-link { display: inline-block; padding-block: 8px; }
  .fb-badge .fb-icon { width: 44px; height: 44px; }
  .hero-watermark { font-size: clamp(3rem, 18vw, 5rem); }
}

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .masonry { columns: 2; column-gap: 12px; }
  .gallery-partners { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; }
  .cookie-bar .btn { padding: 11px 22px; }
  .hero-badge { font-size: 0.85rem; padding: 8px 14px; }
  .marquee { transform: none; }
  .marquee span { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .orb-1, .orb-2, .orb-3, .shimmer, .hero-badge, .package-badge { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
