@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

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

/* :root {
  --base: hsl(229, 19%, 23%);
  --bg-dark: hsl(231, 19%, 20%);
  --surface1: hsl(230, 16%, 30%);
  --surface2: hsl(227, 15%, 37%);
  --overlay1: hsl(229, 13%, 52%);
  --overlay2: hsl(227, 17%, 58%);

  --ff: "Syne", sans-serif;
  --text: hsl(227, 70%, 87%);
  --subtext1: hsl(228, 29%, 73%);
  --subtext2: hsl(227, 44%, 80%);
  --text-muted: hsl(220 35% 73%);
  
  --highlight: hsl(239, 66%, 84%);
} */

:root {
  --base: hsl(240, 21%, 15%);
  --bg-dark: hsl(240, 21%, 12%);
  --surface1: hsl(240, 23%, 23%);
  --surface2: hsl(240, 25%, 25%);
  --surface3: hsl(233, 12%, 39%);
  --overlay1: hsl(231, 11%, 47%);
  --overlay2: hsl(230, 13%, 55%);
  --accent: #ca0051;

  --ff: "Manrope", sans-serif;
  --text: hsl(226, 64%, 88%);
  --subtext2: hsl(227, 35%, 80%);
  --subtext1: hsl(228, 24%, 72%);
  --text-muted: hsl(228 24% 66%);
  
  --highlight: hsl(232, 97%, 85%);
}

body {
  font-family: var(--ff);
  font-size: 14px;
  background-color: var(--base);
  color: var(--text);
}

#searchInput::placeholder {
  text-align: center;
}

.nav-space {
  background-color: var(--base);
  padding: 20px 14px;
  /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); */
  /* margin-bottom: 30px; */
}

.search-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.search-box {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: var(--surface1);
  border-radius: 50px;
  padding: 6px 14px;
  transition: all 0.3s ease;
}

.search-box:focus-within {
  background: var(--surface2);
}

/* Logo image inside the search box */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.6rem;
}

.logo img {
  height: 28px; /* adjust as needed */
  width: auto;
  display: block;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  padding: 8px 0;
  outline: none;
  min-width: 0;
}

.search-icon {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-icon:hover {
  transform: scale(1.05);
}

.search-icon svg {
  fill: #fff;
  width: 18px;
  height: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo img {
    height: 30px;
  }

  .search-input {
    font-size: 15px;
  }

  .search-icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 22px;
  }

  .search-box {
    padding: 6px 10px;
  }

  .search-input {
    font-size: 14px;
  }

  .search-icon {
    width: 40px;
    height: 40px;
  }
}
