/* ONUR ZAMAN - ULTRA PREMIUM RETRO THEME v3.0 */

:root {
  /* Core Colors */
  --neon-cyan: #00f3ff;
  --neon-pink: #ff00ff;
  --neon-green: #0aff0a;
  --neon-purple: #bc13fe;
  --dark-bg: #050505;
  --panel-bg: rgba(10, 15, 30, 0.65);

  /* CRT Effects */
  --crt-flicker: 0.03;
  --scanline-color: rgba(0, 0, 0, 0.5);

  /* Fonts */
  --font-main: 'Share Tech Mono', monospace;
  --font-display: 'Orbitron', sans-serif;
  --font-pixel: 'VT323', monospace;
}

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

body {
  background-color: var(--dark-bg);
  color: #fff;
  font-family: var(--font-main);
  overflow-x: hidden;
  height: 100vh;
  width: 100vw;
}

/* --- 3D Canvas Background --- */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 2s ease;
}

#canvas-container.visible {
  opacity: 1;
}

/* --- Audio Control --- */
.audio-control {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  cursor: pointer !important;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-control:hover {
  background: rgba(0, 243, 255, 0.2);
  box-shadow: 0 0 15px var(--neon-cyan);
}

/* --- BIOS Boot Screen --- */
.bios-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 40px;
  font-family: var(--font-pixel);
  color: var(--neon-cyan);
  font-size: 1.5rem;
  line-height: 1.5;
}

.bios-logo {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px var(--neon-cyan);
}

.bios-text {
  white-space: pre-wrap;
}

/* --- CRT Overlay Effects --- */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  z-index: 9990;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px);
  pointer-events: none;
  z-index: 9991;
}

.vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 60%, black 100%);
  pointer-events: none;
  z-index: 9992;
}

/* --- Main Container --- */
.main-container {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  opacity: 0;
  transition: opacity 1s ease;
}

.main-container.visible {
  opacity: 1;
}

.hidden {
  display: none;
}

/* --- Glass Panels --- */
.glass-panel {
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  animation: scan-top 3s linear infinite;
}

@keyframes scan-top {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.hero-panel {
  width: 100%;
  padding: 2rem;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
}

.hero-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 243, 255, 0.3);
  padding-bottom: 1rem;
  font-family: var(--font-display);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--neon-green);
  font-size: 0.9rem;
}

.blink-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-green);
  animation: blink 1s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* --- Hologram Profile --- */
.hologram-container {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto 2rem;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  /* filter: sepia(1) hue-rotate(180deg) saturate(2) brightness(0.8); */
  /* opacity: 0.8; */
}

.hologram-ring {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px dashed var(--neon-cyan);
  border-radius: 50%;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.glitch-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+');
  mix-blend-mode: overlay;
  pointer-events: none;
}



/* --- Typography --- */
.cyber-title {
  font-family: var(--font-display);
  font-size: 4rem;
  color: #fff;
  text-shadow: 3px 3px 0px var(--neon-pink), -3px -3px 0px var(--neon-cyan);
  margin-bottom: 0.5rem;
  position: relative;
}

.cyber-subtitle {
  font-size: 1.5rem;
  color: var(--neon-cyan);
  letter-spacing: 5px;
  margin-bottom: 2rem;
}

/* --- Interactive Text Editor (Notepad Style) --- */
.interactive-terminal {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #c0c0c0;
  border-radius: 2px;
  margin-bottom: 2rem;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.5);
  text-align: left;
  overflow: hidden;
  color: #000;
}

.terminal-bar {
  background: #000080;
  /* Retro Title Bar Blue */
  padding: 3px 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Share Tech Mono', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  border-bottom: none;
}

.term-title {
  font-weight: bold;
  letter-spacing: 1px;
}

.term-controls {
  display: flex;
  gap: 2px;
}

.term-controls span {
  background: #c0c0c0;
  color: #000;
  width: 16px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 1px solid #fff;
  border-right-color: #000;
  border-bottom-color: #000;
  cursor: pointer;
}

.terminal-output {
  padding: 10px;
  height: 150px;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  /* Classic Typewriter Font */
  font-size: 1rem;
  color: #000;
  background: #fff;
}

.msg.system {
  color: #000;
}

.msg.info {
  color: #000080;
}

.msg.error {
  color: #ff0000;
}

.terminal-input-line {
  display: flex;
  padding: 5px 10px;
  background: #fff;
  border-top: none;
}

.prompt {
  display: none;
  /* Hide prompt for TXT style */
}

#term-input {
  background: transparent;
  border: none;
  color: #000;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  flex: 1;
  outline: none;
}


/* --- Buttons --- */
.action-buttons {
  display: flex;
  gap: 20px;
}

.email-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.email-btn {
  min-width: 300px;
  text-align: center;
  display: inline-block;
}

@media (max-width: 600px) {
  .action-buttons {
    flex-direction: column;
  }
}

.cyber-btn {
  position: relative;
  padding: 15px 30px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: bold;
  text-transform: uppercase;
  overflow: hidden;
  transition: all 0.3s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.cyber-btn.primary {
  background: var(--neon-cyan);
  color: #000;
}

.cyber-btn.primary:hover {
  background: #fff;
  box-shadow: 0 0 30px var(--neon-cyan);
}

.cyber-btn.secondary {
  background: transparent;
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
}

.cyber-btn.secondary:hover {
  background: var(--neon-pink);
  color: #000;
  box-shadow: 0 0 30px var(--neon-pink);
}

/* --- Section Styles --- */
.section {
  padding: 6rem 0;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--neon-purple);
  position: relative;
}

.section-title::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: var(--neon-purple);
  opacity: 0.5;
  filter: blur(5px);
}

.section-line {
  width: 100px;
  height: 4px;
  background: var(--neon-purple);
  margin: 10px auto;
  box-shadow: 0 0 15px var(--neon-purple);
}

/* --- Data Grid (About) --- */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.data-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-left: 2px solid var(--neon-cyan);
  transition: transform 0.3s;
}

.data-card:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.05);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--neon-cyan);
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.highlight {
  color: var(--neon-green);
  text-shadow: 0 0 5px var(--neon-green);
}

/* --- Skills Hexagons --- */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.skill-hex {
  width: 150px;
  height: 170px;
  background: rgba(255, 255, 255, 0.05);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
}

.skill-hex::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--dark-bg);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
}

.skill-hex:hover {
  transform: scale(1.1);
  background: var(--color);
  box-shadow: 0 0 30px var(--color);
}

.hex-content {
  text-align: center;
  color: #fff;
}

.hex-content i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--color);
}

.skill-hex:hover .hex-content i {
  color: #fff;
}

/* --- 3D Contact Cubes --- */
.contact-grid-3d {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 4rem 0;
  perspective: 1000px;
  flex-wrap: wrap;
}

.contact-cube {
  width: 80px;
  height: 80px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(25deg);
  transition: transform 0.5s;
  cursor: pointer !important;
}

.contact-cube:hover {
  transform: rotateX(-20deg) rotateY(205deg);
}

.face {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.face.front {
  transform: translateZ(40px);
}

.face.back {
  transform: rotateY(180deg) translateZ(40px);
  font-size: 0.8rem;
  font-family: var(--font-display);
}

.face.right {
  transform: rotateY(90deg) translateZ(40px);
}

.face.left {
  transform: rotateY(-90deg) translateZ(40px);
}

.face.top {
  transform: rotateX(90deg) translateZ(40px);
}

.face.bottom {
  transform: rotateX(-90deg) translateZ(40px);
}

/* --- Footer --- */
.main-footer {
  text-align: center;
  padding: 2rem;
  font-family: var(--font-pixel);
  color: #666;
}

.footer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
  margin-bottom: 1rem;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #fff;
}