/* ========================================
   COACH·WELL — Serene & Airy Theme
   ======================================== */

:root {
  --primary: #5a6d7a;
  --accent: #d4a9a0;
  --warm-bg: #f5eeea;
  --cool-bg: #f0f4f8;
  --text: #6b7d8a;
  --text-light: #8b9daa;
  --tag-bg: #f5eeea;
  --tag-text: #8b6f66;
  --white: #ffffff;
  --border: #e0d8d2;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Montserrat', serif;
  --hero-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(0, 0, 0, 0.15);
  --hero-shadow-light:
    0 1px 3px rgba(0, 0, 0, 0.35),
    0 2px 16px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(0, 0, 0, 0.1);
}

/* ---- Reset & Base ---- */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */

#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}

#nav.scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  opacity: 1;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.lang-toggle button {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.lang-toggle button.active {
  color: var(--accent);
  font-weight: 500;
}

.lang-toggle button:hover {
  color: var(--primary);
}

.lang-divider {
  color: var(--border);
  font-size: 12px;
}

/* Hamburger */

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/mountain.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.12) 70%),
    linear-gradient(
      180deg,
      rgba(30, 40, 60, 0.18) 0%,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, 0.08) 70%,
      rgba(30, 40, 60, 0.25) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 500;
  letter-spacing: 5px;
  color: var(--white);
  text-shadow: var(--hero-shadow);
}

.hero-divider {
  width: 100%;
  height: 3px;
  margin: 0 auto 18px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
}

.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  text-shadow: var(--hero-shadow-light);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  margin-bottom: 48px;
  text-shadow: var(--hero-shadow);
}

.hero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 2px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  text-decoration: none;
  text-shadow: var(--hero-shadow-light);
}

.hero-cta:hover {
  opacity: 1;
}

.hero-cta svg {
  animation: bounce 2.5s ease infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ---- Intro ---- */

#intro {
  position: relative;
  z-index: 2;
  background: var(--white);
  padding: 80px 0;
  margin-top: -60px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.06);
}

.intro-content {
  text-align: center;
  max-width: 680px;
}

.intro-content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 4px;
}

.intro-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 20px;
}

.pillars {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pillar {
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ---- About ---- */

#about {
  background: var(--white);
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.about-photo img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 4px;
}

.section-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 20px;
}

.section-divider.center {
  margin-left: auto;
  margin-right: auto;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8;
}

.about-matcha a {
  color: var(--accent);
  font-weight: 500;
}

/* ---- Approach ---- */

#approach {
  background: linear-gradient(135deg, var(--warm-bg) 0%, var(--cool-bg) 100%);
  padding: 80px 0;
  text-align: center;
}

#approach h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 4px;
}

.approach-text {
  max-width: 600px;
  margin: 0 auto 16px;
  font-size: 15px;
  line-height: 1.8;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.value-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- Program ---- */

#program {
  background: var(--white);
  padding: 80px 0;
  text-align: center;
}

#program.dark {
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.06);
}

#program h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 4px;
}

.program-text {
  max-width: 640px;
  margin: 0 auto 16px;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 32px 0;
}

.chip {
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
}

.program-bullets {
  max-width: 560px;
  margin: 32px auto;
  text-align: left;
}

.bullets-intro {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 15px;
}

.program-bullets ul {
  list-style: none;
  padding: 0;
}

.program-bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.program-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.program-callout {
  max-width: 560px;
  margin: 32px auto 16px;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--warm-bg);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  font-style: italic;
  color: var(--primary);
  text-align: left;
}

.program-greeting {
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
  color: var(--primary);
  margin-top: 24px;
}

/* ---- Contact ---- */

#contact {
  background: linear-gradient(135deg, var(--cool-bg) 0%, var(--warm-bg) 100%);
  padding: 80px 0;
  text-align: center;
}

#contact h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-subtitle {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 32px;
}

#contact-form {
  max-width: 450px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 169, 160, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background: #c89b91;
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

#form-status {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  min-height: 20px;
}

.form-success {
  color: #5a8a6a;
}

.form-error {
  color: #a05a5a;
}

/* ---- Footer ---- */

footer {
  background: var(--primary);
  padding: 32px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-left p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.footer-left a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
}

.footer-left a:hover {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.footer-right {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  /* Nav */
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .lang-toggle {
    margin-left: 0;
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }

  /* Hero */
  .hero-title {
    font-size: 36px;
    letter-spacing: 8px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  #hero {
    min-height: 60vh;
  }

  /* Sections */
  #intro,
  #about,
  #approach,
  #program,
  #contact {
    padding: 48px 0;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-photo {
    text-align: center;
  }

  .about-photo img {
    max-width: 280px;
    margin: 0 auto;
  }

  /* Value cards */
  .value-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Program */
  .program-text {
    text-align: center;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
    letter-spacing: 6px;
  }

  .hero-tagline {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .detail-chips {
    gap: 8px;
  }

  .chip {
    font-size: 13px;
    padding: 8px 14px;
  }
}
