/* =============================================================
   global.css — Metal Scrap India
   Shared across ALL pages: tokens, reset, nav, footer, utilities
   ============================================================= */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --dark:        #0f1923;
  --dark-2:      #1a2535;
  --dark-3:      #2e3f52;
  --gold:        #d4a843;
  --gold-light:  #f0cc7a;
  --gold-dim:    rgba(212, 168, 67, 0.15);
  --white:       #ffffff;
  --off-white:   #f9f7f3;
  --text-1:      #111827;
  --text-2:      #4b5563;
  --text-3:      #9ca3af;
  --border:      rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);
  --green:       #2e7d32;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

/* ── 2. RESET ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-1);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── 3. UTILITIES ───────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── 4. NAVIGATION ──────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--transition);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 38px; width: auto; flex-shrink: 0; filter: brightness(0) invert(1); }
.logo-text { line-height: 1.2; }
.logo-text strong { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--white); }
.logo-text small { display: block; font-size: 10px; color: var(--gold); letter-spacing: 1.2px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > li > a { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); transition: color var(--transition); }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--white); }
.has-dropdown { position: relative; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--dark-2); border: 1px solid var(--border-dark);
  border-radius: var(--radius-md); padding: 8px; min-width: 200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); z-index: 200;
}
.dropdown li a {
  display: block; padding: 8px 14px; font-size: 13px; color: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-sm); transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover, .dropdown li a.active { background: rgba(255, 255, 255, 0.06); color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-nav-wa {
  /* display: flex; align-items: center; gap: 6px; background: #25d366; color: var(--white); */
  display: flex; align-items: center; gap: 6px; background: var(--gold); color: var(--dark);
  font-size: 13px; font-weight: 500; padding: 8px 16px; border-radius: var(--radius-sm); transition: opacity var(--transition);
}
.btn-nav-wa:hover { opacity: 0.88; }
.btn-nav-quote {
  background: var(--gold); color: var(--dark); font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: var(--radius-sm); transition: background var(--transition);
}
.btn-nav-quote:hover { background: var(--gold-light); }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--white); font-size: 22px; }
.mobile-menu { display: none; flex-direction: column; background: var(--dark-2); border-top: 1px solid var(--border-dark); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 24px; font-size: 14px; color: rgba(255, 255, 255, 0.75); border-bottom: 1px solid var(--border-dark); }
.mobile-menu a:last-child { border-bottom: none; }

/* ── 5. FOOTER ──────────────────────────────────────────────── */
.footer { background: #0a1520; padding: 48px 0 24px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255, 255, 255, 0.35); line-height: 1.7; max-width: 240px; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255, 255, 255, 0.38); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.22); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255, 255, 255, 0.22); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255, 255, 255, 0.5); }
.footer.minimal { padding: 24px 0; }
.footer.minimal .footer-bottom { border-top: none; padding-top: 0; }

/* ── 6. WHATSAPP FLOAT BUTTON ───────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45); }
.wa-float .wa-tooltip {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  background: var(--dark); color: var(--white); font-size: 12px; white-space: nowrap;
  padding: 6px 12px; border-radius: var(--radius-sm); opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ── 7. SCROLL ANIMATION ────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }

/* ── 8. SECTION SHARED STYLES ───────────────────────────────── */
.section         { padding: 88px 0; }
.section-alt     { background: var(--off-white); }
.section-dark    { background: var(--dark); }
.section-header  { margin-bottom: 48px; }
.section-header.centered { text-align: center; }

.eyebrow {
  font-size: 11px; font-weight: 600; color: var(--gold); letter-spacing: 1.8px;
  text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px);
  font-weight: 700; color: var(--text-1); line-height: 1.3; margin-bottom: 14px; overflow: visible;
}
.section-title.light { color: var(--white); }
.section-sub { font-size: 15.5px; color: var(--text-2); max-width: 520px; line-height: 1.7; }
.section-sub.light { color: rgba(255, 255, 255, 0.5); }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── 9. PAGE HERO (Shared) ──────────────────────────────────── */
.page-hero { padding-top: 68px; background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); padding-bottom: 52px; }
.page-hero-inner { padding-top: 52px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.breadcrumb a { font-size: 12.5px; color: rgba(255, 255, 255, 0.4); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { font-size: 12.5px; color: rgba(255, 255, 255, 0.25); }
.breadcrumb .current { font-size: 12.5px; color: var(--gold); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 14px; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { font-size: 16px; color: rgba(255, 255, 255, 0.55); max-width: 600px; line-height: 1.75; margin-bottom: 28px; }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-tag { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); font-size: 11.5px; padding: 5px 13px; border-radius: 20px; }

/* ── 10. RESPONSIVE — SHARED ────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; align-items: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav-inner { height: 60px; }
  .logo-img { height: 32px; }
  .logo-text strong { font-size: 13.5px; }
  .logo-text small { font-size: 9px; }
  .footer { padding: 40px 0 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { font-size: 12.5px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-copy { font-size: 11px; }
  .section { padding: 60px 0; }
  .page-hero h1 { font-size: 26px; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 14px; }
  .eyebrow { font-size: 10px; }
  .wa-float { bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 22px; }
  .wa-float .wa-tooltip { display: none; }
}