/* General Page Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

/* Headings */
h2 {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 2rem;
  color: #222;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  gap: 20px;
  padding: 0 20px 40px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Gallery Card */
.gallery-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Card Image */
.card-image {
  width: 100%;
  height:  550px;;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-card:hover .card-image {
  transform: scale(1.05);
}

/* Card Content */
.card-content {
  padding: 15px 20px;
  text-align: center;
}

.card-description {
  font-size: 0.9rem;
  color: #555;
  margin: 10px 0;
}

.card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff6600;
}



/* Buy Button */
.buy-btn {
  padding: 10px 20px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6600, #ffcc00);
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,102,0,0.6);
  background: linear-gradient(135deg, #ffcc00, #ff6600);
}


/* View All Button */
.view-all {
  text-align: center;
  margin-bottom: 60px;
}

.view-all-btn {
  background-color: #ff5722;
  color: white;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}

.view-all-btn:hover {
  background-color: #e64a19;
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card-image {
    height: 450px;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.5rem;
  }

  .card-description {
    font-size: 0.85rem;
  }

  .card-price {
    font-size: 1rem;
  }
}



.modal {
  display: none; /* hidden by default */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.modal-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
  animation: pop 0.3s ease;
  font-family: 'Arial', sans-serif;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f30202;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
  color: #fff;
}

.close-btn:hover {
  background: #fd4848;
}

.close-btn svg {
  width: 16px;
  height: 16px;
}

.modal h2 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 24px;
  color: #333;
}

.modal p {
  margin: 8px 0;
  font-size: 16px;
  color: #555;
}

@keyframes pop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
