/* Body and container */
body {
  font-family: "Playfair Display", Georgia, serif;
  background-color: #f8f6f4;
  margin: 0;
  padding: 0;
  color: #2a2a2a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 40px;
  text-align: center;
}

/* NAVBAR */
.navbar {
  width: 100%;
  background: #b59b6f;
  padding: 14px 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  padding: 6px 10px;
  transition: 0.3s ease;
}

.navbar a:hover {
  color: #4a90e2;
}

/* Headings */
h1 {
  margin-bottom: 25px;
  color: #2a2a2a;
  font-family: "Didot", "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
}

h2 {
  text-align: center;
  margin-top: 20px;
}

.AI-aromas {
  font-size: 30px;
  color: #555;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 25px;
  text-align: center;
}

.powered-by {
  font-size: 14px;
  color: #555;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 25px;
  text-align: center;
}

/* Chatbox container */
.chatbox {
  max-width: 600px;
  margin: 0 auto;
  height: 500px;
  overflow-y: auto;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

/* Each message bubble */
.message {
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 80%;
  word-wrap: break-word;
  line-height: 1.4;
}

/* User messages (right side) */
.message.user {
  align-self: flex-end;
  background-color: #4caf50;
  color: white;
}

/* AI messages (left side) */
.message.bot {
  align-self: flex-start;
  background-color: #e0e0e0;
  color: black;
}

/* Markdown support inside messages */
.message b {
  font-weight: 700;
}
.message i {
  font-style: italic;
}
.message ul,
.message ol {
  margin: 8px 0;
  padding-left: 20px;
}

/* Input container */
.input-container {
  width: 90%;
  max-width: 700px;
  margin: 20px auto;
  display: flex;
  gap: 10px;
}

input#input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #d1cfc8;
  font-size: 16px;
}

button {
  padding: 10px 20px;
  border: none;
  background-color: #b59b6f;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #a4885f;
}

/* Landing page sections */
.how-to-use {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 30px;
  background-color: #fffefc;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.how-to-use h2 {
  font-family: "Didot", "Playfair Display", serif;
  color: #2a2a2a;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.how-to-use ol {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2a2a2a;
  margin: 0;
  padding-left: 20px;
}

.how-to-use li {
  margin-bottom: 12px;
}

.how-to-use li strong {
  color: #b59b6f;
}

@media (max-width: 768px) {
  .how-to-use {
    padding: 15px 20px;
  }
  .how-to-use h2 {
    font-size: 1.5rem;
  }
  .how-to-use ol {
    font-size: 14px;
  }
}
