/* ═══════════════════════════════════════════
   ÖZKAN YILDIZ PORTFOLIO — Global Styles
   Design inspired by claude-showcase.html
═══════════════════════════════════════════ */

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

:root {
  --bg: #050508;
  --surface: #0d0d14;
  --surface2: #13131e;
  --border: rgba(255,255,255,0.07);
  --text: #e8e6f0;
  --muted: #6b6880;
  --a1: #7c6cff;
  --a2: #ff6b9d;
  --a3: #00e5b0;
  --a4: #f7b731;
  --g1: rgba(124,108,255,.35);
  --g2: rgba(255,107,157,.35);
  --g3: rgba(0,229,176,.35);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* ─────────────── CUSTOM CURSOR ─────────────── */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
}

#cdot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
}

#cring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(124,108,255,.7);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width .35s, height .35s, border-color .35s;
}

body.hov #cdot { width: 14px; height: 14px; background: var(--a1); }
body.hov #cring { width: 56px; height: 56px; border-color: var(--a2); }

/* ─────────────── CANVAS BG ─────────────── */
#cvs {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
}

/* ─────────────── NAVBAR ─────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(5,5,8,.95), transparent);
  transition: transform 0.3s ease;
}

/* navbar is always visible */

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  cursor: none;
}

.logo a {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  cursor: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .73rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s;
  cursor: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--muted);
  border-radius: 2px;
  transition: all .3s;
}

/* ─────────────── SECTIONS ─────────────── */
section {
  position: relative;
  z-index: 1;
}

.section {
  padding: 8rem 3rem;
}

.section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.15;
}

.section h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--a2);
}

.sec-lbl {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--a3);
  text-align: center;
  display: block;
  margin-bottom: .8rem;
}

/* ─────────────── HERO SECTION ─────────────── */
.hero {
  margin-top: 0;
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  background: transparent;
  max-width: 100vw;
}

/* Blur blobs */
.sh {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: flt 8s ease-in-out infinite;
}
.sh1 { width: 400px; height: 400px; background: var(--g1); top: -100px; left: -100px; }
.sh2 { width: 300px; height: 300px; background: var(--g2); top: 30%; right: -80px; animation-delay: -3s; max-width: 50vw; }
.sh3 { width: 250px; height: 250px; background: var(--g3); bottom: 10%; left: 20%; animation-delay: -6s; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--a3);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fu .8s .3s forwards;
  position: relative;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  color: var(--text);
  text-shadow: none;
  opacity: 0;
  animation: fu .9s .5s forwards;
}

.hero-text h1 .ital {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  background: linear-gradient(135deg, var(--a1) 0%, var(--a2) 60%, var(--a4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: .95rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  opacity: 0;
  animation: fu .9s .7s forwards;
}

.hero-cta {
  opacity: 0;
  animation: fu .9s .9s forwards;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  border: none;
  border-radius: 100px;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  cursor: none;
  transition: transform .25s, box-shadow .25s;
}

.cta-button:hover {
  transform: scale(1.06);
  box-shadow: 0 0 40px var(--g1), 0 0 80px var(--g2);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fu .9s 1.2s forwards;
  z-index: 1;
}

.sline {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--a1), transparent);
  animation: sp 2s infinite;
}

/* ─────────────── MARQUEE ─────────────── */
.mq-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: rgba(124,108,255,.04);
  position: relative;
  z-index: 1;
}

.mq-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: mq 22s linear infinite;
}

.mq-item {
  font-family: 'Syne', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mq-item span {
  color: var(--a1);
}

/* ─────────────── ABOUT SECTION ─────────────── */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.profile-image-container {
  position: relative;
  margin-bottom: 2.5rem;
  animation: flt 6s ease-in-out infinite;
}

.profile-image-container::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  z-index: -1;
  opacity: .7;
  filter: blur(8px);
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(124,108,255,.3);
  transition: all .5s ease;
  display: block;
}

.profile-image-container:hover .profile-pic {
  transform: scale(1.07);
  border-color: var(--a1);
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--muted);
}

.social-links {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  color: var(--muted);
  font-size: 1.6rem;
  transition: color .3s, transform .3s;
  cursor: none;
}

.social-links a:hover {
  color: var(--a1);
  transform: translateY(-3px);
}

/* ─────────────── CONTENT WRAPPER ─────────────── */
.content {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

/* ─────────────── CONTACT SECTION ─────────────── */
.contact-section {
  background: transparent;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 4rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2rem;
  min-height: 110px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s, transform .6s, background .3s, border-color .3s, box-shadow .3s;
}

.contact-item.vis {
  opacity: 1;
  transform: translateY(0);
}

.contact-item:hover {
  background: var(--surface2);
  border-color: rgba(124,108,255,.35);
  box-shadow: 0 12px 40px rgba(124,108,255,.12);
  transform: translateY(-4px);
  transition: opacity .6s, transform .25s, background .3s, border-color .3s, box-shadow .3s;
}

.contact-item i {
  font-size: 1.7rem;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.contact-details h3 {
  font-family: 'Syne', sans-serif;
  color: var(--text);
  margin-bottom: .5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-details a,
.contact-details p {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  transition: color .3s;
  word-break: break-all;
  overflow-wrap: break-word;
}

.contact-details a:hover {
  color: var(--a3);
}

/* ─────────────── FOOTER ─────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
  position: relative;
  z-index: 1;
  padding: 4rem 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem 4rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand .footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: .8rem;
}

.footer-brand p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--a3);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-col ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;
  transition: color .25s, padding-left .2s;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--text);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: .78rem;
  opacity: .6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--muted);
  font-size: 1.1rem;
  transition: color .3s, transform .3s;
  cursor: none;
}

.footer-social a:hover {
  color: var(--a1);
  transform: translateY(-3px);
}

/* ─────────────── KEYFRAMES ─────────────── */
@keyframes fu {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes mq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes sp {
  0%, 100% { opacity: .3; transform: scaleY(.6); transform-origin: top; }
  50%       { opacity: 1; transform: scaleY(1); }
}

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

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

/* ─────────────── RESPONSIVE ─────────────── */
@media screen and (max-width: 768px) {
  .navbar {
    padding: .9rem 1.4rem;
    background: rgba(5,5,8,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8,8,14,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.2rem;
    gap: 0;
    text-align: left;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
  }

  .nav-links.active {
    display: flex;
    animation: fu .22s ease;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,.04);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    padding: .85rem .6rem;
    font-size: .8rem;
    letter-spacing: .1em;
    color: var(--muted);
    transition: color .2s, background .2s;
    border-radius: 8px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--text);
    background: rgba(124,108,255,.08);
    padding-left: 1rem;
  }

  .nav-links a.active {
    color: var(--a1);
  }

  /* Animated hamburger → X */
  .hamburger {
    display: flex;
    z-index: 10;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hamburger span {
    transition: transform .3s, opacity .3s, background .3s;
  }

  .section {
    padding: 5rem 1.5rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-container {
    padding: 0 1rem;
  }

  .contact-item {
    padding: 1.4rem 1.2rem;
    min-height: unset;
    gap: 1rem;
    overflow: hidden;
  }

  .contact-item i {
    font-size: 1.4rem;
    width: 36px;
    flex-shrink: 0;
  }

  .contact-details a,
  .contact-details p {
    font-size: .82rem;
    word-break: break-all;
    overflow-wrap: break-word;
  }

  .sh1, .sh2, .sh3 {
    width: 160px;
    height: 160px;
  }

  .sh2 {
    right: -40px;
    max-width: 40vw;
  }

  .skills-container {
    flex-direction: column;
  }

  /* Footer responsive */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ─────────────── SKILLS SECTION ─────────────── */
.skills-section {
  border-top: 1px solid var(--border);
}

.skills-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}

.skill-box {
  flex: 1;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s, transform .7s, background .3s, border-color .3s, box-shadow .3s;
}

.skill-box.vis {
  opacity: 1;
  transform: translateY(0);
}

.skill-box:hover {
  background: var(--surface2);
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

/* Accent variants */
.skill-box--green  {
  border-left: 3px solid var(--a3);
}
.skill-box--green:hover  { border-color: var(--a3); box-shadow: 0 20px 60px rgba(0,229,176,.12); }

.skill-box--purple {
  border-left: 3px solid var(--a1);
}
.skill-box--purple:hover { border-color: var(--a1); box-shadow: 0 20px 60px rgba(124,108,255,.15); }

.skill-box--pink   {
  border-left: 3px solid var(--a2);
}
.skill-box--pink:hover   { border-color: var(--a2); box-shadow: 0 20px 60px rgba(255,107,157,.12); }

.skill-box-header {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.4rem;
}

.skill-box-header i {
  font-size: 1.4rem;
}

.skill-box--green  .skill-box-header i { color: var(--a3); }
.skill-box--purple .skill-box-header i { color: var(--a1); }
.skill-box--pink   .skill-box-header i { color: var(--a2); }

.skill-box-header h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.skill-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-box ul li {
  font-size: .9rem;
  color: var(--muted);
  line-height: 2;
  padding-left: 1rem;
  position: relative;
}

.skill-box ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: .5;
  font-size: .75rem;
}

.skill-box--green  ul li::before { color: var(--a3); }
.skill-box--purple ul li::before { color: var(--a1); }
.skill-box--pink   ul li::before { color: var(--a2); }