/* ========== Custom Styles ========== */

/* Ikigai Diagram */
.ikigai-diagram {
  position: relative;
}

.ikigai-circle {
  position: absolute;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.ikigai-circle:hover {
  transform: scale(1.05);
}

/* FAQ Accordion */
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
  display: block;
  max-height: 300px;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar shadow on scroll */
.nav-scrolled {
  box-shadow: 0 1px 12px rgba(44, 35, 54, 0.06);
}

/* Topic card hover lift */
.topic-card {
  transition: all 0.25s ease;
}

.topic-card:hover {
  transform: translateY(-2px);
}

/* Form focus glow */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(180, 98, 122, 0.1);
}

/* Smooth transitions for language toggle */
[hidden] {
  display: none !important;
}

/* Back to top visible state */
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Print styles */
@media print {
  nav, #announcement, #back-to-top, .reveal { opacity: 1; transform: none; }
}
