/* Color Palette 2763 is being used for the design of the site */

/* Base Layout */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: "Poppins", Lato, sans-serif;
  background: radial-gradient(
      ellipse at bottom center,
      #ffe0b3 0%,
      #fff2e0 50%,
      #fff8f0 90%
    ),
    linear-gradient(to bottom, #ffffff10 0%, #ffe6c270 100%);
  background-color: rgba(0, 0, 0, 0.849);
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  padding-bottom: 0;
}

/* Layout Container */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

/* Text Card */
.text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
  min-height: 460px;
  padding: 2rem 2.5rem;
  color: #555;
  background-color: #fff5eb;
  border-radius: 12px;
  border: 1px solid #f2dfd1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Image Card */
.image-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 640px;
  width: 100%;
  padding: 1rem;
  background-color: #fff8f0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.image-content img {
  width: 100%;
  height: auto; /* Let it grow */
  max-height: none; /* Remove cap for mobile */
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.image-content img:hover {
  transform: scale(1.004);
}

/* Typography */
.title {
  color: #222;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.nowrap {
  white-space: nowrap;
}

.contact-link {
  color: #d35400;
  font-weight: 500;
  text-decoration: none;
}

.contact-link:hover {
  color: #d35400;
  text-decoration: underline;
}

.note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.75rem;

  text-indent: -1ch; /* Pull asterisk into margin */
  padding-left: 1.4ch; /* Indent rest of text to align visually */
}

.note-asterisk {
  flex-shrink: 0;
}

.note-text {
  word-break: break-word;
  text-wrap: balance;
}

.icon {
  vertical-align: middle;
  margin-right: 0.5rem;
  color: #d35400;
  font-size: 1.1rem;
}

.contact-item {
  display: block;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  margin: 0.5rem 0;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.cta-button {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: #e67e22;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(211, 84, 0, 0.25);
  transition: background-color 0.2s, transform 0.2s;
  text-align: center;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #d35400;
  color: white; /* prevents it from turning blue */
  text-decoration: none;
  transform: translateY(-1.4px);
}

.cta-button:visited {
  color: white;
}

.cta-button i {
  color: white !important;
  margin-right: 0.5rem;
  transition: color 0.2s;
}
.cta-button:hover i {
  color: #f5f5f5;
}

/* Responsive Layout */
@media (max-width: 767px) {
  .image-content {
    margin-top: 1rem; /* reduce distance from top card */
    padding: 0.5rem; /* tighter padding on mobile */
  }

  .content-wrapper {
    gap: 2.5rem; /* smaller gap between card & image */
  }

  .text-content {
    padding: 1.5rem 1.75rem;
    min-height: unset;
  }

  .title {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .content-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5rem;
  }

  .text-content {
    flex: 1;
    max-width: 420px;
    min-height: 420px;
  }

  .image-content {
    flex: 1.5;
    min-width: 370px;
    max-width: 600px;
  }
}

@media (min-width: 1400px) {
  .content-wrapper {
    max-width: 1400px;
    gap: 6rem;
  }

  .text-content {
    transform: scale(1.12);
  }

  .image-content {
    transform: scale(1.08);
  }

  .image-content img {
    max-height: 540px;
  }

  .title {
    font-size: 2.25rem;
  }
}
