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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: #fff1db;
  color: #333;
}

/* === Header === */
.header {
  width: 100vw;
  height: 200px;
  background: linear-gradient(to right, #ff9a9e, #fad0c4);
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 800px;
  overflow: hidden;
}

#parallax-title {
  font-size: 3rem;
  color: white;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.slogan {
  text-align: center;
  padding: 20px;
  font-family: "acier-bat-noir", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #fff6f0;
}

.slogan h2 {
  font-size: 4rem;
  color: #45a049;
  margin: 0;
}

h1 {
  margin: 0;
  font-size: 2.5rem;
  color: white;
}

/* === Two-column layout === */
.main-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.mood-filter-section h3 {
  text-align: center;
  margin-bottom: 10px;
}

.results-section,
.selection-section {
  flex: 1;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === Rating Stars === */
.rating-wrapper {
  gap: 6px;
  line-height: 1;
  margin: 6px 0;
  position: relative;
  top: -4px;
}

.rating-wrapper img {
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

/* === Output Styling === */
#output {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-style: italic;
  max-width: 600px;
  margin-inline: auto;
}

/* === Form + Dropdowns === */
label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

select {
  width: 100%;
  max-width: 500px;
}

.dropdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* === Buttons === */
button {
  display: block;
  margin: 2px auto;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #45a049;
}

/* === ZIP Input === */
#zip-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

#zip-input input {
  width: 180px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  text-align: center;
}

#zip-input button {
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

#zip-input button:hover {
  background-color: #555;
}

/* === Choices.js Dropdown Styling === */
.choices__inner {
  border-radius: 6px;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }

  .results-section,
  .selection-section {
    width: 100%;
  }

  h1 {
    font-size: 2rem;
  }

  .slogan h2 {
    font-size: 2.5rem;
  }

  #parallax-title {
    font-size: 2.5rem;
  }

  button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .dropdown-wrapper {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  #zip-input {
    gap: 8px;
    margin-top: 15px;
  }
}

@media (max-width: 600px) {
  select,
  #zip-input input {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .header {
    height: 140px;
  }

  .slogan h2 {
    font-size: 1.8rem;
  }

  #parallax-title {
    font-size: 2rem;
  }
}




