:root {
  --bg: #f8fafc;
  --bg-soft: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: rgba(37, 99, 235, 0.1);
  --border: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --transition: 0.25s ease;
}

/* ================= RESET ================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: transparent;
  overflow-x: hidden;
  position: relative;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  color: #ffffff;
  background: var(--primary);
}

/* ================= GLOBAL ================= */

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.section-padding {
  padding: 110px 0;
}

/* ================= WORLD MAP ================= */

.section-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-header p {
  max-width: 660px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 700;
}

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(22px);
}

.navbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.08em;
  transition: var(--transition);
}

.logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.nav-links a {
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.055);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--text);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--primary);
  box-shadow: var(--shadow-md);
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: var(--transition);
}

.btn-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--primary-dark);
  box-shadow: 0 24px 65px rgba(37, 99, 235, 0.32);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* ================= HERO ================= */

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 70px;
}

.hero-content h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-content h1 span {
  color: var(--primary);
  display: block;
}

.hero-content p {
  max-width: 650px;
  margin-top: 26px;
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 670px;
  margin-top: 42px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-sm);
}

.hero-stats strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  filter: blur(95px);
  opacity: 0.3;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.profile-card {
  width: min(100%, 420px);
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background: transparent;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(26px);
  transition: var(--transition);
  transform: translateY(-100px);
}

.profile-card:hover {
  transform: translateY(-8px);
}

.profile-image-wrapper {
  position: relative;
  width: 220px;
  height: 260px;
  margin: 0 auto 24px;
  border-radius: 22px;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.15);

  transition: 0.35s ease;
}
.profile-image-wrapper::before {
  content: "";

  position: absolute;
  inset: -2px;

  border-radius: inherit;

  background: linear-gradient(
    135deg,
    transparent,
    rgba(96, 165, 250, 0.8),
    transparent,
    rgba(167, 139, 250, 0.7),
    transparent
  );

  opacity: 0;

  transition: opacity 0.35s ease;

  z-index: 0;
}

.profile-image {
  position: relative;
  z-index: 2;
}

.profile-card:hover .profile-image-wrapper::before {
  opacity: 1;
}

.profile-card:hover .profile-image-wrapper {
  box-shadow:
    0 0 25px rgba(96, 165, 250, 0.3),
    0 0 60px rgba(96, 165, 250, 0.18);
}
.profile-card:hover .profile-image {
  transform: scale(1.045);
}

.profile-info {
  padding-top: 22px;
}

.profile-info h2 {
  font-size: 26px;
  letter-spacing: -0.04em;
}

.profile-info p {
  margin-top: 6px;
  color: var(--text-muted);
  font-weight: 700;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.profile-tags span,
.project-tags span {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(37, 99, 235, 0.12);
  font-size: 12px;
  font-weight: 800;
}

/* ================= ABOUT ================= */

.about {
  background: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: stretch;
}

.about-text {
  position: relative;
  top: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;

  min-height: 100%;
  padding: 36px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: var(--shadow-sm);

  overflow: hidden;
  isolation: isolate;
}

.about-text p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
}

.about-text p + p {
  margin-top: 20px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  position: relative;
  min-height: 160px;
  padding: 24px;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: var(--shadow-sm);

  overflow: hidden;
  isolation: isolate;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: var(--shadow-md);
}

.info-card span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.info-card h3 {
  margin-top: auto;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.info-card p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.about-text::after,
.info-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;

  width: 220px;
  height: 220px;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.26) 0%,
    rgba(37, 99, 235, 0.12) 38%,
    transparent 70%
  );

  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}

body.dark .about-text,
body.dark .info-card {
  background: rgba(17, 24, 39, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-text {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-text {
    padding: 28px;
  }

  .info-card {
    min-height: 150px;
  }
}

/* ================= PROJECTS ================= */

.projects {
  background: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  min-height: 340px;
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-label,
.project-year {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.project-year {
  color: var(--text-soft);
}

.project-card h3 {
  margin-top: 42px;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.project-card p {
  margin-top: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 26px;
}

/* ================= CONTACT ================= */

.contact {
  background: transparent;
}

.contact-box {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: center;
  padding: 52px;
  border: 1px solid var(--border);
  border-radius: 40px;
  background:
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.16),
      transparent 34%
    ),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.contact-box h2 {
  max-width: 750px;
  margin-top: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.contact-box p {
  max-width: 660px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.site-footer {
  background: transparent;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.hero-content {
  animation: fadeLeft 0.8s ease both;
}

.hero-visual {
  animation: fadeRight 0.8s ease both;
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-35px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(35px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .about-text {
    position: static;
  }

  .skills-grid,
  .projects-grid,
  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .section-padding {
    padding: 78px 0;
  }

  .navbar {
    height: 70px;
  }

  .logo {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .nav-cta {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-content p,
  .section-header p,
  .contact-box p,
  .about-text p {
    font-size: 16px;
  }

  .hero-stats,
  .about-cards,
  .skills-grid,
  .projects-grid,
  .profile-card {
    border-radius: 28px;
  }

  .profile-image {
    height: 340px;
  }

  .contact-box {
    padding: 30px;
    border-radius: 30px;
  }

  .footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    transform: translateY(-25px);
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(92%, 100%);
  }

  .nav-cta {
    display: none;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .profile-image {
    height: 300px;
  }

  .section-header h2,
  .contact-box h2 {
    letter-spacing: -0.045em;
  }
}

.nav-links a.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.site-header.is-scrolled {
  backdrop-filter: blur(30px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;

  width: 0%;
  height: 3px;

  background: linear-gradient(90deg, #2563eb, #60a5fa);

  z-index: 99999;

  transition: width 0.1s linear;
}

.back-to-top {
  position: fixed;

  right: 30px;
  bottom: 30px;

  width: 56px;
  height: 56px;

  border: none;
  border-radius: 50%;

  background: #2563eb;
  color: white;

  font-size: 24px;

  cursor: pointer;

  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.28);

  opacity: 0;
  visibility: hidden;

  transform: translateY(20px);

  transition: 0.35s;

  z-index: 9999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-6px);

  background: #1d4ed8;
}

.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;

  border-radius: 50%;

  transform: scale(0);

  animation: ripple 0.7s linear;

  background: rgba(255, 255, 255, 0.45);

  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);

    opacity: 0;
  }
}

.profile-card {
  transform-style: preserve-3d;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

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

body {
  opacity: 0;

  transition: opacity 0.6s ease;
}

body.loaded {
  opacity: 1;
}

::-webkit-scrollbar-track {
  width: 9px;
  background: #edf2f7;
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

body.dark {
  --bg: #070b14;
  --bg-soft: rgba(17, 24, 39, 0.72);

  --text: #f8fafc;
  --text-muted: #94a3b8;

  --primary: #60a5fa;
  --primary-dark: #3b82f6;

  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.18),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(147, 51, 234, 0.12),
      transparent 40%
    ),
    #070b14;
}

body.dark .site-header {
  background: rgba(9, 9, 11, 0.72);
}

body.dark .site-header.is-scrolled {
  background: rgba(9, 9, 11, 0.9);
}

body.dark .logo,
body.dark .nav-links,
body.dark .section-kicker,
body.dark .hero-stats div,
body.dark .profile-card,
body.dark .about-text,
body.dark .info-card,
body.dark .project-card,
body.dark .contact-box {
  background: rgba(17, 24, 39, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .about,
body.dark .projects,
body.dark .contact,
body.dark .site-footer {
  background: transparent;
}

body.dark .nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}

body.dark .btn-secondary {
  background: rgba(17, 24, 39, 0.8);
  color: var(--text);
}

body.dark .btn-secondary:hover {
  background: rgba(30, 41, 59, 0.95);
}

body.dark .nav-cta {
  background: #ffffff;
  color: #09090b;
}

body.dark .nav-cta:hover {
  background: var(--primary);
  color: #ffffff;
}

body.dark .profile-image-wrapper {
  background: #111827;
}

body.dark::-webkit-scrollbar-track {
  background: #111827;
}

body.dark::-webkit-scrollbar-thumb {
  background: #475569;
}

body.dark::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.mouse-glow {
  position: fixed;
  left: 0;
  top: 0;

  width: 700px;
  height: 700px;

  border-radius: 50%;

  pointer-events: none;

  transform: translate(-50%, -50%);

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(96, 165, 250, 0.08) 35%,
    rgba(96, 165, 250, 0.03) 55%,
    transparent 75%
  );

  filter: blur(80px);

  z-index: 0;

  transition:
    left 0.08s linear,
    top 0.08s linear;
}

body.dark .mouse-glow {
  opacity: 10;
}
.project-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.12);
  font-size: 26px;
  box-shadow: var(--shadow-sm);
}

.featured-project h3 {
  font-size: 36px;
}

body.dark .project-icon {
  background: rgba(17, 24, 39, 0.8);
}

body.dark .featured-project {
  background:
    radial-gradient(
      circle at top right,
      rgba(96, 165, 250, 0.18),
      transparent 35%
    ),
    rgba(17, 24, 39, 0.76);
}

@media (max-width: 1024px) {
  .featured-project {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .featured-project h3 {
    font-size: 28px;
  }
}
/* ================= CV ================= */

.cv-container {
  width: 100%;
  max-width: 900px;
  margin: 50px auto;

  display: flex;
  justify-content: center;
}

.cv-container iframe {
  width: 100%;
  aspect-ratio: 210 / 297; /* A4 oranı */

  border: none;
  border-radius: 18px;

  background: #fff;
}

/*========== TIMELINE ==========*/
.timeline {
  position: relative;
  margin-top: 70px;
}
.timeline::before {
  content: "";

  position: absolute;

  left: 50%;

  top: 0;

  bottom: 0;

  width: 2px;

  background: rgba(37, 99, 235, 0.18);

  transform: translateX(-50%);
}

.timeline-item {
  position: relative;

  width: 50%;

  margin-bottom: 45px;
}

.timeline-item.left {
  padding-right: 60px;
}

.timeline-item.right {
  margin-left: 50%;

  padding-left: 60px;
}

.timeline-item::before {
  content: "";

  position: absolute;

  top: 42px;

  width: 18px;

  height: 18px;

  border-radius: 50%;

  background: var(--primary);

  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1);
}

.timeline-item.left::before {
  right: -9px;
}

.timeline-item.right::before {
  left: -9px;
}

.timeline-card {
  background: var(--bg-soft);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.timeline-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.timeline-top {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 20px;
}

.timeline-type {
  padding: 7px 14px;

  border-radius: 999px;

  background: var(--primary-soft);

  color: var(--primary);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.08em;
}

.timeline-year {
  color: #94a3b8;

  font-weight: 700;
}

.timeline-card h3 {
  font-size: 28px;

  margin-bottom: 8px;

  letter-spacing: -1px;
}

.timeline-card h4 {
  color: var(--primary);

  margin-bottom: 18px;

  font-size: 18px;
}

.timeline-card p {
  color: var(--text-muted);

  line-height: 1.8;
}
.cv {
  padding-bottom: 40px;
}

.site-footer {
  padding: 10px 0;
}
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );

  transform: translateX(-120%);
  transition: transform 0.7s ease;

  pointer-events: none;
}
.project-card,
.info-card,
.timeline-card,
.contact-box,
.about-text,
.profile-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.project-card::after,
.info-card::after,
.timeline-card::after,
.contact-box::after,
.about-text::after,
.profile-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.28) 0%,
    rgba(37, 99, 235, 0.14) 38%,
    transparent 70%
  );
  filter: blur(20px);
  opacity: 1;
  pointer-events: none;
  z-index: -1;
}
/* ================= YAZI BOYUTLARI DÜZENLEME ================= */

/* Ana başlık */
.hero-content h1 {
  font-size: clamp(42px, 4.6vw, 60px);
  line-height: 1.08;
}

/* Ana başlık altındaki açıklama */
.hero-content p {
  font-size: 16px;
  line-height: 1.7;
}

/* Bölüm başlıkları */
.section-header h2,
.contact-box h2 {
  font-size: clamp(30px, 4vw, 46px);
}

/* Bölüm açıklamaları */
.section-header p,
.contact-box p {
  font-size: 16px;
}

/* Profil kartı */
.profile-info h2 {
  font-size: 22px;
}

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

/* Hakkımda yazıları */
.about-text p {
  font-size: 15px;
  line-height: 1.7;
}

/* Hakkımda küçük kart başlıkları */
.info-card h3 {
  font-size: 19px;
}

.info-card p {
  font-size: 13px;
}

/* Proje başlıkları */
.project-card h3 {
  font-size: 23px;
}

.featured-project h3 {
  font-size: 28px;
}

.project-card p {
  font-size: 14px;
  line-height: 1.65;
}

/* Deneyim kartları */
.timeline-card h3 {
  font-size: 23px;
}

.timeline-card h4 {
  font-size: 16px;
}

.timeline-card p {
  font-size: 14px;
  line-height: 1.7;
}

.timeline-year {
  font-size: 14px;
}

/* Butonlar */
.btn {
  font-size: 14px;
}

.nav-cta {
  font-size: 13px;
}

/* Menü */
.nav-links a {
  font-size: 13px;
}

/* Mobil görünüm */
@media (max-width: 720px) {
  .hero-content h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .section-header h2,
  .contact-box h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .hero-content p,
  .section-header p,
  .contact-box p,
  .about-text p {
    font-size: 15px;
  }
}
/* ================= BACKGROUND GRADIENT GLOW ================= */

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

body::before {
  width: 650px;
  height: 650px;
  top: -220px;
  left: -220px;

  background: rgba(59, 130, 246, 0.18);
}

body::after {
  width: 700px;
  height: 700px;
  bottom: -250px;
  right: -250px;

  background: rgba(167, 139, 250, 0.15);
}
body.dark::before {
  background: rgba(59, 130, 246, 0.22);
}

body.dark::after {
  background: rgba(147, 51, 234, 0.18);
}
/* ================= GRADIENT GLOW BACKGROUND ================= */

body {
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(37, 99, 235, 0.18) 0%,
      transparent 32%
    ),
    radial-gradient(
      circle at 90% 35%,
      rgba(139, 92, 246, 0.14) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 35% 85%,
      rgba(96, 165, 250, 0.12) 0%,
      transparent 30%
    ),
    #f8fafc;

  background-attachment: fixed;
}
body.dark {
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(37, 99, 235, 0.22) 0%,
      transparent 34%
    ),
    radial-gradient(
      circle at 90% 35%,
      rgba(139, 92, 246, 0.18) 0%,
      transparent 32%
    ),
    radial-gradient(
      circle at 35% 85%,
      rgba(59, 130, 246, 0.14) 0%,
      transparent 32%
    ),
    #09090b;

  background-attachment: fixed;
}

/* =====================================================
   INTRO ANIMATION
===================================================== */

#intro {
  position: fixed;
  inset: 0;
  background: #050914;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 99999;
  transition:
    opacity 0.8s ease,
    visibility 0.8s;
}

#intro.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-light {
  position: absolute;

  width: 20px;
  height: 20px;

  border-radius: 50%;

  background: #3b82f6;

  filter: blur(14px);

  animation: lightExpand 1.5s ease forwards;
}

.intro-logo {
  position: relative;

  font-size: 70px;

  font-weight: 800;

  letter-spacing: 12px;

  color: white;

  opacity: 0;

  transform: translateY(20px) scale(0.95);

  animation: logoAppear 0.9s ease forwards;

  animation-delay: 0.55s;

  text-shadow:
    0 0 25px rgba(59, 130, 246, 0.8),
    0 0 70px rgba(59, 130, 246, 0.35);
}

@keyframes lightExpand {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  70% {
    transform: scale(40);

    opacity: 0.18;
  }

  100% {
    transform: scale(90);

    opacity: 0;
  }
}

@keyframes logoAppear {
  to {
    opacity: 1;

    transform: translateY(0) scale(1);
  }
}

.intro-logo.hide {
  animation: logoExit 0.8s ease forwards;
}

@keyframes logoExit {
  to {
    opacity: 0;

    transform: translateY(-80px) scale(0.85);

    letter-spacing: 24px;
  }
}
/* ================= MOBIL FIX v2 ================= */

@media (max-width: 768px) {
  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 42px;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

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

  .btn {
    width: auto;
    min-width: 170px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .profile-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 18px;
    transform: none;
  }

  .profile-image-wrapper {
    width: 220px;
    height: 260px;
    margin: 0 auto 20px;
  }

  .profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-grid,
  .projects-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
/* Profil altındaki hareketli yazı için sabit alan */
.profile-info p {
  min-height: 48px;
  line-height: 1.5;
  overflow: hidden;
}
@media (max-width: 768px) {
  .profile-info p {
    min-height: 52px;
  }
  /* CV  Mobil Uyum */
  .resume-section {
    padding: 70px 0;
  }

  .resume-card {
    padding: 24px;
    border-radius: 20px;
  }

  .resume-card h2 {
    font-size: 2rem;
  }

  .resume-card p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .resume-actions {
    display: flex;
    justify-content: center;
  }

  .resume-actions .btn {
    width: auto;
    min-width: 220px;
  }
}
