/* ================================================
   SALUSPRO OY — STYLESHEET
   Forest & Rain Theme
   ================================================ */

:root {
  --forest-dark:   #2a5235;
  --forest-mid:    #3d6b4a;
  --forest-light:  #4a7c59;
  --sage:          #7fa07f;
  --sage-light:    #a8c8a8;
  --mist:          #c5d5c5;
  --cream:         #f2ece5;
  --cream-warm:    #e8e0d5;
  --cream-dark:    #d8cfc3;
  --text-dark:     #1a2a1a;
  --text-body:     #3a4838;
  --text-muted-c:  #6a7a68;
  --white:         #ffffff;
}

/* ---- Base ---- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-body);
  background-color: var(--cream);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.2;
}

a { color: inherit; }

/* ================================================
   NAVBAR
   ================================================ */
#main-nav {
  background-color: var(--cream);
  border-bottom: 1px solid var(--mist);
  padding: 0.6rem 0;
  box-shadow: 0 2px 14px rgba(42, 82, 53, 0.07);
  z-index: 1000;
}

.nav-logo {
  height: 148px;
  width: auto;
}

#main-nav .navbar-nav .nav-link {
  color: var(--forest-dark);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}

#main-nav .navbar-nav .nav-link:hover {
  color: var(--forest-light);
}

#main-nav .navbar-nav .nav-link.active {
  color: var(--forest-dark);
  font-weight: 700;
  border-bottom-color: var(--forest-mid);
}

.nav-link-coming {
  color: var(--text-muted-c) !important;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  cursor: default;
  pointer-events: none;
  display: inline-block;
}

.badge-soon {
  background-color: var(--sage-light);
  color: var(--forest-dark);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2em 0.55em;
  border-radius: 20px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center 42%;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 10, 0.40) 0%,
    rgba(18, 36, 18, 0.62) 55%,
    rgba(8, 18, 8, 0.78) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem 6rem;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.13rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  max-width: 660px;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.85;
}

.btn-hero {
  display: inline-block;
  margin-top: 2.25rem;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 0.7rem 2.2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.btn-hero:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.7rem;
  text-decoration: none;
  animation: hero-bounce 2.2s ease-in-out infinite;
  transition: color 0.2s;
}

.hero-scroll:hover { color: var(--white); }

@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-section {
  position: relative;
  background-image: url('planks.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5.5rem 0;
  scroll-margin-top: 78px;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 38, 18, 0.84) 0%,
    rgba(26, 50, 26, 0.90) 100%
  );
  z-index: 1;
}

.contact-section > .container {
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title-divider {
  width: 52px;
  height: 3px;
  background: var(--sage-light);
  border-radius: 2px;
  margin: 0 auto 2.5rem;
  opacity: 0.8;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  backdrop-filter: blur(10px);
  text-align: center;
}

.contact-avatar {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.4rem;
  border: 3px solid rgba(168, 200, 168, 0.6);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.contact-person-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.contact-person-role {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.75rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: color 0.2s;
}

.contact-link i {
  color: var(--sage-light);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.contact-link:hover { color: var(--white); }

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background-color: var(--forest-dark);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.footer-logo-wrap {
  display: inline-block;
  width: 192px;
  height: 192px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.footer-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--sage-light);
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.footer-copy {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  color: var(--mist);
  opacity: 0.6;
  margin: 0;
}

/* ================================================
   PAGE HEADER  (toimintaterapia)
   ================================================ */
.page-header {
  background: linear-gradient(
    135deg,
    var(--forest-dark) 0%,
    var(--forest-mid) 55%,
    var(--forest-light) 100%
  );
  padding: 4.5rem 0 4rem;
  text-align: center;
}

.page-header-title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.page-header-sub {
  font-family: 'Lato', sans-serif;
  font-style: italic;
  color: var(--sage-light);
  font-size: 1.1rem;
  margin: 0;
}

/* ================================================
   THERAPIST SECTION
   ================================================ */
.therapist-section {
  background-color: var(--cream);
  padding: 5rem 0;
}

.therapist-photo-wrap {
  display: inline-block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(42, 82, 53, 0.18);
  border: 3px solid var(--mist);
  max-width: 290px;
  width: 100%;
}

.therapist-photo {
  width: 100%;
  height: auto;
  display: block;
}

.therapist-name {
  font-size: 1.8rem;
  color: var(--forest-dark);
  margin: 1.4rem 0 0.25rem;
}

.therapist-role {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0;
}

.therapist-bio {
  background-color: var(--white);
  border-left: 4px solid var(--forest-mid);
  border-radius: 0 14px 14px 0;
  padding: 2rem 2.25rem;
  box-shadow: 0 4px 20px rgba(42, 82, 53, 0.08);
  height: 100%;
}

.therapist-bio p {
  font-size: 1.05rem;
  line-height: 1.88;
  color: var(--text-body);
  margin: 0;
}

/* ================================================
   QUALIFICATIONS SECTION
   ================================================ */
.qualifications-section {
  background-color: var(--cream-warm);
  padding: 5rem 0;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: 0.5rem;
}

.section-heading + .section-title-divider {
  margin-bottom: 2.75rem;
}

.qual-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(42, 82, 53, 0.09);
}

.qual-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.2rem 1.75rem;
  border-bottom: 1px solid var(--cream-dark);
  transition: background 0.18s;
}

.qual-list li:last-child { border-bottom: none; }

.qual-list li:hover { background-color: rgba(127, 160, 127, 0.07); }

.qual-list .qual-icon {
  color: var(--forest-mid);
  font-size: 1.15rem;
  margin-top: 0.15em;
  flex-shrink: 0;
}

.qual-list .qual-text strong {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.qual-list .qual-meta {
  font-family: 'Lato', sans-serif;
  font-size: 0.84rem;
  color: var(--text-muted-c);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
  #main-nav .navbar-nav {
    padding: 0.75rem 0;
    gap: 0.1rem;
  }

  #main-nav .navbar-nav .nav-link,
  .nav-link-coming {
    padding: 0.5rem 0;
  }
}

@media (max-width: 767px) {
  .hero-section,
  .contact-section {
    background-attachment: scroll;
  }

  .therapist-bio {
    border-left: none;
    border-top: 4px solid var(--forest-mid);
    border-radius: 0 0 14px 14px;
    margin-top: 1.5rem;
  }

  .contact-card {
    padding: 2rem 1.25rem;
  }

  .qual-list li {
    padding: 1.1rem 1.25rem;
  }
}

@media (max-width: 1280px) and (orientation: portrait) {
  .nav-logo {
    height: 75px;
  }

  .footer-logo-wrap {
    width: 130px;
    height: 130px;
  }
}
