* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  background: #f8f9fa;
}

.results-section {
  padding: 80px 0;
  min-height: 100vh;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h1 {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
  font-size: 17px;
}

/* Dropdown */
.filter-wrapper {
  max-width: 350px;
  margin: auto;
  margin-bottom: 50px;
  position: relative;
}

.filter-wrapper select {
  width: 100%;
  height: 60px;
  border: none;
  outline: none;
  border-radius: 16px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 500;
  background: #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  appearance: none;
}

.filter-wrapper::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #444;
  pointer-events: none;
}

/* Empty Message */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #777;
}

.empty-state i {
  font-size: 60px;
  margin-bottom: 20px;
  color: #d1d1d1;
}

.empty-state h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

/* Grid */
.result-grid {
  margin-top: 20px;
}

.result-card {
  margin-bottom: 30px;
  animation: fadeIn 0.5s ease;
}

.result-image {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
  cursor: pointer;
}

.result-image:hover {
  transform: translateY(-5px);
}

.result-image img {
  width: 100%;
  display: block;
  transition: 0.4s;
}

.result-image:hover img {
  transform: scale(1.03);
}

/* Loading Skeleton */
.skeleton {
  height: 350px;
  border-radius: 18px;
  background: linear-gradient(90deg,
      #f0f0f0 25%,
      #e0e0e0 50%,
      #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  margin-bottom: 30px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
}

.close-lightbox {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

@media(max-width:768px) {
  .section-title h1 {
    font-size: 32px;
  }

  .filter-wrapper select {
    height: 55px;
  }
}


/* PAGINATION */

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.page-btn {
  min-width: 50px;
  height: 50px;
  border: none;
  background: white;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-btn:hover {
  transform: translateY(-2px);
}

.page-btn.active {
  background: #111;
  color: white;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dots{
  font-size: 20px;
  font-weight: 700;
  color: #777;
  padding: 0 5px;
}