/* General Reset */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #fefefe;
}

:root {
  --primary-color: #b35c00;
  --accent-color: #ffae00;
  --neutral-light: #f8f8f8;
  --neutral-dark: #3a3a3a;
}

/* Icon Circles */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  background-color: #fff4e1;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

/* Projects Hero Section */
.projects-hero {
  background: linear-gradient(135deg, #3d2200, #b35c00);
  color: #fff;
  padding: 6rem 1rem 4rem;
  text-align: center;
}

.projects-hero .container {
  max-width: 900px;
  margin: 0 auto;
}

.projects-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.projects-hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #fdfdfd;
}

/* Project Tabs */
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin-bottom: 2rem;
  padding: 0;
}

.tab {
  background-color: #fff4e1;
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
}

.tab:hover,
.tab.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--accent-color);
}

/* Project Cards */
.project-gallery {
  background: var(--neutral-light);
  padding: 5rem 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 4px solid var(--primary-color);
}

.card-content {
  padding: 1.5rem;
  text-align: left;
}

.card-content h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.image-gallery img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .projects-hero h1 {
    font-size: 2rem;
  }

  .projects-hero p {
    font-size: 1rem;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 0.95rem;
  }

  .image-gallery img {
    height: 80px;
  }

  .tab {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}
