/* Reset default styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background-color: #343434;
  color: antiquewhite;
  text-align: center;
  line-height: 1.6;
  overflow-x: hidden;
}


a {
  color: antiquewhite;
  text-decoration: none;
}

a:hover {
  color: white;
  text-decoration: underline;
}




/* Main nav styling (default desktop) */
nav ul.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: inherit;
  padding-right: 40px;
  margin: 0;
  flex-wrap: wrap;
}

nav ul.nav-menu li a {
  text-decoration: none;
  color: antiquewhite;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul.nav-menu li a:hover {
  color: #ffff00;
}

/* Header layout fix */
header {
  background-color: #343434;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
  border-bottom: 2px solid #ffff00;
}

/* Logo stays left */
.logo {
  text-align: left;
  margin-left: 0;
}

/* COLLAPSE STYLE: BELOW 768px */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: flex-start;
  }

  nav ul.nav-menu {
    font-size: 9px;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    padding-left: 20px;
    flex-wrap: wrap;
  }

  nav ul.nav-menu li a {
    padding: 2px 5px;
  }
}



/* Logo styling */
.logo {
  margin-left: 40px;
  text-align: left;
}

.logo h1 {
  font-size: 2rem;
  color: antiquewhite;
  text-shadow: 2px 2px 10px #ffff00;
}

  .logo {
    margin-left: 0;
    padding-bottom: 10px;
  }





/* Iframe content area */
.iframe-container {
  padding: 0px;
  max-width: 100%;
  margin: auto;
  background-color: #343434;
  border: 0px solid #ffff00;
  /* no box-shadow here */
}

.iframe-container iframe {
  width: 100%;
  height: 2000px;
  border: none;
  background-color: black;
  color: antiquewhite;
}

/* Bottom image section */
.bottom-image {
  margin: 20px 0;
}




.bottom-image img {
  max-width: 100%;
  height: auto;
  border: 3px solid #ffff00;
  box-shadow: 0px 0px 15px #ffff00;
}

/* Footer */
footer {
  background-color: #343434;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: antiquewhite;
  border-top: 2px solid #ffff00;
  box-shadow: 0 -2px 10px #ffff00;
}





/* Home Page Grid Layout */

.page-grid { display:flex; flex-wrap:wrap; }




.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

/* Individual grid boxes (no glow) */
.grid-item {
  background-color: #343434;
  border: 2px solid #ffff00;
   box-shadow: 0 0 12px #ffff00;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s;
}

.grid-item:hover {
  transform: scale(1.03);
}

/* Grid item image + text */
.grid-item img {
  width: 120px;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
}

.grid-item a {
  color: antiquewhite;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
}

.grid-item a:hover {
  color: #ffff00;
}

/* Footer row grid */
.grid-footer {
  grid-column: span 3;
  background-color: #343434;
  border: 2px solid #ffff00;
   box-shadow: 0 0 12px #ffff00;
  padding: 30px;
  text-align: center;
  color: antiquewhite;
}

/* Responsive collapse: 1 column for small screens */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .grid-footer {
    grid-column: span 1;
  }
}
