<style>

/* ==========================================================================
   1. NAVIGATION MENU & RESPONSIVE HAMBURGER DRAWERS
   ========================================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
}

.navbar .logo {
  color: #fff;
  font-family: 'Segoe UI Light', sans-serif;
  font-size: 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  font-family: 'Segoe UI Light', sans-serif;
}

/* Dropdown Menu Systems */
.dropdown, .nested-dropdown {
  display: none;
  position: absolute;
  background-color: #444;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
}

.nested-dropdown {
  left: 100%;
  top: 0;
}

.nav-item:hover > .dropdown,
.nested-item:hover > .nested-dropdown {
  display: block;
}

/* Mobile Navigation Breakpoint Overrides */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
    cursor: pointer;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links .dropdown,
  .nav-links .nested-dropdown {
    display: none !important;
    position: relative;
    left: 0;
    width: 100%;
    background-color: #444;
  }

  /* JavaScript Click Drawer Activation Rules */
  .nav-links .nav-item.open > .dropdown,
  .nav-links .nested-item.open > .nested-dropdown {
    display: block !important;
  }

  .nav-links .nav-link {
    font-weight: normal !important;
    padding-left: 25px;
  }

  .nav-links .nav-item > .nav-link[href="#portfolio"],
  .nav-links .dropdown .nested-item > .nav-link {
    font-weight: bold !important;
  }

  .nav-links .nav-link span.arrow {
    display: inline-block !important;
    transition: transform 0.3s ease;
  }

  .nav-links .nav-item.open > .nav-link span.arrow,
  .nav-links .nested-item.open > .nav-link span.arrow {
    transform: rotate(90deg) !important;
  }
}

/* ==========================================================================
   2. NEW TABLELESS 1200PX DYNAMIC PORTFOLIO GALLERY GRID
   ========================================================================== */
.gallery-responsive-container {
  width: 100% !important;
  max-width: 1200px !important;    /* Keeps everything aligned with your 1200px banners */
  margin: 20px auto !important;    /* Centers the entire block on desktop screens */
  display: flex !important;
  flex-wrap: wrap !important;
  box-sizing: border-box !important;
  padding: 5px !important;
}

.gallery-responsive-card {
  /* MOBILE FIRST DEFAULT: Takes 100% width on small screens to look like the banners */
  width: 100% !important; 
  box-sizing: border-box !important;
  padding: 10px !important;         /* Creates your precise 15px border spacing gaps */
}

.gallery-responsive-card a {
  display: block !important;
  width: 100% !important;
  text-decoration: none !important;
}

.gallery-responsive-card img {
  width: 100% !important;          /* Forces images to fill the container on wide displays */
  height: auto !important;
  display: block !important;
  border: 0 !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Subtle image scale lift on hover */
.gallery-responsive-card a:hover img {
  transform: scale(1.02);
  opacity: 0.9;
}

/* DESKTOP BREAKPOINT: Splits rows into 2 clean 50% columns when width allows */
@media screen and (min-width: 769px) {
  .gallery-responsive-card {
    width: 50% !important; 
  }
}

/* ==========================================================================
   3. BOTTOM CONTENT AREAS & FOOTER ELEMENTS
   ========================================================================== */
.portfolio-text-bottom {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
  text-align: center;
}

.portfolio-text-bottom p {
  line-height: 1.6;
  color: #333;
}

/* ==========================================================================
   4. LIGHTBOX MODAL BOX STYLING PROPERTIES
   ========================================================================== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.lightbox-content img {
  max-width: 90%;
  max-height: 80%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

#lightbox-caption {
  color: #fff;
  font-family: 'Garamond', serif;
  margin-top: 15px;
  font-size: 18px;
}

/* Navigation & Close Actions */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  padding: 15px;
}

.nav-left { left: 20px; }
.nav-right { right: 20px; }


 </style>