/* ═══════════════════════════════════════════════════════════════════
   DLT LANDING WEBSITE — SHARED DESIGN SYSTEM
   Pure CSS · No Tailwind · No Build Step
   Uses exact tokens: ink #1c1917, muted #78716c, bg #faf9f7, etc.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --ink: #1c1917;
  --muted: #78716c;
  --bg: #faf9f7;
  --card: #ffffff;
  --border: #e7e5e4;
  --green: rgba(74, 124, 89, 1);
  --gold: rgba(212, 178, 76, 1);
  --whatsapp: #25d366;

  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;

  /* Typography */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 4px 12px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 12px 24px rgba(28, 25, 23, 0.12);
}

/* ═══════════════════════════════════════════════════════════════════
   BASE RESET
   ═══════════════════════════════════════════════════════════════════ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER (Fixed Top-Right)
   ═══════════════════════════════════════════════════════════════════ */
.dlt-lang-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  display: flex;
  gap: 8px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 600;
}

.dlt-lang-switcher button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.dlt-lang-switcher button.active {
  background: var(--gold);
  color: white;
}

/* Hide/Show translations */
[data-lang="hi"], [data-lang="en"] {
  display: none;
}

body[data-current-lang="hi"] [data-lang="hi"],
body[data-current-lang="en"] [data-lang="en"] {
  display: block;
}

body[data-current-lang="hi"] .dlt-inline-lang[data-lang="hi"],
body[data-current-lang="en"] .dlt-inline-lang[data-lang="en"] {
  display: inline;
}

/* ═══════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════ */
.dlt-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-2) var(--space-3);
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dlt-nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dlt-nav-links {
  display: flex;
  gap: var(--space-3);
  list-style: none;
}

.dlt-nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}

.dlt-nav-links a:hover {
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════ */
.dlt-hero {
  padding: var(--space-6) var(--space-3);
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #f0ece4 100%);
  position: relative;
  overflow: hidden;
}

.dlt-hero-banner-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-4);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.dlt-hero h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.dlt-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto var(--space-4);
}

.dlt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
}

.dlt-btn:hover {
  transform: translateY(-2px);
}

.dlt-btn-primary {
  background-color: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.dlt-btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════ */
.dlt-section {
  padding: var(--space-6) var(--space-3);
  max-width: 1000px;
  margin: 0 auto;
}

.dlt-section-header {
  text-align: center;
  margin-bottom: var(--space-4);
}

.dlt-section-header h2 {
  font-family: var(--font-display);
  font-size: 36px;
  margin-bottom: var(--space-1);
}

.dlt-section-header p {
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════════
   PROGRAMS / COURSES
   ═══════════════════════════════════════════════════════════════════ */
.dlt-programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}

.dlt-program-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.dlt-program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dlt-program-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.dlt-program-body {
  padding: var(--space-3);
}

.dlt-program-body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════ */
.dlt-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
}

.dlt-testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  position: relative;
}

.dlt-testimonial-quote {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  margin-bottom: var(--space-2);
}

.dlt-testimonial-author {
  font-weight: 700;
  font-size: 14px;
}

.dlt-testimonial-role {
  color: var(--muted);
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════════════
   YOUTUBE EMBED
   ═══════════════════════════════════════════════════════════════════ */
.dlt-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: var(--space-4) 0;
}

.dlt-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT / WHATSAPP SECTION
   ═══════════════════════════════════════════════════════════════════ */
.dlt-contact-section {
  background: linear-gradient(135deg, var(--gold) 0%, #c89530 100%);
  color: white;
  text-align: center;
  padding: var(--space-6) var(--space-3);
  border-radius: var(--radius-lg);
  margin: var(--space-4) var(--space-3);
}

.dlt-contact-section h2 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: var(--space-2);
}

.dlt-contact-section p {
  font-size: 18px;
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.dlt-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--whatsapp);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.dlt-footer {
  background: var(--ink);
  color: white;
  text-align: center;
  padding: var(--space-4) var(--space-3);
  margin-top: var(--space-6);
}

.dlt-footer p {
  opacity: 0.8;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .dlt-hero h1 {
    font-size: 36px;
  }

  .dlt-nav-links {
    display: none; /* Mobile menu would go here */
  }

  .dlt-section-header h2 {
    font-size: 28px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   TEAM — the few practitioners chosen for the public page
   ═══════════════════════════════════════════════════════════════════ */
.dlt-team-niche {
  margin-bottom: var(--space-4);
}

.dlt-team-niche-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: var(--space-2);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.dlt-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}

.dlt-team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: center;
}

/* A fixed square before the image loads, so a slow photograph does not
   shunt the rest of the page down as it arrives. */
.dlt-team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid var(--gold);
  margin: 0 auto 12px;
  display: block;
  background: var(--border);
}

.dlt-team-name {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 2px;
}

.dlt-team-title {
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 4px;
}

.dlt-team-city {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.dlt-team-bio {
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

.dlt-team-empty {
  text-align: center;
  color: var(--muted);
  padding: var(--space-3);
}

/* ═══════════════════════════════════════════════════════════════════
   JOIN — the registration form, and the app download
   ═══════════════════════════════════════════════════════════════════ */
.dlt-join {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.dlt-join label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.dlt-join input[type="text"],
.dlt-join input[type="email"],
.dlt-join input[type="tel"],
.dlt-join input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 8px);
  font-size: 16px; /* 16px stops iOS zooming the page on focus */
  font-family: inherit;
  background: #fff;
  color: var(--ink, #1c1917);
}

.dlt-join input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.dlt-join-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
}

.dlt-join-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
  font-weight: 400;
}

.dlt-join-consent input { margin-top: 3px; flex-shrink: 0; }
.dlt-join-consent a { color: inherit; }

.dlt-join button[type="submit"] {
  width: 100%;
  padding: 13px;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  border-radius: var(--radius-sm, 8px);
  background: var(--gold);
  color: #1c1917;
  cursor: pointer;
  font-family: inherit;
}

.dlt-join button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }

.dlt-join-msg {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: var(--radius-sm, 8px);
  font-size: 14px;
  line-height: 1.6;
}

.dlt-join-msg.ok { background: #eef7ee; border: 1px solid #c6e3c6; color: #1f5c2a; }
.dlt-join-msg.err { background: #fdecec; border: 1px solid #f5c2c2; color: #8a1621; }

.dlt-join-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 12px;
}

@media (max-width: 480px) {
  .dlt-join { padding: var(--space-2, 16px); }
}
