@font-face {
  font-family: "Athena";
  src: url("../Retreats/assets/Athena.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Saturday";
  src: url("../Retreats/assets/Better\ Saturday.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
    background-color: #637452;
    background-image: url("../assets/grbg.png");
    background-size: cover;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*============================================*/

.headertitle {
    display: inline;
    margin-top: 5%;
    background-color: #E1BDBE;
    border-radius: 540px 540px 32px 32px;
    padding: 70px 36px 50px;
    text-align: center;
    margin-left: 20%;
    margin-right: 20%;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 200px;
    box-shadow: 0 20px 500px rgba(35, 46, 26, 0.9);
    width: 50%;
    padding-bottom: 75px;
}

.ht-subtext {
    font-family: "Athena";
    font-size: 3.7rem;
}

.ht-headtext {
    font-family: "Saturday";
    font-size: 6rem;
    line-height: 1.7;
}

.ht-datetext {
    font-family: "Athena";
    font-size: 3.7rem;
}

.ht-button {
    transition: all 0.25s ease;
    background-color: #35422b;
    text-decoration: none;
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 2px;
    border-radius: 50pt;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 12px;
    padding-bottom: 12px;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 4px 15px rgba(35, 46, 26, 0.2);
}

.ht-button:hover {
    background-color: #242e1d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 46, 26, 0.3);
}

/*============================================*/

.topics-s {
    border-radius: 32px;
    display: block;
    margin-top: 5%;
    background-color: #f8f4ec;
    margin-left: 20%;
    margin-right: 20%;
    padding-left: 5%;
    padding-right: 5%;
    width: 50%;
    box-shadow: 0 20px 500px rgba(35, 46, 26, 0.9);
    padding-bottom: 30px;
}

.topicshead {
    font-family: "Athena";
    font-size: 4rem;
}

.topicsline {
    width: 100%;
    height: 0.5pt;
    background-color: gray;
}

.topic {
    display: flex;
    flex-direction: row;
}

.topicnum {
    font-family: "Athena";
    font-size: 2rem;
    color: #F1C398;
    margin-right: 50px;
}

.topictitle {
    font-family: "Athena";
    font-size: 2.4rem;
}

.topicsub {
    font-family: "Pinyon Script";
    font-size: 2.4rem;
    margin-top: -30px;
}

/*============================================*/

.activities-s {
    border-radius: 32px;
    display: block;
    margin-top: 5%;
    background-color: #f8f4ec;
    margin-left: 20%;
    margin-right: 20%;
    padding-left: 5%;
    padding-right: 5%;
    width: 50%;
    box-shadow: 0 20px 500px rgba(35, 46, 26, 0.9);
    padding-bottom: 30px;
}

.activitiesgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 30px;
}

.actbox {
    background-color: white;
    border-radius: 20px;
    border-color: lightgray;
    border-width: 0.1pt;
    border-style: solid;
    text-align: center;
    padding: 15px;
}

.actboxt {
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: capitalize;
}

.actboxs {
    font-family: "Montserrat";
    font-size: 1rem;
    margin-top: -10px;
}

/*============================================*/

.rules-s {
    border-radius: 32px;
    display: block;
    margin-top: 5%;
    background-color: #f8f4ec;
    margin-left: 20%;
    margin-right: 20%;
    padding-left: 5%;
    padding-right: 5%;
    width: 50%;
    box-shadow: 0 20px 500px rgba(35, 46, 26, 0.9);
    padding-bottom: 30px;
}

.rulesgrid {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    margin-top: -30px;
}

.rules-pdivider {
    width: 50%;
}

.rulestitle {
    font-family: "Athena";
    font-size: 2rem;
}

.rulestext {
    font-family: "Montserrat";
    font-size: 1rem;
    margin-top: -10px;
}

/*============================================*/

.registration-s {
    border-radius: 32px;
    display: block;
    margin-top: 5%;
    background-color: #f8f4ec;
    margin-left: 20%;
    margin-right: 20%;
    padding-left: 5%;
    padding-right: 5%;
    width: 50%;
    box-shadow: 0 20px 500px rgba(35, 46, 26, 0.9);
    padding-bottom: 30px;
}

.formsection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px;
    margin-bottom: 30px;
    margin-right: 30px;
}

.full-span {
  grid-column: 1 / -1;
}

.formgroup {
    margin-bottom: -40px;
}

.formgroup label {
    font-family: "Athena";
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.formgroup input {
    display: block;
    width: 100%;
    padding: 14px 18px;
    font-family: Montserrat;
    font-size: 1rem;
    border: 1px solid rgba(80, 93, 67, 0.25);
    border-radius: 12px;
    color: #222;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box; /* <-- Add this line */
}

.formchoicesection {
    margin-bottom: 26px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 14px;
}

.radio-card-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.92rem;
}

.radio-card input {
  display: none;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #F1C398;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.radio-card input:checked + .radio-custom::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 8px;
  background: #F1C398;
  border-radius: 50%;
}

.radio-label {
    font-family: "Montserrat";
    font-size: 1rem;
}

.fcssleep {
    margin-top: 70px;
}

.formchoicetext {
    font-family: "Athena";
    font-size: 1.5rem;
    margin-top: -5px;
}

.agreements-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 25px 0;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  color: black;
}

.checkbox-container input {
  display: none;
}

.check-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #F1C398;
  border-radius: 6px;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  background: #fff;
}

.checkbox-container input:checked + .check-custom {
  background-color: #F1C398;
}

.checkbox-container input:checked + .check-custom::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check-text {
    font-family: "Montserrat";
    font-size: 1rem;
}

.form-action {
  text-align: center;
  margin-top: 30px;
}

.btn-submit {
  display: inline-block;
  background-color: #F1C398;
  color: #fff;
  border: none;
  font-family: "Athena";
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 42px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(157, 93, 84, 0.3);
}

.btn-submit:hover {
  background-color: #E1BDBE;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(157, 93, 84, 0.4);
}

/*============================================*/

.faq-s {
    border-radius: 32px;
    display: block;
    margin-top: 5%;
    background-color: #f8f4ec;
    margin-left: 20%;
    margin-right: 20%;
    padding-left: 5%;
    padding-right: 5%;
    width: 50%;
    box-shadow: 0 20px 500px rgba(35, 46, 26, 0.9);
    padding-bottom: 30px;
    margin-bottom: 5%;
}

.faqitem {
    padding-bottom: 24px;
    padding-top: 24px;
    border-bottom: 2px solid #000;
}

.faqQ {
    font-family: "Athena";
    font-size: 2rem;
    font-weight: 900;
    color: #000000;
    cursor: pointer;
}

.faqA {
    font-family: "Montserrat";
    font-weight: 400;
    font-size: 1rem;
    color: #000000;
}


/*============================================
   MOBILE OVERRIDES ONLY (Screens <= 768px)
   ============================================*/

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  main {
    padding: 0 12px 40px;
    box-sizing: border-box;
  }

  .headertitle,
  .topics-s,
  .activities-s,
  .rules-s,
  .registration-s,
  .faq-s {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box;
    margin-top: 10%;
  }

  .headertitle {
    border-radius: 200px 200px 24px 24px;
    padding-top: 90px;
    padding-bottom: 45px;
  }

  .ht-subtext {
    font-size: 2.1rem;
  }

  .ht-headtext {
    font-size: 3.2rem;
    line-height: 1.3;
  }

  .ht-datetext {
    font-size: 2rem;
  }

  .ht-button {
    font-size: 1.1rem;
    padding: 12px 24px;
  }

  .topicshead {
    font-size: 2.6rem;
  }

  .topicnum {
    margin-right: 16px;
    font-size: 1.5rem;
  }

  .topictitle {
    font-size: 1.6rem;
  }

  .topicsub {
    font-size: 1.7rem;
    margin-top: -10px;
  }

  .activitiesgrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rulesgrid {
    flex-direction: column;
    gap: 0;
    margin-top: 0;
  }

  .rules-pdivider {
    width: 100%;
  }

  .rulestitle {
    font-size: 1.5rem;
  }

  .formsection {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .formgroup {
    margin-bottom: 0;
  }

  .fcssleep {
    margin-top: 20px;
  }

  .btn-submit {
    width: 100%;
    padding: 14px 20px;
    box-sizing: border-box;
  }

  .faqQ {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  /* ... */
  .formsection {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-right: 0 !important; /* ensures the desktop 30px margin doesn't shift the inputs right */
    margin-bottom: 10px;
  }
}