/* ============================================================
   JAMSHED AYAZ — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

/* ── CSS Variables ── */
:root {
  --black:        #0D0D0D;
  --black-soft:   #141414;
  --card-bg:      #1A1A1A;
  --card-bg2:     #202020;
  --gold:         #C9A84C;
  --gold-light:   #E2C97E;
  --gold-dark:    #9A7B2F;
  --gold-glow:    rgba(201,168,76,0.25);
  --gold-border:  rgba(201,168,76,0.25);
  --white:        #F5F5F5;
  --grey:         #BBBBBB;
  --muted:        #777777;
  --border:       #333333;
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'Inter', sans-serif;
  --font-urdu:    'Noto Nastaliq Urdu', serif;
  --transition:   0.3s ease;
  --radius:       0px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("../assets/background-design.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
main, section, nav, footer, .navbar, .hero, .container {
  position: relative;
  z-index: 1;
}
img { display: block; width: 100%; height: auto; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select {
  font-family: var(--font-body);
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: 0.02em; color: var(--white); }
h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 500; }
p { color: var(--grey); line-height: 1.8; }

/* ── Utility Classes ── */
.low-stock-badge { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(255,140,0,0.9); color: #000; text-align: center; padding: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 60px 0; }
.section-pad-sm { padding: 36px 0; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.urdu { font-family: var(--font-urdu); direction: rtl; }

.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 { margin-bottom: 16px; }
.section-title .gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
}
.section-title p { color: var(--grey); max-width: 500px; margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-gold:hover::after { left: 100%; }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 10px 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-icons { display: flex; align-items: center; gap: 20px; }
.nav-icon {
  font-size: 1.1rem;
  color: var(--white);
  cursor: pointer;
  transition: color var(--transition);
  position: relative;
}
.nav-icon:hover { color: var(--gold); }
.cart-count {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 600;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: 300px; height: 100vh;
  background: var(--black-soft);
  border-left: 1px solid var(--border);
  z-index: 2000;
  transition: right 0.4s ease;
  padding: 80px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.nav-drawer.open { right: 0; }
.nav-drawer a {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  transition: color var(--transition);
}
.nav-drawer a:hover { color: var(--gold); }
.drawer-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 1.4rem;
  color: var(--white);
  cursor: pointer;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.overlay.show { opacity: 1; pointer-events: all; }

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1f08 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1f08 50%, #1a1a1a 100%);
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  width: 100%;
}
.hero-urdu {
  font-family: var(--font-urdu);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.hero-en {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
}
.hero-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-indicator i { font-size: 1.2rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Category Grid ── */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.cat-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
}
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-tile:hover img { transform: scale(1.08); }
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: var(--transition);
}
.cat-tile:hover .cat-overlay { background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%); }
.cat-label {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 12px;
}
.cat-link {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 19px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.cat-tile:hover .cat-link { opacity: 1; transform: translateY(0); }

/* ── Product Cards ── */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 8px 32px var(--gold-glow);
}
.product-img-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  min-height: 260px;
  max-height: 260px;
  background: var(--card-bg2);
  flex-shrink: 0;
  overflow: hidden;
}

.product-img-wrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: translate(-50%, -50%) scale(1.06);
}
.badge-new, .badge-sale {
  position: absolute;
  top: 12px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.badge-new { left: 12px; background: var(--gold); color: var(--black); }
.badge-sale { right: 12px; background: #8B1A1A; color: var(--white); }
.low-stock-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,140,0,0.9);
  color: #000;
  text-align: center;
  padding: 8px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.product-card:hover .quick-add { transform: translateY(0); }
.product-info { padding: 20px; }
.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.product-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.product-price { display: flex; align-items: center; gap: 10px; }
.price-current { font-size: 1rem; font-weight: 600; color: var(--gold); }
.price-old { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; }

/* ── Slider Controls ── */
.slider-wrap { position: relative; }
.slider-track { display: flex; gap: 24px; overflow: hidden; }
.slider-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  transition: var(--transition);
}
.slider-btn:hover { background: var(--gold); color: var(--black); }
.slider-btn.prev { left: -22px; }
.slider-btn.next { right: -22px; }

/* ── Brand Story ── */
.brand-story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1100px; margin: 0 auto; }
.story-img {
  position: relative;
  background: var(--card-bg);
}

.story-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
.story-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.story-img::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: -1;
}
.story-content h2 { margin-bottom: 24px; }
.story-content p { margin-bottom: 20px; }
.gold-divider { width: 60px; height: 1px; background: var(--gold); margin: 28px 0; }
.ceo-name {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ── Full Width Banner ── */
.cta-banner {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a, #2a1f08);
}
.cta-banner-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.cta-banner-content { position: relative; z-index: 2; }
.cta-banner-content .gold-line-top,
.cta-banner-content .gold-line-bottom {
  width: 80px; height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}
.cta-banner-content .gold-line-bottom { margin: 24px auto 0; }
.cta-banner-content h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner-content p { margin-bottom: 32px; }

/* ── Testimonials ── */
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
  min-width: calc(33.33% - 16px);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  padding: 40px 32px;
  margin-right: 24px;
  flex-shrink: 0;
  overflow: hidden;
}
.quote-mark {
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
}
.testimonial-text {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 24px;
}
.stars { color: var(--gold); font-size: 0.8rem; margin-bottom: 12px; letter-spacing: 2px; }
.reviewer-name { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }

/* ── Gallery Grid ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 1.5rem; color: var(--gold); }

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
}

/* ── Footer ── */
footer {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 64px; width: auto; display: block; margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold); }
.contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.contact-item span { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 90px; right: 28px;
  background: var(--card-bg);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 14px 24px;
  font-size: 0.85rem;
  z-index: 9998;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}
.toast.show { transform: translateX(0); }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ── Page Hero ── */
.page-hero {
  padding: 120px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, #0d0d0d, var(--black));
}
.page-hero h1 { margin-bottom: 20px; }

/* ── Search Modal ── */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.search-modal.open { opacity: 1; pointer-events: all; }
.search-input-wrap {
  width: 100%;
  max-width: 600px;
  padding: 0 24px;
}
.search-input-wrap input {
  width: 100%;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 16px;
  text-align: center;
}
.search-input-wrap input::placeholder { color: var(--muted); }
.search-close {
  position: absolute;
  top: 28px; right: 32px;
  font-size: 1.6rem;
  color: var(--white);
  cursor: pointer;
}
