/* =============================================
   OAK POINT TRUST - Custom Styles
   Faithful rebuild with Inconsolata + your palette
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;500;600;700&display=swap');

/* ==================== HEADER ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: hsla(165, 60%, 11%, 1);
  background: linear-gradient(90deg, hsla(165, 60%, 11%, 1) 0%, hsla(149, 54%, 31%, 1) 100%);
  background: -moz-linear-gradient(90deg, hsla(165, 60%, 11%, 1) 0%, hsla(149, 54%, 31%, 1) 100%);
  background: -webkit-linear-gradient(90deg, hsla(165, 60%, 11%, 1) 0%, hsla(149, 54%, 31%, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#0B2C24", endColorstr="#247A4D", GradientType=1 );
  border-bottom: 1px solid #D4AF77;
  box-shadow: 0 1px 3px rgba(212, 175, 119, 0.25);
}

.header-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 72px;
  width: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 40px;
}

.main-nav a {
  color: #DFD0B8;
  text-decoration: none;
  margin-left: 0;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s;
}

.secured {
  background: transparent;
  color: #DFD0B8;
  padding: 0;
  border-radius: 0;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
}

.secured:hover {
  color: #D4AF77;
}

/* ==================== VIDEO BACKGROUND - TWO VIDEO SETUP ==================== */
#video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.2s ease-in-out;
  filter: brightness(0.45);     /* Dimmed video */
}

.bg-video.active {
  opacity: 1;
}

/* ==================== GOLD BLACK BACKGROUND ==================== */
body {
  background: url('/assets/images/gold_black_backgrnd.jpg') center top / cover no-repeat fixed;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: #DFD0B8;
}

/* Dark overlay so text is readable */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.72);   /* ← tweak this number if needed (0.6 = lighter, 0.8 = darker) */
  z-index: -1;
  pointer-events: none;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;           /* Changed from height to min-height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  
  border-bottom: 1px solid #D4AF77;
  box-shadow: 0 1px 3px rgba(212, 175, 119, 0.25);
}
/* ==================== LEADERSHIP & OFFICE CARDS ==================== */
.leadership-card {
  background: #393E46;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.leadership-card:hover {
  transform: translateY(-10px);
}

.card-content {
  padding: 25px;
  color: #DFD0B8;
}

.city-name {
  color: #948979;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.person-name {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.person-title {
  color: #948979;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

/* Office Cards */
.office-card {
  background: #393E46;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.office-content {
  padding: 25px;
  color: #DFD0B8;
}

.office-city {
  font-size: 1.4rem;
  font-weight: 600;
}

.office-country {
  color: #948979;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

/* Testimonials */
.testimonial-card {
  background: #393E46;
  padding: 40px 30px;
  border-radius: 8px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: #948979;
  opacity: 0.4;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: #222831;
  padding: 60px 0 40px;
  border-top: 1px solid #393E46;
}

.footer-content p {
  color: #948979;
  text-align: center;
}

.footer-links {
  text-align: center;
  margin-top: 30px;
}

.footer-links a {
  color: #DFD0B8;
  margin: 0 15px;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 3.4rem; }
  .person-image { height: 260px; }
  .office-image { height: 200px; }
  .main-nav a { margin-left: 15px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  h2 { font-size: 2.2rem; }
}
/* =============================================
   FORCE GOLD BACKGROUND TO SHOW THROUGH
   ============================================= */

/* Make sections below hero transparent */
.hero + section,
section:not(.hero),
#timeline,
.timeline,
.timeline-section {
  background: transparent !important;
}

/* Semi-transparent cards so background shows */
.leadership-card,
.office-card,
.testimonial-card {
  background: rgba(57, 62, 70, 0.88) !important;
}

/* Extra spacing & padding for timeline */
.timeline-section,
#timeline-section {
  padding: 120px 20px 80px;
  position: relative;
  z-index: 2;
}
/* Final polish */
main, .container, .content-wrapper {
  background: transparent !important;
}

section {
  background: transparent !important;
}
/* ===== LEGACY VOICES ===== */
.opt-rule { width:100%; height:1px; background:linear-gradient(to right,transparent,#d4af77 20%,#d4af77 80%,transparent); margin-bottom:48px; }
.opt-heading { font-size:2.4rem; font-weight:400; letter-spacing:0.25em; text-transform:uppercase; color:#C4973A !important; -webkit-text-fill-color:#C4973A !important; text-align:center; background:none; margin-bottom:36px; }
.opt-viewport { width:100%; overflow:hidden; position:relative; padding:4px 0 40px; }
.opt-track { display:flex; flex-direction:row; flex-wrap:nowrap; gap:20px; width:max-content; will-change:transform; animation:opt-scroll 55s linear infinite; }
.opt-track:hover { animation-play-state:paused; }
@keyframes opt-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.opt-card { width:300px; min-width:300px; max-width:300px; flex-shrink:0; flex-grow:0; background:#111827; border:1px solid rgba(196,151,58,0.25); border-radius:6px; padding:26px 22px 20px; box-sizing:border-box; display:flex; flex-direction:column; transition:border-color 0.3s; }
.opt-card:hover { border-color:rgba(196,151,58,0.55); }
.opt-quote { font-size:2.6rem; line-height:0.8; color:#C4973A; opacity:0.4; font-family:Georgia,serif; margin-bottom:12px; display:block; }
.opt-text { font-size:0.75rem; line-height:1.85; color:rgba(232,213,163,0.78); font-style:italic; flex:1; margin-bottom:14px; }
.opt-author { font-size:0.55rem; letter-spacing:0.14em; text-transform:uppercase; color:rgba(196,151,58,0.65); border-top:1px solid rgba(196,151,58,0.15); padding-top:10px; line-height:1.6; }
.opt-est { display:block; color:rgba(196,151,58,0.38); margin-top:2px; }
.opt-card { outline: 5px solid red !important; }
