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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background-color: #2c3e50;
  color: white;
  padding: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.tagline {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.tile {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  aspect-ratio: 1;
  width: 100%;
}

.tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tile-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #ecf0f1;
  z-index: 1;
}

.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.tile:hover .tile-image img {
  filter: brightness(0.4);
}

.tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.tile:hover .tile-content {
  opacity: 1;
}

.tile-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: white;
}

.tile-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9)
/* Footer */
.footer {
  background-color: #2c3e50;
  color: #2c3e50;
}

.tile-content p {
  font-size: 0.95rem;
  color: #666
/* Project Pages */
.project-page {
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 3rem auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

.project-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.project-page .meta {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 2rem;
}

.project-page img {
  width: 100% !important;
  max-height: 250px !important;
  max-width: 300px !important;
  object-fit: cover;
  border-radius: 8px;
  margin: 2rem auto !important;
  display: block;
}

.project-page > img {
  max-height: 150px !important;
  max-width: 200px !important;
}

.project-page h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.project-page p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.project-page ul,
.project-page ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.project-page li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .navbar .container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .project-page {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
