/* ===========================
   PHILOSOPHY PAGE STYLES
   Pixel-perfect recreation
   =========================== */

/* Override navbar for philosophy page */
.navbar-light {
  background-color: var(--black);
}

.nav-link-dark {
  color: rgba(255, 255, 255, 0.88) !important;
}

.logo-dark {
  filter: brightness(0) invert(1);
}

/* ===========================
   PHILOSOPHY HERO
   =========================== */

.phil-hero {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-top: 62px;
}

.phil-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.phil-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.phil-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.phil-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 50px 52px;
  max-width: 780px;
}

.phil-hero-text {
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.65;
  letter-spacing: 0.005em;
  font-family: var(--font-sans);
}

/* ===========================
   ETHOS SECTION
   =========================== */

.ethos-section {
  background-color: var(--cream);
  padding: 72px 50px 64px;
}

.ethos-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.ethos-table {
  margin-top: 20px;
  border-top: 1px solid var(--gold);
}

.ethos-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(181, 151, 58, 0.25);
}

.ethos-left {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.55;
  padding-right: 20px;
  font-family: var(--font-sans);
}

.ethos-right {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.75;
  opacity: 0.82;
  font-family: var(--font-sans);
}

.ethos-right p {
  margin-bottom: 1px;
  line-height: 1.75;
}

/* ===========================
   WHAT WE BELIEVE SECTION
   =========================== */

.believe-section {
  background-color: var(--black);
  padding: 72px 50px 120px;
}

.believe-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.believe-section .section-title-gold {
  color: var(--gold-bright);
  margin-bottom: 44px;
}

.believe-table {
  border-top: 1px solid rgba(181, 151, 58, 0.35);
}

.believe-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.believe-left {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.55;
  padding-right: 20px;
  font-family: var(--font-sans);
}

.believe-right {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  font-family: var(--font-sans);
}

.believe-right p {
  margin-bottom: 4px;
  line-height: 1.75;
}

/* ===========================
   FOOTER DARK VARIANT (philosophy page)
   =========================== */

.footer-dark {
  background-color: var(--cream);
  padding-bottom: 0;
}

.footer-dark .footer-bottom {
  background-color: var(--black);
  margin: 0 -50px;
  padding: 18px 50px;
  border-top: none;
  margin-top: 44px;
}

.footer-dark .footer-bottom p {
  color: rgba(255, 255, 255, 0.65);
  opacity: 1;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1100px) {
  .phil-hero-content,
  .ethos-section,
  .believe-section {
    padding-left: 32px;
    padding-right: 32px;
  }
  
  .footer-dark .footer-bottom {
    margin: 0 -32px;
    padding: 18px 32px;
  }
}

@media (max-width: 768px) {
  .phil-hero {
    height: 380px;
  }
  
  .phil-hero-content {
    padding: 0 20px 36px;
  }
  
  .phil-hero-text {
    font-size: 16px;
  }
  
  .ethos-row,
  .believe-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }
  
  .ethos-section,
  .believe-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .footer-dark .footer-bottom {
    margin: 0 -20px;
    padding: 18px 20px;
  }
}
