/* ---------------------- */
/* PORTFOLIO MAIN SECTION */
/* ---------------------- */

.portfolio-section {
  width: 100%;
  padding: 60px 20px;
  font-family: "Poppins", sans-serif;
}

.portfolio-heading {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.portfolio-subtitle {
  text-align: center;
  font-size: 16px;
  color: #fff;
  margin-bottom: 40px;
}

/* WRAPPER */
.portfolio-wrapper {
  display: flex;
  justify-content: center;
  max-width: 1400px;
  margin: auto;
}

/* RIGHT SIDE BOX (Glassy) */
.portfolio-right {
  width: 100%;
  max-width: 800px;
  background: rgba(8, 10, 45, 0.6);
  color: #fff;
  padding: 30px;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);
}

/* ---------------------- */
/* DESKTOP FILTER BUTTONS */
/* ---------------------- */

/* DESKTOP FILTER BUTTONS – EVEN SMALLER */
.filter-buttons {
  display: flex;
  gap: 8px; /* gap even smaller */
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 5px 12px; /* smaller padding */
  border: 1px solid #fff;
  background: rgba(8, 10, 45, 0.6);
  color: #fff;
  border-radius: 5px; /* more compact */
  font-weight: 600;
  font-size: 13px; /* smaller text */
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #fff;
  color: #3B82F6;
}



/* ---------------------- */
/* MOBILE FILTER DROPDOWN */
/* ---------------------- */

.mobile-filter {
  display: none;
  width: 100%;
  padding: 8px 20px; /* Increased padding so text never hides */
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #fff;
  background: rgba(8,10,45,0.6);
  border: 1px solid rgba(255,255,255,0.3);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  box-sizing: border-box;
}

/* Premium Arrow */
.mobile-filter {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="28" viewBox="0 0 24 24" width="28" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
}

/* ---------------------- */
/* PORTFOLIO ITEM CARDS   */
/* ---------------------- */

.portfolio-items {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;  /* MOBILE: 1 item */
}

/* Tablet + Desktop = 2 columns */
@media (min-width: 769px) {
  .portfolio-items {
    grid-template-columns: 1fr 1fr; /* Two equal boxes */
  }
}

.portfolio-item {
  background: rgba(8, 10, 45, 0.6);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.portfolio-item h4 {
  margin: 0 0 10px;
  color: #fff;
}

/* Visit Button 
.visit-btn {
  display: inline-block;
  background: #fff;
  color: #3B82F6;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.visit-btn:hover {
  background: #3B82F6;
  color: #fff;
} */
/* VISIT BUTTON – SMALL & PREMIUM */
.visit-btn {
  display: inline-block;
  background: rgba(8, 10, 45, 0.6);
  color: #fff;
  padding: 5px 12px;      /* small like filter buttons */
  border-radius: 5px;     /* compact radius */
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;        /* same size as filter buttons */
  border: 1px solid #fff; 
  transition: 0.3s ease;
}

.visit-btn:hover {
  background: #fff;
  color: #3B82F6;
}


/* ---------------------- */
/* RESPONSIVENESS         */
/* ---------------------- */

@media (max-width: 768px) {
  .filter-buttons { display: none; }
  .mobile-filter { display: block; }
  .portfolio-right { padding: 20px; }
}
