@charset "utf-8";
/* CSS Document */

/* ===== Global ===== */

body {
  background-image: url(../images/bk.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-color: #000;
  padding: 0px;
  margin: 0px;

  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  color: #FFF;
  font-size: 16px;
  line-height: 16px;
}

/* ===== Outer structure ===== */

#site-container{
  width: 918px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
  text-align: center;
}

#header{
  height: 173px;
  width: 918px;
}

#logo{
  height: 90px;
  width: 225px;
  padding-top: 35px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===== Two-column layout ===== */

#content-wrap{
  width: 918px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  text-align: left;
}

#sidebar{
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#main-content{
  flex: 1;
  min-width: 0;
}

/* ===== Panels ===== */

.panel{
  position: relative;
  border: 1px solid #014a12;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.68);
  box-sizing: border-box;

  overflow: visible;
  padding: 40px 16px 18px 26px;

  z-index: 1;

  /* subtle inner glow (default) */
  box-shadow:
    inset 0 0 18px rgba(0, 255, 59, 0.08),
    inset 0 0 2px rgba(0, 255, 59, 0.18);

  transition: box-shadow 0.25s ease;
}

/* black mask to hide green border in top-left corner */
.panel::after{
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 78px;
  height: 44px;
  background: #000;
  border-top-left-radius: 16px;
  z-index: 6;
  pointer-events: none;
}

/* corner accent */
.panel-accent::before{
  content: "";
  position: absolute;
  top: -13px;
  left: -22px;
  width: 190px;
  height: 95px;
  background: url("../images/topCornerAccent.png") no-repeat top left;
  background-size: contain;
  pointer-events: none;
  z-index: 10;

  /* hover brighten */
  filter: brightness(1);
  transition: filter 0.25s ease;
}

/* hover states */
.panel:hover{
  box-shadow:
    inset 0 0 22px rgba(0, 255, 59, 0.14),
    inset 0 0 4px rgba(0, 255, 59, 0.28);
}

.panel:hover.panel-accent::before{
  filter: brightness(1.15);
}

/* titles */
.panel-title{
  position: absolute;
  top: 8px;
  right: 16px;
  margin: 0;
  padding: 0;
  color: #00ff3b;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.3px;
  text-align: right;
  z-index: 20;
}

.main-title{
  position: absolute;
  top: 12px;
  right: 16px;
  margin: 0;
  padding: 0;
  color: #00ff3b;
  font-size: 22px;
  font-weight: bold;
  text-align: right;
  z-index: 20;
}

/* layer normal content above accent WITHOUT touching titles */
.panel > :not(.panel-title):not(.main-title){
  position: relative;
  z-index: 20;
}

/* lists/links */
.menu-list,
.link-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li,
.link-list li{
  margin: 8px 0;
}

a{
  color: #ffffff;
  text-decoration: none;
}

a:hover{
  color: #00ff3b;
  text-decoration: underline;
}

.small{
  margin: 0;
  font-size: 14px;
  line-height: 16px;
}

/* footer */
#footer{
  width: 918px;
  margin: 16px auto 0 auto;
  text-align: center;
  opacity: 0.85;
  font-size: 14px;
}

/* ===== Mobile menu: hidden by default (desktop) ===== */
.mobile-nav{ display: none; }
.menu-panel{ display: block; }

/* ===== Responsive ===== */
/* IMPORTANT: lowered breakpoint so hamburger only shows on actual mobile */
@media (max-width: 768px){

  #site-container,
  #header,
  #content-wrap,
  #footer{
    width: 94%;
  }

  #content-wrap{
    flex-direction: column;
    gap: 14px;
  }

  /* show hamburger, hide sidebar menu panel */
  .mobile-nav{
    display: block;
    width: 100%;
    order: 1;
    margin-bottom: 6px;
  }

  .menu-panel{
    display: none;
  }

  /* order: menu button, main content, quick links, contact */
  #main-content{
    order: 2;
    width: 100%;
  }

  #sidebar{
    order: 3;
    width: 100%;
  }

  /* mobile menu button */
  .mobile-menu-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;
    border-radius: 12px;

    border: 1px solid #00ff3b;
    background: rgba(0, 0, 0, 0.68);

    color: #fff;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 14px;

    cursor: pointer;
  }

  .mobile-menu-btn:hover{
    color: #00ff3b;
  }

  .mobile-menu-panel{
    margin-top: 10px;

    border: 1px solid #00ff3b;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.68);

    padding: 18px 16px 16px 26px;
    position: relative;

    /* subtle inner glow */
    box-shadow:
      inset 0 0 18px rgba(0, 255, 59, 0.08),
      inset 0 0 2px rgba(0, 255, 59, 0.18);
  }

  .mobile-menu-panel::after{
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: 78px;
    height: 44px;
    background: #000;
    border-top-left-radius: 16px;
    z-index: 6;
    pointer-events: none;
  }

  .mobile-menu-panel::before{
    content: "";
    position: absolute;
    top: -13px;
    left: -22px;
    width: 190px;
    height: 95px;
    background: url("../images/topCornerAccent.png") no-repeat top left;
    background-size: contain;
    pointer-events: none;
    z-index: 10;
    filter: brightness(1);
  }

  .mobile-menu-panel > *{
    position: relative;
    z-index: 20;
  }
}
