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

body {
  background: #1c1c1c;
  color: white;
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Logo */
.logo {
  font-size: 2.5rem;
  font-weight: bold;
  padding: 20px;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  position: absolute;
  top: 0;
  left: 20px;
  z-index: 10;
}

/* Grid Container */
.grid-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

/* Masonry Grid */

.image {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  break-inside: avoid;
}

.image-grid {
  column-count: 6;
  column-gap: 5px;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.image img {
  width: 100%;
  max-height: 195px; 
  object-fit: cover;
  border-radius: 12px;
  display: block;
}


/* Hover Effect */
.image img:hover {
  transform: scale(1.05);
}

/* Overlay Dark Layer */
.grid-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2;
}

/* Center Overlay Text */
.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  z-index: 3;
}

.overlay h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.overlay button {
  margin-top: 10px;
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  background: #b36a34;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.overlay button:hover {
  background: #d87c3f;
}

/* Hide scrollbar */
.image-grid::-webkit-scrollbar {
  display: none;
}
