/* CSS Reset === */
@font-face {
  font-family: "NEC_APC3";
  src: url("./Web437_NEC_APC3_8x16.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "NEC_APC3", sans-serif !important;
}

:root {
  --white: #ffffff;
  --black: #000000;
  --primary: #07c42c;
  --primary-rgb: 7, 196, 44;
  --white-50: #ffffff80;
  --white-64: #ffffffa3;
  --white-32: #ffffff52;
  --white-16: #ffffff29;
  --black-64: #000000a3;
  --black-32: #00000052;
  --line-2: #cccccc;
  --shadow-1: #a3a3a340;
  --verified: #00bf43;
  --success: #3dab25;
  --surface: #d8d8d8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #000000, #1a2a6c);
  font-family: sans-serif;
  overflow-y: auto;
  scroll-behavior: smooth;
  color: var(--white) !important;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none !important;
  color: var(--text) !important;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
  padding-left: 0px !important;
}

/* CSS Reset === */

#rain-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5);
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-size: 1.5em;
  transition: color 0.3s;
}

nav a:hover {
  color: #a9a9a9;
}

.controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.volume-container {
  position: relative;
  display: flex;
  align-items: center;
}

#volume-icon {
  cursor: pointer;
}

#volume-svg {
  display: block;
}

#main-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2em;
  font-family: "Courier New", Courier, monospace;
}

#typewriter-text, #typewriter-text-2 {
  white-space: nowrap;
  overflow: hidden;
}

#typewriter-text-2 {
    display: none; /* Keep it hidden until it's ready */
}

#typewriter-text.typing {
  border-right: 0.15em solid rgb(255, 255, 255);
  animation: blink-caret 0.75s step-end infinite;
}

#typewriter-text-2.typing {
  border-right: 0.15em solid #ffffff; /* Bright Green */
  animation: blink-caret-2 0.75s step-end infinite;
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: rgb(255, 255, 255);
  }
}

@keyframes blink-caret-2 {
  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: #ffffff; /* Bright Green */
  }
}

#projects {
  background: transparent;
  color: white;
  text-align: center;
}

.project-card {
  background-color: #1e1e1e; /* terminal dark background */
  border: 1px solid #333; /* thin border */
  border-radius: 8px;
  font-family: "Courier New", Courier, monospace; /* terminal font */
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2); /* subtle green glow */
  color: #00ff00; /* terminal green text */
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
}

.project-card h3 {
  margin-bottom: 0.5rem;
}

.project-card p {
  margin: 0;
}

#contacts {
  padding: 100px 50px;
  background: transparent;
  color: white;
  text-align: left;
}

#contacts h2 {
  font-size: 3em;
  margin-bottom: 20px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-links a {
  color: white;
  transition: color 0.3s;
  text-decoration: none;
  font-size: 1.5em;
}

/* Footer */
footer {
  margin: 0;
  padding-top: 4rem;
  padding-bottom: 4rem;
  border: 0;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
}

.tf-footer .br-line {
  background-color: #323b65;
  display: flex;
}

.br-line {
  width: 100%;
  height: 1px;
  display: inline-flex;
  background-color: #fff;
}

.tf-footer .footer-inner {
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-menu-list a {
  font-weight: 450;
  color: var(--white);
}

.link {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.footer-bottom .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.action-go-top {
  gap: 6px;
}

.tf-link-icon {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Footer */

/* Conatiner */
.container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding-right: 15px;
  padding-left: 15px;
  width: 1326px;
  max-width: 100%;
}

/* Etc */
.text-white-64 {
  color: var(--white-64);
}

.text-caption {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

.fw-medium {
  font-weight: 500 !important;
}

.letter-space--2 {
  letter-spacing: -0.02em !important;
}

.p-0 {
  padding: 0px;
}

.mb-0 {
  margin-bottom: 0px;
}
.section-header {
    margin-bottom: 4rem;
    margin-top: 4rem;
}
.section-body {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 4rem;

}
/* Term Card */

/* Terminal Penceresi Kartı */
.terminal-card {
  background-color: transparent; /* Koyu Gri Terminal Arka Planı */
  color: #fff; /* Beyaz Metin Rengi */
  border-radius: 10px; /* Yuvarlak Köşeler */
  padding: 0; /* İç dolguyu kaldır */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Hafif gölge */
  max-width: 800px;
  margin: auto;
  transition: transform 0.2s ease-in-out;
}

.terminal-card:hover {
  transform: scale(1.05);
}

/* Pencere Başlık Çubuğu Taklidi */
.terminal-header {
  background-color: #e0e0e0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ccc;
}

/* Pencere Kontrol Düğmeleri (Kırmızı, Sarı, Yeşil) */
.control-buttons {
  display: flex;
  gap: 6px;
}

.control-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.close-btn {
  background-color: #ff5f56;
} /* Kırmızı */
.minimize-btn {
  background-color: #ffbd2e;
} /* Sarı */
.maximize-btn {
  background-color: #27c93f;
} /* Yeşil */

/* Başlık Metni */
.terminal-title {
  flex-grow: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  margin: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Terminal İçeriği Alanı */
.terminal-body {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier,
    monospace; /* Monospace Yazı Tipi */
  font-size: 14px;
  padding: 15px;
  line-height: 1.5;
  text-align: left;
  overflow-x: auto; /* Yatay kaydırma çubuğu */
}

/* Terminal Komut Satırı Stilleri */
.terminal-line {
  white-space: pre-wrap; /* Satır sonlarını korur */
}

/* Terminal Simgesi (website 📂) */
.terminal-icon {
  color: #ffcc00; /* Sarı Klasör Simgesi */
  margin-right: 5px;
}

/* Git Branch Rengi (development) */
.git-branch {
  color: #b388ff; /* Açık Mor */
}

/* Dizin Rengi (koyu yeşil) */
.directory-path {
  color: #79d858; /* Açık Yeşil */
}

/* Komut Satırı Başı (->) */
.prompt-arrow {
  color: #2ecc71; /* Parlak Yeşil */
  margin-right: 8px;
}

/* Koyu Gri Ana Bilgiler */
.info-text {
  color: #aaa;
}

/* Coming Soon Page */
.coming-soon-page {
    background: #000;
    overflow: hidden; /* Hide scrollbars for the full-page canvas */
}

#scroll-down-arrow {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-40%);
    z-index: 1;
    cursor: pointer;
    font-family: "NEC_APC3", sans-serif;
}

#scroll-down-arrow span {
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(45deg);
    margin: -15px;
    animation: animate-arrow 2s infinite;
}

#scroll-down-arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

#scroll-down-arrow.hidden {
    display: none;
}

@keyframes animate-arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

.coming-soon-page .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.coming-soon-page h1 {
    color: white;
    font-size: 3em;
}

@media (max-width: 768px) {
    .header {
        padding: 15px;
        flex-direction: column;
    }

    nav {
        margin-bottom: 10px;
    }

    nav a {
        font-size: 1.2em;
        margin: 0 10px;
    }

    #main-content {
        font-size: 1.5em;
        padding: 0 20px;
        text-align: center;
    }

    .terminal-card {
        margin-bottom: 2rem;
    }

    .footer-inner .row > div {
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-bottom .bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px;
    }

    nav a {
        font-size: 1em;
        margin: 0 8px;
    }

    #main-content {
        font-size: 1.2em;
    }

    .terminal-body {
        font-size: 12px;
    }

    #typewriter-text, #typewriter-text-2 {
        white-space: normal;
        overflow: visible;
    }
}

