:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card-bg: #0f172a;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --accent-strong: rgba(249, 115, 22, 0.2);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.9);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

@keyframes bgShift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 100% 0%;
  }
}

@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulseSoft {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(249, 115, 22, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #020617 100%);
  background-size: 180% 180%;
  animation: bgShift 18s ease-in-out infinite alternate;
  color: var(--text-main);
}

body {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.3));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, #bbf7d0 0, #22c55e 45%, #15803d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35), 0 12px 28px rgba(21, 128, 61, 0.45);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.nav a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--text-muted);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav a:hover {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(to right, #f97316, #fb923c);
  color: #0b1020;
  box-shadow: 0 18px 35px rgba(248, 113, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(248, 113, 22, 0.45);
}

.btn-secondary {
  border-color: rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.1), rgba(15, 23, 42, 0.95));
  color: var(--text-main);
}

.btn-secondary:hover {
  border-color: rgba(249, 115, 22, 0.65);
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), rgba(15, 23, 42, 0.98));
}

.btn-ghost {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.btn-ghost:hover {
  border-color: rgba(249, 115, 22, 0.8);
  background: rgba(15, 23, 42, 0.95);
}

.btn-full {
  width: 100%;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.05fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw + 0.8rem, 2.7rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0 0 0.9rem;
  background: linear-gradient(to left, #f97316, #fbbf24, #e5e7eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 24px rgba(15, 23, 42, 0.9);
}

.hero-text p {
  margin: 0;
  color: var(--text-muted);
  max-width: 32rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.1rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.08), rgba(15, 23, 42, 0.95));
  animation: pulseSoft 10s ease-in-out infinite;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), rgba(15, 23, 42, 0.98));
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
  animation: floatCard 10s ease-in-out infinite;
}

.hero-card-main h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.hero-card-main p {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-card-main ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-card-main li {
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.9);
  font-size: 0.72rem;
}

.hero-card-secondary {
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), rgba(15, 23, 42, 0.98));
}

.hero-card-secondary .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.6rem;
  margin-bottom: 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.9);
}

.hero-card-secondary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.hero-card-secondary li {
  font-size: 0.82rem;
  color: var(--text-main);
}

/* Sections */

.section {
  padding: 2.75rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 1));
}

.section-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-header.align-left {
  text-align: right;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}

.section-header h2::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 0;
  width: 64%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to left, rgba(249, 115, 22, 0.9), rgba(56, 189, 248, 0.7));
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
  max-width: 40rem;
  margin-inline: auto;
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.12), rgba(15, 23, 42, 0.98));
  padding: 1.2rem 1.1rem 1.1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(249, 115, 22, 0.7);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.95);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.card p {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.84rem;
  color: #e5e7eb;
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), 0 16px 38px rgba(0, 0, 0, 0.6);
}

.card-icon.paint {
  background: conic-gradient(from 210deg, #fde68a, #f97316, #ea580c, #f97316, #fde68a);
}

.card-icon.accessories {
  background: radial-gradient(circle at 20% 0, #e0f2fe 0, #38bdf8 40%, #0369a1 80%);
}

.card-icon.parts {
  background: radial-gradient(circle at 10% 10%, #e5e7eb 0, #9ca3af 35%, #111827 80%);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-grid p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.about-grid p + p {
  margin-top: 0.7rem;
}

.about-highlights {
  display: grid;
  gap: 0.75rem;
}

.about-item {
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.85);
}

.about-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-value {
  font-size: 0.88rem;
}

/* Gallery */

.gallery {
  margin-top: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #020617;
  aspect-ratio: 1 / 1; /* مربع */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.gallery-label {
  position: absolute;
  inset-inline-start: 0.6rem;
  inset-block-end: 0.6rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 0.74rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.2rem;
  font-size: 0.88rem;
}

.contact-details h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.contact-details p {
  margin: 0.1rem 0;
  color: var(--text-muted);
}

.contact-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.98));
  padding: 1.1rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.7rem;
}

.form-row {
  display: grid;
  gap: 0.25rem;
}

.form-row label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  outline: none;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(249, 115, 22, 0.8);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.7);
}

.form-note {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

button[disabled] {
  opacity: 0.8;
  cursor: default;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.2rem 0 1.5rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-meta {
  opacity: 0.9;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.7rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 0.8rem;
    gap: 0.4rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .container {
    padding: 0 1.1rem;
  }
}


