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

body {
  font-family: 'Roboto', sans-serif;
  background-color: #1a1a1a;
  color: #fff;
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 40px 20px;
  background-color: #000;
  border-bottom: 2px solid #d4a017;
}

.logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5em;
  color: #d4a017;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2em;
  color: #ccc;
}

.projects {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  background-color: #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.project-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card img {
  width: 100%;
  height: 220px; /* Adjusted for better visual balance */
  object-fit: cover;
}

.project-info {
  padding: 15px;
}

.project-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  color: #d4a017;
  margin-bottom: 10px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #000;
  border-top: 2px solid #d4a017;
}

footer p {
  font-size: 0.9em;
  color: #ccc;
}

footer a {
  color: #d4a017;
  text-decoration: none;
  margin-left: 10px;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo h1 {
    font-size: 2em;
  }

  .project-card img {
    height: 180px; /* Slightly smaller for mobile */
  }
}