/* main.css - Main Content Styles */

/* HERO SECTION */
.hero {
  background-image: url('../images/background.jpg') !important;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #3e2723;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #3e2723;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
   color: #3e2723;
}

.cta-button {
  background-color: #3e2723;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #6b4f31;
}

/* INTRO SECTION */
.intro {
  padding: 3rem 1rem;
  text-align: center;
  background-color: white;
  transition: background-color 0.5s ease;
  color: #3e2723;
}

.intro h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #3e2723;
}

.intro p {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #3e2723;
}

/* BUY-SELL SECTION */
.buy-sell {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 4rem 2rem;
  background-color: white;
  transition: background-color 0.5s ease;
  color: #3e2723;
  align-items: center; /* <-- Optional: aligns content vertically if needed */
  text-align: center;  /* <-- Optional: center all text by default */
}

.buy-sell > div {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: white;
}

/* Add consistent vertical spacing inside buy/sell boxes */
.buy-sell > div > *:not(:last-child) {
  margin-bottom: 1.5rem;
}

/* Additional spacing between text and CTA buttons */
.buy-sell .cta-button {
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .buy-sell {
    flex-direction: column;
    align-items: stretch;
  }

  .buy-sell > div {
    flex: 1 1 100%;
    text-align: center !important;
    align-items: center !important;
  }
}
