/* Default Su3a Gallery CSS */

/* =========================================================
   Base reset & globals
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Helvetica, Arial,  sans-serif;
  line-height: 1.5;
  color: #222;
  background: #fff;
}

/* =========================================================
   Headings & layout
   ========================================================= */
h1 {
    font-family: Geneva, helvetica, Verdanna, Courier, sans-serif;
    font-size: 1.6rem;
    line-height: 1.875rem;
    font-weight: 700;
    color: #4c0000;
    width: 100%;
    margin: 10px auto;
    text-align: center;
    border: 1px solid #666659;
    background: rgb(67,249,146);
    background: linear-gradient(0deg, rgba(67,249,146,1) 0%, rgba(45,87,253,1) 100%);
    border-radius: 6px;
    box-shadow: 0 2px 2px #ccc;
}

main {
  flex: 1;
}

/* =========================================================
   Wrapper
   ========================================================= */
.wrapper {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
}

/* =========================================================
   Banner
   ========================================================= */
.banner {
  text-align: center;
  margin: 0 auto;}
  
.banner img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;}


/* =========================================================
   Header & navigation
   ========================================================= */
header {
  background: #003366;
  color: #fff;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  position: relative;
}

.logo {
  height: 48px;
  width: auto;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  display: block;
}

/* Main nav */
#mainNav {
  display: flex;
}

#mainNav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

#mainNav li {
  margin: 0;
}

#mainNav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 0;
  display: block;
  transition: color 0.2s ease-in-out;
}

#mainNav a:hover,
#mainNav a[aria-current="page"] {
  color: #ffd700;
}

/* =========================================================
   Mobile navigation
   ========================================================= */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  #mainNav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2b81d6;
    flex-direction: column;
    z-index: 1000;
  }

  #mainNav.open {
    display: flex;
  }

  #mainNav ul {
    flex-direction: column;
    text-align: center;
  }

  #mainNav li {
    padding: 0.75rem 0;
  }
}

/* =========================================================
   Gallery grid
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 120px));
  gap: 10px;
  justify-content: center;
  padding: 1rem;
}

.gallery-item {
  width: 120px;
  height: 80px;
  overflow: hidden;
  border-radius: 4px;
  background: #eee;
}

.img-thumb {
  width: 120px;
  height: 80px;
  object-fit: cover;
  display: block;
}

/* =========================================================
   Footer
   ========================================================= */
footer {
    width: 100%;
    background-color: #5064eb;
    color: #111;
    font-size: 0.75em;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    padding: 1% 0;
    margin-top: 1em;
}

footer a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================================================
   Utility
   ========================================================= */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
