html {
  scroll-padding-top: 80px;
}

:root {
  --bg-color: #050505;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --border-color: #27272a;
  --accent: #fff;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: "Space Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono {
  font-family: "Space Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

/* Typography */
.huge-title {
  /*font-style: italic;*/
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.huge-title span {
  /* Eksi değerler metni sağa doğru yatırır. Logonun açısına göre -15deg ile -30deg arası deneyebilirsin. */
  transform: skewX(
    -25deg
  ); /* Transform özelliğinin satır içi (inline) elementlerde çalışması için genellikle bu gereklidir (örneğin <span>) */
  display: inline-block;
}
.huge-title-color {
  color: #4f46e5;
}
/* Layout & Borders */
.border-stark {
  border: 1px solid var(--border-color);
}
.border-b-stark {
  border-bottom: 1px solid var(--border-color);
}
.border-t-stark {
  border-top: 1px solid var(--border-color);
}
.border-r-stark {
  border-right: 1px solid var(--border-color);
}

/* Grid Background */
.bg-grid {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Components */
.navbar {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.btn-brutal {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 0;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  padding: 12px 24px;
  transition: all 0.2s;
}

.btn-brutal:hover {
  background: var(--text-main);
  color: var(--bg-color);
}

.btn-brutal-primary {
  background: var(--text-main);
  color: var(--bg-color);
}

.btn-brutal-primary:hover {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

/* Interactive List */
.list-row {
  padding: 40px 0;
  transition: all 0.3s ease;
  cursor: crosshair;
}
.list-row:hover {
  padding-left: 20px;
  color: #fff;
}
.list-row:hover .list-icon {
  transform: scale(1.2) rotate(15deg);
}
.list-icon {
  transition: all 0.3s ease;
}

/* Bento Grid Hover */
.bento-box {
  background: var(--bg-color);
  transition: background 0.2s;
}
.bento-box:hover {
  background: #0a0a0a;
}

/* Tech Marquee Simulation */
.tech-tag {
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 0;
  display: inline-block;
  margin: 4px;
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Section Enhancements */
.gradient-animate {
  background: linear-gradient(270deg, #4f46e5, #ec4899, #8b5cf6, #4f46e5);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.floating-badge {
  position: absolute;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-badge.badge-1 {
  top: 10%;
  right: 5%;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(var(--rotation, 0deg));
  }
  50% {
    transform: translateY(-15px) rotate(var(--rotation, 0deg));
  }
  100% {
    transform: translateY(0px) rotate(var(--rotation, 0deg));
  }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  background: rgba(5, 5, 5, 0.5);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
}

.marquee-content {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-width: 100%;
  justify-content: space-around;
  animation: marquee 30s linear infinite;
  font-family: "Space Mono", monospace;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.marquee-content span {
  padding: 0 30px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.3;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: #4f46e5;
  top: 20%;
  left: 10%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: #ec4899;
  bottom: 10%;
  right: 5%;
  animation-delay: -4s;
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.3);
    opacity: 0.5;
  }
}

@media (max-width: 992px) {
  .border-r-stark {
    border-right: none;
  }
  .mobile-border-b {
    border-bottom: 1px solid var(--border-color);
  }
}

@media (max-width: 768px) {
  /* Mobil Ambient Orb */
  .ambient-orb {
    background: #ffffff !important;
    width: 200px !important;
    height: 200px !important;
    opacity: 0.05 !important;
  }

  /* Hero Ortada Hizalama */
  #hero .container-fluid {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #hero .mono {
    justify-content: center;
  }
  #hero p.text-muted {
    text-align: center;
  }

  /* Mobil Menü Arkası */
  .navbar-collapse {
    background: rgba(5, 5, 5, 0.95);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    border-bottom: 1px solid var(--border-color);
  }

  /* Hero başlık boyutunu küçült */
  .huge-title {
    font-size: clamp(2.8rem, 14vw, 5rem);
  }

  /* Butonlar tam genişlik ve alt alta */
  .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.75rem !important;
  }
  .d-flex.gap-3 .btn {
    width: 100%;
    text-align: center;
  }

  /* Proje açıklamasındaki w-75 kısıtlamasını kaldır */
  .w-75 {
    width: 100% !important;
  }

  /* İletişim e-posta taşmasını önle */
  #iletisim a.fs-3 {
    font-size: 1.1rem !important;
    word-break: break-all;
  }

  /* Footer mono bilgi solda hizalı */
  .mono.text-muted.text-lg-end {
    text-align: left !important;
  }

  /* List row başlık boyutu */
  .list-row h3.display-6 {
    font-size: 1.6rem;
  }
}
