
html {
  scroll-behavior: smooth;
}

body.goktug-portfolio-body,
body.goktug-portfolio-body #page,
body.goktug-portfolio-body .site,
body.goktug-portfolio-body .site-content,
body.goktug-portfolio-body .content-area,
body.goktug-portfolio-body .site-main {
  background: #070b12 !important;
}

body.goktug-portfolio-body .entry-header,
body.goktug-portfolio-body .post-thumbnail,
body.goktug-portfolio-body .wp-block-post-title,
body.goktug-portfolio-body .entry-title {
  display: none !important;
}

body.goktug-portfolio-body .entry-content,
body.goktug-portfolio-body .site-main,
body.goktug-portfolio-body .wp-site-blocks,
body.goktug-portfolio-body .is-layout-constrained,
body.goktug-portfolio-body main {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.goktug-portfolio-body .wp-block-group,
body.goktug-portfolio-body .entry-content > *,
body.goktug-portfolio-body .post-content > *,
body.goktug-portfolio-body article {
  max-width: 100% !important;
}

.goktug-portfolio-page {
  --bg: #090d14;
  --bg-soft: #0f1624;
  --card: rgba(255,255,255,0.05);
  --card-border: rgba(255,255,255,0.1);
  --text: #f4f7fb;
  --muted: #9aa7bd;
  --primary: #4f8cff;
  --primary-2: #7b61ff;
  --accent: #14d4c4;
  --shadow: 0 24px 70px rgba(0,0,0,0.35);
  --radius-lg: 24px;
  --container: 1280px;
  position: relative;
  overflow: clip;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(79,140,255,.14), transparent 20%),
    radial-gradient(circle at 88% 18%, rgba(123,97,255,.14), transparent 22%),
    linear-gradient(180deg, #090d14 0%, #0b111b 45%, #070b12 100%);
}

.goktug-portfolio-page * { box-sizing: border-box; }
.goktug-portfolio-page a { color: inherit; text-decoration: none; }
.goktug-portfolio-page img { max-width: 100%; display: block; }

.goktug-portfolio-page .container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.goktug-portfolio-page .section {
  padding: 100px 0;
  position: relative;
}

.goktug-portfolio-page .section-title {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.goktug-portfolio-page .section-desc {
  color: var(--muted);
  font-size: 17px;
  max-width: 760px;
  margin: 0 0 38px;
}

.goktug-portfolio-page .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d9e2f2;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.goktug-portfolio-page .header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.goktug-portfolio-page .nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.goktug-portfolio-page .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.goktug-portfolio-page .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(79,140,255,.35);
  font-weight: 800;
  color: #fff;
}

.goktug-portfolio-page .brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.goktug-portfolio-page .nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.goktug-portfolio-page .nav-links a {
  color: #dbe5f6;
  font-size: 15px;
  transition: .25s ease;
}

.goktug-portfolio-page .nav-links a:hover { color: #fff; }

.goktug-portfolio-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: .25s ease;
  cursor: pointer;
}

.goktug-portfolio-page .btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 40px rgba(79, 140, 255, 0.28);
}

.goktug-portfolio-page .btn-primary:hover { transform: translateY(-2px); }
.goktug-portfolio-page .btn-secondary {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
  color: white;
}

.goktug-portfolio-page .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 0 70px;
}

.goktug-portfolio-page .hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}

.goktug-portfolio-page .hero h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: .96;
  letter-spacing: -0.05em;
  margin: 0 0 18px;
  font-weight: 800;
}

.goktug-portfolio-page .hero h1 .gradient {
  background: linear-gradient(135deg, #ffffff 10%, #8db7ff 45%, #b597ff 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.goktug-portfolio-page .hero p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 30px;
  max-width: 720px;
}

.goktug-portfolio-page .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.goktug-portfolio-page .stats,
.goktug-portfolio-page .service-grid,
.goktug-portfolio-page .project-grid,
.goktug-portfolio-page .reference-grid {
  display: grid;
  gap: 20px;
}

.goktug-portfolio-page .stats {
  grid-template-columns: repeat(3, minmax(0,1fr));
  max-width: 760px;
  gap: 14px;
}

.goktug-portfolio-page .stat-card,
.goktug-portfolio-page .glass-card,
.goktug-portfolio-page .service-card,
.goktug-portfolio-page .project-card,
.goktug-portfolio-page .reference-card,
.goktug-portfolio-page .contact-card,
.goktug-portfolio-page .card {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.goktug-portfolio-page .stat-card {
  padding: 18px;
  border-radius: 18px;
}

.goktug-portfolio-page .stat-card strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}

.goktug-portfolio-page .stat-card span,
.goktug-portfolio-page .mini-item span,
.goktug-portfolio-page .contact-card p,
.goktug-portfolio-page .service-card p,
.goktug-portfolio-page .project-card p,
.goktug-portfolio-page .reference-card p,
.goktug-portfolio-page .card p {
  color: var(--muted);
}

.goktug-portfolio-page .profile-card {
  border-radius: 30px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.goktug-portfolio-page .floating-card {
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.goktug-portfolio-page .profile-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(21,209,179,.3), transparent 70%);
  filter: blur(8px);
}

.goktug-portfolio-page .profile-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.goktug-portfolio-page .avatar {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(79,140,255,.26), rgba(124,92,255,.22));
  border: 1px solid rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 800;
}

.goktug-portfolio-page .profile-card h3,
.goktug-portfolio-page .contact-card h3,
.goktug-portfolio-page .service-card h3,
.goktug-portfolio-page .project-card h3,
.goktug-portfolio-page .reference-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.goktug-portfolio-page .profile-card p { margin: 0; }

.goktug-portfolio-page .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 26px;
}

.goktug-portfolio-page .tag,
.goktug-portfolio-page .project-meta,
.goktug-portfolio-page .reference-role,
.goktug-portfolio-page .person-role {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #dce6f7;
  display: inline-flex;
}

.goktug-portfolio-page .mini-list,
.goktug-portfolio-page .timeline {
  display: grid;
  gap: 12px;
}

.goktug-portfolio-page .mini-item,
.goktug-portfolio-page .timeline-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}

.goktug-portfolio-page .mini-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.goktug-portfolio-page .about-grid,
.goktug-portfolio-page .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

.goktug-portfolio-page .card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.goktug-portfolio-page .service-grid,
.goktug-portfolio-page .project-grid,
.goktug-portfolio-page .reference-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.goktug-portfolio-page .service-card,
.goktug-portfolio-page .project-card,
.goktug-portfolio-page .reference-card,
.goktug-portfolio-page .contact-card {
  padding: 24px;
  border-radius: 24px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.goktug-portfolio-page .service-card:hover,
.goktug-portfolio-page .project-card:hover,
.goktug-portfolio-page .reference-card:hover,
.goktug-portfolio-page .contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.goktug-portfolio-page .icon-box {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(79,140,255,.18), rgba(124,92,255,.18));
  border: 1px solid rgba(255,255,255,.08);
  font-size: 24px;
}

.goktug-portfolio-page .particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.goktug-portfolio-page .particle {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  box-shadow: 0 0 18px rgba(79,140,255,.35);
  animation: floatParticle linear infinite;
}

.goktug-portfolio-page .particle:nth-child(3n) {
  background: rgba(79,140,255,0.55);
  width: 5px;
  height: 5px;
}
.goktug-portfolio-page .particle:nth-child(4n) {
  background: rgba(123,97,255,0.45);
  width: 3px;
  height: 3px;
}

@keyframes floatParticle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: .8; }
  100% { transform: translateY(-120vh) translateX(40px); opacity: 0; }
}

.goktug-portfolio-page .person-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
}

.goktug-portfolio-page .person-photo {
  width: 220px;
  height: 280px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(79,140,255,.18), rgba(123,97,255,.18));
  border: 1px solid rgba(255,255,255,0.08);
}

.goktug-portfolio-page .person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.goktug-portfolio-page .person-content h3 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.goktug-portfolio-page .person-content p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 720px;
}

.goktug-portfolio-page .footer {
  padding: 36px 0 46px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--muted);
}

.goktug-portfolio-page .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.goktug-portfolio-page .mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.goktug-portfolio-page .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.goktug-portfolio-page .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .goktug-portfolio-page .hero-grid,
  .goktug-portfolio-page .about-grid,
  .goktug-portfolio-page .contact-grid,
  .goktug-portfolio-page .service-grid,
  .goktug-portfolio-page .project-grid,
  .goktug-portfolio-page .reference-grid,
  .goktug-portfolio-page .person-card,
  .goktug-portfolio-page .stats {
    grid-template-columns: 1fr;
  }

  .goktug-portfolio-page .person-photo {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 860px) {
  .goktug-portfolio-page .nav {
    min-height: 72px;
  }

  .goktug-portfolio-page .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .goktug-portfolio-page .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 12px);
    background: rgba(10, 15, 27, 0.94);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .goktug-portfolio-page .nav-links.active { display: flex; }
  .goktug-portfolio-page .nav-links .btn { width: 100%; }
  .goktug-portfolio-page .hero {
    min-height: auto;
    padding-top: 60px;
  }
  .goktug-portfolio-page .section { padding: 72px 0; }
  .goktug-portfolio-page .container {
    width: min(var(--container), calc(100% - 24px));
  }
}
