* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--clr-grey-10);
  color: var(--clr-grey-1);
  line-height: 1.5;
}


/* ---  Nav Bar (Sticky) --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: #000;
  color: #fff;
}

.logo {
  display: flex;
  align-items: center;
}

.menu{
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
}

/* for future use*/
/* -------------------------
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
}

.hamburger {
  align-items: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
------------------------- */

/* --- Gallery --- */
.gallery-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 120px);
}

.gallery {
  display: flex;
  width: 90%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.flyer {
  margin: 10px 10px 20px;
  flex-shrink: 0;
  text-align: center;
  animation: fadeUp 0.6s ease both;
}

.flyer img {
  width: 100%;
  max-width: 400px;
  height: 500px;
  background: #fff;
  border: 0.1rem solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.download-btn {
  display: inline-block; 
  padding: 4px 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  border: 0.1rem solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.download-btn:focus,
.nav:focus,
.hamburger:focus {
  outline: 2px solid #fff;
}

.download-btn:hover{
   background: rgba(0, 0, 0.5, 0.7);
}

/* Nav arrows */
.nav {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 20px;
  padding: 5px 10px;
  cursor: pointer;
}

/* --- Fullscreen Modal --- */
.modal {
  z-index: 1000; 
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal img {
  z-index: 1001;	
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  border: 0.1rem solid rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;    /* above the image */
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- Footer --- */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 5px;
  font-size: 13px;
}

    
/* --- Tablet & Mobile --- */
/*  @media (min-width: 512px) and (max-width: 1024px) */

@media (max-width: 576px){
  /* for future use */
  /* -------------------------
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #000;
    flex-direction: column;
    width: 200px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }
   -------------------------*/

  .gallery-wrapper {
    flex-direction: column;
    height: auto;
  }

  .gallery {
    flex-direction: column;
    overflow-y: auto;
  }

  .flyer img {
    width: 90%;
    height: 450px;
  }

  .nav {
    display: none;
  }
}

