/* ========== STICKY TAB NAVIGATION ========== */
.philosophy-tabs-sticky {
  /* position: sticky;
  top: 70px; */
  background: var(--color-light);
  /* z-index: 100; */
  padding: var(--spacing-xl) var(--spacing-xl);
  border-bottom: 1px solid var(--color-light-tertiary);
  margin: 0 auto;
}

.philosophy-tabs-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: var(--philosophy-tab-gap);
}

/* ========== PHILOSOPHY SECTION ========== */
.philosophy {
  background: var(--color-light);
  /* padding-top: 8rem; */
  min-height: 100vh;
}

.philosophy-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--section-padding);
}

/* Philosophy Tab Links */
.philosophy-tab {
  background: none;
  border: none;
  padding: var(--spacing-md) 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-light);
  letter-spacing: var(--letter-spacing-md);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-primary);
  text-transform: uppercase;
  position: relative;
}

.philosophy-tab:hover {
  color: var(--color-text-primary);
}

.philosophy-tab.active {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-normal);
}

.philosophy-tab.active::after {
  content: "";
  position: absolute;
  bottom: -var(--spacing-xl);
  left: 0;
  right: 0;
  height: 2px;
  bottom: 0;
  background: var(--color-text-primary);
}

/* Philosophy Item (Content Block) */
.philosophy-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--philosophy-content-gap);
  align-items: flex-start;
  margin-bottom: var(--spacing-4xl);
  scroll-margin-top: 150px;
}

.philosophy-item:last-child {
  margin-bottom: 0;
}

/* Alternating layout */
/* .philosophy-item:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.philosophy-item:nth-child(even) .philosophy-image {
  order: 2;
}

.philosophy-item:nth-child(even) .philosophy-text {
  order: 1;
} */

.philosophy-image {
  overflow: hidden;
  height: 450px;
  position: relative;
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.philosophy-image:hover img {
  transform: scale(1.05);
}

.philosophy-image-caption {
  position: absolute;
  bottom: var(--spacing-md);
  left: var(--spacing-md);
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-light);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-sm);
  font-weight: var(--font-weight-light);
}

.philosophy-text h3 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-light);
  letter-spacing: var(--letter-spacing-md);
  margin-bottom: var(--spacing-xl);
  color: var(--color-text-primary);
  text-transform: uppercase;
}

.philosophy-text p {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-lg);
  font-weight: var(--font-weight-light);
  text-align: justify;
}

.philosophy-text p:last-child {
  margin-bottom: 0;
}

.philosophy-divider {
  height: 1px;
  background: var(--color-light-tertiary);
  margin: var(--spacing-4xl) 0;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  /* .philosophy {
    padding-top: 7rem;
  } */

  .philosophy-tabs-sticky {
    top: 60px;
    padding: var(--spacing-md);
  }

  .philosophy-tabs-container {
    gap: var(--spacing-md);
  }

  .philosophy-tab {
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm) 0;
  }

  .philosophy-tab.active::after {
    bottom: -var(--spacing-md);
  }

  .philosophy-item {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
  }

  .philosophy-item:nth-child(even) .philosophy-image {
    order: 0;
  }

  .philosophy-item:nth-child(even) .philosophy-text {
    order: 0;
  }

  .philosophy-image {
    height: 300px;
  }

  .philosophy-text h3 {
    font-size: 1.8rem;
  }

  .philosophy-text p {
    font-size: var(--font-size-sm);
  }

  .philosophy-divider {
    margin: var(--spacing-2xl) 0;
  }
}

@media (max-width: 480px) {
  header {
    padding: var(--header-padding-sm);
  }

  .logo {
    font-size: 1.2rem;
  }

  .back-link {
    font-size: 0.75rem;
  }

  /* .philosophy {
    padding: var(--section-padding-md);
    padding-top: 6rem;
  } */

  .philosophy-tabs-sticky {
    top: 50px;
    padding: var(--spacing-sm);
  }

  .philosophy-tabs-container {
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .philosophy-tab {
    font-size: 0.75rem;
    padding: var(--spacing-xs) 0;
  }

  .philosophy-image {
    height: 250px;
  }

  .philosophy-text h3 {
    font-size: 1.4rem;
  }

  .philosophy-text p {
    font-size: 0.85rem;
    text-align: left;
  }

  .philosophy-divider {
    margin: var(--spacing-xl) 0;
  }
}

/* ---------------------- */
/* brochure */

/* ========== BROCHURE BANNER ========== */
.brochure-banner {
  padding: var(--spacing-2xl) var(--spacing-xl);
  background-color: var(--color-light-tertiary);
}

.brochure-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-2xl);
}

.brochure-content h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-light);
  letter-spacing: var(--letter-spacing-md);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.brochure-content p {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-light);
}

.btn-download {
  padding: var(--button-padding);
  border: 2px solid var(--color-text-primary);
  background: var(--color-light);
  color: var(--color-text-primary);
  font-size: var(--button-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: var(--letter-spacing-lg);
  cursor: pointer;
  transition: all var(--transition-slow);
  font-family: var(--font-primary);
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.btn-download:hover,
.btn-download:focus {
  background: var(--color-text-primary);
  color: var(--color-light);
  outline: 2px solid transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .brochure-container {
    flex-direction: column;
  }
}
