/* ═══════════════════════════════════════════════════════════════
   SITA Home Page Specific Styles
═══════════════════════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--maroon-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.hero__slide.active {
  opacity: 1;
  z-index: 1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.05);
}

.hero__slide.active .hero__img {
  animation: heroZoom 15s ease-in-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 8, 10, 0.55) 0%,
    rgba(26, 8, 10, 0.4) 40%,
    rgba(26, 8, 10, 0.8) 100%
  );
  z-index: 2;
}

.hero__controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 4;
}

.hero__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.hero__btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A44C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 3;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 4rem;
}

.hero__text {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero__title {
  color: var(--ivory);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 2vw, 1rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: rgba(248, 245, 238, 0.9);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(248, 245, 238, 0.9);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}

.hero__scroll-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 164, 76, 0.7);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ── Stats ──────────────────────────────────────────────────── */
.stats-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A44C' fill-opacity='0.05'%3E%3Cpath d='M20 20.5V18H0v5h5v5H0v5h20v-9.5zm-2 4.5h-1v-1h1v1zm-1 2h1v1h-1v-1zm-1-2h1v1h-1v-1zm-1 2h1v1h-1v-1zm-1-2h1v1h-1v-1zm-1 2h1v1h-1v-1zm-1-2h1v1h-1v-1zm-1 2h1v1h-1v-1z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── Pillars ────────────────────────────────────────────────── */
.pillars-section {
  position: relative;
  overflow: hidden;
}

.pillars-section__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/founder-3.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pillars-section__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 8, 10, 0.65);
}



.pillars-section .section-header .heading-2 {
  color: var(--ivory);
}

.pillars-grid {
  gap: 1.5rem;
}

.pillar-card {
  background: linear-gradient(145deg, rgba(20, 10, 10, 0.8), rgba(20, 10, 10, 0.6));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 164, 76, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-elegant);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 164, 76, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background: linear-gradient(145deg, rgba(20, 10, 10, 0.9), rgba(20, 10, 10, 0.7));
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card--featured {
  border-color: rgba(201, 164, 76, 0.6);
  background: linear-gradient(145deg, rgba(43, 20, 24, 0.8), rgba(20, 10, 10, 0.6));
}

.pillar-card__number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201, 164, 76, 0.08);
  line-height: 1;
  margin-bottom: -1rem;
  position: relative;
  z-index: 0;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--ivory);
  margin-bottom: 1.5rem;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.pillar-card__desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(248, 245, 238, 0.85);
  line-height: 1.6;
  letter-spacing: 0.05em;
}

/* ── Founder Preview ────────────────────────────────────────── */
.founder-preview {
  overflow: hidden;
}

.founder-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.founder-preview__image img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-preview__content {
  padding: 4rem clamp(2rem, 6vw, 6rem);
}

.founder-preview__img-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(90, 30, 36, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.founder-preview__content .ornament {
  margin: 1rem 0 1.5rem;
}

.founder-preview__content .heading-2 {
  margin-bottom: 0.5rem;
}

/* ── Certification Banner ───────────────────────────────────── */
.certification-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 6rem 0;
}

.certification-banner__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/gallery-12.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.certification-banner__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 8, 10, 0.65);
}

.certification-banner__content {
  position: relative;
  z-index: 2;
}

.certification-banner__icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
}

.certification-banner .subheading {
  margin-bottom: 1rem;
}

/* ── Join CTA ───────────────────────────────────────────────── */
.join-cta {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
}

.join-cta__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/gallery-32.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.join-cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 8, 10, 0.65);
}



/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .founder-preview__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .founder-preview__img-wrap img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .hero__title {
    font-size: clamp(4rem, 18vw, 7rem);
    letter-spacing: 0.1em;
  }
}
