/* ============================================================
   OMRAN STORE — عمران ستور
   Premium Men's Fashion Landing Page
   Color Palette: Black & Gold
   Layout: RTL Arabic
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Core colors */
  --gold:        #c9a84c;
  --gold-light:  #e2c97e;
  --gold-dark:   #a68a3a;
  --gold-muted:  rgba(201, 168, 76, 0.15);
  --black:       #0a0a0a;
  --black-soft:  #111111;
  --black-card:  #161616;
  --black-border:#1e1e1e;
  --white:       #f5f5f5;
  --gray:        #a0a0a0;
  --gray-dark:   #6b6b6b;

  /* Typography */
  --font-main: 'Tajawal', sans-serif;
  --fs-hero:   clamp(2rem, 5vw, 3.5rem);
  --fs-h2:     clamp(1.5rem, 3.5vw, 2.4rem);
  --fs-h3:     clamp(1.1rem, 2.5vw, 1.5rem);
  --fs-body:   clamp(0.95rem, 1.8vw, 1.1rem);
  --fs-small:  0.9rem;

  /* Spacing */
  --section-py: clamp(60px, 10vh, 120px);
  --container-px: clamp(20px, 5vw, 80px);
  --container-max: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.35s;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--black);
  color: var(--white);
  direction: rtl;
  text-align: right;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration) var(--ease);
}

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-label {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 8px;
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.section-title span {
  color: var(--gold);
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 30px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--duration) var(--ease),
              padding var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 42px;
  filter: invert(1);
  transition: transform var(--duration) var(--ease);
}

.nav-logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--gray);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--duration) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--duration) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: var(--fs-small) !important;
  font-weight: 600 !important;
  color: var(--black) !important;
  background: var(--gold);
  padding: 8px 24px;
  border-radius: 6px;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--black) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--container-px);
}

.hero-logo {
  width: 140px;
  margin: 0 auto 30px;
  filter: invert(1);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

.hero-title .highlight {
  color: var(--gold);
}

.hero-subtitle {
  font-size: var(--fs-body);
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.6s forwards;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}

.hero-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.hero-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}

.hero-scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--gold-dark);
  border-radius: 14px;
  position: relative;
}

.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 4px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* ---------- ABOUT SECTION ---------- */
.about {
  padding: var(--section-py) 0;
  background: var(--black);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.6s var(--ease);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold-muted);
  border-radius: 12px;
  z-index: -1;
}

.about-text p {
  font-size: var(--fs-body);
  color: var(--gray);
  line-height: 2;
  margin-bottom: 24px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--black-border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: var(--fs-small);
  color: var(--gray-dark);
  font-weight: 400;
}

/* ---------- BRAND STORY SECTION ---------- */
.story {
  padding: var(--section-py) 0;
  background: var(--black-soft);
  position: relative;
  overflow: hidden;
}

.story::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-muted) 0%, transparent 70%);
  pointer-events: none;
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-content p {
  font-size: var(--fs-body);
  color: var(--gray);
  line-height: 2.1;
  margin-bottom: 20px;
}

.story-content .gold-divider {
  margin: 0 auto 30px;
}

.story-quote {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 30px;
  padding: 30px;
  border-right: 3px solid var(--gold);
  text-align: right;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ---------- PRODUCTS / CATEGORIES SECTION ---------- */
.products {
  padding: var(--section-py) 0;
  background: var(--black);
}

.products .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.products .section-label {
  display: block;
  text-align: center;
}

.products .section-label::after {
  right: 50%;
  transform: translateX(50%);
}

.products .section-title {
  text-align: center;
}

.products .gold-divider {
  margin: 0 auto 30px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  transition: transform var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dark);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.product-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(22, 22, 22, 0.95));
}

.product-card-body {
  padding: 24px;
  text-align: center;
}

.product-card-body h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: var(--fs-small);
  color: var(--gray-dark);
}

/* ---------- TRUST SECTION ---------- */
.trust {
  padding: var(--section-py) 0;
  background: var(--black-soft);
}

.trust .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.trust .section-label {
  display: block;
  text-align: center;
}

.trust .section-label::after {
  right: 50%;
  transform: translateX(50%);
}

.trust .section-title {
  text-align: center;
}

.trust .gold-divider {
  margin: 0 auto 30px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  transition: transform var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dark);
}

.trust-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  border-radius: 50%;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.5;
}

.trust-card p {
  font-size: var(--fs-small);
  color: var(--gray-dark);
  line-height: 1.6;
}

/* ---------- CONTACT / LOCATION SECTION ---------- */
.contact {
  padding: var(--section-py) 0;
  background: var(--black);
  position: relative;
}

.contact-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-inner .section-label {
  display: block;
  text-align: center;
}

.contact-inner .section-label::after {
  right: 50%;
  transform: translateX(50%);
}

.contact-inner .section-title {
  text-align: center;
}

.contact-inner .gold-divider {
  margin: 0 auto 30px;
}

.contact-location {
  font-size: var(--fs-h3);
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.7;
}

.contact-location svg {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  margin-left: 6px;
}

.contact-address {
  font-size: var(--fs-body);
  color: var(--gray-dark);
  margin-bottom: 40px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 48px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.contact-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.contact-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 30px 0;
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  text-align: center;
}

.footer p {
  font-size: var(--fs-small);
  color: var(--gray-dark);
}

.footer a {
  color: var(--gold);
  font-weight: 600;
}

.footer a:hover {
  color: var(--gold-light);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollDot {
  0%   { opacity: 0; transform: translateX(-50%) translateY(0); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right var(--duration) var(--ease);
    border-left: 1px solid var(--black-border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 300px;
  }

  .about-image::before {
    display: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card-image {
    height: 220px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    justify-content: center;
  }

  .hero-logo {
    width: 110px;
  }

  .story-quote {
    padding: 20px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-btn,
  .contact-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .about-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav-links {
    width: 100%;
  }
}
