/* Full CSS Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body */
body {
  background-color: black;
  color: white;
  font-family: sans-serif;
  line-height: 1.4;
  min-height: 100vh;
}

/* Header */
.home {
  display: block;
  width: 80%;
  max-width: 800px;
  margin: 20px auto;
  height: auto;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  padding: 12px;
  border-radius: 10px;
}

.sidebar a img {
  width: 60px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.sidebar a img:hover {
  transform: scale(1.2);
}

/* Gallery - Masonry layout with CSS columns */
.gallery {
  column-count: 2;        /* 2 columns */
  column-gap: 10px;       /* space between columns */
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 10px;
}

.gallery-item {
  display: inline-block;   /* required for masonry columns */
  width: 100%;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}

/* Image styling */
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.01);
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}

/* Caption overlay at bottom of image */
.image-text {
  position: absolute;
  bottom: 0;           /* stick to bottom */
  left: 0;
  width: 100%;         /* full width */
  height: auto;        /* adjust height as needed */
  padding:10px ;     /* vertical padding for text */
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  color: white;
  font-size: 1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

/* Show overlay on hover */
.gallery-item:hover .image-text {
  opacity: 1;
}


/* Footer */
footer {
  text-align: center;
  color: white;
  margin: 40px 20px 20px;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .gallery {
    column-count: 2;  /* keep 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .gallery {
    column-count: 1; /* 1 column on smaller screens */
  }

  .sidebar {
    right: 10px;
  }

  .sidebar a img {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .sidebar a img {
    width: 40px;
  }
}

.logo {
  display: block;
  max-width: 100%;
  margin: 10px auto;
  height: auto;
    
}

.social {
  text-align: center;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 20px;
}

.social a img {
  width: 48px; 
  height: auto;
  margin: 8px;
  border: none;
  box-shadow: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social a:hover img {
  transform: scale(1.1);
  filter: brightness(1.3);
}

