
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.tile {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  aspect-ratio: 1.5 / 1;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.tile .label {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.75rem;
  text-align: center;
  font-size: 1rem;
  transition: background 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.tile:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.tile:hover img {
  transform: scale(1.08);
}

.tile:hover .label {
  opacity: 1;
  background: rgba(0, 0, 0, 0.75);
}

.carousel-caption,
.carousel-control-prev-icon,
.carousel-control-next-icon,
.carousel-indicators button {
  filter: brightness(1.8);
  transition: filter 0.5s ease
}

.bright-ui .carousel-caption,
.bright-ui .carousel-control-prev-icon,
.bright-ui .carousel-control-next-icon,
.bright-ui .carousel-indicators button {
  filter: brightness(0.2);
  transition: filter 0.5s ease
}


@media (max-width: 767.98px) {
  .tile-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem 0.5rem;
  }

  .tile {
    border-radius: 20px;
    aspect-ratio: 1.2 / 1;
  }

  .tile .label {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .navbar-brand img {
    width: 180px;
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.square-wrapper {
  position: relative;
  max-width: 400px;
  width: 100%;
  z-index: 1;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.square-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.square-wrapper:hover {
  transform: scale(1.5);
  z-index: 10;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.square-wrapper:hover img {
  transform: scale(1.1);
}

.form-select {
  max-width: 200px;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: 500;
  background-color: #f8f9fa;
  border: 2px solid #ced4da;
}

.form-select:focus {
  border-color: #00ffcc;
  box-shadow: 0 0 0 0.2rem rgba(0, 255, 204, 0.25);
}