body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
  
    color: #333;
    background: #000000;
}

header {
    font-family: 'Montserrat', sans-serif;
    background: #000;
    color: white;
    padding: 1em 2em;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.gallery {
    padding: 2em;
    text-align: center;
}

.grid {
    max-width: 1100px;
    
    /* position relative is needed for Masonry */
    position: relative;
  }
  
  .grid img {
    width: 250px; /* fixed width for column width */
    margin-bottom: 15px;
    border-radius: 8px;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .grid img:hover {
    transform: scale(1.05);
  }
  
section {
    padding: 2em;
}

footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 1em;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.popup img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid white;
    border-radius: 10px;
}

.slide-track img {
    height: 100vh;            /* Set fixed height */
    width: auto;              /* Width adjusts to keep aspect ratio */
    max-width: 100%;          /* Never grow beyond container */
    border-radius: 8px;
    object-fit: contain;      /* Make sure image fits inside */
    transition: transform 0.3s ease;
}
.slideshow {
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px;
    background: #000000;
    max-width: 100vw;       /* Ensure slideshow doesn’t overflow viewport */
    box-sizing: border-box; /* Include padding in width */
}
