:root {
  --bg-light: #f8f8f8; /* Main background color */
  --bg-darker: #eae2d9; /* Bottom section background color */
  --text-color: #333;
  --accent-color: #6a6a6a; /* A subtle darker grey for lines/accents */
  --font-serif: "Lora", serif; /* Elegant serif font */
  --font-display: "Playfair Display", serif; /* For headings/impact */
}

body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--text-color);
  background-color: var(--bg-light);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center; /* Center content horizontally */
}

.header-text {
  text-align: center;
  padding-top: 10vh; /* Adjust as needed for vertical positioning */
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem); /* Responsive font size */
  letter-spacing: 0.2em;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 20vh; /* Space before the next section */
}

.main-content {
  flex-grow: 1; /* Allows this section to take up available space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  width: 100%;
  padding: 20px; /* Add some padding */
  box-sizing: border-box;
}

.cta-section {
  background-color: var(--bg-darker);
  width: 100%;
  padding: 8vh 20px; /* Vertical padding similar to the image's bottom section */
  text-align: center;
  box-sizing: border-box;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.8rem); /* Responsive heading size */
  color: var(--text-color);
  margin-bottom: 30px;
  line-height: 1.3;
}

.cta-subtext {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  color: var(--accent-color);
  margin-top: 15px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.button-container {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 25px; /* Space between buttons */
  margin-top: 60px; /* Space above buttons */
}

.button {
  display: inline-flex; /* For vertical alignment of text */
  align-items: center;
  justify-content: center;
  padding: 18px 35px;
  border: 2px solid var(--accent-color);
  background-color: transparent;
  color: var(--text-color);
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
  cursor: pointer;
  min-width: 220px; /* Ensure buttons have a minimum width */
}

.button:hover {
  background-color: var(--accent-color);
  color: var(--bg-light);
  border-color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-text {
    padding-top: 8vh;
    margin-bottom: 10vh;
    letter-spacing: 0.15em;
  }
  .cta-section {
    padding: 6vh 15px;
  }
  .cta-heading {
    margin-bottom: 20px;
  }
  .button-container {
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
    margin-top: 40px;
    gap: 15px; /* Smaller gap when stacked */
  }
  .button {
    width: 90%; /* Make buttons take more width when stacked */
    max-width: 300px; /* Limit max width */
  }
}
