/* Body and page background */
body {
  background: linear-gradient(135deg, #dae2f7, #79d997);
  min-height: 100vh;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

/* Frame Gallery Section */
.frame-gallery {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 120px 20px 0; /* Increased top padding to push below navbar */
  text-align: center;
}

.frame-gallery h2 {
  padding-top: 120px;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.frame-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.frame-item {
  position: relative;
  background: linear-gradient(145deg, #f0f0f3, #cacaca);
  box-shadow:
    7px 7px 15px #bebebe,
    -7px -7px 20px #ffffff;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.frame-item:hover {
  transform: translateY(-10px);
  box-shadow:
    12px 12px 20px #b2b2b2,
    -12px -12px 25px #ffffff;
}

.frame-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.frame-item:hover img {
  transform: scale(1.1);
}

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

  .frame-item img {
    height: 240px;
  }
}

@media (max-width: 576px) {
  .frame-container {
    grid-template-columns: 1fr;
  }

  .frame-item img {
    height: 220px;
  }
}