/* ===== COLORS (change them here and the whole site changes) ===== */
:root {
  --cream: #fffefa;
  --dark-green: #343c25;
  --green: #4f5c38;
  --orange: #bf612e;
  --black: #19191a;
}

/* ===== BASICS ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: var(--cream);
  color: var(--black);
  line-height: 1.7;
}

h1, h2, h3, .brand, #menu a, .button {
  font-family: 'Archivo', Arial, sans-serif;
}

/* ===== TOP MENU ===== */
#top-bar {
  position: sticky;      /* stays at the top when you scroll */
  top: 0;
  z-index: 10;
  background-color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  border-bottom: 3px solid var(--orange);
}

#top-bar.scrolled { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); }

.brand {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--dark-green);
  text-decoration: none;
}

#menu a {
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 2px;
  margin-left: 25px;
}

#menu a:hover { color: var(--orange); }

#menu-button {
  display: none;         /* hidden on computers */
  background: none;
  border: none;
  font-size: 30px;
  color: var(--dark-green);
  cursor: pointer;
}

/* ===== MAIN MESSAGE ===== */
.hero {
  background-color: var(--dark-green);
  color: var(--cream);
  padding: 50px 40px;
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px; 
}

.hero-box {
  max-width: 750px;
  margin: 0;
}

.hero-logo {
  width: 750px;
  max-width: 100%;
}

.small-line {
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero p { font-size: 18px; margin-bottom: 15px; }

.hero h2 {
  font-size: 28px;
  margin: 40px 0 30px 0;
  padding-left: 20px;
  border-left: 5px solid var(--orange);
  white-space: nowrap;
}

/* ===== BUTTON ===== */
.button {
  display: inline-block;
  background-color: var(--orange);
  color: white;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 4px;
}

.button-row {
  text-align: center;
  margin-top: 60px;
}

.button:hover { background-color: var(--cream); color: var(--dark-green); }

/* ===== LOGO ===== */
.logo-section { text-align: center; padding: 70px 20px; }
.logo-section img { width: 320px; max-width: 100%; }

/* ===== LATEST FROM THE FIELD ===== */
.field-section {
  background-color: var(--black);
  color: var(--cream);
  padding: 70px 40px;
}

.field-section h2 {
  max-width: 750px;
  margin: 0 auto;
  font-size: 34px;
  text-transform: uppercase;
}

/* ===== ABOUT PAGE ONLY ===== */
.about-hero {
  padding: 50px 40px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 720px;  /* text takes the space left, images get 420px */
  gap: 40px;
  align-items: start;                /* everything starts at the top */
}

.about-layout .hero-box {
  max-width: none;                   /* lets the text use its whole column */
  min-width: 0;
}

.about-layout h2 {
  white-space: normal;               /* lets long headings wrap normally */
}

.image-stack {
  display: flex;
  flex-direction: column;            /* images on top of each other */
  gap: 30px;
}

.image-stack img {
  width: 100%;                       /* each image fills the 420px column */
  height: auto;
  display: block;
}

/* ===== PHOTOS PAGE ===== */
.photos-layout .hero-box {
  max-width: none;               /* lets the text and photos use the full width */
}

.photos-box {
  max-width: none;         /* removes the 750px limit so photos can use the full width */
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3 photos per row, change the 3 for more or fewer */
  gap: 20px;
  margin-top: 20px;
}

.photo-row img {
  width: 100%;
  height: auto;                 /* makes every photo the same height */
  object-fit: cover;             /* crops to fit instead of stretching */
  border-radius: 8px;
  display: block;
}

/* ===== PHOTO POP-UP ===== */
.photo-row img {
  cursor: zoom-in;               /* shows a magnifying glass when hovering a photo */
}

.lightbox {
  display: none;                 /* hidden until a photo is clicked */
  position: fixed;               /* covers the whole screen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);   /* dark see-through background */
  z-index: 100;                  /* sits on top of the menu bar */
  justify-content: center;
  align-items: center;
}

.lightbox.open {
  display: flex;                 /* JavaScript adds "open" to show it */
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;               /* keeps big photos on the screen */
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 50px;
  cursor: pointer;
}

/* ===== GEAR PAGE ===== */
.gear-section {
  padding: 50px 40px;
}

.gear-section h1 {
  color: var(--orange);
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));  /* as many columns as fit */
  gap: 25px;
  margin-top: 30px;
}

.gear-card {
  background-color: var(--cream);
  color: var(--black);
  border-radius: 8px;
  overflow: hidden;
  border-bottom: 4px solid var(--orange);
}

.gear-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;      /* crops the picture instead of stretching it */
  display: block;
}

.gear-card-body { padding: 15px; }

.gear-brand {
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gear-card h3 { margin: 5px 0 10px 0; }

.gear-card .button {
  margin-top: 12px;
  padding: 10px 20px;
  font-size: 13px;
}

.gear-card .button:hover {
  background-color: var(--dark-green);
  color: var(--cream);
}

/* ===== PHONES (screens 700px wide or smaller) ===== */
@media (max-width: 700px) {
  #top-bar { flex-wrap: wrap; padding: 12px 20px; }
  #menu-button { display: block; }

  #menu { display: none; width: 100%; padding-top: 10px; }
  #menu.open { display: block; }   /* JavaScript adds "open" */
  #menu a { display: block; margin: 0; padding: 10px 0; }

  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 38px; }
  .hero h2 { font-size: 22px; }
  .hero h2 {white-space: normal; }
  .hero-layout { flex-direction: column;}
  .about-layout { grid-template-columns: 1fr; }
}
