/* ===== Base ===== */
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #4A4A4A;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

/* ===== Background Decoration ===== */
.bg-decoration {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFFFF 0%, #FDFBF9 50%, #FFFFFF 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 12s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%; right: -5%;
  width: 500px; height: 500px;
  background: #F19A4A;
  opacity: 0.03;
  animation-delay: 0s;
}

.blob-2 {
  bottom: 5%; left: -10%;
  width: 600px; height: 600px;
  background: #E85D4A;
  opacity: 0.02;
  animation-delay: -6s;
}

.blob-3 {
  top: 40%; right: 20%;
  width: 300px; height: 300px;
  background: #4A3225;
  opacity: 0.02;
  animation-delay: -3s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 50px) scale(1.08); }
}

/* ===== Glass Panel ===== */
.glass-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

/* ===== Header: transparent over hero, solid after scroll ===== */
.header-transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  box-shadow: none;
}

.header-transparent .nav-text {
  color: rgba(255,255,255,0.85);
}

.header-transparent .nav-text:hover {
  color: #F19A4A;
}

.header-transparent .hamburger-bar {
  background-color: rgba(255,255,255,0.85);
}

.header-transparent img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: filter 0.5s ease, opacity 0.5s ease;
}

.glass-panel img {
  filter: none;
  opacity: 1;
}

/* Header: scrolled state (glass-panel applied via JS) */
.glass-panel .nav-text {
  color: #1A1A1A;
}

.glass-panel .nav-text:hover {
  color: #F19A4A;
}

.glass-panel .hamburger-bar {
  background-color: #1A1A1A;
}

/* CTA button: switch from transparent to solid on scroll */
header.glass-panel a[href*="forms.gle"] {
  background: #1A1A1A;
  color: #FFFFFF;
  border-color: #1A1A1A;
  backdrop-filter: none;
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.1);
}

header.glass-panel a[href*="forms.gle"]:hover {
  background: #F19A4A;
  border-color: #F19A4A;
}

/* ===== Section Heading Decoration ===== */
.section-heading {
  position: relative;
  display: inline-block;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 0;
  width: 60px; height: 3px;
  background: #F19A4A;
  border-radius: 2px;
}

.section-heading-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ===== Timeline ===== */
.timeline-line {
  position: relative;
  padding-left: 36px;
}

.timeline-line::before {
  content: '';
  position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #F19A4A, #E0E0E0);
}

.timeline-dot {
  position: absolute;
  left: -30px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #F19A4A;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 2px #F19A4A;
}

/* ===== Profile image ===== */
.profile-image-container img {
  transition: transform 0.5s ease;
}

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

/* ===== Animate on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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