/*
Theme Name: Albaghdadiya
Theme URI: https://albaghdadiyait.iq
Description: Child theme for Albaghdadiya IT, built on Hello Elementor. Front-end is Arabic RTL; admin stays LTR.
Author: Albaghdadiya IT
Template: hello-elementor
Version: 1.0.0
Text Domain: albaghdadiya
*/

/*
 * Brand tokens carried over from the static site (assets/css/style.css).
 * Elementor Global Colors mirror these values; they are declared here as well
 * so custom markup outside Elementor stays on-brand.
 */
:root {
  --green: #0F3D33;
  --green-dark: #071F1A;
  --gold: #C6A969;
  --gold-soft: #D7C3A3;
  --cream: #F6F2EA;
  --cream-2: #EFE6D8;
  --text: #25302C;
  --muted: #6F7773;
  --white: #FFFFFF;
  --border: rgba(15, 61, 51, 0.12);
  --shadow: 0 24px 70px rgba(7, 31, 26, 0.14);
  --radius: 28px;
}

body {
  background: var(--cream);
  color: var(--text);
  line-height: 1.8;
}

/*
 * Hero decoration. Elementor gives a container one background overlay, which is
 * spent on the green gradient, so the faint grid and the fade into the cream
 * page below are reproduced here — same values as .hero::before/::after on the
 * static site.
 */
/* Floating pill header sitting over the hero, as .site-header does statically. */
.ab-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: 18px;
  padding-bottom: 18px;
  pointer-events: none;
}

.ab-nav-shell {
  pointer-events: auto;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

.ab-brand img { height: 40px; width: auto; display: block; }

.ab-main-nav .elementor-nav-menu > li > a { padding-top: 0; padding-bottom: 0; }

@media (max-width: 1024px) {
  .ab-nav-actions { display: none; }
}

.ab-hero { position: relative; overflow: hidden; }

/* ::before on the container itself belongs to Elementor's background overlay,
   so the gold glow and grid sit on the inner wrapper instead. */
.ab-hero > .e-con-inner { position: relative; }

.ab-hero > .e-con-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(198,169,105,0.26), transparent 32%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
}

.ab-hero > .e-con-inner > * { position: relative; z-index: 1; }

.ab-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--cream));
}
