:root {
  font-size: 62.5%;
  --color-red: #742223;
  --color-gold: #bca065;
  --color-brown: #412e22;
  --color-bronze: #965b2e;
  --color-cream: #faeeb7;
  --bg-body: #1a120b;
  --text-white: #ffffff;
  --radius-round: 50px;
  --radius-card: 15px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-white);
  min-height: 100vh;
}

.header {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1519055548599-6d4d129508c4?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(26, 18, 11, 1));
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  text-align: center;
  padding: 0 2rem;
}

.main-heading {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 3rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.search-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.input {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  max-width: 600px;
  padding: 1.8rem 3rem;
  font-size: 1.6rem;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-round);
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.input:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(188, 160, 101, 0.4);
}

.btn-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  opacity: 1;
  margin-top: 4rem;
}

.btn {
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-round);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover,
.btn.active-btn {
  background: var(--color-gold);
  color: var(--color-brown);
  /* box-shadow: 0 0 15px var(--color-gold); */
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 4rem;
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background-color: var(--color-brown);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: auto;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--color-bronze);
}

.card>.img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover>.img {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
}

.heading {
  font-size: 2.2rem;
  color: var(--color-cream);
  margin-bottom: 1rem;
}

.details {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 10px 0 0 0;
}

@media screen and (max-width: 768px) {
  .main-heading {
    font-size: 3.5rem;
  }

  .header {
    height: 60vh;
  }
}