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

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0d0d0d;
    color: #f97316;
    overflow-x: hidden;
  height: 100%;
}

#stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    background-repeat: repeat;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
}



@keyframes moveStars {
    from {background-position: 0 0;}
    to {background-position: 10000px 5000px;}
}

nav {
    background-color: rgba(17, 17, 17, 0.8);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #f97316;
    animation: float 4s ease-in-out infinite;
}

.navbar {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    transition: 0.3s;
    position: relative;
}

.navbar a:hover {
    color: #f97316;
    background-color: transparent;
    transform: none;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: #f97316;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

.title-glow {
    margin-top: 150px;
    text-align: center;
    font-size: 64px;
    color: #fff;
    text-shadow: 0 0 15px #f97316, 0 0 30px #ffb347;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #f97316;
    }
    to {
        text-shadow: 0 0 25px #fff176;
    }
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.info-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #f97316;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: scale(1.03);
}

.info-box h2 {
    font-size: 36px;
    color: #f97316;
    margin-bottom: 20px;
}

.info-box p {
    font-size: 20px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #f97316;
    color: #111;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    min-width: 160px;
    text-align: center;
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #f97316;
    background-color: #ffa94d;
}

footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.social-media {
    margin-top: 10px;
}

.social-media p {
    font-size: 16px;
    margin: 0;
}

.social-media a {
    color: #f97316;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #ff5c00;
}


.iletisim {
    margin-top: 10px;
}

.iletisim p {
    font-size: 16px;
    margin: 0;
}

.iletisim a {
    color: #ffec00;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.iletisim a:hover {
    color: #ffcc00;
}


@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

@media (max-width: 768px) {
    .title-glow {
        font-size: 40px;
    }

    .info-box h2 {
        font-size: 28px;
    }

    .info-box p {
        font-size: 18px;
    }

    .navbar {
        flex-direction: column;
        gap: 10px;
    }
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: #f97316;
}

.logo {
    color: #f97316;
    font-size: 26px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo-img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

#about {
    padding: 160px 80px 180px;
    color: #f97316;
    text-align: center;
    background: linear-gradient(to right, #111, #222);
}

.container {
    max-width: 800px;
    margin: auto;
}

#about h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
}

#about p {
    font-size: 18px;
    line-height: 1.6;
    color: #f97316;
    margin-bottom: 15px;
}

.skills h2 {
    color: white;
    margin-top: 40px;
}

.skills ul {
    list-style: none;
    padding: 0;
}

.skills li {
    font-size: 18px;
    margin: 8px 0;
    color: #f97316;
}


.about-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #f97316;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: 40px;
}

.about-box:hover {
    transform: scale(1.03);
}

.about-box h2 {
    font-size: 36px;
    color: #f97316;
    margin-bottom: 20px;
}

.about-box p {
    font-size: 20px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
}

#projects {
    padding: 160px 40px 400px;
    background: linear-gradient(to right, #111, #1a1a1a);
    color: #fff;
    text-align: center;
}

#projects2 {
    padding: 160px 40px 500px;
    background: linear-gradient(to right, #111, #1a1a1a);
    color: #fff;
    text-align: center;
}

#projects2 h1 {
    font-size: 42px;
    margin-bottom: 40px;
    text-shadow: 0 0 15px #f97316;
    color: #f97316;
}

#projects h1 {
    font-size: 42px;
    margin-bottom: 40px;
    text-shadow: 0 0 15px #f97316;
    color: #f97316;
}

#projects3 {
    padding: 160px 40px 300px;
    background: linear-gradient(to right, #111, #1a1a1a);
    color: #fff;
    text-align: center;
}

#projects3 h1 {
    font-size: 42px;
    margin-bottom: 40px;
    text-shadow: 0 0 15px #f97316;
    color: #f97316;
}

#projects4 {
    padding: 160px 40px 300px;
    background: linear-gradient(to right, #111, #1a1a1a);
    color: #fff;
    text-align: center;
}

#projects4 h1 {
    font-size: 42px;
    margin-bottom: 40px;
    text-shadow: 0 0 15px #f97316;
    color: #f97316;
}

#projects5 {
    padding: 160px 40px 300px;
    background: linear-gradient(to right, #111, #1a1a1a);
    color: #fff;
    text-align: center;
}

#projects5 h1 {
    font-size: 42px;
    margin-bottom: 40px;
    text-shadow: 0 0 15px #f97316;
    color: #f97316;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 2px solid #f97316;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 25px rgba(255, 115, 22, 0.4);
}

.project-item h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #f97316;
}

.project-item h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #f97316;
}

.project-item h4 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #f97316;
}
.project-item p {
    font-size: 16px;
    color: #ddd;
    margin-bottom: 20px;
    line-height: 1.5;
}

.project-item .btn {
    background-color: #f97316;
    color: #111;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.project-item .btn:hover {
    background-color: #ffa94d;
    box-shadow: 0 0 12px #f97316;
    transform: scale(1.05);
}

@keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }


.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #f97316;
}

.logo a:hover {
    opacity: 0.8;
}

#contact-cards {
  padding: 100px 50px;
  background: linear-gradient(to right, #0f0f0f, #1c1c1c);
  color: white;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.contact-card {
  background-color: #1e1e1e;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #444;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255, 102, 0, 0.4);
}

.contact-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.contact-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ff6600;
}

.contact-card p {
  font-size: 16px;
  margin-bottom: 20px;
}

.contact-card .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff6600;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.contact-card .btn:hover {
  background-color: #e05500;
}

.cool-heading {
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  color: #ff6a00;
  text-shadow: 0 0 2px #ff6a00, 0 0 4px #ff6a00;
  margin-bottom: 60px;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 2px #ff6a00, 0 0 4px #ff6a00;
  }
  to {
    text-shadow: 0 0 4px #ff8800, 0 0 6px #ff8800;
  }
}

#error-message {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f44336;
  color: white;
  padding: 20px;
  font-size: 18px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: bottom 0.5s ease-in-out;
}

#error-message.show {
  bottom: 30px;
}

.hidden {
  visibility: hidden;
}

.tech-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0;
}

.tech-badge {
  border: 1px solid #ff8000;
  color: #ff8000;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  background-color: rgba(255, 128, 0, 0.05);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background-color: rgba(255, 128, 0, 0.15);
  transform: scale(1.05);
}

.type-badge {
  border: 1px solid #ffd700;
  color: #ffd700;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  background-color: rgba(255, 215, 0, 0.05);
  transition: all 0.3s ease;
}

.type-badge:hover {
  background-color: rgba(255, 215, 0, 0.15);
  transform: scale(1.05);
}

.skills-section {
  padding: 50px 20px 100px;
  background: #111;
  text-align: center;
  overflow-x: hidden;
}

.skills-container {
  max-width: 1200px;
  margin: auto;
}

.skill-box {
  margin-bottom: 50px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.skill-item {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #f97316;
  border-radius: 15px;
  padding: 20px;
  width: 120px;
  transition: transform 0.3s;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

.skill-item:hover {
  transform: scale(1.05);
}

.skill-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 2px #f97316aa);
}

.skill-item span {
  color: white;
  font-weight: bold;
  display: block;
}

@media (max-width: 600px) {
  .skill-item {
    width: 100px;
    padding: 15px;
  }

  .skill-item img {
    width: 40px;
    height: 40px;
  }
}
