* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0b0b0f;
  color: white;
  font-family: Arial, sans-serif;
}

header {
  width: 100%;
  padding: 20px 8%;
  background: rgba(10, 10, 15, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,165,0,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

.logo span {
  color: orange;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 22px;
  transition: 0.3s;
}

nav a:hover {
  color: orange;
}

.menu-btn {
  display: none;
  background: orange;
  color: black;
  border: none;
  padding: 8px 13px;
  font-size: 22px;
  border-radius: 6px;
  cursor: pointer;
}

.hero {
  min-height: 90vh;
  padding: 80px 8%;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: center;
  gap: 40px;
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.85)),
    url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?q=80&w=1600");
  background-size: cover;
  background-position: center;
}

.mini-title {
  color: orange;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  color: orange;
}

.hero p {
  color: #ddd;
  font-size: 18px;
  line-height: 1.7;
  max-width: 650px;
}

.hero-buttons {
  margin-top: 30px;
}

.btn,
.btn-outline {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 30px;
  text-decoration: none;
  margin-right: 10px;
  font-weight: bold;
}

.btn {
  background: orange;
  color: black;
}

.btn-outline {
  border: 1px solid orange;
  color: orange;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  padding: 30px;
  border-radius: 18px;
  border: 1px solid rgba(255,165,0,0.3);
  backdrop-filter: blur(10px);
}

.hero-card h3 {
  color: orange;
  margin-bottom: 20px;
}

.hero-card li {
  list-style: none;
  margin-bottom: 13px;
  color: #eee;
}

.info-boxes {
  width: 85%;
  margin: -45px auto 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  position: relative;
  z-index: 2;
}

.info-boxes div {
  background: #15151d;
  padding: 28px;
  text-align: center;
  border-radius: 15px;
  border: 1px solid rgba(255,165,0,0.25);
}

.info-boxes h2 {
  color: orange;
  font-size: 32px;
}

.page {
  padding: 70px 8%;
}

.page h1 {
  font-size: 45px;
  color: orange;
  margin-bottom: 35px;
  text-align: center;
}

.about-area,
.contact-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.about-area > div,
.skills,
.contact-info,
form,
.project-card,
.service-card {
  background: #15151d;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.about-area h2,
.contact-info h2 {
  color: orange;
  margin-bottom: 15px;
}

.about-area p,
.contact-info p {
  color: #ddd;
  line-height: 1.7;
  margin-bottom: 15px;
}

.skill {
  margin-bottom: 18px;
}

.skill span {
  display: block;
  margin-bottom: 8px;
}

.skill div {
  height: 10px;
  background: #333;
  border-radius: 20px;
  overflow: hidden;
}

.skill div b {
  display: block;
  height: 100%;
  background: orange;
}

.project-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.project-card,
.service-card {
  transition: 0.3s;
}

.project-card:hover,
.service-card:hover {
  transform: translateY(-8px);
  border-color: orange;
  box-shadow: 0 0 25px rgba(255,165,0,0.15);
}

.project-card h2,
.service-card h2 {
  color: orange;
  margin-bottom: 12px;
}

.project-card p,
.service-card p {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 15px;
}

.project-card span {
  color: black;
  background: orange;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  background: #0d0d12;
  color: white;
  border: 1px solid #333;
  padding: 15px;
  border-radius: 10px;
  outline: none;
}

textarea {
  height: 140px;
}

form button {
  background: orange;
  color: black;
  padding: 15px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
}

@media (max-width: 850px) {
  nav {
    display: none;
    position: absolute;
    top: 72px;
    right: 8%;
    background: #15151d;
    padding: 20px;
    border-radius: 12px;
  }

  nav.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  nav a {
    margin: 0;
  }

  .menu-btn {
    display: block;
  }

  .hero,
  .about-area,
  .contact-area,
  .project-grid,
  .service-grid,
  .info-boxes {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 38px;
  }

  .info-boxes {
    margin-top: 30px;
  }
}
/* FOOTER */

.footer {
  background: #08080c;
  border-top: 1px solid rgba(255,165,0,0.25);
  padding-top: 45px;
  margin-top: 70px;
}

.footer-content {
  width: 85%;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 35px;
}

.footer h2 {
  color: white;
  font-size: 28px;
  margin-bottom: 15px;
}

.footer h2 span {
  color: orange;
}

.footer h3 {
  color: orange;
  margin-bottom: 15px;
}

.footer p {
  color: #ccc;
  line-height: 1.7;
}

.footer a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
  transition: 0.3s;
}

.footer a:hover {
  color: orange;
  transform: translateX(6px);
}

.footer-bottom {
  margin-top: 35px;
  padding: 18px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #aaa;
}

/* ANİMASYONLAR */

.fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

body {
  animation: pageOpen 0.7s ease;
}

@keyframes pageOpen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Hover animasyonlarını biraz daha güçlendirir */

.btn,
.btn-outline,
.project-btn,
form button {
  transition: 0.3s;
}

.btn:hover,
.btn-outline:hover,
.project-btn:hover,
form button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255,165,0,0.25);
}

/* Mobil footer */

@media (max-width: 850px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* LOADER */

#loader {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #050505;
  z-index: 99999;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  transition: 0.8s;
}

.loader-logo {
  font-size: 55px;
  font-weight: bold;
  color: orange;
  letter-spacing: 6px;
  margin-bottom: 25px;

  animation: pulse 1.5s infinite;
}

.loader-line {
  width: 220px;
  height: 4px;
  background: #222;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.loader-line::before {
  content: "";
  position: absolute;
  width: 45%;
  height: 100%;
  background: orange;

  animation: loading 1.2s infinite;
}

@keyframes loading {
  0% {
    left: -50%;
  }

  100% {
    left: 100%;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}
.logo img {
  height: 55px;
}
/* SCROLL PROGRESS BAR */

#progressBar {
  position: fixed;
  top: 0;
  left: 0;

  width: 0%;
  height: 4px;

  background: linear-gradient(to right, orange, #ff5e00);

  z-index: 999999;

  box-shadow: 0 0 15px orange;
}

/* GLOW EFEKTLERİ */

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -2;
  opacity: 0.22;
}

.glow1 {
  width: 320px;
  height: 320px;

  background: orange;

  top: 120px;
  left: -80px;

  animation: glowMove1 8s infinite alternate;
}

.glow2 {
  width: 260px;
  height: 260px;

  background: #0066ff;

  bottom: 80px;
  right: -60px;

  animation: glowMove2 10s infinite alternate;
}

.glow3 {
  width: 220px;
  height: 220px;

  background: purple;

  top: 55%;
  left: 40%;

  animation: glowMove3 12s infinite alternate;
}

@keyframes glowMove1 {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(60px);
  }
}

@keyframes glowMove2 {
  from {
    transform: translateX(0px);
  }

  to {
    transform: translateX(-70px);
  }
}

@keyframes glowMove3 {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.3);
  }

}