/* Discovery Sober Living — style.css — v2, cleaned up to match the Canva original
   Simple, readable CSS. Colors and sizes are at the top so they are easy to change. */

:root {
  --grey-bg: #9594a7;        /* grey-lavender band behind sections 2 and 3 */
  --card-bg: #3b2f1e;        /* warm dark olive-brown cards (Canva) */
  --button-bg: #16294d;      /* dark navy button */
  --text-light: #ffffff;
  --text-dark: #1f1f1f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: #222;
}

img { max-width: 100%; display: block; }

/* ---------- Section 1: Hero ---------- */
/* One baked-in image: beach + logo + headline text are all in the file. */
.hero { line-height: 0; }
.hero-img { width: 100%; height: auto; display: block; }

/* ---------- Sections 2 & 3: one continuous grey band ---------- */
.recovery, .apply {
  background: var(--grey-bg);
  color: var(--text-light);
  text-align: center;
}
.recovery { padding: 44px 20px 0; }
.apply    { padding: 0 20px 60px; }
.recovery h2 {
  font-size: clamp(1.8rem, 3.4vw, 3.4rem); /* ~54px */
  font-weight: 300;
  margin: 0 0 6px;
}
.tagline {
  margin: 0 0 40px;
  font-size: clamp(1.2rem, 2.4vw, 2.35rem); /* ~38px */
  color: var(--text-dark);
}

/* ---------- Three columns: photo with card directly under it ---------- */
.columns {
  display: flex;
  gap: 20px;
  max-width: 1310px;
  margin: 0 auto;
  align-items: stretch;
}
.column { flex: 1; display: flex; flex-direction: column; }
.column img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.card {
  background: var(--card-bg);
  color: var(--text-light);
  padding: 20px 14px 24px;
  flex: 1;
  min-height: 200px;
  text-align: center;
  font-size: clamp(1rem, 1.4vw, 1.4rem);   /* ~22px */
}
.card h3 { margin: 0 0 10px; font-size: 1em; }
.card ul { list-style-position: inside; padding: 0; margin: 0; }
.card li { margin-bottom: 6px; }
.center { text-align: center; }

/* ---------- Apply / contact ---------- */
.apply h2 {
  max-width: 1310px;
  margin: 110px auto 26px;
  text-align: left;
  font-size: clamp(1.8rem, 3.4vw, 3.4rem); /* ~54px */
  font-weight: 300;
  color: var(--text-light);
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 550px;
  max-width: 92%;
  height: 140px;
  margin: 0 auto;
  background: linear-gradient(180deg, #22365e, var(--button-bg));
  color: #fff;
  border-radius: 70px;
  box-shadow: 0 14px 28px rgba(0,0,0,.35);
  font-size: clamp(1.2rem, 2vw, 1.95rem);  /* ~31px */
  text-decoration: underline;
}
.contact-box {
  border: 1px solid #fff;
  background: transparent;
  max-width: 1125px;
  margin: 34px auto 0;
  padding: 26px 20px 30px;
  color: var(--text-dark);
  font-size: clamp(1.05rem, 2.3vw, 2.3rem); /* ~36px */
  line-height: 1.3;
}
.contact-box h3 { margin: 10px 0 8px; font-size: 1.15em; }
.contact-box p { margin: 6px 0; font-weight: bold; }
.contact-box a { color: inherit; text-decoration: none; }

/* Stack columns on phones */
@media (max-width: 700px) {
  .columns { flex-direction: column; }
  .button { height: 96px; }
}
