/* domain-zamacrux.css */

.zamaCrux-domain-page {
  font-family: 'Inter', sans-serif;
  background-color: #0e0f11;
  color: #f0f0f0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* HERO BLOCK */
.zamaCrux-hero {
  position: relative;
  background-image: url('../images/zamacrux-hero-1920.jpg');
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  background-color: rgba(0, 0, 0, 0.25);
  min-height: calc(100vh - 120px);
  padding: 6rem 2rem 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.zamaCrux-hero .content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.zamaCrux-hero h1 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

.zamaCrux-hero .hero-subline {
  font-size: 1.25rem;
  color: #dcdcdc;
}

@media (max-width: 1600px) {
  .zamaCrux-hero {
    background-image: url('../images/zamacrux-hero-1440.jpg');
  }
}
@media (max-width: 1024px) {
  .zamaCrux-hero {
    background-image: url('../images/zamacrux-hero-960.jpg');
  }
}
@media (max-width: 640px) {
  .zamaCrux-hero {
    background-image: url('../images/zamacrux-hero-480.jpg');
  }
}

/* CRUCIBLE TRANSITION IMAGE */
.crucible-transition {
  background-image: url('../images/zamacrux-transition.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  width: 100%;
  height: 300px;
  max-width: 100%;
  margin: 0 auto 4rem;
  border: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* SHARED CENTERED CONTENT */
.centered-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.centered-content .section-heading {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

.centered-content p {
  font-size: 1.1rem;
  color: #bbbbbb;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.crucible-transition::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, #0e0f11 0%, transparent 100%);
  z-index: 2;
}

.crucible-transition::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, #0e0f11 0%, transparent 100%);
  z-index: 2;
  box-shadow: 0 -2px 30px rgba(244, 96, 54, 0.35); /* soft orange glow up */
}

.crucible-transition.parallax {
  background-attachment: fixed;
}

/* PHILOSOPHY SECTION */
.zamaCrux-philosophy-section {
  background-color: #101112;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  border-top: 1px solid #1a1b1d;
  border-bottom: 1px solid #1a1b1d;
}

/* Editorial Triad Block */
.zamaCrux-triad {
  margin: 3rem auto;
  max-width: 720px;
  text-align: center;
  padding: 2rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(2px);
}

.zamaCrux-triad .triad-line {
  display: block;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
  color: #d0d0d0;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s ease-out forwards;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.zamaCrux-triad .triad-line:nth-child(1) {
  animation-delay: 0.2s;
}
.zamaCrux-triad .triad-line:nth-child(2) {
  animation-delay: 0.4s;
}
.zamaCrux-triad .triad-line:nth-child(3) {
  animation-delay: 0.6s;
  color: #ffffff;
  font-weight: 600;
}

.zamaCrux-triad .triad-line strong {
  color: #ffffff;
  font-weight: 600;
}

/* Animation Keyframes */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* DIFFERENTIATORS */
.zamaCrux-differentiators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.zamaCrux-differentiators .column h4 {
  font-size: 1.3rem;
  color: #f46036;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.zamaCrux-differentiators .column p {
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.6;
}

/* MOMENT SECTION */
.zamaCrux-moment-section {
  border-top: 1px solid #1a1b1d;
  padding-top: 3.5rem;
  animation: fadeIn 1.2s ease-in both;
}

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

/* CTA SECTION */
.zamaCrux-cta {
  background: url('../images/zamacrux_cta_bg_@2x.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  padding: 6rem 2rem;
  color: white;
  text-align: center;
  overflow: hidden;
  margin-top: 2rem;
}

@media (max-width: 1440px) {
  .zamaCrux-cta {
    background-image: url('../images/zamacrux_cta_bg_1200.jpg');
  }
}
@media (max-width: 1024px) {
  .zamaCrux-cta {
    background-image: url('../images/zamacrux_cta_bg_900.jpg');
  }
}
@media (max-width: 768px) {
  .zamaCrux-cta {
    background-image: url('../images/zamacrux_cta_bg_640.jpg');
  }
}
@media (max-width: 480px) {
  .zamaCrux-cta {
    background-image: url('../images/zamacrux_cta_bg_480.jpg');
  }
}

.zamaCrux-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.zamaCrux-cta .cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.zamaCrux-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.zamaCrux-cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.zamaCrux-cta .cta-button {
  background-color: #f46036;
  color: white;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

.zamaCrux-cta .cta-button:hover {
  background-color: #d9481b;
  transform: translateY(-2px);
}

/* FOOTER */
.zamacrux-domain-page footer.enetgize-footer {
  background-color: #0e0f11;
  border-top: 1px solid #222;
  color: #bbb;
}

.zamacrux-domain-page .enetgize-footer a {
  color: #f46036;
}

.zamacrux-domain-page .enetgize-footer .footer-tagline {
  color: #ccc;
}

/* HAMBURGER MENU */
.zamacrux-domain-page .hamburger-menu {
  background-color: #0e0f11 !important;
  border-right: 1px solid #1a1b1d;
}
.zamacrux-domain-page .hamburger-menu a {
  color: #f0f0f0;
}
.zamacrux-domain-page .hamburger-menu a:hover {
  color: #f46036;
}

.zamacrux-domain-page .hamburger-menu .logo-wrapper {
  background-color: #0e0f11;
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .zamaCrux-differentiators {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .zamaCrux-hero h1 {
    font-size: 2.2rem;
  }
  .zamaCrux-cta h2 {
    font-size: 2rem;
  }
  .zamaCrux-differentiators {
    grid-template-columns: 1fr;
  }
}

/* STRONG HEADING EMPHASIS */
.zamaCrux-domain-page h2.section-heading strong {
  color: #d4af37;
  font-family: 'Playfair Display', serif;
}

/* ZamaCrux Tooltip (finalized) */
.zama-tooltip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted #888;
  display: inline-block;
  color: #ccc;
}

.zama-tooltip .tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1b1c1e;
  color: #eee;
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: normal;
  max-width: 280px;
  text-align: center;
  z-index: 1000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  transition-delay: 0.15s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.zama-tooltip:hover .tooltip-text,
.zama-tooltip.tooltip-active .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Elevated Inflection Block */
.zamaCrux-inflection-block {
  margin: 3rem auto 0;
  padding: 2rem 2.5rem;
  background: linear-gradient(to right, rgba(244,96,54,0.05), rgba(255,255,255,0.015));
  border-left: 4px solid var(--enet-orange, #f46036);
  border-radius: 0.6rem;
  max-width: 760px;
  color: #e6e6e6;
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 400;
  text-align: left;
  animation: fadeSlideUp 1.2s ease-out both;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.zamaCrux-inflection-block .inflection-lead {
  font-weight: 600;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.zamaCrux-inflection-block .inflection-body {
  font-size: 1.05rem;
  color: #cccccc;
  line-height: 1.6;
}

/* Safari footer bleed fix */
html.zamacrux-domain-page,
body.zamacrux-domain-page {
  background-color: #0e0f11 !important;
}
