/* ========================================
   HOME PAGE STYLES
   ======================================== */

/* Hero Section */
.home-hero {
  position: relative;
  background: linear-gradient(180deg, #2E221B 0%, #160e09 40%, #000000 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Horizontal line at bottom of hero */
.home-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #C9A86A;
  z-index: 3;
  opacity: 0.2;
}

.hero-image-left,
.hero-image-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 320px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

.hero-image-left {
  left: 0;
  box-shadow: 15px 0 10px rgba(0, 0, 0, 0.8);
}


.hero-image-left::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to right, rgba(12, 8, 6, 0.2) 0%, rgba(46, 30, 20, 0.95) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-image-right {
  right: 0;
  box-shadow: -15px 0 10px rgba(0, 0, 0, 0.8);
}


.hero-image-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to left, rgba(12, 8, 6, 0.2) 0%, rgba(46, 30, 20, 0.95) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-image-left img,
.hero-image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.hero-content {
  max-width: 900px;
  padding: 2rem;
  position: relative;
  z-index: 2;
  margin-top: -100px;
}

.hero-logo {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  max-width: 280px;
  height: auto;
  margin-bottom: 1rem;
}

.hero-est {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: rgba(248, 246, 240, 0.6);
  font-weight: 300;
}

.hero-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

.hero-title {
  margin-bottom: var(--spacing-md);
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(248, 246, 240, 0.8);
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(248, 246, 240, 0.7);
  font-size: 0.75rem;
  text-align: center;
  z-index: 2;
}

/* Legacy Timeline Section */
.timeline-wrapper {
  position: relative;
  padding: var(--spacing-lg) 0;
}

/* Legacy section background and visual image */
.legacy-section {
  background: linear-gradient(180deg, #0b0706 0%, #2E221B 100%, #2E221B 30%);
  padding-top: calc(var(--spacing-xl) + 2rem);
  padding-bottom: calc(var(--spacing-xl) + 2rem);
} 

.timeline-visual {
  max-width: 1100px;
  margin: 0 auto 2rem auto;
  position: relative;
  margin-top: calc(var(--spacing-xxl));
}

.timeline-visual img {
  width: 100%;
  display: block;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  filter: saturate(0.5) contrast(0.9);
} 

/* Cross (+) decorations at each image corner using inline spans */
.timeline-visual .cross {
  position: absolute;
  width: 100px;
  height: 100px;
  z-index: 4;
  pointer-events: none;
  background-image: linear-gradient(#C9A86A,#C9A86A), linear-gradient(#C9A86A,#C9A86A);
  background-repeat: no-repeat, no-repeat;
  background-size: 100px 2px, 2px 100px;
  background-position: center center;
  opacity: 0.18;
  transform-origin: center center;
}

.timeline-visual .cross-tl { top: 0; left: 0; transform: translate(-50%, -50%); }
@media (max-width: 700px) {
  .timeline-visual .cross {
    display: none;
  }
}
.timeline-visual .cross-tr { top: 0; right: 0; transform: translate(50%, -50%); }
.timeline-visual .cross-bl { bottom: 0; left: 0; transform: translate(-50%, 50%); }
.timeline-visual .cross-br { bottom: 0; right: 0; transform: translate(50%, 50%); }

.timeline-intro {
  text-align: center;
  margin-bottom: 3rem;
}


.title {
  color: var(--gold);
  padding-bottom: var(--spacing-md);
}

.founder-label {
  color: var(--gold);
  padding-bottom: var(--spacing-md);
}
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(194, 168, 120, 0.2);
  transform: translateY(-50%);
}

.timeline-items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.timeline-item {
  text-align: center;
  flex: 1;
  position: relative;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.timeline-year::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid var(--bg);
  border-radius: 50%;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-event {
  font-size: 0.95rem;
  color: rgba(248, 246, 240, 0.7);
  padding: 0 1rem;
}

/* Founder Section */
.founder-section {
  background: linear-gradient(180deg, #2E221B 0%, #160e09 40%, #000000 100%);
  padding: var(--spacing-xl) 0;
  border-top: 1px solid rgba(194, 168, 120, 0.3);
}

.founder-header {
  text-align: center;
  /* margin-bottom: var(--spacing-md); */
}

.founder-header h2 {
  margin-bottom: var(--spacing-sm);
}

.founder-content {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: var(--spacing-md);
  align-items: center;
  justify-items: center;
  margin: 0 auto;
  max-width: 1400px;
}

.founder-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: visible;
  border: 1px solid rgba(194, 168, 120, 0.2);
  max-width: 420px;
  height: 550px;
  margin-top: var(--spacing-lg);
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

/* Cross (+) decorations at each image corner for founder */
.founder-image .cross {
  position: absolute;
  width: 100px;
  height: 100px;
  z-index: 4;
  pointer-events: none;
  background-image: linear-gradient(#C9A86A,#C9A86A), linear-gradient(#C9A86A,#C9A86A);
  background-repeat: no-repeat, no-repeat;
  background-size: 100px 2px, 2px 100px;
  background-position: center center;
  opacity: 0.28;
  transform-origin: center center;
}

@media (max-width: 700px) {
  .founder-image .cross {
    display: none;
  }
}


.founder-image .cross-tl { top: 0; left: 0; transform: translate(-50%, -50%); }
.founder-image .cross-tr { top: 0; right: 0; transform: translate(50%, -50%); }
.founder-image .cross-bl { bottom: 0; left: 0; transform: translate(-50%, 50%); }
.founder-image .cross-br { bottom: 0; right: 0; transform: translate(50%, 50%); }

.founder-text h2 {
  margin-bottom: var(--spacing-lg);
}

.founder-text p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  max-width: 1000px;
}

/* Business Sectors */
.business-sectors-section {
  background: #000000;
  padding: var(--spacing-xxl) 0;
  border-top: 1px solid rgba(194, 168, 120, 0.2);
}


.business-sectors-section h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  /* margin-bottom: var(--spacing-xl); */
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: var(--spacing-xl);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sector-card {
  background: transparent;
  border: 1px solid rgba(194, 168, 120, 0.3);
  padding: var(--spacing-xl);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.sector-card:hover {
  background: rgba(194, 168, 120, 0.05);
  border-color: var(--gold);
  z-index: 1;
}

.sector-card h3 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
}

.sector-card p {
  color: rgba(248, 246, 240, 0.85);
  line-height: 1.7;
  font-size: 1rem;
}

/* Principles Section */
.principles-section {
  background: linear-gradient(180deg, #0D0E10 0%, #1a1513 50%, #0D0E10 100%);
  padding: var(--spacing-xxl) 0;
  border-top: 1px solid rgba(194, 168, 120, 0.2);
}


.principles-section h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-md);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xxl);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.principle-item {
  text-align: center;
}

.principle-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  color: #000000;
}

.principle-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.principle-item h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 500;
  font-family: var(--font-heading);
}

.principle-item p {
  font-size: 1rem;
  color: rgba(248, 246, 240, 0.85);
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  background:linear-gradient(180deg, #0D0E10 0%, #1a1513 50%, #0D0E10 100%);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  border-top: 1px solid rgba(194, 168, 120, 0.2);
}


.stats-section h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xxl);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* CSR Section */
.csr-section {
  background: linear-gradient(180deg, #000000 10%, #2E221B 60%, #2E221B 100%);
  padding: var(--spacing-xxl) 0;
  border-top: 1px solid rgba(194, 168, 120, 0.2);
}


.csr-section h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-md);
}

.csr-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxl);
  max-width: 1100px;
  margin: var(--spacing-xl) auto 0 auto;
  padding: 80px var(--spacing-md);
}

.csr-item {
  position: relative;
  padding-left: 0;
}

.csr-item::before { display: none; }

.csr-item::after { display: none; }

.csr-item h3 {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.csr-item h3::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -80px;
  width: 420px;
  height: 1px;
  background: rgba(194, 168, 120, 0.3);
}

.csr-item h3::after {
  content: '';
  position: absolute;
  top: -55px;
  left: -20px;
  width: 1px;
  height: 160px;
  background: rgba(194, 168, 120, 0.3);
}

.csr-item p {
  color: rgba(248, 246, 240, 0.85);
  line-height: 1.8;
  max-width: 1000px;
}

@media (max-width: 768px) {
  .csr-item {
    padding-left: 0;
  }
  .csr-item::before,
  .csr-item::after {
    display: none;
  }
}

/* Vision Section */
.vision-section {
  background: linear-gradient(180deg, #2E221B 0%, #160e09 40%, #000000 100%);
  padding: var(--spacing-xxl) 0;
  border-top: 1px solid rgba(80, 61, 27, 0.2);
}

.vision-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  text-align: center;
}


.vision-section h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  /* margin-bottom: var(--spacing-xl);   */
  line-height: 1.2;
}

.vision-text {
  max-width: 900px;
  margin: 0 auto;
}

.vision-text p {
  color: rgba(248, 246, 240, 0.85);
  line-height: 1.8;
  font-size: 1.125rem;
  margin-bottom: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.vision-text p:last-child {
  margin-bottom: 0;
}

/* Final CTA Section */
.final-cta-section {
  background: linear-gradient(135deg, #3d2f24 0%, #2a1f18 50%, #3d2f24 100%);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  border-top: 1px solid rgba(194, 168, 120, 0.2);
}

.final-cta-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.final-cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.final-cta-section p {
  color: rgba(248, 246, 240, 0.85);
  line-height: 1.8;
  font-size: 1.125rem;
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-section .btn {
  margin-top: var(--spacing-md);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-image-left,
  .hero-image-right {
    width: 180px;
  }
  
  .founder-content {
    grid-template-columns: 1fr;
  }
  
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-items {
    flex-wrap: wrap;
    gap: var(--spacing-lg);
  }
  
  .timeline-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-image-left,
  .hero-image-right {
    display: none;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .principles-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .sectors-grid {
    grid-template-columns: 1fr;
  }
}

/* Interactive Timeline Section */
.timeline-horizontal {
  padding: 180px 0 60px 0;
  /* background: linear-gradient(180deg, rgba(12, 10, 8, 0.85) 0%, rgba(20, 16, 12, 0.85) 100%); */
}

.timeline-top-line {
  display: none;
}

.timeline-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 var(--spacing-md);
}

.timeline-nav {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: absolute;
  top: 90px;
  transform: translateY(-50%);
  z-index: 10;
}

.timeline-nav.timeline-prev {
  left: 0;
}

.timeline-nav.timeline-next {
  right: 0;
}

.timeline-nav:hover {
  background: none;
  transform: translateY(-50%) scale(1.1);
}

.timeline-scroll {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
  scroll-snap-type: x mandatory;
}

.timeline-scroll::-webkit-scrollbar {
  display: none;
}

.timeline-track {
  display: flex;
  gap: 80px;
  min-width: min-content;
  position: relative;
  padding: 20px 50%;
  align-items: flex-start;
  justify-content: flex-start;
  height: 120px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 90px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(194, 168, 120, 0.6);
  z-index: 0;
}

.timeline-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
  gap: 6px;
  padding-bottom: 30px; /* space for the dot on the line */
  scroll-snap-align: center;
}



.timeline-year-label {
  color: rgba(194, 168, 120, 0.9);
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.3s ease;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #040302;
  border: 3px solid rgba(194, 168, 120, 0.7);
  flex-shrink: 0;
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.timeline-item-wrapper.active .timeline-dot {
  background: var(--gold);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(194, 168, 120, 0.7);
  box-shadow: 0 0 0 3px rgba(194, 168, 120, 0.18);
}

.timeline-item-wrapper.active .timeline-year-label {
  color: var(--gold);
  font-weight: 600;
}

.timeline-content {
  margin-top: 80px;
  padding: 0 var(--spacing-md);
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.timeline-event-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: top 0.4s ease, height 0.4s ease;
  pointer-events: none;
  width: 2px;
  background: rgba(194, 168, 120, 0.6);
}

/* Horizontal connector from active dot to vertical line */
.timeline-event-connector::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(194, 168, 120, 0.5);
  transition: width 0.2s ease;
}

.timeline-event-title {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 16px;
  text-align: center;
  display: none;
}

.timeline-connector-line {
  width: 1px;
  height: 55px;
  background: rgba(194, 168, 120, 0.5);
  position: relative;
  display: none;
}

.timeline-event-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 168, 120, 0.18);
  position: absolute;
  bottom: -9px;
  left: -9px;
  z-index: 2;
}

.timeline-event-box {
  border: 1px solid rgba(194, 168, 120, 0.5);
  padding: 32px 40px;
  background: rgba(194, 168, 120, 0.03);
  border-radius: var(--radius-md);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  margin-left: 0;
}

.timeline-event-box h3 {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.timeline-event-description {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  font-size: 1rem;
}

/* Year badge inside event box */
.timeline-year-badge {
  display: none;
}

/* About Legacy Section */
.about-legacy-section {
  background: linear-gradient(180deg, #000000 10%, #2E221B 60%, #2E221B 100%);
  padding: var(--spacing-xxl) 0;  border-top: 1px solid rgba(194, 168, 120, 0.2);}

.about-legacy-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.about-label {
  color: var(--gold);
  margin-bottom: var(--spacing-md);
}

.about-legacy-content h2 {
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.about-legacy-content .divider {
  margin-left: 0;
  margin-right: auto;
}

.about-text {
  margin-bottom: var(--spacing-lg);
}

.about-text p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  color: rgba(248, 246, 240, 0.85);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-legacy-content .btn {
  margin-top: var(--spacing-md);
}

/* Who We Are & Ethos Section */
.who-we-are-section {
  background: linear-gradient(180deg, #2E221B 0%, #160e09 40%, #000000 100%);
  padding: var(--spacing-xxl) 0;
  border-top: 1px solid rgba(253, 252, 249, 0.2);
}

.who-we-are-content,
.ethos-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.who-we-are-content {
  margin-bottom: var(--spacing-xxl);
}

.who-we-are-content h2,
.ethos-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.who-we-are-content p,
.ethos-content p {
  line-height: 1.8;
  color: rgba(248, 246, 240, 0.85);
  font-size: 1.125rem;
}
