    @import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Quicksand:wght@300..700&family=Roboto:wght@100;400&display=swap');
    @font-face{
        font-family: Andora-Modern-Serif;
        src: url(/style/Andora-Modern-Serif.otf);
    }

    body {
      background-color: rgb(241, 236, 228);
    }

    /* navbar */
nav{
justify-content: center;
align-items: center;
height: 40px;
display: flex;
padding-left: 38px;
}
.link{
align-items: center;
list-style: none;
justify-content: space-between;
display: flex;
gap: 9rem;
padding-right: 45px;
font-size: large;     
font-family: calibri;
font-weight: 200;
}

.links>a{
text-decoration: none;
color: white;
}     
.links>a:hover{
color: rgb(223, 168, 52);
}
.links{
color:black;
}
.links:hover{
color: rgb(223, 168, 52);
}
.container img{
height: 100px;
color: white;
}
.container{
width: 100%;
display: flex;
justify-content: center;

}
.hero{
    height: 450px;
    width: 100%;
background-image: url(/AP/APW-67.jpg);
background-size: cover;
background-position: center;
 /* background-attachment: fixed;  */
}

.heading{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.heading .h1{
  margin: 0%;
  font-size: xxx-large;
  font-family: Andora-Modern-Serif;
}
.heading p{
  font-family: calibri;
  font-size: larger;
}

    .title {
      text-align: center;
      margin: 20px 0;
      font-size: 2rem;
      color: #333;
    }

    .masonry {
  column-count: 4;
  column-gap: 5px;
  padding: 16px;
}
    .masonry img {
      width: 100%;
      margin-bottom: 5px;
      display: block;
      break-inside: avoid;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    .masonry img:hover{
    transform: scale(1.04);
    }

    /* Lightbox modal styles */
    .lightbox {
      display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
    }
    .lightbox.show {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

    .lightbox img {
      max-width: 90%;
  max-height: 90%;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease;
    }
    .lightbox.show img {
  opacity: 1;
  transform: scale(1);
}

    .lightbox:target {
      display: flex;
    }

    .lightbox-close {
      position: fixed;
      top: 20px;
      right: 30px;
      font-size: 2rem;
      color: white;
      text-decoration: none;
      font-weight: bold;
    }

    @keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 1200px) {
  .masonry {
    column-count: 3;
  }
}

@media (max-width: 900px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry {
    column-count: 1;
  }
}
.scroll-arrow {
        position: fixed;
        bottom: 40px;
        right: 30px;
        background-color: #333;
        color: white;
        padding: 10px 15px;
        font-size: 24px;
        border-radius: 50%;
        text-decoration: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        z-index: 1000;
      }
      
      .scroll-arrow.show {
        opacity: 1;
        visibility: visible;
      }

      html {
        scroll-behavior:smooth;
      }

       /* footer */
footer{
    width: 100%;
    height: 300px;
    background-color: #E7E3D8;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}
footer img{
    height: 30px;
}
.footer_icon{
    display: flex;
    gap: 2rem;
}
.icon{
    transition: all 0.3s linear;
}
.icon:hover{
    transform: scale(1.5);
}
footer p{
    font-family: calibri ;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #564332;
    text-align: center;
    font-size: large;
    font-weight: 500;
}
.nav-btn {
  position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 16px;
    cursor: pointer;
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}
/* Responsive styles */
@media (max-width: 768px) {

.container{
width: 100%;
display: flex;
justify-content: flex-start;
}

  .scroll-arrow {
        position: fixed;
        bottom: 40px;
        right: 30px;
        background-color: #333;
        color: white;
        padding: 10px 15px;
        font-size: 24px;
        border-radius: 50%;
        text-decoration: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        z-index: 1000;
      }
      
      .scroll-arrow.show {
        opacity: 1;
        visibility: visible;
      }

      html {
        scroll-behavior:smooth;
      }
      .heading{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.heading .h1{
  margin: 0%;
  font-size: xx-large;
  font-family: Andora-Modern-Serif;
}
.heading p{
  font-family: calibri;
  font-size: larger;
}
}
/* Hide toggle by default */
.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Default nav styling */
.nav-links {
  display: block;
}

/* Responsive styles */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
  }

  .nav-links.active {
    display: block;
  }

  .link {
    flex-direction: column;
        align-items: flex-end;
        gap: 1rem;
        padding-top: 4rem;
        padding-right: 1rem;
  }
  footer{
    width: 100%;
    height: 300px;

    }
    footer p{
      font-family: calibri ;
      flex-direction: column;
      font-size: larger;

    }
}