

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 150px;
    background: rgba(233, 233, 233, 0.5); /* Transparent white */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px); /* Optional: glass effect */
    border-bottom: 2px solid #fff;
}


.logo {
    max-height: 120px;
}

.center-text {
    margin: 20px 0;
}

h1{
    font-size: 50px;
    font-weight: normal;
}

.gallery {
    column-count: 6;
    column-gap: 20px;
    padding: 20px;
}

@media (max-width: 992px) {
    .gallery {
        column-count: 4;
    }
}

@media (max-width: 576px) {
    .gallery {
        column-count: 2;
    }
}


.gallery a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    margin-bottom: 20px;
}

.gallery a img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease; /* ✅ Smooth slow zoom */
    transform-origin: center center; /* zoom from center */
}

/* Hover effect */
.gallery a:hover img {
    transform: scale(1.1); /* zoom slightly */
}
.gallery a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* invisible initially */
    transition: background 0.4s ease;
    z-index: 1;
    border-radius: 8px;
}

/* On hover: fade in black overlay */
.gallery a:hover::before {
    background: rgba(0, 0, 0, 0.4); /* black overlay at 40% opacity */
}
.image-container {
  position: relative;
  overflow: hidden; /* prevents children from overflowing */
  border-radius: 8px; /* optional */
  display: inline-block;
  flex-direction: column;
}

.image-container img {
  width: 100%;
  height: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  object-fit: cover;
}

.image-container:hover img {
  transform: scale(1.05);
}

.image-container::before {
  content: "";
  position: relative;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.image-container:hover::before {
  opacity: 1;
}

.overlay-title {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: left;
}

.image-container:hover .overlay-title {
  opacity: 1;
}

/* Reaction Buttons */
/* Button Base */
.image-container .btn {
  position: absolute;
  width: 40px;
  height: 40px;
  font-size: 20px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

/* On hover, show buttons */
.image-container:hover .btn {
  opacity: 1;
}

/* Positions */
.comment-btn {
  bottom: 30px;
  left: 10px;
}


/* Comment box styling */
.comment-box {
  position: absolute;
  bottom: 80px;
  left: 10px;
  width: 87%;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  z-index: 5;
}

.comment-box textarea {
  width: 95%;
  height: 50px;
  border: none;
  resize: none;
  padding: 6px;
  border-radius: 4px;
  font-size: 14px;
}
.submit-comment {
  margin-top: 6px;
  background: #6f6f70;
  color: white;
  border: none;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    color: #333;
    text-decoration: none;
    padding: 10px;
    background: #eee;
    border-radius: 50%;
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}


