/* ELECTRONICS COMPONENTS GUIDE — EXPLORE PAGE
   ============================================ */

/* Light theme override for components page */
body {
  background: url("file:///C:/Users/HP%20ELITEBOOK/Downloads/harrison-broadbent-afZVP8xbbw0-unsplash.jpg")
    center/cover no-repeat fixed;
  background-color: rgba(255, 255, 255, 0.3); /* Must be transparent */
  backdrop-filter: blur(55px);
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: 140px;
  background-size: cover;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

main {
  min-height: 100vh;
  background: transparent;
}

/* Navigation adjustments */
nav {
  background: transparent;
  border-bottom: none;
  align-self: first baseline;
}

.nav-logo {
  color: #333;
}

.nav-logo span {
  color: #555;
}

.nav-links a {
  color: #000000;
  font-style: Poppins;
  font-weight: semi-bold;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--cyan);
}

.nav-cart-btn {
  background: #ffffff;
  border: 1px solid #1a1919;
  color: #070202;
}

.nav-cart-btn:hover {
  background: #d8cfc4;
  border-color: #666;
  color: #333;
}

.cart-count {
  background: transparent;
  color: rgb(14, 4, 4);
}

/* Hero section */
.explore-hero {
  background: transparent;
  max-width: 15000px;
  padding-bottom: 0;
  border-bottom: none;
}

.explore-hero::after {
  inset: 0;
  pointer-events: none;
  max-width: 1000px;
}

.explore-hero .section-label {
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  color: #a58b74;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.explore-hero h1 span {
  color: #84613f;
}

.explore-subtitle {
  color: #6a6a6a;
  margin-top: 0.3rem;
  font-size: 1.03rem;
  max-width: 680px;
}

.explore-hero h1 {
  color: #333;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
}

.explore-hero h1 span {
  color: #666;
}

.explore-subtitle {
  color: #666;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.section-label {
  color: #666;
  letter-spacing: 2px;
}

/* Filter bar */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  margin: 0 auto 1.5rem;
  background: transparent;
  border: 1px solid rgba(210, 210, 210, 0.85);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(22, 28, 38, 0.12);
  width: min(100%, 840px);
  max-width: 100%;
}

.filter-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-dropdown {
  position: relative;
}

.components-grid {
  position: relative;
  padding-top: 0;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(217, 217, 217, 0.95);
  color: #20222a;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: #f7f7f7;
  border-color: rgba(180, 180, 180, 0.9);
}

.dropdown-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
}

.filter-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.filter-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.4rem;
  background: white;
  border: 1px solid #bfb2a0;
  border-radius: 4px;
  min-width: 150px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.filter-dropdown.open .filter-menu {
  display: flex;
}

.filter-option {
  align-self: center;
  padding: 0.6rem 1rem;
  background: none;
  border: none;
  color: #555;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-option:hover {
  background: rgba(0, 200, 255, 0.1);
  color: #00c8ff;
}

.filter-option.active {
  color: #00c8ff;
  font-weight: 600;
}

.filter-value {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0.95;
  margin-left: 0.35rem;
}

.quick-search {
  padding: 0.55rem 1rem 0.55rem 2.8rem;
  border: 1px solid rgba(217, 217, 217, 0.95);
  border-radius: 999px;
  font-size: 0.9rem;
  width: 240px;
  background: #ffffff;
  color: #4a4f57;
  font-family: var(--font-body);
  transition: all 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344l3.387 3.387a1 1 0 0 1-1.414 1.414l-3.387-3.387a6 6 0 1 1 1.414-1.414zM12 6a5 5 0 1 0-10 0 5 5 0 0 0 10 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
}

.quick-search::placeholder {
  color: #b2b6bc;
}

.quick-search:focus {
  outline: none;
  background: #ffffff;
  border-color: rgba(0, 200, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.12);
}

.quick-search::placeholder {
  color: #999;
}

.quick-search:focus {
  outline: none;
  background: white;
  border-color: #00c8ff;
  box-shadow: 0 0 0 2px rgba(0, 200, 255, 0.1);
}

/* COMPONENT */
.components-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.component-card {
  background: rgba(240, 230, 220, 0.587);
  display: flex;
  justify-content: space-around;
  margin: 5px auto;
  padding: 20px;
  width: 1159px;
  height: 297px;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
}
.component-card-img {
  background-color: #656565;
  width: 228px;
  height: 94px;
  border-radius: 31px;
  position: absolute;
  top: -20px;
  left: -30px;
}
.component-card-img h3 {
  font-size: 24px;
  font-weight: bold;
  margin-left: 15px;
  margin-top: 15px;
  color: white;
}
.component-card-img img {
  position: absolute;
  right: -200px;
  top: -80px;
  width: 450px;
  height: 250px;
  transform: rotateY(60deg);
}

.uses {
  display: flex;
  flex-direction: column;
  width: 250px;
  height: 100%;
  border-right: 1px solid white;
  justify-content: center;
  align-items: center;
}
.uses h5 {
  font-size: 20px;
  font-weight: bold;
  align-self: flex-start;
}
.uses ul {
  line-height: 1.5;
}
.grid2 {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-left: 60px;
}
.grid2 h5 {
  font-size: 20px;
  font-weight: bold;
}
.project ul {
  margin-top: 10px;
  padding-left: 25px;
}
.btnsss {
  float: right;
}

/* Learn more button */
.learn-more-btn {
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  color: black;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.46rem 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  transition: all 0.2s ease;
  align-self: flex-end;
  margin-top: 0;
  border-radius: 20px;
}

.learn-more-btn:hover {
  background: rgba(250, 238, 224, 0.95);
  border-color: #a29174;
  color: #2f2f2f;
  transform: translateY(-1px);
}

.learn-more-btn:hover {
  background: rgba(232, 221, 210, 0.95);
  align-self: flex-end;
}

.learn-more-btn + .learn-more-btn {
  margin-top: 0.5rem;
}

 .exp-foot {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 2rem 2.5rem;
  display: absoulte;
  align-items: center;
  justify-content: space-between;
}
/*Bottom*/
.bottom-nav {
  background: rgba(200, 185, 170, 0.8);
  border-top: 1px solid #c0b5aa;
}

.bottom-nav-link {
  color: #555;
}

.bottom-nav-link.active,
.bottom-nav-link:hover {
  color: #333;
}

/* Responsive */
@media (max-width: 1000px) {
  .explore-hero {
    padding: 5rem 1rem 2rem;
  }
  .components-grid {
    padding: 1.2rem 1rem 1.6rem;
  }
  .component-card {
    grid-template-columns: 170px 1fr 110px;
  }
}

@media (max-width: 820px) {
  .component-card {
    grid-template-columns: 1fr;
  }
  .component-card-img {
    width: 100%;
    min-height: 230px;
  }
  .component-card > div:last-child {
    grid-column: 1;
    margin-top: 0.8rem;
  }
}

@media (max-width: 600px) {
  .explore-hero {
    padding: 4rem 0.85rem 1.8rem;
  }
  .explore-hero h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }
  .components-grid {
    padding: 1rem 0.8rem 1.5rem;
  }
  .component-card {
    grid-template-columns: 1fr;
    padding: 0.7rem;
  }
  .component-card-body {
    padding: 1rem;
  }
  .learn-more-btn {
    font-size: 0.65rem;
  }
}
