/* ================================================================
   rds-global.css — rajnishrds.com
   Shared across every page. Upload to: /assets/css/rds-global.css
   ================================================================ */

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --black:      #08070a;
  --charcoal:   #0f0e14;
  --graphite:   #16141f;
  --card:       #1a1825;
  --card-h:     #1e1c2c;
  --gold:       #D4AF37;
  --gold-lt:    #F0CC6A;
  --gold-dim:   rgba(212,175,55,0.13);
  --gold-glow:  rgba(212,175,55,0.07);
  --gold-line:  rgba(212,175,55,0.22);
  --white:      #ffffff;
  --muted:      rgba(255,255,255,0.52);
  --subtle:     rgba(255,255,255,0.06);
  --border-w:   rgba(255,255,255,0.08);
  --green:      #25D366;
  --navy:       #0A2540;
  --blue:       #0A66C2;
  --font-d:     'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-b:     'DM Sans', system-ui, -apple-system, Arial, sans-serif;
  --hdr-h:      72px;
  --radius:     12px;
  --radius-lg:  16px;
  --max-w:      1180px;
}

/* ── BODY ───────────────────────────────────────────────────── */
.rds-body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-b);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: var(--hdr-h);
}
.rds-body a { text-decoration: none; color: inherit; }
.rds-body img { max-width: 100%; display: block; }
.rds-body ul { list-style: none; }

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
.rds-site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hdr-h);
  z-index: 1000;
  background: rgba(8,7,10,0.92);
  border-bottom: 1px solid var(--gold-line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease;
}
.rds-site-header.rds-scrolled {
  background: rgba(8,7,10,0.98);
}

.rds-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.rds-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.rds-logo-mark {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.rds-logo-divider {
  width: 1px;
  height: 20px;
  background: var(--gold-line);
}
.rds-logo-name {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Nav */
.rds-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.rds-nav-group {
  position: relative;
}
.rds-nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  border-radius: 7px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.rds-nav-link:hover, .rds-has-drop:hover > .rds-nav-link {
  color: var(--white);
  background: var(--subtle);
}

/* Dropdown */
.rds-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--charcoal);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.rds-nav-group:hover .rds-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.rds-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: background 0.18s, color 0.18s;
}
.rds-dropdown a:hover { background: var(--gold-dim); color: var(--white); }
.rds-dropdown a em {
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-line);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

/* Header CTA */
.rds-hdr-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.22s, box-shadow 0.3s, transform 0.2s;
  white-space: nowrap;
}
.rds-hdr-cta:hover {
  background: var(--gold-lt);
  box-shadow: 0 0 24px rgba(212,175,55,0.35);
  transform: translateY(-1px);
}

/* Hamburger */
.rds-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.rds-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s;
}
.rds-burger.rds-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.rds-burger.rds-open span:nth-child(2) { opacity: 0; }
.rds-burger.rds-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.rds-mobile-nav {
  display: none;
  position: fixed;
  top: var(--hdr-h);
  left: 0; right: 0;
  background: var(--charcoal);
  border-bottom: 1px solid var(--gold-line);
  padding: 16px 0 24px;
  z-index: 999;
  flex-direction: column;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.rds-mobile-nav.rds-open { display: flex; }
.rds-mobile-nav a {
  padding: 13px 28px;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, padding-left 0.2s;
}
.rds-mobile-nav a:hover { color: var(--white); padding-left: 36px; }
.rds-mobile-nav a em {
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  margin-left: 8px;
}
.rds-mobile-cta-link {
  margin: 16px 28px 0;
  padding: 14px 20px !important;
  background: var(--gold);
  color: var(--black) !important;
  font-weight: 500 !important;
  border-radius: 8px;
  text-align: center;
  border: none !important;
}
.rds-mobile-cta-link:hover { background: var(--gold-lt) !important; padding-left: 20px !important; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.rds-footer {
  background: var(--charcoal);
  border-top: 1px solid var(--gold-line);
  padding: 72px 0 0;
}
.rds-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.rds-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.rds-footer-tagline {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}
.rds-footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: rgba(37,211,102,0.09);
  border: 1px solid rgba(37,211,102,0.28);
  border-radius: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.25s, border-color 0.25s;
}
.rds-footer-wa:hover { background: rgba(37,211,102,0.16); border-color: rgba(37,211,102,0.5); }

.rds-footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.rds-footer-col a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.2s, padding-left 0.2s;
}
.rds-footer-col a:hover { color: var(--white); padding-left: 4px; }

.rds-footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── MOBILE STICKY BAR ──────────────────────────────────────── */
.rds-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px 20px;
  background: linear-gradient(to top, var(--charcoal), rgba(15,14,20,0.96));
  border-top: 1px solid var(--gold-line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  z-index: 998;
}
.rds-sticky-bar a {
  display: block;
  text-align: center;
  padding: 15px;
  background: var(--gold);
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(212,175,55,0.25);
}

/* ════════════════════════════════════════════════════════════
   UTILITY CLASSES — use in any page
   ════════════════════════════════════════════════════════════ */

/* Section wrapper */
.rds-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.rds-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* Section label (eyebrow line) */
.rds-section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 52px;
}
.rds-section-label-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-line), transparent); max-width: 60px; }
.rds-section-label-text { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.rds-section-label-line-r { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line)); max-width: 60px; }

/* Buttons */
.rds-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.3s, transform 0.2s;
  text-decoration: none;
}
.rds-btn-gold:hover { background: var(--gold-lt); box-shadow: 0 0 32px rgba(212,175,55,0.38), 0 8px 24px rgba(0,0,0,0.4); transform: translateY(-2px); }

.rds-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 400;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color 0.22s, background 0.22s, transform 0.2s;
  text-decoration: none;
}
.rds-btn-ghost:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); transform: translateY(-2px); }

.rds-btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.3s, transform 0.2s;
  text-decoration: none;
}
.rds-btn-blue:hover { background: #0856a0; box-shadow: 0 0 28px rgba(10,102,194,0.35); transform: translateY(-2px); }

/* Scroll reveal */
.rds-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.rds-reveal.rds-in { opacity: 1; transform: translateY(0); }
.rds-d1 { transition-delay: 0.08s; }
.rds-d2 { transition-delay: 0.18s; }
.rds-d3 { transition-delay: 0.30s; }
.rds-d4 { transition-delay: 0.42s; }
.rds-d5 { transition-delay: 0.55s; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .rds-nav { display: none; }
  .rds-hdr-cta { display: none; }
  .rds-burger { display: flex; }
  .rds-footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .rds-sticky-bar { display: block; }
  .rds-body { padding-bottom: 80px; }
}

@media (max-width: 600px) {
  :root { --hdr-h: 60px; }
  .rds-header-inner { padding: 0 20px; }
  .rds-logo-name { display: none; }
  .rds-logo-divider { display: none; }
  .rds-footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 0 20px 40px; }
  .rds-footer { padding-top: 48px; }
  .rds-footer-bottom { padding: 16px 20px; flex-direction: column; text-align: center; }
  .rds-section-inner { padding: 0 20px; }
}
