/* ══════════════════════════════════════════════════════════════
   Asil Şen Theme — main.css
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg: #050608;
  --bg2: #080b10;
  --surface: #0d1117;
  --border: rgba(255,255,255,0.06);
  --border-bright: rgba(255,255,255,0.14);
  --text: #e8eaf0;
  --muted: #6b7280;
  --accent: #3b82f6;
  --accent2: #06b6d4;
  --accent-dim: rgba(59,130,246,0.12);
  --glow: rgba(59,130,246,0.25);
  --font-display: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ══ CUSTOM CURSOR ═══════════════════════════════════════════ */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s ease, background 0.3s ease;
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(59,130,246,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%,-50%);
  transition: width 0.4s ease, height 0.4s ease, border-color 0.3s ease;
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 54px; height: 54px;
  border-color: rgba(59,130,246,0.8);
}

/* ══ PAGE LOADER ═════════════════════════════════════════════ */
#loader {
  position: fixed; inset: 0;
  background: #000;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.loader-bar {
  width: 180px; height: 1px;
  background: rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: load 1.4s ease forwards;
}
@keyframes load { to { left: 100%; } }

/* ══ NAV ═════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, padding 0.4s ease;
}
nav.scrolled {
  background: rgba(5,6,8,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.9rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5,6,8,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 1.5rem 0; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  text-decoration: none;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--accent); }

/* ══ NOISE OVERLAY ═══════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9997;
  opacity: 0.4;
}

/* ══ SCAN LINE ═══════════════════════════════════════════════ */
.scan-line {
  position: fixed; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.15), transparent);
  pointer-events: none;
  z-index: 9996;
  animation: scanMove 8s linear infinite;
  top: 0;
}
@keyframes scanMove { from { top: 0; } to { top: 100vh; } }

/* ══ HERO ════════════════════════════════════════════════════ */
#home {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 6rem;
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
  0%,100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
.hero-glow {
  position: absolute; top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  50%      { transform: translateX(-50%) scale(1.15); opacity: 1; }
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.6s ease forwards;
  display: flex; align-items: center; gap: 1rem;
}
.hero-tag::before {
  content: '';
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--accent);
}
.hero-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s 1.8s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-name .line2 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}
.hero-sub {
  margin-top: 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0;
  animation: fadeUp 0.8s 2.2s ease forwards;
}
.hero-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.7;
}
.hero-scroll {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 0.75rem;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══ SECTIONS SHARED ═════════════════════════════════════════ */
section { padding: 7rem 3rem; position: relative; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.section-label::after {
  content: ''; flex: 1; max-width: 60px;
  height: 1px; background: var(--accent); opacity: 0.5;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}

/* ══ REVEAL ══════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1), transform 0.9s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1), transform 0.9s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ══ INTRO ═══════════════════════════════════════════════════ */
#bicycle {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.intro-card {
  background: var(--bg2); padding: 3rem 2.5rem;
  position: relative; overflow: hidden; transition: background 0.4s ease;
}
.intro-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%); transition: transform 0.6s ease;
}
.intro-card:hover { background: var(--surface); }
.intro-card:hover::before { transform: translateX(100%); }
.intro-card-num { font-family: var(--font-mono); font-size: 0.6rem; color: var(--accent); letter-spacing: 0.2em; margin-bottom: 1.5rem; }
.intro-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; color: var(--text); }
.intro-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }

/* ══ SERVICES ════════════════════════════════════════════════ */
#details { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  padding: 2.5rem 2rem; position: relative; overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
  cursor: default;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover { border-color: var(--border-bright); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--border-bright); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 44px; height: 44px; border: 1px solid var(--border-bright); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.75rem; font-size: 1.2rem; background: var(--accent-dim);
  transition: background 0.3s ease, transform 0.3s ease;
}
.service-card:hover .service-icon { background: rgba(59,130,246,0.22); transform: scale(1.1); }
.service-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; color: var(--text); }
.service-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.75; }

/* ══ ABOUT ════════════════════════════════════════════════════ */
#about-us { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6rem; align-items: start; }
.about-left { position: sticky; top: 100px; }
.about-visual {
  aspect-ratio: 1; background: var(--surface); border: 1px solid var(--border);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.about-monogram {
  font-family: var(--font-display); font-weight: 800; font-size: 9rem;
  color: transparent; -webkit-text-stroke: 1px rgba(59,130,246,0.25);
  user-select: none; animation: rotateSlow 20s linear infinite;
}
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.about-corner { position: absolute; width: 20px; height: 20px; border-color: var(--accent); border-style: solid; opacity: 0.5; }
.about-corner.tl { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.about-corner.tr { top: 12px; right: 12px; border-width: 1px 1px 0 0; }
.about-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
.about-corner.br { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }
.about-text { font-size: 1.05rem; color: var(--muted); line-height: 1.85; margin-bottom: 1.5rem; }
.about-text strong { color: var(--text); font-weight: 500; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.5rem; }
.about-tag {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem; border: 1px solid var(--border-bright);
  color: var(--muted); text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.about-tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* ══ BAĞLANTILAR ═════════════════════════════════════════════ */
#shop { background: var(--bg); text-align: center; }
.wip-container {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  padding: 4rem; border: 1px solid var(--border); background: var(--surface);
  max-width: 500px; margin: 0 auto; position: relative; overflow: hidden;
}
.wip-container::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-dim), transparent 60%);
  pointer-events: none;
}
.wip-icon { font-size: 2.5rem; }
.wip-title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.wip-desc { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; color: var(--accent); text-transform: uppercase; }
.wip-bar { width: 200px; height: 2px; background: var(--border); position: relative; overflow: hidden; }
.wip-bar::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: wipeBar 2s ease-in-out infinite;
}
@keyframes wipeBar { to { left: 200%; } }

/* ══ CONTACT ═════════════════════════════════════════════════ */
#contact { background: var(--bg2); border-top: 1px solid var(--border); min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.contact-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.contact-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.contact-big span { display: block; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.2); }
.contact-link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.1em;
  text-decoration: none; color: var(--text);
  padding: 1rem 1.75rem; border: 1px solid var(--border-bright);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-link:hover { background: var(--accent-dim); border-color: var(--accent); transform: translateX(-4px); box-shadow: 4px 0 0 var(--accent); }
.contact-link::before { content: '→'; color: var(--accent); }

/* ══ FOOTER ══════════════════════════════════════════════════ */
footer {
  padding: 2rem 3rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg);
}
.footer-copy { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.15em; color: var(--muted); text-decoration: none; text-transform: uppercase; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }

/* ══ MOBILE ══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 1.2rem 1.5rem; }
  nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  #home { padding: 0 1.5rem 4rem; }
  section { padding: 5rem 1.5rem; }
  .intro-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-left { position: static; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  #cursor, #cursor-ring { display: none; }
  body { cursor: auto; }
  .hero-sub { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .hero-scroll { writing-mode: horizontal-tb; }
}
