/* ============================================================
   Header override - cloud blue
   ============================================================ */

#header_wrap {
  background: #1565C0;
  background: -moz-linear-gradient(top, #1976D2, #1565C0);
  background: -webkit-linear-gradient(top, #1976D2, #1565C0);
  background: linear-gradient(to bottom, #1976D2, #1565C0);
}

/* ============================================================
   Header layout - vertically centered, reduced top padding
   ============================================================ */

#header_wrap .inner {
  padding: 16px 10px 16px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#project_title,
#project_tagline {
  text-align: center;
  margin: 0;
}

/* ============================================================
   Cloud provider icons in header
   ============================================================ */

.cloud-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 16px 0 8px;
}

.cloud-icon {
  height: 75px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.2s;
}

.cloud-icon:hover {
  opacity: 1;
}

/* ============================================================
   Site Navigation - matches Slate theme color scheme
   ============================================================ */

#nav_wrap {
  background: #2a2a2a;
  border-bottom: 1px solid #111;
  border-top: 1px solid #444;
  position: relative;
  z-index: 100;
}

#nav_wrap.nav-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.site-nav {
  padding: 0;
}

/* Top-level menu */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

/* All nav items */
.nav-item {
  position: relative;
}

/* All nav links */
.nav-item > a {
  display: block;
  padding: 13px 22px;
  color: #e8e8e8;
  text-decoration: none;
  font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav-item > a:hover {
  background: #0F79D0;
  color: #fff;
}

/* Dropdown panels (level 2 and 3) */
.nav-item .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #333;
  border: 1px solid #111;
  border-top: 2px solid #0F79D0;
  min-width: 230px;
  z-index: 200;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Show dropdown on hover */
.nav-item:hover > .dropdown {
  display: block;
}

/* Level 3 fly-out: open to the right */
.dropdown .fly-out {
  top: -5px;
  left: 100%;
  border-top: 2px solid #0F79D0;
}

/* Links inside dropdowns */
.nav-item .dropdown a {
  display: block;
  padding: 9px 18px;
  color: #ddd;
  text-decoration: none;
  font-size: 13px;
  font-weight: normal;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav-item .dropdown a:hover {
  background: #0F79D0;
  color: #fff;
}

/* Right-arrow indicator on sub-menu parents keeps alignment */
.nav-item.has-dropdown .dropdown .nav-item.has-dropdown > a {
  padding-right: 30px;
}

/* ============================================================
   Footer - 3 equal columns, left-justified text
   ============================================================ */

.footer-columns {
  display: flex;
  gap: 24px;
}

.footer-col {
  flex: 1;
  text-align: left;
}

.footer-col p,
.footer-col a {
  text-align: left;
}

/* ============================================================
   Scroll-to-top button
   ============================================================ */

#scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: #1565C0;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

#scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-to-top:hover {
  background: #0F79D0;
}
