/* CSS Document */
@charset "utf-8";
<style>
    /* --- General Reset --- */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.6;
      color: #2b2b2b;
      background: #fff;
    }
    
    /* --- --- Navigation --- --- */
    /* --- Nav Bar on Desktop --- */
    @media (min-width: 768px){
        nav {
          background: #2b2b2b;
          position: fixed;
          top: 0;
          width: 100%;
          z-index: 1000;
          display: flex;
          justify-content: center;
          padding: 1rem 0;
        }
        
        nav ul {
          display: flex;
          list-style: none;
          gap: 2rem;
        }
        nav ul li a {
          text-decoration: none;
          color: #fff;
          padding: 0.5rem 1rem;
          transition: all 0.3s ease;
          border-radius: 5px;
        }
        nav ul li a:hover {
          background: #b22222; /* deep red accent */
          color: #fff;
        }
    }
    
    /*--- Nav Bar on Mobile --- */
    
    @media (max-width: 767px) {
        
        nav {
          background: #2b2b2b;
          position: static;
          width: 100%;
          display: flex;
          justify-content: center;
          padding: 1rem 0;
        }
        
        nav ul {
            display: flex;
            flex-wrap: nowrap;   /* keep them in a row */
            overflow-x: auto;    /* allow horizontal scroll if too many links */
            justify-content: space-around; /* Distributes items evenly with space around them */
            align-items: center; /* Vertically centers items if they have different heights */
            gap: 1rem;
            padding: 0.5rem;
        }
    
        nav li {
            flex: 0 0 auto;      /* don’t let items shrink too small */
        }
    
        nav li a {
            text-decoration: none;
            color: #fff;
            transition: all 0.3s ease;
            border-radius: 5px;
            font-size: 0.9rem;   /* slightly smaller links */
            padding: 0.5rem 0.8rem;
        }
    }
    
    /* --- Hero Section with Logo --- */
    .hero {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding-top: 100px;
      padding-bottom: 50px;
      background: #f8f8f8;
    }
    @media (max-width: 300px) { /*-- Ensures the logo is responsive on screens smaller than the typical logo width --*/
		.hero img {
		  max-width: 95%;
		  height: auto;
		}
	}
	
	@media (min-width: 301px) { /*-- Ensures the logo stays at 300 px wide on screens wider than that --*/
		.hero img {
		  max-width: 300px;
		  height: auto;
		}
	}

    /* --- Section Styling --- */
    section {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 80vh;
      padding: 3rem 10%;
      gap: 2rem;
    }
    section:nth-child(even) {
      flex-direction: row-reverse;
      background: #f8f8f8;
    }
    section div {
      flex: 1;
    }
    section img {
      width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
	
	#packmooseportrait {
	  display: flex;
	  justify-content: center;   /* center horizontally */
	  align-items: center;       /* center vertically */	
	}
	
	#packmooseportrait div {
		height: 90vh;
		width: 100%;
	}
	
	#packmooseportrait img {
		max-width: 100%;   /* scale down to fit width if needed */
	  	max-height: 100%;  /* scale down to fit height if needed */
	  	object-fit: contain; /* ensures full image is visible */
	}

    /* --- Parallax Effect --- 
    .parallax {
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      min-height: 50vh;
    }
*/

/* --- Parallax Wrapper --- */
.parallax {
  position: relative;
  height: 50vh;
  overflow: hidden;
}

.parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%; /* extra height so it moves smoothly */
  background-image: url('warehouse.jpg');
  background-size: cover;
  background-position: center;
  transform: translateY(-20%);
  z-index: -1;
}

/* Scrolling effect */
.parallax {
  background: none; /* disable fallback background */
}

    /* --- Footer --- */
    footer {
      background: #2b2b2b;
      color: #fff;
      padding: 2rem 10%;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 2rem;
    }
    footer div {
      flex: 1;
      min-width: 200px;
    }
    footer a {
      color: #fff;
      text-decoration: none;
      transition: 0.3s;
    }
    footer a:hover {
      color: #b22222;
    }

    /* --- Responsive --- */
    @media (max-width: 768px) {
      section {
        flex-direction: column !important;
      }
      nav ul {
        flex-direction: column;
        gap: 1rem;
      }
    }
  </style>

