/* Reset & Fonts */
* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

body {
  background: #0d1b2a;
  color: #e0e1dd;
}

/* Heading */
h1 {
  text-align: center;
  margin: 60px auto 40px;
  font-weight: 700;
  font-size: 40px;
}
h1 span {
  background: linear-gradient(45deg, #8abf4e, #feb47b);
  background-clip: text;
  color: transparent;
}
h3 {
  text-align: center;
  margin: 60px auto 40px;
  font-weight: 700;
  font-size: 40px;
}
h3 span {
  background: linear-gradient(45deg, #f1da0d, #b25208);
  background-clip: text;
  color: transparent;
}

/* Search bar */
form {
  width: 90%;
  max-width: 600px;
  margin: auto;
  height: 70px;
  background: #1b263b;
  display: flex;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
form input {
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  padding: 0 25px;
}
form button {
  padding: 0 35px;
  height: 100%;
  background: #e63946;
  color: #fff;
  font-size: 18px;
  border: 0;
  outline: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}
form button:hover {
  background: #d62828;
}
::placeholder {
  color: #aaa;
  font-size: 16px;
}

/* Show more button */
#show-more-btn {
  background: #e63946;
  color: #fff;
  border: 0;
  outline: 0;
  padding: 12px 25px;
  border-radius: 5px;
  margin: 20px auto 80px;
  cursor: pointer;
  display: none;
  font-size: 16px;
  transition: 0.3s;
}
#show-more-btn:hover {
  background: #d62828;
}

/* Image grid */
#search-result {
  width: 85%;
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 30px;
}

/* Image cards */
.image-card {
  background: #1b263b;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: 0.3s;
}
.image-card:hover {
  transform: translateY(-6px);
}
.image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
}
.card-actions a {
  text-decoration: none;
  color: #fff;
  background: #457b9d;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 14px;
  transition: 0.3s;
}
.card-actions a:hover {
  background: #1d3557;
}
