body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: #121212;
  color: #fff;
  direction: rtl;
}

header {
  text-align: center;
  padding: 40px 20px 10px;
  background-color: #1e1e1e;
}

header h1 {
  font-size: 36px;
  margin: 0;
  color: #ffcc00;
}

header p {
  font-size: 18px;
  color: #ccc;
}

.about {
  text-align: center;
  padding: 40px 20px;
  background-color: #1a1a1a;
}

.about img {
  width: 120px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  color: #ffcc00;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
  border: 1px solid #ffcc00;
  padding: 8px 14px;
  border-radius: 25px;
  transition: background 0.3s, color 0.3s;
}

.social-links a img {
  width: 20px;
  height: 20px;
  margin-left: 8px;
}

.social-links a:hover {
  background-color: #ffcc00;
  color: #121212;
}

.filter-buttons {
  text-align: center;
  margin-top: 30px;
}

.filter-buttons button {
  margin: 0 8px;
  padding: 10px 20px;
  background-color: transparent;
  color: #ffcc00;
  border: 1px solid #ffcc00;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.filter-buttons button:hover,
.filter-buttons button.active {
  background-color: #ffcc00;
  color: #121212;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  background-color: #222;
}

.gallery .card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, opacity 0.3s;
  opacity: 1;
  transform: scale(1);
}

.gallery .card.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.gallery img {
  width: 100%;
  display: block;
}

.gallery p {
  text-align: center;
  padding: 10px 0;
  margin: 0;
  color: #ffcc00;
}
/* === Responsive Design === */
@media (max-width: 768px) {
  header h1 {
    font-size: 28px;
  }

  header p {
    font-size: 16px;
  }

  .about {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
  }

  .about .text {
    padding: 0;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    flex-wrap: wrap;
  }

  .filter-buttons button {
    margin: 8px 5px;
    padding: 8px 14px;
    font-size: 14px;
  }

  footer {
    padding: 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .social a {
    font-size: 20px;
    margin: 0 8px;
  }

  .filter-buttons button {
    font-size: 13px;
    padding: 6px 12px;
  }
}