body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fdfdfd;
    color: #333;
    line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #007BFF;
}

header {
    background-color: #2b2b2b;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px 20px;
    overflow: hidden;
    height: 100px;
}

#special-header {
    background: #000;
}

#special-header .star {
    position: absolute;
    width: 3px;
    height: 3px;
    pointer-events: none;
    animation: slideStars linear infinite;
}

@keyframes slideStars {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(800px);
    }
}

@media (max-width: 480px) {
  header img {
    display: none;
  }
}

header img {
    position: absolute;
    left: 20px;
    height: 80px;
    padding: 10px;
    border-radius: 16px;
}

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


.header-text h1,
.header-text p {
    margin: 0;
}

.header-text p {
    margin-top: 5px;
}


.section {
    padding: 2rem 1rem;
    margin: auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 30px;
    max-width: 800px;
    line-height: 1.6;
    transition: transform 0.2s, box-shadow 0.2s;

}

.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content:center
}

.project {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    max-width: 350px;
}

.project h3 {
    margin-top: 0;
}

footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.contact a {
    color: #007acc;
    text-decoration: none;
    margin: 0 0.5rem;
}

.toggle-btn {
  background: none;
  border: none;
  color: #007acc;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0.5rem;
}

.project-content {
  display: block;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  overflow: hidden;
}

.project-content.hidden {
  max-height: 0;
  opacity: 0;
  padding: 0;
}
@media (min-width: 600px) {
    header h1 {
        font-size: 2.5rem;
    }
}

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

.image-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

#lightbox {
  display: none; 
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.arrow {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 15px;
  transform: translateY(-50%);
  transition: color 0.2s;
}

.arrow:hover {
  color: #ddd;
}

.arrow.left {
  left: 0;
}

.arrow.right {
  right: 0;
}




