/* =========================
   Smorthnet.css (full file)
   Background image panels: SHOW FULL IMAGE (no zoom/crop)
   ========================= */

/* Base document */
html, body {
  height: 100%;
  margin: 0;
  font: 400 15px/1.8 "Lato", sans-serif;
  color: #777;
}

/* -------------------------
   Background image sections
   ------------------------- */

/* Base rule for all background sections */
.bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5, .bgimg-6 {
  position: relative;
  width: 100%;

  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #000;

  /* iPad/iOS-safe sizing */
  height: 100vh;       /* force a real height */
  min-height: 100vh;   /* fallback */
  background-attachment: scroll;
}

/* Prefer newer viewport units when supported */
@supports (height: 100dvh) {
  .bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5, .bgimg-6 {
    height: 100dvh;
    min-height: 100dvh;
  }
}

/* Desktop only: enable fixed background (parallax effect) */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5, .bgimg-6 {
    background-attachment: fixed;
  }

  .bgimg-2, .bgimg-5 {
    min-height: 900px;
  }
}

  /* If you liked the taller sections on desktop only */
  .bgimg-2, .bgimg-5 {
    min-height: 900px;
  }
}

/* Mobile/tablet: ensure the 900px doesn't blow up the layout */
@media (max-width: 1024px) {
  .bgimg-2, .bgimg-5 {
    min-height: 100vh;
  }
}

/* -------------------------
   Navigation
   ------------------------- */

.navigation {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  height: 40px;          /* fixed: add px */
  background-color: white;
}

.navbar {
  overflow: hidden;
  background-color: #333;
  font-family: Arial, Helvetica, sans-serif;
}

/* Nav links */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 8px 16px;
  text-decoration: none;
}

/* Dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 13px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Hover states */
.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: red;
}

/* Dropdown panel */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* -------------------------
   Info panel blocks
   ------------------------- */

.info_panel {
  min-height: 50%;
}

/* -------------------------
   Captions over images
   ------------------------- */

.caption {
  position: absolute;
  left: 0;
  top: 80%;
  width: 100%;
  text-align: center;
  color: #fff;
}

.caption span.border {
  background-color: rgba(0,0,0,0.35); /* softer than solid black */
  color: #fff;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;
}

/* Headings */
h3 {
  letter-spacing: 5px;
  text-transform: uppercase;
  font: 20px "Lato", sans-serif;
  color: #111;
}

/* -------------------------
   Mobile tweaks
   ------------------------- */

@media (max-width: 600px) {
  .caption {
    top: 70%;
  }

  .caption span.border {
    font-size: 18px;
    letter-spacing: 6px;
    padding: 12px;
  }

  /* Reduce side padding in your inline content blocks */
  /* (Your HTML uses padding:50px 80px inline; this helps on phones if you remove inline later) */
}