/* ==========================================================================
   KARVA AYURVEDA — OPEN FLOATING EDITORIAL DESIGN (NO HEAVY BOX)
   Strictly Single-Screen (100vh / 100dvh, No Scrolling)
   Light Green Atmosphere • Logo Gold Typographic Radiance
   ========================================================================== */

:root {
  /* Logo Colors */
  --logo-gold: #c89b4f;
  --logo-gold-bright: #eec886;
  --logo-gold-deep: #a87930;
  --logo-gold-glow: rgba(200, 155, 79, 0.45);

  /* Light Green Theme Palette */
  --mint-frost: rgba(240, 252, 244, 0.82);
  --mint-border: rgba(200, 155, 79, 0.38);
  --mint-soft: #f4faf6;
  --forest-dark: #07190d;
  --text-dark: #121c15;

  /* Fonts */
  --font-editorial: 'Italiana', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden; /* Strict: absolutely zero scroll */
  font-family: var(--font-sans);
  background-color: var(--forest-dark);
  color: #ffffff;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. FULLSCREEN VIBRANT FORESTRY VIDEO
   ========================================================================== */
.video-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.forest-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

/* Very subtle cinematic vignette so the forestry stays clearly visible */
.forest-lens-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(235, 248, 239, 0.08) 0%,
    rgba(10, 32, 18, 0.38) 60%,
    rgba(5, 18, 9, 0.72) 100%
  );
}

/* Soft ambient golden canopy light effect */
.canopy-light-beams {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 450px;
  background: radial-gradient(circle, rgba(200, 155, 79, 0.18) 0%, rgba(200, 155, 79, 0) 70%);
  filter: blur(50px);
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   2. VIEWPORT CANVAS (ZERO SCROLLING, BALANCED VERTICAL ALIGNMENT)
   ========================================================================== */
.canvas-viewport {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px 18px;
  overflow: hidden;
}

/* Vertical balance spacer */
.top-spacer {
  height: 2px;
  visibility: hidden;
}

/* ==========================================================================
   3. EDITORIAL HERO (OPEN, EXPANSIVE, MODERN LUXURY)
   ========================================================================== */
.editorial-hero {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 920px;
  width: 100%;
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FLOATING LOGO DISK ON VIDEO */
.floating-logo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Background of logo removed per user request; dark shadow highlights the logo */
.logo-light-disk {
  display: none;
}

.karva-emblem-logo {
  position: relative;
  z-index: 2;
  max-width: 450px;
  width: 82vw;
  height: auto;
  max-height: 98px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s ease;
}

.karva-emblem-logo:hover {
  transform: scale(1.02);
}

/* COMING SOON BANNER & ANIMATIONS */
.coming-soon-ribbon {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(240, 252, 244, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 155, 79, 0.45);
  padding: 6px 24px;
  border-radius: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 15px rgba(212, 163, 89, 0.2);
  animation: 
    ribbonEntrance 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both,
    ribbonPulse 4s ease-in-out infinite 1.2s;
}

@keyframes ribbonEntrance {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ribbonPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 10px rgba(212, 163, 89, 0.15);
    border-color: rgba(200, 155, 79, 0.45);
  }
  50% {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2), 0 0 24px rgba(212, 163, 89, 0.45);
    border-color: rgba(230, 185, 99, 0.85);
  }
}

.ornament-leaf {
  color: var(--logo-gold);
  font-size: 0.8rem;
  display: inline-block;
  animation: starTwinkle 3.2s ease-in-out infinite;
}

.coming-soon-ribbon .ornament-leaf:last-child {
  animation-delay: 1.6s;
}

@keyframes starTwinkle {
  0%, 100% {
    transform: scale(0.85) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.3) rotate(90deg);
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(212, 163, 89, 0.85));
  }
}

.coming-soon-label {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.38em;
  color: #1f2937;
  text-shadow: none;
  margin-left: 0.38em;
}

/* MONUMENTAL EDITORIAL HEADLINE WITH SHIMMERING LIGHT WAVE */
.monumental-heading {
  font-family: var(--font-editorial);
  font-size: 3.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #ffffff 32%,
    #fef3c7 44%,
    #f59e0b 50%,
    #fffbeb 56%,
    #ffffff 68%,
    #ffffff 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ffffff;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.85)) drop-shadow(0 4px 30px rgba(0, 20, 10, 0.8));
  animation: 
    headingEntrance 1.2s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both,
    headingShimmer 6s ease-in-out infinite 1.5s;
  margin-bottom: 22px;
}

@keyframes headingEntrance {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    letter-spacing: 0.1em;
    filter: blur(8px) drop-shadow(0 2px 14px rgba(0, 0, 0, 0.85));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 0.04em;
    filter: blur(0px) drop-shadow(0 2px 14px rgba(0, 0, 0, 0.85)) drop-shadow(0 4px 30px rgba(0, 20, 10, 0.8));
  }
}

@keyframes headingShimmer {
  0% {
    background-position: 100% 0;
  }
  42% {
    background-position: -25% 0;
  }
  100% {
    background-position: -25% 0;
  }
}

/* NARRATIVE PILL WITH ENTRANCE & BREATHING ACCENT */
.narrative-pill {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  padding: 0 16px;
  max-width: 720px;
  margin-bottom: 0;
  animation: narrativeEntrance 1.2s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes narrativeEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

.narrative-content {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ffffff;
  font-weight: 400;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.narrative-content strong {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   6. BOTTOM NAV ROW (NO BACKGROUND, WHITE TEXT PER USER REQUEST)
   ========================================================================== */
.bottom-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 960px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 8px 10px;
  border: none;
  border-radius: 0;
  font-size: 0.8rem;
  color: #ffffff;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85), 0 2px 14px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 0.8s ease-out;
}

.footer-mail-link,
.footer-phone-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-mail-link:hover,
.footer-phone-link:hover {
  color: var(--logo-gold-bright);
  text-decoration-color: var(--logo-gold-bright);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   7. RESPONSIVE SCREEN-FITTING (STRICT ZERO-SCROLL ACROSS ALL HEIGHTS)
   ========================================================================== */
@media (max-height: 840px) {
  .canvas-viewport {
    padding: 16px 20px 14px;
  }
  .karva-emblem-logo {
    max-height: 80px;
  }
  .logo-light-disk {
    width: 400px;
    height: 95px;
  }
  .floating-logo-stage {
    margin-bottom: 14px;
  }
  .monumental-heading {
    font-size: 2.8rem;
    margin-bottom: 14px;
  }
  .narrative-pill {
    padding: 10px 22px;
    margin-bottom: 20px;
  }
  .narrative-content {
    font-size: 0.88rem;
  }
}

@media (max-height: 680px) {
  .canvas-viewport {
    padding: 10px 16px 10px;
  }
  .floating-logo-stage {
    margin-bottom: 10px;
  }
  .karva-emblem-logo {
    max-height: 64px;
  }
  .coming-soon-ribbon {
    padding: 4px 18px;
    margin-bottom: 10px;
  }
  .coming-soon-label {
    font-size: 0.95rem;
  }
  .monumental-heading {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  .narrative-pill {
    padding: 0 10px;
    margin-bottom: 0;
  }
  .narrative-content {
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .bottom-nav-row {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
}

@media (max-width: 600px) {
  .canvas-viewport {
    padding: 12px 14px 10px;
  }
  .floating-logo-stage {
    margin-bottom: 12px;
  }
  .karva-emblem-logo {
    max-height: 70px;
    width: 82vw;
  }
  .coming-soon-ribbon {
    padding: 5px 16px;
    margin-bottom: 14px;
    gap: 10px;
  }
  .coming-soon-label {
    font-size: 0.95rem;
    letter-spacing: 0.28em;
  }
  .monumental-heading {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .narrative-pill {
    padding: 0 10px;
    margin-bottom: 0;
  }
  .narrative-content {
    font-size: 0.84rem;
    line-height: 1.5;
  }
  .hide-mobile {
    display: none;
  }
  .bottom-nav-row {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    background: transparent;
    border: none;
    padding: 6px 0;
  }
}
