/* ===== Destined for Mars — Global Styles ===== */
/* Palette
   --charcoal: #423a36;
   --tan:      #fcfae3;
   --marine:   #b0edc6;
   --darkgrn:  #325e56;
   --orange:   #f08a40;
   --red:      #dd4601;
*/

:root{
  --charcoal:#423a36;
  --tan:#fcfae3;
  --marine:#b0edc6;
  --darkgrn:#325e56;
  --orange:#f08a40;
  --red:#dd4601;
}

/* Base page styling */
.site-logo {
  display: block;        /* makes it respect margins */
  margin: 0 auto 20px;   /* centers horizontally + space below */
  max-width: 300px;      /* scales logo to fit smaller screens */
  height: auto;          /* keeps proportions */
}

body{
  background-color: var(--tan);
  color: var(--charcoal);
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 40px 24px;
  line-height: 1.6;
}

/* Big centered title with orange outline */
.title-box{
  font-size: 3rem;
  font-weight: 700;
  color: var(--charcoal);
  border: 4px solid var(--orange);
  padding: 20px 40px;
  margin: 0 auto 20px auto;  /* center horizontally + space below */
  display: block;
  text-align: center;
  width: fit-content;        /* box hugs text */
}

/* Inline navigation under title */
.main-nav{
  text-align: center;
  margin: 10px 0 40px 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav a{
  text-decoration: none;
  font-weight: 700;
  color: var(--darkgrn);
  background: var(--marine);
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(50,94,86,0.25); /* subtle outline */
  transition: background .15s ease, color .15s ease, transform .05s ease;
}

.main-nav a:hover{
  background: var(--orange);
  color: var(--tan);
  transform: translateY(-1px);
}

/* Link defaults inside content */
a{
  color: var(--darkgrn);
  text-decoration: underline;
}
a:hover{ color: var(--red); }

/* Dispatch (content column) */
.dispatch{
  max-width: 760px;   /* comfy reading width */
  margin: 0 auto;     /* center the column */
  text-align: left;
  font-size: 1.075rem;
}

/* Transmission log label boxes */
.log-box{
  background-color: var(--orange);
  color: var(--tan);
  padding: 10px 15px;
  margin: 16px 0 8px 0;
  display: inline-block;     /* box hugs text */
  font-weight: 700;
  border: none;              /* no border */
  letter-spacing: .02em;
}

/* Optional: small meta text style */
.meta{
  font-size: .9rem;
  color: var(--darkgrn);
  opacity: .9;
}

/* Optional: subtle section divider */
.hr{
  height: 1px;
  background: rgba(66,58,54,.25);
  margin: 24px 0;
}

/* Responsive tweaks */
@media (max-width: 600px){
  .title-box{
    font-size: 2.2rem;
    padding: 16px 24px;
  }
  body{ padding: 28px 16px; }
}
/* Mobile adjustments */
@media (max-width: 600px) {
  body {
    font-size: 1rem;   /* ensures base text is at least 16px */
    line-height: 1.6;
    padding: 20px;     /* less padding on small screens */
  }

  .title-box {
    font-size: 2rem;   /* shrink header a bit */
    padding: 14px 20px;
  }

  .log-box {
    font-size: 1rem;   /* make log labels easier to read */
    padding: 8px 12px;
  }

  .main-nav a {
    font-size: 0.95rem;   /* keep nav links legible */
    padding: 6px 10px;
  }
}
.responsive-img {
  max-width: 100%;   /* never exceed the container width */
  height: auto;      /* keep proportions */
  display: block;    /* allows margin auto centering */
  margin: 0 auto 20px; /* centers image + spacing below */
}


