/* ============================================
   PROPHET GUESTS - HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--topbar-height) + var(--header-height));
  overflow: hidden;
  clip-path: inset(0);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero__canvas.is-loaded ~ .hero__bg {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.5) 0%,
    rgba(26, 26, 46, 0.3) 50%,
    rgba(26, 26, 46, 0.5) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 900px;
  padding: var(--space-8);
}

.hero__eyebrow {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-gold);
  margin-bottom: var(--space-6);
  opacity: 0;
}

.hero.is-loaded .hero__eyebrow {
  animation: fadeUp 0.8s ease-out forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-7xl);
  font-weight: 300;
  font-style: italic;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 20px rgba(26, 26, 46, 0.5), 0 4px 40px rgba(26, 26, 46, 0.3);
  opacity: 0;
}

.hero.is-loaded .hero__title {
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.hero__subtitle {
  font-size: var(--text-xl);
  font-weight: 300;
  opacity: 0;
  margin-bottom: var(--space-10);
  text-shadow: 0 2px 10px rgba(26, 26, 46, 0.5);
}

.hero.is-loaded .hero__subtitle {
  animation: fadeUp 0.8s ease-out 0.4s forwards;
}

.hero__cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

.hero.is-loaded .hero__cta {
  animation: fadeUp 0.8s ease-out 0.6s forwards;
}

/* ------------------------------------------
   NEW HERO LAYOUT - BISMILLAH + BRAND + HEADLINE
   ------------------------------------------ */
.hero__bismillah-img {
  max-width: 100%;
  width: clamp(120px, 20vw, 180px);
  height: auto;
  margin: 0 auto 0.5rem;
  filter: drop-shadow(0 2px 10px rgba(26, 26, 46, 0.5));
  opacity: 0;
  display: block;
}

.hero.is-loaded .hero__bismillah-img {
  animation: fadeUp 0.8s ease-out forwards;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--color-white);
  margin-top: -17px;
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-wide);
  opacity: 0;
  position: relative;
  padding-bottom: 0.75rem;
}

.hero__brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 2px;
  background: var(--color-gold);
}

.hero.is-loaded .hero__brand {
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-10);
  opacity: 0;
}

.hero.is-loaded .hero__headline {
  animation: fadeUp 0.8s ease-out 0.4s forwards;
}

@media (min-width: 769px) and (max-width: 1050px) {
  .hero__content {
    margin-top: 275px;
  }
}

@media (min-width: 1051px) {
  .hero__content {
    margin-top: -70px;
  }
}

@media (max-width: 768px) {
  .hero {
    align-items: center;
    padding-top: calc(var(--topbar-height) + var(--header-height));
  }
  
  .hero__content {
    padding: var(--space-4);
    margin-top: -240px;
  }
  
  .hero__bismillah-img {
    width: 160px;
    margin-bottom: 0.5rem;
  }
  
  .hero__brand {
    font-size: 1.25rem;
    margin-top: -12px;
    margin-bottom: var(--space-4);
    padding-bottom: 0.75rem;
  }
  
  .hero__brand::after {
    width: 180px;
    height: 1px;
  }
  
  .hero__headline {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
  }
}

/* ------------------------------------------
   SCROLL INDICATOR
   ------------------------------------------ */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-gold);
  animation: bounce 2s infinite;
  cursor: pointer;
}

.hero__scroll-text {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.hero__scroll-icon {
  width: 24px;
  height: 24px;
}

/* ------------------------------------------
   TRUST BAR
   ------------------------------------------ */
.trust-bar {
  background: var(--color-deep);
  padding: var(--space-6) 0;
  overflow: hidden;
  margin-top: -1px;
}

.trust-bar__marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.trust-bar__track {
  display: flex;
  animation: trust-marquee 25s linear infinite;
  width: max-content;
}

.trust-bar__marquee:hover .trust-bar__track {
  animation-play-state: paused;
}

@keyframes trust-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-white);
  padding: 0 var(--space-10);
  flex-shrink: 0;
}

.trust-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
  font-size: 20px;
}

.trust-bar__text {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
  line-height: 1;
}

/* ------------------------------------------
   SECTION HERO (SMALLER)
   ------------------------------------------ */
.section-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--topbar-height) + var(--header-height) - 20px);
  background: linear-gradient(135deg, var(--color-deep) 0%, var(--color-deep-light) 100%);
}

.section-hero__content {
  text-align: center;
  color: var(--color-white);
  padding: var(--space-8);
}

.section-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  opacity: 0;
}

.section-hero.is-loaded .section-hero__title {
  animation: fadeUp 0.8s ease-out forwards;
}

.section-hero__subtitle {
  font-size: var(--text-lg);
  opacity: 0;
}

.section-hero.is-loaded .section-hero__subtitle {
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

/* ------------------------------------------
   BREADCRUMBS
   ------------------------------------------ */
.breadcrumbs {
  padding: var(--space-4) 0;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-grey-light);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-grey-warm);
}

.breadcrumbs__link {
  transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
  color: var(--color-gold);
}

.breadcrumbs__current {
  color: var(--color-deep);
  font-weight: 500;
}

.breadcrumbs__separator {
  color: var(--color-grey-light);
}

/* ------------------------------------------
   ANIMATIONS
   ------------------------------------------ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ------------------------------------------
   RESPONSIVE
   ------------------------------------------ */
@media (max-width: 1024px) {
  .hero__title {
    font-size: var(--text-6xl);
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: var(--text-4xl);
  }
  
  .hero__subtitle {
    font-size: var(--text-lg);
  }
  
  .trust-bar__item {
    padding: 0 var(--space-6);
    gap: var(--space-2);
  }
  
  .trust-bar__text {
    font-size: var(--text-xs);
  }
  
  .trust-bar__icon {
    width: 18px;
    height: 18px;
    font-size: 18px;
  }
  
  .section-hero__title {
    font-size: var(--text-4xl);
  }
}
