body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background-color: white;
  border-bottom: 1px solid #ddd;
  height: 100px;
}

.logo img {
  height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  font-weight: bold;
  color: black;
  position: relative;
}

nav ul li a:hover,
nav ul li a:focus {
  color: #4CAF50;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #4CAF50;
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav ul li a:hover::after {
  transform: scaleX(1);
}
/* Projeler */
.projeler {
  padding: 50px 40px;
  background-color: #f2f2f2;
}

.projeler h2 {
  font-size: 32px;
  color: #4CAF50;
  margin-bottom: 10px;
}

.projeler hr {
  border: 2px solid #4CAF50;
  width: 100%;
  margin-bottom: 20px;
}

.projeler h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.gallery img {
  width: calc(25% - 15px);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* Footer */
.footer-dark {
  background-color: #1e1e1e;
  color: #999;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 40px;
}
.zoomable {
  width: 200px;
  cursor: pointer;
}

dialog#img-modal {
  background: rgba(0,0,0,0.8);
  border: none;
  padding: 0;
}

#img-modal img {
  max-width: 90vw;
  max-height: 90vh;
}

#close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
}



/* Responsive */
@media screen and (max-width: 768px) {
  nav ul {
    justify-content: center;
    gap: 15px;
    padding-top: 10px;
  }

  .gallery img {
    width: calc(50% - 10px);
  }
}

@media screen and (max-width: 480px) {
  .gallery img {
    width: 100%;
  }

  header {
    flex-direction: column;
    height: auto;
    padding: 20px;
    text-align: center;
  }

  .logo {
    width: 100%;
    text-align: left;
  }

  nav ul {
    justify-content: flex-start;
  }
}
