:root {
  --blue: #0b2545;
  --orange: #ff6b35;
  --gold: #e5a93c;
  --bg: #111b2e;
  --card-bg: #1a273c;
  --ink: #f8fafc;
  --line: #283852;
  --display: 'Barlow Condensed', 'Cairo', sans-serif;
  --body: 'Cairo', 'Manrope', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.shell {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: #e05523;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* زر اللغة العائم */
.floating-lang {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 100;
}

.lang-toggle {
  background: rgba(26, 39, 60, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(5px);
  display: flex;
  gap: 6px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 40px 20px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: blur(4px);
  transform: scale(1.05);
  opacity: 0.5;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(11, 37, 69, 0.6) 0%, rgba(17, 27, 46, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.direct-logo {
  max-width: 160px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: 100%;
  text-align: center;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 650px;
  margin-inline: auto;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-index {
  position: absolute;
  bottom: 25px;
  right: 30px;
  z-index: 3;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* قسم المنتجات والكاتالوج */
.catalog {
  padding: 80px 0;
  background: #142036;
}

.catalog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-group button {
  background: var(--card-bg);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  transition: all 0.2s ease;
}

.filter-group button:hover,
.filter-group button.selected {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.catalog-search input {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  min-width: 260px;
  background: #111b2e;
  color: #fff;
}

.catalog-search input:focus {
  border-color: var(--orange);
}

.results-label {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 20px;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.product-card h3 {
  font-family: var(--display);
  font-size: 20px;
  color: #fff;
  margin-bottom: 6px;
}

.product-card p {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
}

.product-bottom p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}

.product-bottom b {
  color: var(--orange);
  font-size: 15px;
}

.order-button {
  background: var(--blue);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.order-button:hover {
  background: var(--orange);
}

.empty-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #94a3b8;
  font-size: 15px;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* Factory Section */
.factory-section {
  padding: 80px 0;
  background: var(--bg);
}

.section-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.factory-copy h2 {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}

.factory-copy h2 em {
  font-style: normal;
  color: var(--orange);
}

.factory-copy p {
  color: #94a3b8;
  margin-bottom: 24px;
}

.quality-list {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.quality-list div {
  background: var(--card-bg);
  padding: 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
  flex: 1;
  min-width: 130px;
}

.quality-list b {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  color: var(--gold);
}

.quality-list span {
  font-size: 12px;
  color: #94a3b8;
}

.text-action {
  font-weight: 700;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-action:hover {
  text-decoration: underline;
}

/* Categories Section */
.categories {
  padding: 80px 0;
  background: #142036;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1.15;
  color: #fff;
}

.section-head h2 em {
  font-style: normal;
  color: var(--orange);
}

.section-head p {
  color: #94a3b8;
  max-width: 400px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.card-number {
  font-family: var(--display);
  font-size: 24px;
  color: var(--gold);
  font-weight: 800;
  display: block;
  margin-bottom: 10px;
}

.category-card h3 {
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 8px;
  color: #fff;
}

.category-card p {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.card-arrow {
  align-self: flex-start;
  font-weight: 800;
  color: var(--orange);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-copy h2 {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1.15;
  color: #fff;
}

.contact-copy h2 em {
  font-style: normal;
  color: var(--orange);
}

.contact-form {
  background: var(--card-bg);
  padding: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
}

.contact-form input, .contact-form textarea {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  background: #111b2e;
  color: #fff;
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--orange);
}

.form-status {
  font-size: 13px;
  color: var(--orange);
}

/* Footer */
.site-footer {
  background: #09101d;
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .brand img {
  max-width: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

.brand-text small {
  font-size: 11px;
  color: #94a3b8;
}

.footer-grid h3 {
  color: #fff;
  font-family: var(--display);
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: #94a3b8;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-grid small {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 670px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}