:root {
  --red: #d62828;
  --gold: #f4c542;
  --dark: #111111;
  --white: #ffffff;
  --gray: #f3f4f6;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  --container: min(1140px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--white);
  line-height: 1.75;
}

body.lang-ar {
  font-family: "Cairo", sans-serif;
}

body.lang-en {
  font-family: "Inter", sans-serif;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.section-kicker {
  margin: 0 0 6px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.section-intro {
  max-width: 78ch;
  margin-bottom: 22px;
  color: #474747;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  margin-bottom: 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
  direction: inherit;
}

.logo-wrap {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-image {
  width: auto;
  height: 52px;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-inline-start: auto;
}

html[dir="rtl"] .nav-links {
  direction: rtl;
}

html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form textarea {
  text-align: right;
}

html[dir="ltr"] .contact-form input,
html[dir="ltr"] .contact-form textarea {
  text-align: left;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--red);
}

.lang-toggle,
.menu-toggle {
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: #fff;
  color: var(--dark);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.lang-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-color: rgba(244, 197, 66, 0.9);
  box-shadow: 0 8px 16px rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.lang-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.lang-flag {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  font-size: 1.2rem;
  padding: 8px 12px;
}

.hero {
  min-height: 84vh;
  position: relative;
  color: #fff;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 4.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 197, 66, 0.25), transparent 40%),
    linear-gradient(120deg, rgba(17, 17, 17, 0.84), rgba(17, 17, 17, 0.52));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-kicker {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.22;
  margin-bottom: 14px;
}

.hero-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 66ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: #b72121;
  box-shadow: 0 10px 20px rgba(214, 40, 40, 0.25);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: stretch;
}

.about-content {
  background: #fff;
  border: 1px solid rgba(244, 197, 66, 0.45);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.about-content h3 {
  color: var(--red);
  margin-bottom: 12px;
  line-height: 1.35;
}

.about-content p + p {
  margin-top: 10px;
}

.about-highlights {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.highlight-item {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.highlight-item strong {
  display: block;
  color: var(--dark);
  line-height: 1.35;
}

.highlight-item span {
  font-size: 0.95rem;
  color: #555;
}

.about-image-wrap {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.about-image-wrap img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.strategy-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 197, 66, 0.45);
  padding: 24px;
  box-shadow: var(--shadow);
}

.strategy-card h3 {
  color: var(--red);
  margin-bottom: 8px;
}

.about-card {
  background: #fff;
  border: 1px solid rgba(244, 197, 66, 0.5);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.about-card h3 {
  color: var(--red);
  margin-bottom: 10px;
  line-height: 1.35;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 17, 17, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.14);
}

.product-card img {
  height: 170px;
  object-fit: cover;
}

.product-body {
  padding: 14px;
}

.product-body h3 {
  margin-bottom: 6px;
  font-size: 1.04rem;
}

.product-body p {
  color: #444;
  line-height: 1.55;
  font-size: 0.95rem;
}

.product-meta {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.product-meta li {
  font-size: 0.88rem;
  color: #555;
  background: #f8f9fb;
  border-radius: 10px;
  padding: 6px 10px;
  border-inline-start: 3px solid var(--gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 197, 66, 0.45);
  padding: 24px;
  text-align: start;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 0 10px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(244, 197, 66, 0.22);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  margin-bottom: 6px;
}

.service-card p {
  color: #4a4a4a;
  margin-bottom: 10px;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.service-list li {
  background: #f8f9fb;
  border-radius: 10px;
  border-inline-start: 3px solid var(--gold);
  padding: 7px 10px;
  color: #555;
  font-size: 0.92rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
}

.gallery-grid img {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  box-shadow: var(--shadow);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  display: grid;
  place-items: center;
  z-index: 220;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

#lightboxImage {
  width: min(92vw, 1080px);
  height: min(82vh, 760px);
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(17, 17, 17, 0.55);
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-info,
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 17, 17, 0.07);
}

.contact-info ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.contact-info li {
  margin-bottom: 10px;
}

.contact-form {
  display: grid;
  gap: 9px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #d6dae1;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 197, 66, 0.2);
}

.contact-map {
  background: #fff;
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 17, 17, 0.07);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 12px;
}

.map-wrap iframe {
  width: 100%;
  height: 330px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
  z-index: 100;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.site-footer {
  background: #121212;
  color: #ececec;
  text-align: center;
  padding: 22px 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .navbar {
    justify-content: space-between;
    gap: 8px;
  }

  .logo-image {
    height: 46px;
    max-width: 165px;
  }

  .split,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image-wrap img {
    min-height: 320px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox-arrow {
    width: 42px;
    height: 42px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    margin-inline-start: 0;
    flex-shrink: 0;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    inset-inline: 0;
    background: #fff;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    padding: 14px 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  html[dir="rtl"] .nav-links {
    align-items: flex-end;
    text-align: right;
  }

  .nav-links.open {
    display: flex;
  }

  .lang-toggle {
    margin-inline-start: 0;
    flex-shrink: 0;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 70px 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 72vh;
  }
}
