body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f8f8f8;
  color: #333;
}

.yoga-section {
  text-align: center;
  padding: 40px 20px;
}

.yoga-section h1 {
  font-size: 2.2em;
  margin-bottom: 10px;
  color: #800020;
}

.description {
  color: black;
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

/* Bigger circular image box with hover effects */
.img-box {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 50%;
  width: 280px;   /* Increased size */
  height: 280px;  /* Increased size */
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.4s, box-shadow 0.4s, border 0.4s;
  border: 5px solid transparent;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s;
}

/* Hover animation */
.img-box:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 40px rgba(128,0,32,0.4); /* subtle royal red glow */
  border: 5px solid #800020; /* royal red border on hover */
}

.img-box:hover img {
  transform: scale(1.12);
}

/* Title overlay */
.img-box .title {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  background: rgba(0,0,0,0.6);
  padding: 7px 16px;
  border-radius: 22px;
  transition: background 0.3s, transform 0.3s;
}

.img-box:hover .title {
  background: #800020;
  transform: translateX(-50%) scale(1.05);
}

/* Description overlay */
.img-box .description {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  transform: translate(-50%, -50%);
  background: rgba(128,0,32,0.9); /* subtle red background */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  font-size: 15px;
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}

.img-box.active .description {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
