/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Font and base reset */
* {
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #F3A2BE;       /* Bubble Gum */
  --secondary: #FFD3DD;     /* Cotton Candy */
  --accent: #F0F9F8;        /* Candy Floss */
  --highlight: #81BFB7;     /* Wintergreen */
  --button-bg: #C6E6E3;     /* Mint */
  --text-dark: #1c1c1c;
  --text-light: #ffffff;
}

body {
  background-color: var(--accent);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
}

.container {
  background: var(--text-light);
  max-width: 650px;
  width: 100%;
  padding: 30px 40px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  text-align: center;
  margin: 0 auto;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo img {
  display: block;
}

.logo-img {
  height: 150px;
  width: 150px;
  border-radius: 50%;
  object-fit: cover;
}

/* Navigation */
nav.menu {
  display: flex;
  gap: 15px;
}

nav.menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: color 0.3s ease;
}

nav.menu a:hover {
  color: var(--primary);
}

/* Language Switcher */
.lang-switcher {
  margin-bottom: 25px;
}

.lang-switcher button {
  background-color: var(--primary);
  border: none;
  color: var(--text-light);
  padding: 12px 22px;
  border-radius: 15px;
  font-weight: 700;
  cursor: pointer;
  margin: 0 8px;
  transition: background-color 0.3s ease;
}

.lang-switcher button.active,
.lang-switcher button:hover {
  background-color: var(--highlight);
}

/* Titles and subtitles */
h1 {
  color: var(--primary);
  margin-bottom: 0;
  font-size: 2.8rem;
  text-align: center;
}

.subtitle {
  color: var(--highlight);
  font-style: italic;
  margin-bottom: 24px;
  font-size: 1.1rem;
  text-align: center;
}

/* Kind messages animation */
.kind-messages {
  text-align: center;
  margin-bottom: 20px;
}

.kind-messages p {
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

.kind-messages p:nth-child(1) { animation-delay: 0.3s; }
.kind-messages p:nth-child(2) { animation-delay: 0.6s; }
.kind-messages p:nth-child(3) { animation-delay: 0.9s; }
.kind-messages p:nth-child(4) { animation-delay: 1.2s; }

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Form Elements */
#MoodLabel {
  display: block;
  margin: 0 auto 12px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
}

select,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 2px solid var(--secondary);
  background: var(--accent);
  font-size: 1.1rem;
  color: var(--text-dark);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  resize: vertical;
}

textarea {
  font-family: 'Poppins', sans-serif;
}

.chat-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-box button {
  background-color: var(--button-bg);
  color: var(--text-dark);
  padding: 12px 22px;
  border: none;
  border-radius: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 3px 8px rgba(198, 230, 227, 0.6);
  transition: background-color 0.3s ease;
}

.chat-box button:hover {
  background-color: var(--highlight);
  color: var(--text-light);
}

#confirmation {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--highlight);
}

/* Daily Tip */
.daily-tip {
  background-color: var(--secondary);
  border-radius: 15px;
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 6px 15px rgba(138, 115, 191, 0.1);
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
  font-style: italic;
  text-align: center;
}

.daily-tip h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

/* Footer */
footer {
  margin-top: 40px;
  font-weight: 600;
  color: var(--highlight);
  font-size: 1rem;
  text-align: center;
}

/* Collapsible Boxes */
.audience-box {
  border: 2px solid var(--highlight);
  border-radius: 10px;
  margin-bottom: 20px;
  background-color: var(--accent);
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.collapsible {
  background-color: var(--button-bg);
  color: var(--text-dark);
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.collapsible:hover {
  background-color: var(--highlight);
  color: var(--text-light);
}

.content {
  display: none;
  padding: 15px 20px;
  border-top: 1px solid var(--highlight);
}

.content p {
  margin: 0;
  font-size: 1em;
  line-height: 1.5;
}

/* Card component */
.card {
  background-color: var(--primary);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px 0;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.heart-bar {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 40px 0;
}

.heart-button {
  width: 100px;
  height: 90px;
  background: #F3A2BE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.85rem;
  position: relative;
  transition: transform 0.3s ease;
  clip-path: path("M49.9,15.2c0,0-7.4-12.2-21.1-12.2C15,3,6.6,13.2,6.6,24.4c0,16.8,43.3,38.4,43.3,38.4s43.3-21.6,43.3-38.4 C93.2,13.2,84.8,3,71.2,3C57.5,3,49.9,15.2,49.9,15.2z");
  background-color: #F3A2BE;
  box-shadow: 0 4px 10px rgba(243, 162, 190, 0.5);
}

.heart-button span {
  z-index: 2;
  position: relative;
}

.heart-button:hover {
  background-color: #FFD3DD;
  color: #1c1c1c;
  transform: scale(1.05);
}

.floating-decor div {
  position: fixed;
  top: 100vh;
  font-size: 24px;
  pointer-events: none;
  animation: floatUp 8s linear infinite;
  opacity: 0.8;
  z-index: 9999;
}

.floating-decor .sparkle::before {
  content: "✨";
}

.floating-decor .heart::before {
  content: "💖";
}

.floating-decor div:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-decor div:nth-child(2) { left: 30%; animation-delay: 2s; }
.floating-decor div:nth-child(3) { left: 60%; animation-delay: 4s; }
.floating-decor div:nth-child(4) { left: 80%; animation-delay: 6s; }

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh) scale(1.5);
    opacity: 0;
  }
}


.hug-section {
  text-align: center;
  margin: 30px 0;
}

.hug-button {
  background-color: #F3A2BE;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(243, 162, 190, 0.5);
  transition: transform 0.2s;
}

.hug-button:hover {
  transform: scale(1.05);
}

#hugMsg {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #81BFB7;
  font-weight: bold;
}

.advice-box {
  margin: 30px auto;
  max-width: 500px;
  text-align: center;
}

.advice-box button {
  background-color: #F3A2BE;
  color: #fff;
  border: none;
  padding: 12px 24px;
  margin: 10px 6px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(243, 162, 190, 0.3);
}

.advice-box button:hover {
  background-color: #FFB6C1;
}

.advice-text {
  display: none;
  padding: 15px 20px;
  background: #fff0f5;
  border-radius: 15px;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #5a4f7a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#hugContainer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 9999;
  animation: fadeIn 0.5s ease-in-out;
}

.hug-animation {
  font-size: 150px;
  animation: bounce 3s ease-in-out;
  position: relative;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.08);
  }
  50% {
    transform: scale(0.95);
  }
  75% {
    transform: scale(1.05);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sparkle {
  position: absolute;
  font-size: 30px;
  animation: sparklePop 3s ease forwards;
  opacity: 0;
}

@keyframes sparklePop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: scale(1.5) translateY(-100px);
    opacity: 0;
  }
}

.sparkle1 { top: -60px; left: -60px; animation-delay: 0s; }
.sparkle2 { top: -40px; right: -60px; animation-delay: 0.3s; }
.sparkle3 { bottom: -60px; left: -40px; animation-delay: 0.6s; }
.sparkle4 { bottom: -50px; right: -40px; animation-delay: 0.9s; }

.hug-button {
  background-color: #F3A2BE;
  border: none;
  padding: 12px 22px;
  color: white;
  font-size: 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.floating-shape {
  position: fixed;
  top: -2rem;
  animation: floatDown linear forwards;
  pointer-events: none;
  z-index: 9999;
}

@keyframes floatDown {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}


.sessions-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0 50px 0;
  flex-wrap: wrap;
}

.session-button {
  background-color: var(--primary); /* #F3A2BE bubble gum pink */
  color: var(--text-light);
  border: none;
  border-radius: 25px;
  padding: 25px 40px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: default; /* Since they're coming soon, no pointer */
  box-shadow: 0 6px 20px rgba(243, 162, 190, 0.4);
  text-align: center;
  width: 140px;
  user-select: none;
  transition: background-color 0.3s ease;
}

.session-button small {
  display: block;
  font-weight: 400;
  font-size: 1rem;
  margin-top: 6px;
  color: var(--secondary); /* lighter pink #FFD3DD */
}

.session-button:hover {
  background-color: #ffb6c1; /* subtle lighter pink on hover */
  color: var(--text-dark);
  box-shadow: 0 8px 25px rgba(255, 182, 193, 0.7);
}
