* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100vh;
  width: 100vw;
  position: relative;
}

.box {
  position: relative;
  overflow: hidden;
}

.box img, .box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.box img:hover, .box video:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* Center Text Box (Clickable) */
.center-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 20px 40px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease;
}

.center-box h1 {
  font-size: 2rem;
  font-weight: bold;
}

.center-box:hover {
  background: rgba(0,0,0,0.9);
  cursor: pointer;
}
   



.gallery-page {
  padding: 20px;
  background-color: #111;
  min-height: 100vh;
}

.close-btn {
  color: white;
  font-size: 2rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  cursor: pointer;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-box {
  height: 150px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
  cursor: pointer;
  border-radius: 8px;
}

.gallery-box:hover { transform: scale(1.05);
 }

@media (max-width: 768px) {
  .gallery-container 
  { grid-template-columns: repeat(2,  1fr);  }  
}
  /* ========== Lightbox ========== */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  margin-bottom: 15px;
  border-radius: 8px;
}

.lightbox .controls {
  display: flex;
  gap: 10px;
}

.lightbox button {
  padding: 10px 18px;
  font-size: 14px;
  background: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.lightbox button:hover {
  background: #ddd;
}
/* ===== 4 Boxes Full Screen ===== */
.container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  grid-template-rows: 1fr 1fr;   /* 2 rows */
  height: 100vh; /* full screen */
}

.box {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  background-size: cover;
  background-position: center;
}

.box:hover {
  transform: scale(1.05);
}

/* Assign background images */
.box1 { background-image: url("ETA/17...jpg"); }
.box2 { background-image: url("ETA/13...jpg"); }
.box3 { background-image: url("ETA/15.....jpg"); }
.box4 { background-image: url("ETA/16....jpg"); }
