/* =====================================================
   LIFE ON LAND - LOW-FIDELITY CSS
===================================================== */

* {
  box-sizing: border-box;
}


body {
  margin: 0;

  min-height: 100vh;

  background: #ffffff;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color: #18251d;
}


/* =====================================================
   CENTER PHONE
===================================================== */

.prototype-wrapper {
  display: flex;

  justify-content: center;

  padding: 16px;
}


/* =====================================================
   PHONE
===================================================== */

.phone-app {
  width: 440px;

  min-height: 850px;

  background: #f5e9d2;

  border:
    9px solid #292722;

  border-radius: 42px;

  overflow: hidden;

  position: relative;

  box-shadow:
    0 15px 40px
    rgba(0, 0, 0, 0.20);
}


/* =====================================================
   STATUS BAR
===================================================== */

.status-bar {
  height: 34px;

  background: #f5e9d2;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 14px;

  font-size: 13px;

  font-weight: bold;
}

.status-icons {
  display: flex;

  align-items: center;

  gap: 8px;
}

.signal-icon {
  font-size: 11px;

  letter-spacing: -2px;
}

.wifi-icon {
  font-size: 15px;
}

.battery-icon {
  width: 26px;

  height: 13px;

  border:
    1.5px solid #263228;

  border-radius: 3px;

  display: block;

  padding: 1px;
}

.battery-fill {
  display: block;

  width: 78%;

  height: 100%;

  background: #47734e;

  border-radius: 1px;
}


/* =====================================================
   TOP HEADER
===================================================== */

.top-header {
  background: #2d633d;

  color: #ffffff;

  min-height: 108px;

  padding:
    13px 20px 20px;

  position: relative;

  text-align: center;

  border-bottom:
    3px solid #a7b98c;
}

.brand {
  font-size: 20px;

  font-weight: 900;

  letter-spacing: 3px;

  padding-top: 6px;
}

.tagline {
  margin: 8px 0 0;

  color: #f8f0dd;

  font-family:
    Georgia,
    serif;

  font-style: italic;

  font-size: 15px;
}

.menu-button,
.back-button {
  position: absolute;

  top: 20px;

  background: transparent;

  border: none;

  color: #ffffff;

  cursor: pointer;
}

.menu-button {
  left: 15px;

  font-size: 31px;
}

.back-button {
  right: 15px;

  font-size: 30px;
}


/* =====================================================
   PAGES
===================================================== */

.page {
  display: none;

  padding:
    0 25px 90px;
}

.page.active {
  display: block;
}


/* =====================================================
   PAGE TITLE
===================================================== */

.page-title {
  text-align: center;

  padding:
    8px 0 4px;
}

.page-title h1 {
  margin:
    0 0 8px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 36px;

  color: #263027;
}

.page-title p {
  margin: 0;

  font-family:
    Georgia,
    serif;

  font-style: italic;

  color: #c96d3a;

  font-size: 15px;
}


/* =====================================================
   HERO
===================================================== */

.hero-card {
  position: relative;

  height: 215px;

  margin:
    18px 0;

  border:
    2px solid #28251f;

  border-radius: 18px;

  overflow: hidden;

  box-shadow:
    0 5px 10px
    rgba(0, 0, 0, 0.18);
}

.hero-card img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;
}

.hero-text {
  position: absolute;

  inset: 0;

  display: flex;

  align-items: flex-end;

  padding: 18px;

  background:
    linear-gradient(
      to top,
      rgba(18, 25, 19, 0.85),
      rgba(18, 25, 19, 0.05)
    );
}

.hero-text h2 {
  margin: 0;

  color: #ffffff;

  font-size: 24px;
}


/* =====================================================
   INFO CARD
===================================================== */

.info-card {
  background: #faf4e8;

  border:
    1px solid #d5c3a5;

  border-radius: 16px;

  padding: 18px;

  margin:
    14px 0;

  box-shadow:
    0 4px 9px
    rgba(0, 0, 0, 0.08);
}

.info-card h3 {
  margin:
    0 0 8px;

  color: #163f28;

  font-size: 19px;
}

.info-card p {
  margin: 0;

  color: #526056;

  font-size: 15px;
}


/* =====================================================
   LEARN ABOUT NATURE
===================================================== */

.learn-title {
  text-align: center;

  color: #2c6841;

  font-family:
    Georgia,
    serif;

  font-size: 28px;

  margin:
    25px 0 20px;
}

.topic-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;

  text-align: center;
}

.topic-card {
  border: none;

  background: transparent;

  cursor: pointer;

  color: #17241b;

  font-weight: bold;

  font-size: 14px;
}

.topic-image {
  width: 82px;

  height: 82px;

  margin: auto;

  border-radius: 50%;

  overflow: hidden;

  border:
    2px solid #28251f;

  box-shadow:
    0 4px 7px
    rgba(0, 0, 0, 0.18);
}

.topic-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.topic-card span {
  display: block;

  margin-top: 7px;
}


/* =====================================================
   BUTTONS
===================================================== */

.main-button,
.join-button,
.secondary-button {
  width: 100%;

  border-radius: 14px;

  padding: 15px;

  font-size: 16px;

  font-weight: bold;

  cursor: pointer;
}

.main-button {
  margin-top: 22px;

  background: #6d8250;

  color: #ffffff;

  border:
    2px solid #415132;
}

.main-button:hover {
  background: #5d7143;
}

.join-button {
  margin-top: 18px;

  background: #c66d38;

  color: #ffffff;

  border:
    2px solid #9e4f24;
}

.join-button:hover {
  background: #ad5b2d;
}

.secondary-button {
  margin-top: 10px;

  background: #f8f0df;

  color: #315d3e;

  border:
    2px solid #a1af91;
}


/* =====================================================
   TOPIC DETAIL
===================================================== */

.topic-detail-image {
  height: 190px;

  margin:
    16px 0;

  border:
    2px solid #292722;

  border-radius: 16px;

  overflow: hidden;
}

.topic-detail-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}


/* =====================================================
   LARGE TOPICS
===================================================== */

.large-topic {
  position: relative;

  width: 100%;

  height: 150px;

  border:
    2px solid #28251f;

  border-radius: 16px;

  overflow: hidden;

  padding: 0;

  margin-bottom: 15px;

  background: #315f3e;

  cursor: pointer;

  text-align: left;
}

.large-topic img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.large-topic div {
  position: absolute;

  inset: 0;

  padding: 16px;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  color: #ffffff;

  background:
    linear-gradient(
      to top,
      rgba(15, 30, 18, 0.82),
      rgba(15, 30, 18, 0.05)
    );
}

.large-topic h2 {
  margin: 0 0 4px;

  font-size: 22px;
}

.large-topic p {
  margin: 0;

  font-size: 13px;
}


/* =====================================================
   FILTERS
===================================================== */

.activity-filters {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 6px;

  margin:
    14px 0;
}

.filter {
  padding: 9px 4px;

  border:
    1px solid #b7a88e;

  border-radius: 9px;

  background: #faf4e8;

  color: #314c38;

  cursor: pointer;

  font-size: 11px;
}

.filter.active {
  background: #2d633d;

  color: #ffffff;

  border-color: #2d633d;
}


/* =====================================================
   ACTIVITY LIST
===================================================== */

.activity-list {
  display: grid;

  gap: 14px;
}

.activity-card {
  background: #faf4e8;

  border:
    1px solid #d3c1a3;

  border-radius: 15px;

  overflow: hidden;

  box-shadow:
    0 4px 9px
    rgba(0, 0, 0, 0.07);
}

.activity-card img {
  width: 100%;

  height: 135px;

  object-fit: cover;
}

.activity-content {
  padding: 14px;
}

.activity-content h3 {
  margin:
    0 0 8px;

  color: #214c30;
}

.activity-content p {
  margin: 5px 0;

  color: #59665d;

  font-size: 13px;
}

.activity-tags {
  display: flex;

  gap: 6px;

  margin:
    10px 0;

  flex-wrap: wrap;
}

.activity-tag {
  padding:
    5px 8px;

  border-radius: 10px;

  background: #e1ead8;

  color: #2e6040;

  font-size: 11px;

  font-weight: bold;
}

.view-button {
  width: 100%;

  padding: 12px;

  background: #2d633d;

  border:
    2px solid #214c30;

  border-radius: 10px;

  color: #ffffff;

  font-weight: bold;

  cursor: pointer;
}


/* =====================================================
   ACTIVITY DETAILS
===================================================== */

.detail-card {
  background: #faf4e8;

  border:
    1px solid #d3c1a3;

  border-radius: 16px;

  padding: 18px;

  margin-top: 15px;
}

.detail-row {
  display: flex;

  flex-direction: column;

  gap: 4px;

  margin-bottom: 15px;
}

.detail-row strong {
  color: #2d633d;
}


/* =====================================================
   CONFIRMATION
===================================================== */

.confirmation {
  text-align: center;

  padding:
    50px 10px;
}

.check-circle {
  width: 78px;

  height: 78px;

  margin:
    0 auto 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #4c8b54;

  color: #ffffff;

  font-size: 44px;

  font-weight: bold;
}

.confirmation h1 {
  color: #2d633d;
}


/* =====================================================
   SIDE MENU
===================================================== */

.menu-overlay {
  position: fixed;

  inset: 0;

  background:
    rgba(0, 0, 0, 0.45);

  opacity: 0;

  visibility: hidden;

  transition:
    0.25s ease;

  z-index: 1000;
}

.menu-overlay.open {
  opacity: 1;

  visibility: visible;
}

.side-menu {
  width: 290px;

  max-width: 82vw;

  height: 100%;

  background: #fbf7ef;

  padding: 22px 15px;

  transform:
    translateX(-100%);

  transition:
    transform 0.3s ease;
}

.menu-overlay.open .side-menu {
  transform:
    translateX(0);
}

.menu-header {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  margin-bottom: 18px;
}

.menu-header h2 {
  margin: 0;

  color: #2d633d;
}

.menu-header p {
  margin:
    6px 0 0;

  color: #5c665e;

  font-family:
    Georgia,
    serif;

  font-style: italic;
}

.close-menu {
  border: none;

  background: transparent;

  font-size: 28px;

  cursor: pointer;
}

.menu-link {
  width: 100%;

  padding: 14px 10px;

  margin-bottom: 5px;

  border: none;

  border-bottom:
    1px solid #ded4c3;

  background: transparent;

  text-align: left;

  font-size: 15px;

  color: #243a2b;

  cursor: pointer;

  border-radius: 8px;
}

.menu-link:hover {
  background: #edf4ed;
}


/* =====================================================
   BOTTOM NAVIGATION
===================================================== */

.bottom-nav {
  position: absolute;

  left: 0;

  right: 0;

  bottom: 0;

  height: 80px;

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  background: #2d633d;

  border-top:
    2px solid #3f754e;

  z-index: 50;
}

.bottom-nav button {
  border: none;

  background: transparent;

  color: #ffffff;

  font-weight: bold;

  font-size: 14px;

  cursor: pointer;

  border-radius: 13px;

  margin: 8px 5px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 3px;
}

.bottom-nav button span {
  font-size: 17px;
}

.bottom-nav button.active {
  background: #66886d;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 500px) {

  .prototype-wrapper {
    padding: 0;
  }

  .phone-app {
    width: 100%;

    max-width: 440px;

    min-height: 100vh;

    border-radius: 0;

    border-left:
      6px solid #292722;

    border-right:
      6px solid #292722;
  }

  .page {
    padding-left: 22px;

    padding-right: 22px;
  }

  .page-title h1 {
    font-size: 33px;
  }

  .hero-card {
    height: 200px;
  }

}