/* Form & Output Sections */
.form-section {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.output-section {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
  flex: 1;
}/* ============================================
   COMPLETE STYLES.CSS - MuseMind
   ============================================ */

/* Base Styles */
body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
  font-size: 60px;
  margin: 0;
}

header h4 {
  font-size: 25px;
  margin: 5px 0 0 0;
}

header p {
  margin: 50px 0 0;
}

h3 {
  margin-bottom: 0;
  text-align: left;
}

/* ============================================
   LANDING PAGE - MAIN SECTION
   ============================================ */

main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px); /* Account for header/footer */
}

/* Cards Container - Landing Page */
.cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: -150px;
  width: 70;
  max-width: 800px;
  padding: 20px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 250px;
  height: 180px;
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.card h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.card p {
  color: #555;
  font-size: 0.9rem;
}

/* Hover effect */
.card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  background-color: #f7f2ff;
}

/* ============================================
   FORM & CONTENT CONTAINER
   ============================================ */

.container {
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1000px;
  width: 100%;
  gap: 40px;
}

.sub-label {
  display: block;
  text-align: left;
  max-width: 400px;
  margin: 16px auto 10px auto;
  font-weight: bold;
  font-size: 18px;
}

/* ============================================
   FORM INPUTS
   ============================================ */

.product-name,
.product-details,
.user-input-feelings {
  display: block;
  text-align: left;
  margin: 0;
  width: 100%;
  height: 150px;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #368636;
  border-radius: 10px;
  resize: vertical;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

.product-name:focus,
.product-details:focus,
.user-input-feelings:focus {
  outline: none;
  border-color: #368636;
  box-shadow: 0 0 5px rgba(54, 134, 54, 0.3);
}

/* ============================================
   GENERATED CONTENT
   ============================================ */

.generated-description,
.generated-poem {
  position: relative;
  top: -23px;
}

.generated-description p,
.generated-poem p {
  line-height: 1.8;
  font-size: 16px;
  text-align: left;
  padding: 8px;
  margin-top: 40px;
  border-left: 3px solid #368636;
  border-radius: 10px;
  background-color: #e0ece0;
  width: 600px;
  max-width: 90%;
  height: 270px;
  overflow-y: auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.button {
  margin: 20px auto;
  padding: 13px;
  width: 35%;
  border-radius: 15px;
  border: none;
  background-color: #3c883c;
  color: white;
  font-size: 16px;
  font-weight: bold;
  transition: all 150ms ease-in-out;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

.button:hover {
  color: #fff;
  background-color: #207420;
  cursor: pointer;
}

.button:active {
  transform: scale(0.98);
}

/* ============================================
   HEADER & FOOTER
   ============================================ */

header {
  text-align: center;
  padding: 20px 20px 10px 20px;
}

footer {
  text-align: center;
  font-size: 14px;
  padding: 15px;
  margin-top: 50px;
}

/* ============================================
   LINKS
   ============================================ */

a {
  text-decoration: none;
  color: #368636;
  transition: color 0.2s ease;
}

a:hover {
  color: #207420;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  .cards-container {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    width: 280px;
    height: 200px;
  }

  .button {
    width: 50%;
  }

  .product-details,
  .user-input-feelings {
    width: 90%;
    margin: 10px auto;
  }

  .generated-description p,
  .generated-poem p {
    width: 90%;
    height: auto;
    max-height: 300px;
  }

  .container {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 24px;
  }

  .card {
    width: 100%;
    max-width: 250px;
    height: 150px;
    padding: 15px;
  }

  .card h2 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.8rem;
  }

  .button {
    width: 70%;
    padding: 10px;
    font-size: 14px;
  }

  .sub-label {
    font-size: 14px;
  }

  .generated-description p,
  .generated-poem p {
    font-size: 14px;
    padding: 6px;
    line-height: 1.6;
  }
}