/* Full height layout with no gaps */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: black;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* --- COMPACT CENTERED HEADER --- */
header {
  background-color: black;
  padding: 20px 0 0 0; 
  text-align: center;
  flex-shrink: 0;
}

.main-logo {
  max-height: 130px; 
  width: auto;
  display: block;
  margin: 0 auto 10px auto;
}

h1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.5em; 
  font-weight: bold;
  color: white;
  margin: 5px 0 15px 0;
}

/* --- THE VERTICAL SIDEBAR --- */
.sidebar-wrapper {
  position: fixed;
  right: 30px; 
  top: 100px; 
  width: 100px;
  height: calc(100vh - 100px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.vertical-sidebar {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: 'Yuji Syuku', serif;
  font-size: 5.5vh; 
  color: white;
  letter-spacing: 0.15em;
  white-space: nowrap;
  text-shadow: 0 0 15px rgba(0,0,0,1), 2px 2px 5px rgba(0,0,0,1);
}

/* --- NAVBAR: DEEP FOREST GREEN & NO DECORATION --- */
.navbar-inverse {
  background-color: #004d00 !important; /* Darker Forest Green */
  border: none;
  border-radius: 0; 
  width: 100%;
  margin-bottom: 0;
  z-index: 1000;
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .open > a {
  color: white !important;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.3em;
  padding: 20px 20px;
  text-decoration: none !important;
  background-color: transparent !important;
}

.navbar-inverse .navbar-nav > li > a:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

@media (min-width: 992px) {
  .navbar-collapse { padding-right: 140px !important; }
}

/* --- HERO BACKGROUND (STRETCHED & CONTAINER) --- */
.hero-container {
  flex-grow: 1; 
  width: 100%;
  background-image: url('okinawaBeach.png');
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  box-sizing: border-box;
  min-height: 0; /* Allows flex box scrolling math to function properly */
}

/* --- SCROLLING CONTENT BOX --- */
.scroll-box {
  max-width: 900px;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 30px;
  color: white;
  font-family: 'Times New Roman', Times, serif;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);

  /* Hide scrollbar for Firefox */
  scrollbar-width: none; 

  /* Hide scrollbar for IE/Edge */
  -ms-overflow-style: none; 
}

/* Custom Scrollbar Styling for Webkit */
.scroll-box::-webkit-scrollbar {
  width: 8px;
}
.scroll-box::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}
.scroll-box::-webkit-scrollbar-thumb {
  background: #004d00;
  border-radius: 4px;
}
.scroll-box::-webkit-scrollbar-thumb:hover {
  background: #007300;
}

/* Typography inside Content Box */
.scroll-box h2 {
  font-size: 2em;
  color: #73e673;
  border-bottom: 2px solid #004d00;
  padding-bottom: 8px;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: bold;
}

.scroll-box h3 {
  font-size: 1.5em;
  color: #e6e6e6;
  margin-top: 25px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
  padding-bottom: 5px;
}

.scroll-box p {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #dddddd;
}

.scroll-box ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.scroll-box li {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 8px;
  color: #cccccc;
}

.scroll-box strong {
  color: #ffffff;
}

footer {
  background-color: black;
  color: white;
  padding: 15px 0;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .sidebar-wrapper { display: none; }
  h1 { font-size: 1.8em; }
  .scroll-box { padding: 20px; }
}