/* ===== abdaealsaytara.com — static traditional rebuild ===== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: rgba(37, 99, 235, 0.1);
  --dark: #0f172a;
  --dark-2: #1e293b;
  --text: #1f2937;
  --muted: #64748b;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.3; color: var(--dark); }
p { margin: 0 0 1em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  color: var(--dark);
  font-size: 1.1rem;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color .15s;
}
.nav-links a:hover { color: var(--primary); }
.menu-toggle, .menu-btn { display: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-block { width: 100%; }
.form-note {
  background: rgba(37, 99, 235, .08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, .2);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .9rem;
  margin-top: .5rem;
}

/* ===== Section utilities ===== */
.section { padding: 6rem 0; }
.section-light { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: #cbd5e1; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-top: 1rem;
}
.section-header p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-header p { color: #94a3b8; }

.badge {
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
}
.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-light { background: rgba(255,255,255,.1); color: #fff; }
.text-primary { color: var(--primary); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/hero-bg.png') center/cover no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,.7), rgba(15,23,42,.85));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 1.25rem;
  max-width: 950px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.hero p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}
.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin: 1rem 0 1.25rem;
}
.about-text .lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}
.checklist { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; font-weight: 500; }
.check-icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.years-badge {
  position: absolute;
  bottom: -1.5rem;
  inset-inline-start: -1.5rem;
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 160px;
}
.years-badge strong {
  display: block;
  font-size: 2.25rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1;
}
.years-badge span {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-top: .35rem;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.service-card p { color: var(--muted); margin: 0; }

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-img {
  background: #f1f5f9;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex: 1;
}
.product-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}
.product-body p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
  flex: 1;
}

/* ===== Why Us ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.why-intro h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin: 1rem 0 1.25rem;
}
.why-intro p { color: #94a3b8; font-size: 1.05rem; margin-bottom: 1.75rem; }
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: background .2s, transform .2s;
}
.why-card:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, .15);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.why-card h3 { font-size: 1rem; font-weight: 700; margin: 0; color: #fff; }

/* ===== Brands marquee ===== */
.brands { padding: 4rem 0; background: var(--bg-soft); }
.brands .section-header { margin-bottom: 2rem; }
.brand-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.brand-track {
  display: flex;
  gap: 4rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.brand-track span {
  font-size: 1.6rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: .05em;
  white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
[dir="rtl"] .brand-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.info-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.info-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-text { flex: 1; }
.info-text h4 { font-size: 1rem; font-weight: 700; margin: 0 0 .35rem; }
.info-text a, .info-text p { display: block; color: var(--muted); margin: 0; line-height: 1.9; }
.info-text a:hover { color: var(--primary); }
.msg-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field label { font-weight: 600; font-size: .9rem; color: var(--text); }
.form-field input, .form-field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--bg-soft);
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ===== Footer ===== */
.site-footer {
  background: #0b1220;
  color: #94a3b8;
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.footer-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
.footer-brand span { font-size: 1.2rem; font-weight: 800; color: #fff; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-weight: 700; }
.footer-links li, .footer-contact li { margin-bottom: .65rem; }
.footer-links a, .footer-contact a { color: #94a3b8; transition: color .15s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); }
.copyright {
  text-align: center;
  padding-top: 1.5rem;
  font-size: .9rem;
  color: #64748b;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    color: var(--dark);
    cursor: pointer;
    padding: 6px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    inset-inline-end: 0;
    flex-direction: column;
    background: #fff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 0;
  }
  .nav-links li { padding: .75rem 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: 0; }
  .menu-toggle:checked ~ .nav-links { display: flex; }
  .brand-name { display: none; }

  .section { padding: 4rem 0; }
  .about-grid, .why-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .services-grid, .products-grid, .why-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .years-badge { inset-inline-start: 1rem; bottom: 1rem; }
}
@media (max-width: 560px) {
  .services-grid, .products-grid, .why-cards, .form-row {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 1rem; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .container { padding: 0 1rem; }
  .card { padding: 1.5rem; }
}
