/* ============================================
   TABISH TRADERS - Premium Business Website
   Professional Construction Materials Design
   ============================================ */

:root {
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --dark-grey: #2d2d2d;
  --mid-grey: #4a4a4a;
  --light-grey: #e8e8e8;
  --warm-white: #f8f6f3;
  --off-white: #faf9f7;
  --gold: #c9a227;
  --gold-light: #e0c35a;
  --gold-dark: #a68520;
  --yellow-accent: #e6b422;
  --text: #1f1f1f;
  --text-muted: #5a5a5a;
  --border: rgba(201, 162, 39, 0.25);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-ur: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Segoe UI', sans-serif;
  --header-h: 78px;
}

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

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

body {
  font-family: var(--font-en);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.urdu {
  font-family: var(--font-ur);
  direction: rtl;
}

body.urdu .ltr-only { direction: ltr; display: inline-block; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== ANNOUNCEMENT BAR ========== */
.announce {
  background: var(--black);
  color: var(--gold-light);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.announce a { color: var(--gold-light); text-decoration: underline; }

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,162,39,0.15);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img, .logo svg {
  height: 52px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text strong {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.logo-text span {
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.nav a:hover, .nav a.active {
  color: var(--gold-light);
  background: rgba(201,162,39,0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.lang-switch button {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.lang-switch button.active {
  background: var(--gold);
  color: var(--black);
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}
.btn-wa:hover { background: #1ebe57; transform: translateY(-1px); }
.btn-wa svg { width: 18px; height: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  border-radius: 4px;
  transition: var(--transition);
  text-transform: uppercase;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,162,39,0.3);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201,162,39,0.08);
}
.btn-dark {
  background: var(--black);
  color: #fff;
  border: 2px solid var(--black);
}
.btn-dark:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
}
.btn-gold-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.72) 50%, rgba(10,10,10,0.85) 100%),
              url('../images/hero.jpg') center/cover no-repeat;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-block;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.35);
  color: var(--gold-light);
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border-radius: 2px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold-light); }
.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.hero-trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ========== SECTIONS ========== */
.section {
  padding: 90px 0;
}
.section-dark {
  background: var(--charcoal);
  color: #fff;
}
.section-grey {
  background: #f0eeeb;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-label {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-dark .section-label { color: var(--gold-light); }
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--black);
}
.section-dark .section-header h2 { color: #fff; }
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ========== FEATURED PRODUCTS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.product-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #eee;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body {
  padding: 24px;
}
.product-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}
.product-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.product-tags span {
  background: rgba(201,162,39,0.12);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.3px;
}

/* ========== WHY CHOOSE ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-item {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
}
.why-item:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.why-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, rgba(201,162,39,0.15), rgba(201,162,39,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}
.why-icon svg { width: 24px; height: 24px; }
.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== SERVICES ========== */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .services-list { grid-template-columns: 1fr; }
}
.service-item {
  display: flex;
  gap: 18px;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}
body.urdu .service-item:hover { transform: translateX(-4px); }
.service-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 32px;
}
.service-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.service-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========== HOW IT WORKS ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
  padding: 28px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: var(--transition);
}
.step:hover {
  background: rgba(201,162,39,0.08);
  border-color: rgba(201,162,39,0.3);
}
.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}
.step p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* ========== CONSULTATION ========== */
.consult-box {
  background: linear-gradient(135deg, var(--black) 0%, #1f1a0f 100%);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 8px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.consult-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,162,39,0.12) 0%, transparent 70%);
}
.consult-box h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 12px;
  position: relative;
}
.consult-box p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 28px;
  position: relative;
}
.consult-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  position: relative;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fff;
}
body.urdu .faq-q { text-align: right; }
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold-dark);
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.contact-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-row svg {
  width: 22px;
  height: 22px;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-row strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-row a, .contact-row span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
}
.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: #fafafa;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ========== FOOTER ========== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .logo-text strong { color: #fff; }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer h4 {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}
.creator-credit {
  background: #050505;
  border-top: 1px solid rgba(201,162,39,0.15);
  padding: 28px 0;
  text-align: center;
}
.creator-credit p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.creator-credit .creator-name {
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.creator-credit .btn-creator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(201,162,39,0.4);
  color: var(--gold-light);
  padding: 8px 18px;
  font-size: 0.8rem;
  border-radius: 4px;
  margin-top: 8px;
}
.creator-credit .btn-creator:hover {
  background: rgba(201,162,39,0.1);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: var(--black);
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.flex-center {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Fade up animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Language content */
.lang-en { display: block; }
.lang-ur { display: none; }
body.urdu .lang-en { display: none; }
body.urdu .lang-ur { display: block; }

/* Mobile */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--black);
    padding: 20px;
    border-bottom: 1px solid rgba(201,162,39,0.2);
    gap: 4px;
  }
  .nav.open a {
    padding: 12px 16px;
    font-size: 1rem;
  }
  .hamburger { display: flex; }
  .header-actions .btn-wa span { display: none; }
}

@media (max-width: 600px) {
  .hero { min-height: 78vh; }
  .section { padding: 60px 0; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .consult-box { padding: 36px 24px; }
}

/* Print / reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
