/**
 * SHIV KNOWLEDGE — HERO SECTION STYLES
 * Matches the approved design reference:
 * - Cinematic Lord Shiva background (1024x512 original image)
 * - Right-side spiritual typography (Om ornament, eyebrow, H1 Lord Shiva in Title Case, trishul accent, description)
 * - Bottom floating glassmorphic 5-item navigation strip
 * - Fully responsive (Desktop, Laptop, Tablet, Mobile)
 */

:root {
  --sk-hero-blue: #0b2d4f;
  --sk-hero-blue-dark: #071f37;
  --sk-hero-gold: #c58936;
  --sk-hero-gold-light: #e5b869;
  --sk-hero-gold-glow: rgba(229, 184, 105, 0.5);
  --sk-hero-text-dark: #1e293b;
  --sk-hero-text-muted: #94a3b8;
  --sk-hero-glass-bg: rgba(18, 24, 38, 0.78);
  --sk-hero-glass-border: rgba(255, 255, 255, 0.14);
  --sk-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ==========================================================================
   1. HERO CONTAINER & BACKGROUND
   ========================================================================== */

.sk-hero {
  position: relative;
  width: 100%;
  min-height: 640px;
  background-image: url('../imgs/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Atmospheric subtle highlight on the right sky area for clear text contrast */
.sk-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 76% 30%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 80%);
  pointer-events: none;
  z-index: 1;
}

.sk-hero-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 44px 36px 30px;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* ==========================================================================
   2. HERO CONTENT (RIGHT SIDE)
   ========================================================================== */

.sk-hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex: 1;
  padding-top: 14px;
  padding-bottom: 24px;
}

/* Spacer keeps the left ~50% completely open for Lord Shiva, Trishul & sunrise */
.sk-hero-spacer {
  flex: 1 1 50%;
  max-width: 50%;
  pointer-events: none;
}

.sk-hero-content {
  flex: 1 1 50%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: 24px;
}

/* Top Golden Om Ornament */
.sk-hero-ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.sk-ornament-line {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--sk-hero-gold);
  opacity: 0.8;
  position: relative;
}

.sk-ornament-line::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--sk-hero-gold);
  transform: translateY(-50%) rotate(45deg);
}

.sk-ornament-line:first-child::before {
  left: 0;
}

.sk-ornament-line:last-child::before {
  right: 0;
}

.sk-ornament-om {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  color: var(--sk-hero-gold);
  font-family: Georgia, serif;
  display: inline-block;
  transform: translateY(-1px);
}

/* Small Heading (Eyebrow) */
.sk-hero-eyebrow {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sk-hero-blue);
  margin: 0 0 6px;
  line-height: 1.3;
}

/* Semantic H1 Main Heading */
.sk-hero-title {
  font-family: var(--sk-font-serif);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 4px;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.4);
}

.sk-hero-title .sk-title-blue {
  color: var(--sk-hero-blue);
}

.sk-hero-title .sk-title-gold {
  color: var(--sk-hero-gold);
}

/* Subtle Golden Trishul Accent below title */
.sk-hero-accent-trishul {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sk-hero-gold);
  margin-bottom: 12px;
}

.sk-hero-accent-trishul svg {
  width: 22px;
  height: 22px;
  stroke: var(--sk-hero-gold);
}

.sk-hero-accent-trishul .sk-trishul-img {
  width: auto;
  height: 24px;
  max-width: 16px;
  object-fit: contain;
  display: block;
}

.sk-hero-nav-icon .sk-trishul-nav-img {
  width: auto;
  height: 26px;
  max-width: 18px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.sk-hero-nav-item:hover .sk-trishul-nav-img {
  transform: scale(1.12);
}

/* Supporting Description Paragraph */
.sk-hero-desc {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.62;
  color: var(--sk-hero-text-dark);
  max-width: 460px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   3. BOTTOM FLOATING NAVIGATION STRIP (GLASSMORPHISM)
   ========================================================================== */

.sk-hero-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: var(--sk-hero-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--sk-hero-glass-border);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 18px;
  padding: 8px 6px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}

.sk-hero-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.25s ease;
  position: relative;
  min-width: 0;
}

.sk-hero-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Subtle vertical dividers between navigation items */
.sk-hero-nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.sk-hero-nav-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sk-hero-gold-light);
  flex-shrink: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.sk-hero-nav-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.sk-hero-nav-item:hover .sk-hero-nav-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px var(--sk-hero-gold-glow));
}

/* Dedicated Om Icon styling */
.sk-om-icon {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  font-family: Georgia, serif;
}

.sk-hero-nav-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  min-width: 0;
}

.sk-hero-nav-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.sk-hero-nav-item:hover .sk-hero-nav-title {
  color: var(--sk-hero-gold-light);
}

.sk-hero-nav-desc {
  font-size: 11px;
  font-weight: 400;
  color: var(--sk-hero-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   4. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Laptops (1024px to 1439px) */
@media (max-width: 1439px) {
  .sk-hero {
    min-height: 600px;
  }
  .sk-hero-container {
    min-height: 600px;
    padding: 38px 28px 24px;
  }
  .sk-hero-title {
    font-size: 54px;
  }
  .sk-hero-desc {
    font-size: 14.5px;
    max-width: 440px;
  }
  .sk-hero-nav-item {
    padding: 8px 12px;
    gap: 10px;
  }
  .sk-hero-nav-title {
    font-size: 13.5px;
  }
  .sk-hero-nav-desc {
    font-size: 10.5px;
  }
  .sk-hero-nav-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  .sk-hero-nav-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* Tablets (768px to 1023px) */
@media (max-width: 1023px) {
  .sk-hero {
    min-height: 560px;
    background-position: 32% center;
  }
  .sk-hero-container {
    min-height: 560px;
    padding: 32px 20px 20px;
  }
  .sk-hero-spacer {
    flex: 1 1 42%;
    max-width: 42%;
  }
  .sk-hero-content {
    flex: 1 1 58%;
    max-width: 460px;
    margin-right: 10px;
  }
  .sk-hero-title {
    font-size: 46px;
  }
  .sk-hero-eyebrow {
    font-size: 12px;
  }
  .sk-hero-desc {
    font-size: 14px;
    line-height: 1.55;
  }
  .sk-hero-nav {
    padding: 6px 4px;
    gap: 2px;
  }
  .sk-hero-nav-item {
    padding: 6px 6px;
    gap: 7px;
  }
  .sk-hero-nav-title {
    font-size: 11.5px;
    white-space: nowrap;
  }
  .sk-hero-nav-desc {
    font-size: 9.5px;
    white-space: nowrap;
  }
  .sk-hero-nav-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }
  .sk-hero-nav-icon svg {
    width: 20px;
    height: 20px;
  }
  .sk-om-icon {
    font-size: 20px;
  }
}

/* Mobile Devices (320px to 767px) */
@media (max-width: 767px) {
  .sk-hero {
    min-height: 720px;
    background-position: 22% 0%;
    background-size: cover;
  }
  .sk-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 32%,
      rgba(255, 255, 255, 0.65) 54%,
      rgba(15, 23, 42, 0.85) 85%,
      rgba(15, 23, 42, 0.95) 100%
    );
  }
  .sk-hero-container {
    min-height: 720px;
    padding: 16px 14px 18px;
    justify-content: flex-end;
    gap: 14px;
  }
  .sk-hero-row {
    flex-direction: column;
    padding-bottom: 0;
    align-items: center;
    margin-top: auto;
    width: 100%;
    flex: 0 0 auto;
  }
  .sk-hero-spacer {
    height: 170px;
    display: block;
    width: 100%;
    flex: none;
  }
  .sk-hero-content {
    max-width: 100%;
    width: 100%;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    padding: 16px 14px;
    margin: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }
  .sk-hero-ornament {
    margin-bottom: 4px;
  }
  .sk-hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
    margin-bottom: 4px;
  }
  .sk-hero-title {
    font-size: 40px;
    margin-bottom: 2px;
  }
  .sk-hero-accent-trishul {
    margin-bottom: 8px;
  }
  .sk-hero-accent-trishul svg {
    width: 18px;
    height: 18px;
  }
  .sk-hero-desc {
    font-size: 13.5px;
    line-height: 1.5;
    max-width: 100%;
  }

  /* Horizontal swipeable track on mobile */
  .sk-hero-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.92);
    width: 100%;
  }
  .sk-hero-nav::-webkit-scrollbar {
    height: 3px;
  }
  .sk-hero-nav::-webkit-scrollbar-thumb {
    background: rgba(229, 184, 105, 0.4);
    border-radius: 3px;
  }
  .sk-hero-nav-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 155px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
  }
  .sk-hero-nav-item:not(:last-child)::after {
    display: none;
  }
}

/* Micro screens (max 360px) */
@media (max-width: 360px) {
  .sk-hero-title {
    font-size: 34px;
  }
  .sk-hero-eyebrow {
    font-size: 10px;
  }
  .sk-hero-desc {
    font-size: 12.5px;
  }
  .sk-hero-spacer {
    height: 160px;
  }
}
