.project-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px;
  min-height: 80vh;
  text-align: center;
  overflow-x: hidden;
}

.project-card {
  margin-bottom: 30px;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 30px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #e6f4fc);
  box-shadow: 0 12px 30px rgba(0, 168, 243, 0.2);
  animation: slideUp 0.7s ease;
}

.project-card h1 {
  font-size: 42px;
  color: #00a8f3;
  margin-bottom: 20px;
  font-weight: 700;
}

.project-card .project-description {
  font-size: 20px;
  line-height: 1.7;
  color: #000;
  margin-bottom: 35px;
  max-width: 700px;
}

.related-title {
  font-size: 28px;
  color: #00a8f3;
  margin-bottom: 15px;
}

.project-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  width: 100%;
  max-width: 800px;
  margin-bottom: 30px;
}

.project-images .project-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 168, 243, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
  object-fit: cover;
}

.project-images .project-image:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 168, 243, 0.35);
}

.demo-link {
  display: inline-block;
  background-color: #00a8f3;
  color: #fff;
  padding: 15px 30px;
  font-size: 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.demo-link:hover {
  background-color: #008ecb;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 168, 243, 0.35);
}

.back-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: inline-block;
  padding: 12px 22px;
  background-color: #00a8f3;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 168, 243, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-btn:hover {
  background-color: #008ecb;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 168, 243, 0.4);
}

@media screen and (max-width: 480px) {
  .project-card {
    padding: 25px 15px;
    width: 95%;
  }

  .project-card h1 {
    font-size: 28px;
  }

  .project-card .project-description {
    font-size: 16px;
    line-height: 1.5;
  }

  .related-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .project-images {
    display: flex;
    flex-direction: column;
    gap: 0px;
    width: 40%;
    max-width: 40%;
    margin-bottom: 0px;
  }

  .project-images .project-image {
    width: 40%;
    max-width: 40%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 168, 243, 0.25);
  }

  .demo-link {
    font-size: 16px;
    padding: 10px 20px;
  }
}

body {
  background-color: #d6ecf8;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #000;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.5s ease;
}

.container {
  width: 100%;
  max-width: 850px;
  text-align: center;
  position: relative;
  padding-bottom: 120px;
}

.page {
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 65vh;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.main-image {
  width: 60%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
  box-shadow: none;
}

.card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 168, 243, 0.1);
  padding: 30px;
  width: 80%;
  animation: slideUp 0.6s ease;
}

.card h2 {
  color: #00a8f3;
  margin-bottom: 15px;
  font-size: 32px;
}

.card h8 {
  color: #00a8f3;
  margin-bottom: 15px;
  font-size: px;
}

.card p {
  font-size: 18px;
  line-height: 1.6;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 20px;
  align-items: center;
}

.skill-category {
  text-align: center;
}

.skill-category h3 {
  font-size: 24px;
  color: #00a8f3;
  margin-bottom: 10px;
}

.skill-category p {
  font-size: 18px;
  background-color: #e9f8ff;
  color: #000;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 6px 0;
  display: inline-block;
  min-width: 100px;
}

.profile-pic-container {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid #00a8f3;
}

.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.profile-pic-container:hover .profile-pic {
  transform: scale(1.05);
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  align-items: center;
}

.project-btn {
  display: inline-block;
  padding: 15px 25px;
  background-color: #00a8f3;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-btn:hover {
  background-color: #008ecb;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 168, 243, 0.3);
}

.project-page {
  text-align: center;
  padding: 40px 20px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-page h2 {
  font-size: 32px;
  color: #00a8f3;
  margin-bottom: 20px;
}

.project-description {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 700px;
}

.project-image {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 168, 243, 0.2);
  transition: transform 0.3s ease;
  height: auto;
  object-fit: cover;
}

.project-image:hover {
  transform: scale(1.03);
}

.demo-link {
  display: inline-block;
  background-color: #00a8f3;
  color: #fff;
  padding: 12px 25px;
  font-size: 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.demo-link:hover {
  background-color: #008ecb;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 168, 243, 0.3);
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background-color: #cce7f7;
  overflow: hidden;
  border-radius: 5px;
  margin-top: 10px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: #00a8f3;
  transition: width 0.6s ease;
  border-radius: 5px;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.arrow-btn {
  background-color: #00a8f3;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 168, 243, 0.3);
}

.arrow-btn:hover {
  background-color: #008ecb;
  transform: scale(1.15);
  box-shadow: 0 6px 12px rgba(0, 168, 243, 0.45);
}

.arrow-btn:disabled {
  background-color: #bce4f7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  .card h2,
  .project-page h2 {
    font-size: 28px;
  }

  .card p,
  .project-description {
    font-size: 16px;
  }

  .project-image {
    width: 90%;
  }

  .demo-link {
    font-size: 16px;
    padding: 10px 20px;
  }
  
  /* MOBİL CİHAZLAR İÇİN ALT DOLGU ARTIŞI */
  .container {
    padding-bottom: 150px; 
  }
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
  align-items: center;
}

.project-btn {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  padding: 18px 25px;
  background-color: #00a8f3;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.project-btn:hover {
  background-color: #008ecb;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 168, 243, 0.3);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 32px;
  height: 32px;
}

.contact-link {
  color: #00a8f3;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: #008ecb;
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .project-btn {
    font-size: 16px;
    padding: 15px 20px;
  }
}