* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: lightgoldenrodyellow;
  /*background-image: url('/images/crownheights-googlemaps-bw.png'); /* Replace with your image path */
  background-size: cover;        /* Make image cover full screen */
  background-repeat: no-repeat;  /* Prevent tiling */
  background-position: center;   /* Center the image */
/*  background-color: lightsalmon;*/
}

main{
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 20px;
  margin-bottom: 50px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #222;
  padding: 10px 20px;
}

.navbar .logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.logo a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  transition: background 0.3s;
}

.logo a:hover {
  background-color: #444;
  border-radius: 5px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  transition: background 0.3s;
}

.nav-links a:hover {
  background-color: #444;
  border-radius: 5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  transition: 0.4s;
}


/* Footer Styles */
.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #222;
  color: white;
  padding: 20px;
}

.footer-section {
  flex: 1 1 200px;
  margin: 10px;
}

.footer-section h3 {
  margin-top: 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

#site-container{
  width: 50%;
  background-color: white;
  padding: 10px;
}

/*.map-container {
  display: flex;
  justify-content: center; 
  width: 100%;
    align-content: center;
}*/

/*#map {
  height: 100vh;
  z-index: -1;
}*/

/*#map {
  position: relative;
  
}*/


.image-row {
    display: flex;
    flex-direction: row;
    justify-content: center; /* center the images */
    gap: 5; /* space between images */
    margin-top: 30px;
    width: 100%;
    /*border: 2px solid #ccc;
    border-radius: 8px;*/
}

.image-row .image-element {
    max-width: 700px;
    width: 50%;
    height: auto;
    /*border: 2px solid #ccc;
    border-radius: 8px;*/
}

.image-row .image-element-triple {
    max-width: 700px;
    width: 33%;
    height: auto;
    /*border: 2px solid #ccc;
    border-radius: 8px;*/
}

.image-row img{
    width: 100%;
    height: auto;
    padding: 1%;
}

/*#statusCanvasContainer{
  width: 100%;
}*/



.plot-timeseries {
  display: flex;
  justify-content: center; /* center the images */
  gap: 20px; /* space between images */
  margin-top: 30px;
  width: 100%;

}

#status{
  display: flex;
  justify-content: center; /* center the images */
  gap: 20px; /* space between images */
  width: 100%;
}

#plotPower{
  max-width: 95%;
}

#plot-energy{
  max-width: 95%;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background: #222;
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  .nav-links a {
    padding: 15px 20px;
    border-top: 1px solid #333;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    margin: 15px 0;
  }

  .image-row {
      flex-direction: column;
      align-items: center;
  }

  .image-row .image-element{
      width: 95%;
  }

  .image-element img{
      width: 100%;
      height: auto;
  }

  main{
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 10px;
    margin-bottom: 20px;
  }
}
