/* ===================================
   Lausuma OY - Website Styles
   Children's book illustration aesthetic
   =================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@400;500;600;700&display=swap');

/* CSS Variables - Brand Colors */
:root {
  /* Primary Colors */
  --color-primary: #E8956D;      /* Warm Coral */
  --color-secondary: #6BB77B;    /* Soft Green */
  --color-accent: #F5D89A;       /* Warm Yellow */
  --color-accent-pink: #F2B8B5;  /* Soft Pink */

  /* Backgrounds */
  --color-bg-light: #FDF8F3;     /* Warm Cream */
  --color-bg-dark: #2D2D2D;      /* Warm Charcoal */
  --color-bg-gray: #F5F5F5;      /* Light Gray */

  /* Text Colors */
  --color-text-dark: #333333;    /* Soft Black */
  --color-text-light: #FFFFFF;   /* White */

  /* Typography */
  --font-script: 'Pacifico', cursive;
  --font-sans: 'Poppins', sans-serif;

  /* Spacing */
  --section-padding: 80px;
  --max-width: 1200px;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===================================
   Reset & Base Styles
   =================================== */

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  line-height: 1.6;
  background-color: var(--color-bg-light);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.script-text {
  font-family: var(--font-script);
  color: var(--color-primary);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  display: block;
  margin-bottom: 0.5rem;
}

/* ===================================
   Buttons
   =================================== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 149, 109, 0.3);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
  border-color: var(--color-secondary);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 183, 123, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 149, 109, 0.3);
}

/* ===================================
   Container & Layout
   =================================== */

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

.section {
  padding: var(--section-padding) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Scroll Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   Header & Navigation
   =================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
}

.nav-phone svg {
  width: 20px;
  height: 20px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--color-text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
              url('../images/boy-on-the-session.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--color-text-light);
  margin-top: 80px;
}

.hero-content {
  text-align: right;
  margin-left: auto;
  max-width: 600px;
}

.hero-content .script-text {
  color: var(--color-text-light);
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero-content h1 {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* ===================================
   Services Section
   =================================== */

.services {
  background-color: var(--color-bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--color-text-light);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-primary);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

/* ===================================
   How It Works Section
   =================================== */

.how-it-works {
  background-color: var(--color-bg-gray);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
  background-color: var(--color-text-light);
  border-radius: 20px;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

.step:hover .step-icon {
  transform: scale(1.1);
}

.step h3 {
  margin-bottom: 1rem;
}

.cta-button {
  text-align: center;
  margin-top: 3rem;
}

/* ===================================
   Therapist Section
   =================================== */

.therapist {
  background-color: var(--color-bg-light);
}

.therapist-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.therapist-image-wrapper {
  position: relative;
}

.therapist-image-wrapper img {
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.speech-bubble {
  position: absolute;
  top: 20px;
  right: -20px;
  background-color: var(--color-accent);
  color: var(--color-text-dark);
  padding: 1rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--color-accent);
}

.therapist-info h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.therapist-info p {
  margin-bottom: 1.5rem;
  color: #666;
}

.therapist-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.read-more {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

.read-more:hover {
  color: var(--color-text-dark);
}

/* ===================================
   Testimonials Section
   =================================== */

.testimonials {
  background-color: var(--color-bg-gray);
}

.testimonials-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.testimonials-left h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.quote-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.testimonial {
  background-color: var(--color-text-light);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--color-primary);
}

.testimonial p {
  font-style: italic;
  color: #555;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: right;
}

.testimonials-right-content img {
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
  background-color: var(--color-bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-image img {
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  min-width: 30px;
}

.contact-icon-img {
  width: 60px;
  height: 60px;
  min-width: 60px;
  object-fit: contain;
  transition: var(--transition);
}

.contact-item:hover .contact-icon-img {
  transform: scale(1.1);
}

.contact-item p {
  margin: 0;
  font-size: 1.1rem;
}

.contact-item a {
  color: var(--color-primary);
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* ===================================
   Map Section
   =================================== */

.map {
  width: 100%;
  height: 400px;
  padding: 0;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================================
   Footer
   =================================== */

.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer-logo {
  text-align: center;
  margin: 2rem 0;
}

.footer-logo img {
  height: 80px;
  margin: 0 auto;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet - 768px to 1199px */
@media (max-width: 1199px) {
  :root {
    --section-padding: 60px;
  }

  .therapist-content,
  .testimonials-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .therapist-info,
  .contact-info h2,
  .testimonials-left h2 {
    text-align: center;
  }

  .testimonial-author {
    text-align: left;
  }
}

/* Mobile - Below 768px */
@media (max-width: 768px) {
  :root {
    --section-padding: 40px;
  }

  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-text-light);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  /* Hero */
  .hero {
    margin-top: 80px;
    min-height: 500px;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Steps Grid */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Step Icons - Mobile */
  .step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
  }

  /* Contact Icons - Mobile */
  .contact-icon-img {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  /* Speech Bubble */
  .speech-bubble {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
  }

  .speech-bubble::after {
    display: none;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Small Mobile - Below 480px */
@media (max-width: 480px) {
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .logo img {
    height: 50px;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  /* Step Icons - Small Mobile */
  .step-icon {
    width: 80px;
    height: 80px;
  }

  /* Contact Icons - Small Mobile */
  .contact-icon-img {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }
}
