:root {
    --main-color: #0f0f0f;
    --second-color: #1a1a1a;
    --text-color: #ffffff;
    --hover-color: #4E9F3D;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  
  body {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
  }

/* Scrollbar - WebKit */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #111; /* Koyu zemin */
}

::-webkit-scrollbar-thumb {
  background: var(--hover-color);
  border-radius: 10px;
  transition: 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #00ff88; /* Hover'da daha parlak */
}

  /*HEADER*-------------------------------------------------------------------------------------------------------HEADER*/
  a {
    color: var(--text-color);
    text-decoration: none;
    transition: 0.3s;
  }
  
  a:hover {
    color: var(--hover-color);
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
  }
  
  .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
  }
  .logo a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
  }
  
  .logo a:hover {
    color: var(--hover-color);
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  .nav-links li a {
    font-size: 1rem;
    font-weight: 500;
  }
  .hamburger {
    display: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    z-index: 1001;
  }
  
  .overlay-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(100deg, #000000, #2a382e);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.2s ease;
    z-index: 1000;
  }
  
  .overlay-menu.active {
    right: 0;
  }
  
  .overlay-menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
  }
  
  .overlay-menu li {
    margin: 20px 0;
  }
  
  .overlay-menu a {
    font-size: 32px;
    line-height: 2;
    color: var(--text-color);
    transition: color 0.3s;
  }
  
  .overlay-menu a:hover {
    color: var(--hover-color);
  }
  
  .close-btn {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
  }
  
  @media screen and (max-width: 768px) {
    .logo {
        font-size: 16px;
      }
    .hamburger {
      display: block;
    }
    .navbar {
        padding: 12px;
      }
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        background: var(--main-color);
        width: 100%;
        position: absolute;
        top: 70px;
        right: 0;
        text-align: center;
        padding: 20px 0;
      }
  }
  
/*HEADER*-------------------------------------------------------------------------------------------------------HEADER*/


/*LANDING PAGE*-------------------------------------------------------------------------------------------------------LANDING PAGE*/
  .landing {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 10%;
  }
  
  .landing-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .text h1 {
    font-size: 3rem;
    margin-bottom: 10px;
  }
  
  .text span {
    color: var(--hover-color);
  }
  .landing-buttons {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .btn-cv {
    background-color: transparent;
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 10px 18px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
  }
  
  .btn-cv:hover {
    background-color: #00ff88;
    color: #000;
  }
  
  .social-icons {
    display: flex;
    gap: 12px;
  }
  
  .social-icons a {
    color: #00ff88;
    font-size: 22px;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .social-icons a:hover {
    transform: scale(1.2);
    color: #ffffff;
  }
  
  .pp-container {
    width: 320px;
    height: auto;
    position: relative;
  }
  
  .fade-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    
    -webkit-mask-size: cover;
    mask-size: cover;
  }

  @media screen and (max-width: 768px) {

  
    .landing-content {
      flex-direction: column-reverse;
      text-align: center;
      gap: 30px;
    }
    .landing-buttons {
      align-items: center;
    }
    .text{
      padding: 12px;
      text-align: center;
    }
    .text h1 {
      font-size: 36px;
    }
    .social-icons a {
      font-size: 28px;
      padding: 12px;
    }
    .text p {
      font-size: 16px;
    }
    .pp-container {
      margin-top: 50px;
        width: 200px;
        height: auto;
      }
  }
  
/*LANDING PAGE*-------------------------------------------------------------------------------------------------------LANDING PAGE*/


/*LANDING ANIM*-------------------------------------------------------------------------------------------------------LANDING ANIM*/
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
  }  
/*LANDING ANIM*-------------------------------------------------------------------------------------------------------LANDING ANIM*/



/*ABOUT*-------------------------------------------------------------------------------------------------------ABOUT*/
.about-section-fullcrt {
  position: relative;
  background: #000;
  color: #00ff88;
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  line-height: 1.6;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  box-shadow: inset 0 0 40px #00ff8855;
}
  
  /* Tarama çizgileri tüm ekrana */
  .about-section-fullcrt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      to bottom,
      rgba(0, 255, 136, 0.1),
      rgba(0, 255, 136, 0.2) 2px,
      transparent 2px,
      transparent 4px
    );
    pointer-events: none;
    z-index: 1;
    animation: scanline-move 0.1s infinite;
  }
  
  /* Hafif parıltı titremesi */
  .about-section-fullcrt::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 255, 136, 0.02);
    animation: crt-flicker 1s infinite alternate;
    pointer-events: none;
    z-index: 2;
  }
  
  /* Yazı alanı */
  .crt-text {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: left;
  }
  .glitch-text {
    font-size: 24px;
    line-height: 2;
    position: relative;
    color: #00ff88;
    animation: glitch-glow 2.5s ease-in-out infinite;

  }
  .glitch-text h1{
    font-size: 48px;
  }
  /*ABOUT ANİMS-------------------------------------*/
  .crt-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: black;
    z-index: 10;
    pointer-events: none;
    transform: perspective(600px) scaleY(1.02) rotateX(2deg);
  }
  
  .crt-overlay.crt-tv-in {
    animation: crtFlash 2s ease-in-out forwards;
  }
  
  .crt-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 60%, black 100%);
    z-index: 20;
    pointer-events: none;
    opacity: 0.4;
  }
  .crt-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif');
    opacity: 0.08;
    mix-blend-mode: screen;
    z-index: 15;
    pointer-events: none;
  }
    
  @keyframes crtFlash {
    0%   { background: black; clip-path: inset(0 49.5% 0 49.5%); opacity: 1; }
    5%   { background: white; clip-path: inset(0 49.5% 0 49.5%); }
    15%  { background: #aaa; clip-path: inset(0 30% 0 30%); }
    30%  { background: #00ff8855; clip-path: inset(0); }
    50%  { background: rgba(0,0,0,0.3); filter: blur(1px); }
    100% { background: transparent; opacity: 0; }
  }
  
  .cursor {
    display: inline-block;
    animation: blink 1s infinite step-end;
    font-weight: bold;
    color: #00ff88;
    font-size: 24px;
    margin-left: 2px;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
  
  /* Hafif titreme */
  @keyframes glitch-glow {
    0% {
      text-shadow:
        0 0 2px #00ff88,
        0 0 4px #00ff88,
        0 0 8px #00ff88;
      transform: translate(0);
      opacity: 1;
    }
  
    15% {
      text-shadow:
        -1px 0 red,
        1px 0 blue,
        0 0 4px #00ff88;
      transform: translate(-0.5px, 0.5px);
      opacity: 0.9;
    }
  
    30% {
      text-shadow:
        1px 0 red,
        -1px 0 blue,
        0 0 6px #00ff88;
      transform: translate(0.5px, -0.5px);
      opacity: 0.85;
    }
  
    50% {
      text-shadow:
        0 0 2px #00ff88,
        0 0 4px #00ff88;
      transform: translate(0);
      opacity: 1;
    }
  
    70% {
      text-shadow:
        -0.5px 0 red,
        0.5px 0 blue,
        0 0 5px #00ff88;
      transform: translate(-0.5px, 0.3px);
      opacity: 0.95;
    }
  
    100% {
      text-shadow:
        0 0 2px #00ff88,
        0 0 8px #00ff88;
      transform: translate(0);
      opacity: 1;
    }
  }
  
  
  /*Cızırtı*/
  @keyframes scanline-move {
    0% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(1px); opacity: 0.5; }
    100% { transform: translateY(-1px); opacity: 0.4; }
  }
  
  /* Flicker */
  @keyframes crt-flicker {
    0% { opacity: 0.01; }
    100% { opacity: 0.07; }
  }
  /*ABOUT ANİMS-------------------------------------*/
  
  @media (max-width: 768px) {
    .about-section-fullcrt {
      padding: 60px 24px;
      box-shadow: inset 0 0 20px #00ff8855;
    }
  
    .crt-text {
      max-width: 100%;
    }
  
    .glitch-text {
      font-size: 14px;
      line-height: 2;
    }
  
    .glitch-text h1 {
      font-size: 32px;
    }
  }
  
/*ABOUT*-------------------------------------------------------------------------------------------------------ABOUT*/



/*EXPERIENCE*-------------------------------------------------------------------------------------------------------EXPERIENCE*/
.timeline {
  position: relative;
  max-width: 900px;
  margin: 100px auto;
  padding: 0 20px;
}


.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #00ff88;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 30px;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item .content {
  background: #111;
  color: #00ff88;
  border: 1px solid #00ff88;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  transition: 0.3s ease;
  box-shadow: 0 0 0 transparent;
}
.timeline-item .logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
}

.timeline-item .content:hover {
  box-shadow: 0 0 10px #00ff88;
}

.timeline-item.left .content {
  margin-right: 30px;
}

.timeline-item.right .content {
  margin-left: 30px;
}
.timeline-item .content h3{
margin-bottom: 6px;
font-size: 18px;
}
.timeline-item .content p{
font-size: 16px;
}
.timeline-item span {
  display: block;
  font-size: 14px;
  color: #88ffc2;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .timeline::before {
    display: none; /* Orta çizgiyi gizle */
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .timeline-item .content {
    margin: 0 auto;
    width: 100%;
  }

  .timeline-item.left .content,
  .timeline-item.right .content {
    margin: 0 auto;
  }
}

/*EXPERIENCE*-------------------------------------------------------------------------------------------------------EXPERIENCE*/



/*CONTACT*-------------------------------------------------------------------------------------------------------CONTACT*/
.contact-section {
  position: relative;
  background-color: #000;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 100px 20px; /* mobilde sıkışma olmasın diye */
}

#matrixRain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}


.contact-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #00ff88;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.contact-info {
  color: #00ff88;
  font-family: 'Courier New', monospace;
  position: relative;
  z-index: 2;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 5px;
}

.contact-info .title {
  font-size: 12px;
  margin-bottom: 20px;
  color: #88ffcc;
}
.contact-info a {
  color: #bbffe0;
  text-decoration: none;
}

.contact-info a:hover {

  color: white;
}

.contact-socials {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.contact-socials a {
  font-size: 24px;
  color: #00ff88;
  transition: color 0.3s ease, transform 0.2s;
}

.contact-socials a:hover {
  color: white;
  transform: scale(1.2);
}

@media (max-width: 600px) {
  .contact-section {
    padding: 80px 15px;
  }
  .contact-card {
    width: 100%;
  }

  .contact-info h2 {
    font-size: 22px;
  }

  .contact-socials {
    justify-content: center;
  }
}

/*CONTACT*-------------------------------------------------------------------------------------------------------CONTACT*/



/*FOOTER*-------------------------------------------------------------------------------------------------------FOOTER*/
.footer-terminal {
  background: #000;
  color: #00ff88;
  font-family: 'Courier New', monospace;
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  border-top: 1px solid #00ff88;
}

.footer-terminal p {
  margin: 4px 0;
  line-height: 2;
}

.footer-terminal a.terminal-link {
  color: #00ff88;
  text-decoration: none;
  font-weight: bold;
}

.footer-terminal a.terminal-link:hover {
  color: #ffffff;
  text-shadow: 0 0 5px #00ff88;
}

/*FOOTER*-------------------------------------------------------------------------------------------------------FOOTER*/
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}
