/* ============================================================
   Ahmed Trading - Premium Dark / Luxe
   ============================================================ */

:root {
  --bg:        #0e0e10;
  --bg-2:      #141417;
  --bg-3:      #1a1a1f;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);

  --ink:       #f4f1ea;
  --muted:     #a7a39b;
  --muted-2:   #7d7a73;

  --gold:      #d4af37;
  --gold-soft: #c9a24b;
  --gold-deep: #a8842c;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --r: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(4.5rem, 10vw, 8rem); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.section__title em { font-style: italic; color: var(--gold); }

.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__intro { color: var(--muted); margin-top: 1.1rem; font-size: 1.05rem; }
.lead { color: var(--muted); font-size: 1.1rem; margin-top: 1.2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid transparent;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #1a1408;
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.5);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -12px rgba(212, 175, 55, 0.65); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--block { width: 100%; justify-content: center; }

.link-arrow { color: var(--gold); font-weight: 500; letter-spacing: .04em; transition: gap .3s var(--ease); }
.link-arrow:hover { opacity: .85; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14, 14, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  border-radius: 8px;
}
.brand__text { font-size: 1.05rem; letter-spacing: 0.06em; font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  position: relative;
  transition: color .3s var(--ease);
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  border: 1px solid var(--line-2);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  color: var(--ink) !important;
}
.nav__cta:hover { border-color: var(--gold); color: var(--gold) !important; }

.nav__toggle { display: none; background: none; border: 0; width: 30px; height: 22px; position: relative; cursor: pointer; }
.nav__toggle span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .35s var(--ease), top .35s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 10px; }
.nav__toggle span:nth-child(3) { top: 20px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  /* gradient fallback shows even if the photo fails to load */
  background:
    radial-gradient(120% 90% at 75% 20%, #2a2118 0%, #100f0d 55%, #0a0a0b 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.6) 45%, rgba(10,10,11,0.35) 100%),
    linear-gradient(0deg, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0) 55%);
}
.hero__content { position: relative; z-index: 2; max-width: 720px; padding-block: 6rem; }
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 560px; }
.hero__sub strong { color: var(--ink); font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 14px; z-index: 2;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; border-radius: 3px;
  background: var(--gold); transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0%{opacity:0;top:8px} 30%{opacity:1} 70%{opacity:1} 100%{opacity:0;top:24px} }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 2.4rem;
}
.strip__item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .3rem; position: relative;
}
.strip__item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  height: 38px; width: 1px; background: var(--line);
}
.strip__num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.strip__label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__img {
  aspect-ratio: 4 / 5; border-radius: var(--r); background-size: cover; background-position: center;
  background-image: linear-gradient(145deg, #241d14, #0f0e0c);
  border: 1px solid var(--line);
}
.about__badge {
  position: absolute; right: -14px; bottom: -14px;
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 1rem 1.3rem; display: flex; flex-direction: column; gap: .15rem;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.8);
}
.about__badge-num { font-family: var(--serif); color: var(--gold); font-size: 1.1rem; }
.about__badge-text { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.pillars { list-style: none; margin-top: 2rem; display: grid; gap: 1.3rem; }
.pillars li { display: flex; gap: 1rem; }
.pillars__dot {
  flex: 0 0 auto; width: 10px; height: 10px; margin-top: .55rem; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.15);
}
.pillars strong { font-weight: 500; font-size: 1.05rem; letter-spacing: .02em; }
.pillars p { color: var(--muted); font-size: .95rem; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.card {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.card__img {
  aspect-ratio: 4 / 3; background-size: cover; background-position: center;
  background-image: linear-gradient(145deg, #221b12, #100e0b);
  transition: transform .7s var(--ease);
}
.card:hover .card__img { transform: scale(1.06); }
.card__body { padding: 1.4rem 1.5rem 1.7rem; position: relative; }
.card__body--center { text-align: center; display: flex; flex-direction: column; gap: .6rem; align-items: center; }
.card__body h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.card__body p { color: var(--muted); font-size: .92rem; margin-top: .3rem; }
.card__tag {
  position: absolute; top: -2.2rem; right: 1.2rem;
  background: var(--gold); color: #1a1408; font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; padding: .32rem .65rem; border-radius: 999px;
}
.card--more {
  display: grid; place-items: center; background: var(--bg-3);
  border-style: dashed; border-color: var(--line-2);
}
.card--more h3 { color: var(--ink); }

/* ============================================================
   BRANDS
   ============================================================ */
.brands { background: var(--bg-2); border-block: 1px solid var(--line); }
.brands__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.6rem; }

.brand-card {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 380px;
  border: 1px solid var(--line); display: flex; align-items: flex-end;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.brand-card--feature:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 30px 70px -30px rgba(212,175,55,.4); }
.brand-card__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-image: linear-gradient(145deg, #2b2114, #0d0c0a);
  transition: transform .8s var(--ease);
}
.brand-card--feature:hover .brand-card__bg { transform: scale(1.05); }
.brand-card--feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,8,9,.94) 0%, rgba(8,8,9,.4) 55%, rgba(8,8,9,.15) 100%);
}
.brand-card__content { position: relative; z-index: 2; padding: 2.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.brand-card__content--center { align-items: center; text-align: center; margin: auto; }
.brand-card__flag {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(212,175,55,.4); padding: .3rem .7rem; border-radius: 999px;
}
.brand-card__flag--muted { color: var(--muted-2); border-color: var(--line-2); }
.brand-card__name { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; }
.brand-card__desc { color: var(--muted); max-width: 380px; }
.brand-card--soon { background: var(--bg-3); border-style: dashed; border-color: var(--line-2); }

/* ============================================================
   RETAIL
   ============================================================ */
.retail__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap;
}
.retail__text { max-width: 560px; }
.retail__logos { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; }
.retail__logo {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--ink);
  opacity: .85; letter-spacing: .01em; transition: color .3s var(--ease), opacity .3s var(--ease);
}
.retail__logo:hover { color: var(--gold); opacity: 1; }
.retail__logo--muted { color: var(--muted-2); font-style: italic; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__list { list-style: none; margin-top: 2.2rem; display: grid; gap: 1.6rem; }
.contact__list li { display: flex; flex-direction: column; gap: .35rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.contact__label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.contact__value { font-size: 1.15rem; font-style: normal; color: var(--ink); line-height: 1.5; transition: color .3s var(--ease); }
a.contact__value:hover { color: var(--gold); }

.contact__cta {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.contact__cta h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin-bottom: .6rem; }
.contact__cta p { color: var(--muted); margin-bottom: 1.6rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 3rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer__brand { display: flex; align-items: center; gap: .9rem; }
.footer__brand strong { font-weight: 500; letter-spacing: .05em; }
.footer__brand p { color: var(--muted-2); font-size: .85rem; }
.footer__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__nav a { font-size: .85rem; color: var(--muted); transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--gold); }
.footer__copy { color: var(--muted-2); font-size: .8rem; width: 100%; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__media { transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about__grid, .contact__grid, .brands__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about__media { max-width: 460px; }
  .brand-card { min-height: 300px; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .strip__item:nth-child(2)::after { display: none; }
}

@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(14,14,16,0.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--pad) 1.8rem;
    transform: translateY(-120%); transition: transform .45s var(--ease);
    align-items: stretch;
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__cta { text-align: center; margin-top: .8rem; border-color: var(--gold); }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .about__badge { right: 8px; }
}
