/* =============================================
   MAHA SHIVA NAADI JOTHIDAM — nadi-jothidam.css
   ============================================= */

/* ── ANIMATIONS ─────────────────────────────── */
.nj-slide-left, .nj-slide-right, .nj-fade-up {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.nj-slide-left  { transform: translateX(-50px); }
.nj-slide-right { transform: translateX(50px); }
.nj-fade-up     { transform: translateY(35px); }
.nj-slide-left.nj-in,
.nj-slide-right.nj-in,
.nj-fade-up.nj-in { opacity: 1; transform: none; }

/* ── HERO ────────────────────────────────────── */
.nj-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('./images/olaichuavdi_nadi_jothidam.jpg') center / cover no-repeat;
}
.nj-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(70,0,0,0.88), rgba(15,5,0,0.82));
}
.nj-hero-content {
  position: relative;
  z-index: 2;
  padding: 70px 20px 55px;
  animation: njHeroIn 0.9s ease both;
}
@keyframes njHeroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.nj-hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 5px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
  margin-bottom: 16px;
}
.nj-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
}
.nj-breadcrumb a { color: #fff; text-decoration: none; }
.nj-breadcrumb a:hover { color: var(--gold-light); }
.nj-breadcrumb i { font-size: 10px; color: rgba(255,255,255,0.4); }
.nj-breadcrumb span { color: var(--saffron); font-weight: 600; }

/* ── SECTIONS ────────────────────────────────── */
.nj-white { background: #fff; }
.nj-grey  { background: #f7f3ee; }

.nj-section { padding: 80px 0; }

.nj-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.nj-reverse { direction: rtl; }
.nj-reverse > * { direction: ltr; }

/* ── TEXT ────────────────────────────────────── */
.nj-text h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(18px, 2.2vw, 27px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.35;
  text-transform: lowercase;
}
.nj-text h2::first-letter { text-transform: uppercase; }
.nj-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--deep-red), var(--saffron));
  border-radius: 2px;
  margin-bottom: 20px;
}
.nj-text p {
  font-size: 15.5px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 16px;
}
.nj-text p strong { color: var(--dark); }
.nj-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--deep-red), var(--crimson));
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 6px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(139,0,0,0.3);
}
.nj-btn:hover {
  background: linear-gradient(135deg, #700000, #a00015);
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(139,0,0,0.4);
}

/* ── IMAGE BOX ───────────────────────────────── */
.nj-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(212,175,55,0.4);
  box-shadow: 0 14px 50px rgba(0,0,0,0.13);
  height: 360px;
  background: #f5ede0;
  transition: box-shadow 0.4s;
}
.nj-img-wrap:hover { box-shadow: 0 20px 60px rgba(139,0,0,0.18); }
.nj-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.nj-img-wrap:hover img { transform: scale(1.05); }
.nj-img-tall { height: 460px; }

/* gold dot pulse */
.nj-dot {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.25);
  animation: njDot 2.5s ease-in-out infinite;
}
@keyframes njDot {
  0%,100% { box-shadow: 0 0 0 4px rgba(212,175,55,0.25); }
  50%      { box-shadow: 0 0 0 12px rgba(212,175,55,0); }
}

/* ── PROCESS BANNER ──────────────────────────── */
.nj-process {
  position: relative;
  background: url('./images/WhatsApp Image 2026-02-19 at 10.46.33 AM.jpeg') center / cover no-repeat;
  background-attachment: fixed;
  padding: 90px 20px;
  text-align: center;
}
.nj-process-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,3,0,0.88);
}
.nj-process-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}
.nj-process-inner h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.nj-process-inner h2 span { color: var(--saffron); }
.nj-process-inner > p {
  font-size: 15px;
  color: #bbb;
  font-style: italic;
  margin-bottom: 55px;
}
.nj-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.nj-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 190px;
}
.nj-step-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid rgba(212,175,55,0.5);
  background: rgba(212,175,55,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.nj-step:hover .nj-step-icon {
  background: rgba(212,175,55,0.22);
  transform: scale(1.1);
}
.nj-step-icon i { font-size: 34px; color: var(--gold-light); }
.nj-step p {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.55;
  text-align: center;
}
.nj-arrow {
  color: rgba(212,175,55,0.5);
  font-size: 22px;
  padding-top: 30px;
  flex-shrink: 0;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .nj-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .nj-reverse { direction: ltr; }
  .nj-img { order: -1; }
  .nj-img-wrap, .nj-img-tall { height: 280px; }
  .nj-section { padding: 55px 0; }
  .nj-container { padding: 0 25px; }
}

@media (max-width: 700px) {
  .nj-hero { min-height: 220px; }
  .nj-hero-content h1 { letter-spacing: 3px; }
  .nj-container { padding: 0 16px; gap: 26px; }
  .nj-section { padding: 44px 0; }
  .nj-img-wrap, .nj-img-tall { height: 230px; }
  .nj-text h2 { font-size: 18px; }
  .nj-text p { font-size: 14.5px; }
  .nj-process { padding: 60px 16px; background-attachment: scroll; }
  .nj-steps { flex-direction: column; align-items: center; gap: 30px; }
  .nj-arrow { display: none; }
  .nj-step { width: 100%; max-width: 260px; flex-direction: row; gap: 18px; text-align: left; }
  .nj-step p { text-align: left; }
  .nj-step-icon { width: 62px; height: 62px; flex-shrink: 0; }
  .nj-step-icon i { font-size: 26px; }
}

@media (max-width: 380px) {
  .nj-hero-content h1 { font-size: 22px; letter-spacing: 2px; }
  .nj-img-wrap, .nj-img-tall { height: 190px; }
  .nj-text h2 { font-size: 16px; }
  .nj-btn { font-size: 12px; padding: 10px 18px; }
}