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

:root {
  --black: #050505;
  --dark: #101010;
  --panel: #171717;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --red: #ff2020;
  --red-dark: #9d0d0d;
  --yellow: #ffd21a;
  --border: rgba(255, 255, 255, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(100, 0, 0, .35), transparent 35%),
    radial-gradient(circle at 85% 8%, rgba(255, 210, 26, .12), transparent 24%),
    linear-gradient(135deg, #040404, #101010 45%, #1a1a1a);
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .65;
  pointer-events: none;
  z-index: -3;
}

.red-glow,
.yellow-glow {
  position: fixed;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .38;
  z-index: -2;
  animation: floatGlow 8s infinite alternate ease-in-out;
}

.red-glow {
  background: var(--red);
  left: -80px;
  top: 130px;
}

.yellow-glow {
  background: var(--yellow);
  right: -90px;
  bottom: 80px;
  animation-delay: 2s;
}

@keyframes floatGlow {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-45px) scale(1.12); }
}

.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 92%);
  padding: 15px 18px 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 13, 13, .88);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0,0,0,.42);
  z-index: 1000;
}

.logo {
  font-family: "Exo 2", sans-serif;
  font-size: 25px;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255, 210, 26, .65);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  color: #d8d8d8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: .25s;
}

nav a:hover {
  color: var(--yellow);
}

.lang-btn {
  width: 48px;
  height: 38px;
  border-radius: 12px;
  color: #111;
  background: var(--yellow);
  border: 1px solid rgba(255, 210, 26, .9);
  font-weight: 900;
  cursor: pointer;
}

.hero {
  min-height: 92vh;
  padding: 150px 8% 45px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  width: fit-content;
  padding: 11px 16px;
  margin-bottom: 26px;
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(255, 210, 26, .08);
  border: 1px solid rgba(255, 210, 26, .38);
  font-weight: 800;
}

.hero h1 {
  font-family: "Exo 2", sans-serif;
  font-size: clamp(43px, 7vw, 82px);
  line-height: 1.04;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  color: #fff;
}

.hero h1 strong {
  display: block;
  color: var(--red);
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255, 32, 32, .95), 0 0 30px rgba(255, 32, 32, .45);
}

.hero h2 {
  margin-top: 18px;
  color: var(--yellow);
  font-size: 27px;
  font-weight: 900;
}

.hero-desc {
  max-width: 760px;
  margin: 27px 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 24px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 900;
  transition: .28s;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: 1px solid rgba(255, 32, 32, .75);
  box-shadow: 0 0 30px rgba(255, 32, 32, .25);
}

.btn.secondary {
  color: var(--yellow);
  background: #111;
  border: 1px solid rgba(255, 210, 26, .45);
}

.btn:hover {
  transform: translateY(-5px);
}

.profile-card {
  position: relative;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(34,34,34,.96), rgba(8,8,8,.97));
  border: 1px solid var(--border);
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
}

.profile-card::before,
.info-tabs-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--red), transparent 38%, var(--yellow));
  opacity: .7;
  z-index: -1;
}

.card-header {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
}

.card-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}

.card-header span:nth-child(2) { background: var(--yellow); }
.card-header span:nth-child(3) { background: #666; }

.profile-box {
  width: 170px;
  height: 170px;
  margin: 0 auto 22px;
  padding: 6px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--red), var(--yellow));
}

.profile-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #080808;
  color: var(--yellow);
  font-family: "Exo 2", sans-serif;
  font-size: 58px;
  font-weight: 900;
}

.profile-card h3 {
  text-align: center;
  font-size: 29px;
  font-family: "Exo 2", sans-serif;
}

.profile-card > p {
  text-align: center;
  color: var(--muted);
  margin-top: 8px;
}

.info-tabs-section {
  padding: 10px 8% 80px;
}

.info-tabs-card {
  position: relative;
  max-width: 1050px;
  margin: auto;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(30,30,30,.96), rgba(8,8,8,.97));
  border: 1px solid var(--border);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}

.tab-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.tab-btn {
  padding: 17px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  color: #cfcfcf;
  cursor: pointer;
  text-align: left;
  transition: .3s;
}

.tab-btn span {
  display: block;
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 5px;
}

.tab-btn b {
  font-size: 15px;
}

.tab-btn.active {
  background: rgba(255, 32, 32, .12);
  border-color: rgba(255, 32, 32, .6);
  box-shadow: 0 0 24px rgba(255, 32, 32, .18);
}

.tab-progress {
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 24px;
}

#progressBar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  border-radius: 99px;
}

.tab-content {
  display: none;
  min-height: 220px;
  padding: 32px;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  animation: fadeTab .45s ease;
}

.tab-content.active {
  display: block;
}

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

.tab-content small {
  color: var(--red);
  font-weight: 900;
  font-family: "Exo 2", sans-serif;
  font-size: 18px;
}

.tab-content h2 {
  margin: 12px 0 14px;
  font-family: "Exo 2", sans-serif;
  font-size: 34px;
  color: var(--yellow);
}

.tab-content p {
  color: #d0d0d0;
  line-height: 1.9;
  font-size: 18px;
}

.section {
  padding: 96px 8%;
}

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.section-head p {
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 10px;
}

.section-head h2 {
  font-family: "Exo 2", sans-serif;
  font-size: 45px;
  font-weight: 900;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
}

.about-card,
.contact-card {
  max-width: 1050px;
  margin: auto;
  padding: 36px;
  border-radius: 24px;
  background: rgba(20,20,20,.9);
  border: 1px solid var(--border);
}

.about-card p,
.contact-card p {
  color: #d0d0d0;
  font-size: 18px;
  line-height: 1.95;
  margin-bottom: 18px;
}

.skills-grid,
.projects-grid {
  display: grid;
  gap: 22px;
}

.skills-grid { grid-template-columns: repeat(4, 1fr); }
.projects-grid { grid-template-columns: repeat(3, 1fr); }

.skill-card,
.project-card {
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(36,36,36,.95), rgba(9,9,9,.96));
  border: 1px solid var(--border);
  transition: .3s;
}

.skill-card { border-top: 3px solid var(--red); }
.project-card { min-height: 270px; border-top: 3px solid var(--yellow); }

.skill-card:hover,
.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 210, 26, .42);
}

.skill-card span {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 12px;
  color: #111;
  background: var(--yellow);
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
}

.skill-card h3,
.project-card h3 {
  margin: 18px 0 12px;
  font-size: 22px;
  font-family: "Exo 2", sans-serif;
}

.skill-card p,
.project-card p {
  color: #c8c8c8;
  line-height: 1.75;
}

.project-card small {
  color: var(--red);
  font-family: "Exo 2", sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.contact-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-links a {
  padding: 14px 20px;
  border-radius: 13px;
  color: var(--yellow);
  background: #101010;
  border: 1px solid rgba(255, 210, 26, .38);
  text-decoration: none;
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 30px;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,.08);
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: .75s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .eyebrow,
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .skills-grid,
  .projects-grid,
  .tab-buttons {
    grid-template-columns: 1fr;
  }

  .navbar {
    position: absolute;
    flex-direction: column;
    gap: 14px;
  }

  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 620px) {
  .hero { padding-top: 210px; }
  .hero h1 { font-size: 41px; }
  .section-head h2 { font-size: 34px; }
  .info-tabs-card,
  .about-card,
  .contact-card { padding: 24px; }
}


/* =========================
   MOBİL UYUMLULUK DÜZENLEMESİ
   ========================= */

@media (max-width: 900px) {
  body {
    background:
      radial-gradient(circle at top, rgba(255, 32, 32, .18), transparent 32%),
      linear-gradient(135deg, #050505, #111111);
  }

  .navbar {
    position: relative;
    top: 12px;
    left: auto;
    transform: none;
    width: calc(100% - 24px);
    margin: 0 auto;
    padding: 14px;
    border-radius: 18px;
  }

  .logo {
    font-size: 22px;
    width: 100%;
    text-align: center;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  nav a {
    margin: 0;
    padding: 9px 6px;
    text-align: center;
    font-size: 13px;
    border-radius: 10px;
    background: rgba(255,255,255,.045);
  }

  .lang-btn {
    margin-top: 2px;
  }

  .hero {
    min-height: auto;
    padding: 70px 18px 35px;
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }

  .eyebrow {
    margin: 0 auto 20px;
    font-size: 13px;
    padding: 9px 13px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.08;
  }

  .hero h2 {
    font-size: 22px;
  }

  .hero-desc {
    font-size: 16px;
    line-height: 1.7;
    margin: 22px auto 26px;
  }

  .hero-actions {
    justify-content: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .profile-card {
    width: 100%;
    max-width: 430px;
    margin: auto;
    padding: 24px;
  }

  .profile-box {
    width: 145px;
    height: 145px;
  }

  .profile-initials {
    font-size: 48px;
  }

  .info-tabs-section {
    padding: 25px 18px 55px;
  }

  .info-tabs-card {
    padding: 22px;
    border-radius: 24px;
  }

  .tab-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .tab-btn {
    padding: 13px 11px;
  }

  .tab-btn span {
    font-size: 13px;
  }

  .tab-btn b {
    font-size: 13px;
  }

  .tab-content {
    min-height: auto;
    padding: 22px;
  }

  .tab-content h2 {
    font-size: 27px;
  }

  .tab-content p {
    font-size: 16px;
    line-height: 1.75;
  }

  .section {
    padding: 65px 18px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head p {
    font-size: 14px;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .about-card,
  .contact-card {
    padding: 24px;
    border-radius: 20px;
  }

  .about-card p,
  .contact-card p {
    font-size: 16px;
    line-height: 1.75;
  }

  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .skill-card,
  .project-card {
    min-height: auto;
    padding: 23px;
  }

  .contact-links {
    flex-direction: column;
  }

  .contact-links a {
    width: 100%;
    text-align: center;
  }

  footer {
    padding: 24px 18px;
    font-size: 14px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar {
    width: calc(100% - 16px);
    padding: 12px;
  }

  nav {
    grid-template-columns: repeat(2, 1fr);
  }

  nav a {
    font-size: 12px;
    padding: 8px 4px;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero h2 {
    font-size: 19px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .profile-card {
    padding: 20px;
    border-radius: 22px;
  }

  .profile-card h3 {
    font-size: 24px;
  }

  .profile-card > p {
    font-size: 14px;
  }

  .profile-box {
    width: 125px;
    height: 125px;
    border-radius: 24px;
  }

  .profile-initials {
    font-size: 40px;
    border-radius: 19px;
  }

  .tab-buttons {
    grid-template-columns: 1fr;
  }

  .tab-content {
    padding: 19px;
  }

  .tab-content h2 {
    font-size: 24px;
  }

  .tab-content p {
    font-size: 15px;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .red-glow,
  .yellow-glow {
    width: 220px;
    height: 220px;
  }
}
