/* Blog content styling */
.blog-content {
  max-width: 700px;
  margin: 2.5rem auto;
  padding: 2.5rem 2rem 2rem 2rem;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  font-size: 1.15rem;
  line-height: 1.7;
  color: #222;
}
.blog-content h1, .blog-content h2, .blog-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.7em;
  font-weight: bold;
  color: #a59033;
}
.blog-content h1 {
  font-size: 2.1rem;
}
.blog-content h2 {
  font-size: 1.4rem;
}
.blog-content p {
  margin-bottom: 1.2em;
}
/* Ensure mobile nav and sidebar are always above hero video */
.mobile-nav {
  z-index: 11000;
  position: relative;
}
.sidenav {
  z-index: 12000;
}
* {
  box-sizing: border-box;
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial;
  font-size: 17px;
}


#app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgba(0, 128, 255, 0.18) !important; /* DEBUG: blue, force visible */
}


main {
  flex: 1 0 auto;
  margin: 0;
  padding: 70px 0 0 0; /* Offset for fixed nav height */
  background: rgba(255, 128, 0, 0.18) !important; /* DEBUG: orange, force visible */
}

/* Ensure nav overlays content */
/* Ensure nav overlays content and is always clickable */
#main-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 10000;
  pointer-events: auto;
}

/* For hero/heroVideoSection on all pages */
.hero, .heroVideoSection {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  margin-top: -70px; /* Pull hero/heroVideoSection up under nav (adjust to nav height) */
  padding-top: 0;
}

#hero-bg-video, .heroVideoSection video, #video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
  max-width: 100vw;
  max-height: 100vh;
}
.hero-overlay-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 2;
  pointer-events: none;
}
.hero-content-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  color: #fff;
  text-align: center;
  width: 90vw;
  max-width: 700px;
  background: rgba(0,0,0,0.5);
  padding: 2rem;
  border-radius: 1rem;
}

/* NAVIGATION OVERLAY (MOBILE SIDEBAR & DESKTOP STICKY) */
#main-nav-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  z-index: 1000; /* Above hero/video */
  background: transparent;
  pointer-events: auto;
}
#main-nav-overlay .nav-hamburger {
  display: flex;
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  width: 2.2rem;
  height: 2.2rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1100;
  background: none;
  border: none;
  padding: 0;
  pointer-events: auto;
}
#main-nav-overlay .nav-hamburger span {
  display: block;
  width: 2.2rem;
  height: 0.3rem;
  margin: 0.3rem 0;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
#main-nav-overlay .nav-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
#main-nav-overlay .nav-sidebar-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
#main-nav-overlay .nav-sidebar {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 80vw;
  max-width: 340px;
  background: linear-gradient(120deg, #181818 80%, #232323 100%);
  color: #fff;
  z-index: 1200;
  box-shadow: 2px 0 16px rgba(0,0,0,0.4);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.3s;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  border-top-right-radius: 1.2em;
  border-bottom-right-radius: 1.2em;
  opacity: 0;
  pointer-events: none;
}
#main-nav-overlay .nav-sidebar.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
#main-nav-overlay .nav-sidebar .nav-logo {
  margin-bottom: 2rem;
  text-align: left;
}
#main-nav-overlay .nav-sidebar a {
  color: #ffd700;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.7rem;
  transition: color 0.2s, background 0.2s;
  border-radius: 0.3em;
  padding: 0.4em 0.7em;
}
#main-nav-overlay .nav-sidebar a:hover {
  color: #fffbe0;
  background: #232323;
}
#main-nav-overlay .nav-sidebar .sidebar-dropdown-toggle {
  background: none;
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  margin-bottom: 0.7rem;
  width: 100%;
  text-align: left;
  padding: 0.4em 0.7em;
  border-radius: 0.3em;
  transition: background 0.2s;
}
#main-nav-overlay .nav-sidebar .sidebar-dropdown-toggle:hover {
  background: #232323;
}
#main-nav-overlay .nav-sidebar .sidebar-dropdown-menu {
  display: flex;
  flex-direction: column;
  margin-left: 1.2rem;
  border-left: 2px solid #ffd700;
  padding-left: 1rem;
}
#main-nav-overlay .nav-sidebar .sidebar-dropdown-menu a {
  color: #ffd700;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.3em 0.5em;
}
#main-nav-overlay .nav-sidebar .sidebar-dropdown-menu a:hover {
  color: #fffbe0;
  background: #232323;
}
#main-nav-overlay .nav-sidebar .nav-sidebar-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 1300;
  transition: color 0.2s;
}
#main-nav-overlay .nav-sidebar .nav-sidebar-close:hover {
  color: #ffd700;
}

/* DESKTOP STICKY NAVIGATION */
@media (min-width: 801px) {
  #main-nav-overlay {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    pointer-events: auto;
    background: rgba(24,24,24,0.85); /* semi-transparent over hero */
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  }
  #main-nav-overlay .nav-hamburger,
  #main-nav-overlay .nav-sidebar,
  #main-nav-overlay .nav-sidebar-overlay {
    display: none !important;
  }
  /* Add your desktop nav styles here if needed */
}

/* Ensure hero overlays are always below nav */
.hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
}
#hero-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  max-width: 100vw;
  max-height: 100vh;
}

.hero-content-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  color: #fff;
  text-align: center;
  width: 90vw;
  max-width: 700px;
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 1rem;
}


/* --- FOOTER & CONTACT FORM --- */
.footer {
  background: rgba(172, 144, 51, 0.9) !important;
  color: #fff !important;
  text-align: center;
  padding: 1rem 0;
  flex-shrink: 0;
  /*border-top: 4px solid #f00 !important;  DEBUG: red border */
  color:#fff;
  text-align:center;
  padding:1rem 0;
}

#app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* CONTACT FORM STYLES - OVERRIDE AND CLARIFY */
/* .contact-form {
  background: #222;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  margin: 2rem auto;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.2rem;
  border: 2px solid #444;
  border-radius: 0.4rem;
  background: #111;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffd700;
  outline: none;
}
.contact-form input.valid,
.contact-form textarea.valid {
  border-color: #28a745;
  background: #181;
  color: #fff;
}
.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: #dc3545;
  background: #311;
  color: #fff;
}
.contact-form button {
  background: #ffd700;
  color: #222;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.4rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover {
  background: #e6c200;
}
.contact-form .error-message {
  color: #dc3545;
  font-size: 0.95em;
  margin-top: -1em;
  margin-bottom: 1em;
  display: none;
}
.contact-form .error-message.active {
  display: block;
} */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
#app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  
}
/* body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
} */
main {
  flex: 1 0 auto;
  margin: 0;
  padding: 70px 0 0 0; /* Add top padding equal to nav height */
  /*Do NOT add padding-top to body or #app-container.
    Keep the flexbox sticky footer CSS as is. */
}
.footer {
  flex-shrink: 0;
}

/* SIDEBAR NAVIGATION */
/* .sidenav {
  height: 100vh;
  width: 0;
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  background: rgba(24,24,24,0.97);
  overflow-x: hidden;
  transition: width 0.35s cubic-bezier(.4,0,.2,1);
  padding-top: 2.5rem;
  box-shadow: 2px 0 16px rgba(0,0,0,0.4);
  border-top-right-radius: 1.2em;
  border-bottom-right-radius: 1.2em;
}
.sidenav[aria-hidden="false"] {
  width: 270px;
}
.sidenav .closebtn {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1300;
}
.sidenav .nav-logo {
  margin-bottom: 2rem;
  text-align: left;
}
.sidenav a, .sidenav button.accordion {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.7rem;
  background: none;
  border: none;
  padding: 0.6em 1.2em 0.6em 1.2em;
  border-radius: 0.3em;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.sidenav a:hover, .sidenav button.accordion:hover {
  background: #232323;
  color: #ffd700;
}
.sidenav button.accordion {
  justify-content: space-between;
  font-size: 1.1em;
  font-weight: 700;
  color: #fff;
  width: 100%;
  outline: none;
}
.sidenav button.accordion.active, .sidenav button.accordion[aria-expanded=\"true\"] {
  color: #ffd700;
}
.sidenav .panel {
  display: flex;
  flex-direction: column;
  background: none;
  padding-left: 1.5em;
  border-left: 2px solid #ffd700;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(.4,0,.2,1);
}
.sidenav .panel a {
  color: #ffd700;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding: 0.3em 0.5em;
  background: none;
}
.sidenav .panel a:hover {
  color: #fffbe0;
  background: #232323;
}
@media (min-width: 801px) {
  .sidenav, .nav-hamburger, .nav-sidebar-overlay { display: none !important; }
}