/* ==========================================================================
   WortexFX Portfolio - Master Cyberpunk Neon Purple Theme
   Author: WortexFX
   URL: wortexfx.xyz
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Variables & Design Tokens (Neon Purple & Dark Black) --- */
:root {
  --bg-dark: #030509;
  --bg-surface: #090613;
  --bg-card: rgba(13, 11, 24, 0.75);
  --bg-card-hover: rgba(25, 20, 45, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(168, 85, 247, 0.4);
  
  --primary: #a855f7;
  --primary-hover: #9333ea;
  --primary-glow: rgba(168, 85, 247, 0.45);
  --accent-purple: #c084fc;
  --accent-magenta: #ec4899;
  --accent-violet: #8b5cf6;
  --accent-emerald: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #a78bfa;
  --text-subtle: #71717a;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #030509;
}
::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

/* --- Background Dynamic Effects --- */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(90px);
  animation: floatGlow 14s infinite alternate ease-in-out;
}

.ambient-glow-2 {
  position: absolute;
  bottom: 15%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(100px);
  animation: floatGlow 18s infinite alternate-reverse ease-in-out;
}

.ambient-glow-3 {
  position: absolute;
  top: 45%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(90px);
}

.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(168, 85, 247, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #c084fc 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-primary {
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 40%, #a855f7 70%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- LOADING SCREEN --- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #030509;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

#loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  max-width: 340px;
  width: 90%;
}

.loader-avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
}

.loader-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
  animation: pulseLogo 2s infinite ease-in-out;
}

.loader-avatar-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(168, 85, 247, 0.6);
  animation: spinRing 10s linear infinite;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.6)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 32px rgba(236, 72, 153, 0.8)); }
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-bar-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.825rem;
  font-weight: 700;
  color: #c084fc;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.loader-progress-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7);
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b5cf6, #a855f7, #ec4899);
  border-radius: 20px;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.9);
}

.loader-subtitle {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(192, 132, 252, 0.7);
  letter-spacing: 0.5px;
}

/* --- HEADER / NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 5, 9, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.brand-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  background: rgba(168, 85, 247, 0.12);
}

.nav-link.active {
  color: #c084fc;
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(3, 5, 9, 0.96);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  padding: 5.5rem 2rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- BANNER HEADER HERO INTEGRATION --- */
.hero-banner-container {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin-top: 1.5rem;
  border: 1px solid var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(168, 85, 247, 0.2);
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 5, 9, 0.1) 0%, rgba(3, 5, 9, 0.6) 70%, var(--bg-dark) 100%);
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 0 0 3.5rem;
  position: relative;
  margin-top: -60px;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hero-avatar-container {
  position: relative;
}

.hero-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-dark);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.45);
  position: relative;
  z-index: 2;
}

.hero-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-magenta));
  z-index: 1;
  filter: blur(12px);
  opacity: 0.75;
}

.online-status-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 3;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.9);
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1rem;
}

.hero-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-name {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.1);
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.hero-card:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 18px 45px rgba(168, 85, 247, 0.18);
}

.hero-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  font-size: 0.825rem;
  font-weight: 600;
  color: #d8b4fe;
}

.hero-bio-text {
  color: #e2e8f0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--border-glow);
  color: #c084fc;
  text-decoration: none;
  transition: var(--transition-bounce);
}

.social-btn:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

.social-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --- STATS COUNTER BAR --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 3.5rem;
}

.stat-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1.35rem 1rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition-fast);
}

.stat-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.25);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  color: #c084fc;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.35rem;
  font-weight: 600;
}

/* --- SECTION HEADERS --- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.3) 50%, transparent 100%);
  margin: 3.5rem 0;
}

/* --- TECHNOLOGIES SECTION (TEKNOLOJİLER KISMI) --- */
.tech-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tab-btn {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--border-glow);
  color: #c084fc;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(168, 85, 247, 0.2);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.6);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--card-color, var(--primary)), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(168, 85, 247, 0.2);
}

.tech-card:hover::before {
  opacity: 1;
}

.tech-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.tech-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.tech-level-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.tech-progress-bar {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.tech-progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary), var(--accent-magenta));
  box-shadow: 0 0 12px var(--primary);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* --- PROJECTS SECTION (PROJELER KISMI) --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(168, 85, 247, 0.25);
}

.project-thumb {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
  background: #090613;
}

.project-thumb-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, rgba(25, 20, 45, 0.9), rgba(9, 6, 19, 0.95));
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb-bg {
  transform: scale(1.08);
}

.project-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(3, 5, 9, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #e9d5ff;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.project-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.project-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
  font-weight: 600;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9333ea, #6d28d9);
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.65);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(168, 85, 247, 0.08);
  border-color: var(--border-glow);
  color: #c084fc;
}

.btn-outline:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--primary);
  color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.8rem;
}

/* --- SERVICES SECTION (HİZMETLER KISMI) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  backdrop-filter: blur(14px);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.25);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-main);
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* --- DISCORD LIVE WIDGET & MUSIC PLAYER --- */
.interactive-widgets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 3.5rem 0;
}

.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  backdrop-filter: blur(14px);
}

.discord-widget-body {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.discord-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.discord-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.discord-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid var(--bg-dark);
}

.discord-info-wrap {
  flex: 1;
  min-width: 0;
}

.discord-user-name {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.discord-activity {
  font-size: 0.85rem;
  color: #a78bfa;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

/* Music Player Widget */
.music-widget-body {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.music-disc {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #181028, #090613);
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  flex-shrink: 0;
  animation: spinDisc 8s linear infinite;
  animation-play-state: paused;
}

.music-disc.playing {
  animation-play-state: running;
}

@keyframes spinDisc {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.play-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.play-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.8);
}

.audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.audio-bar {
  width: 3px;
  height: 4px;
  background: var(--primary);
  border-radius: 3px;
  transition: height 0.2s ease;
}

.playing .audio-bar {
  animation: equalize 1s infinite alternate ease-in-out;
}

.playing .audio-bar:nth-child(1) { animation-delay: 0.1s; }
.playing .audio-bar:nth-child(2) { animation-delay: 0.3s; }
.playing .audio-bar:nth-child(3) { animation-delay: 0.2s; }
.playing .audio-bar:nth-child(4) { animation-delay: 0.4s; }

@keyframes equalize {
  0% { height: 4px; }
  100% { height: 18px; }
}

/* --- CONTACT SECTION (İLETİŞİM KISMI) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(14px);
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.contact-method-text label {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-method-text p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(14px);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c084fc;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.925rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(168, 85, 247, 0.1);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.toast-alert {
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

.toast-alert.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.toast-alert.error {
  display: block;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

/* --- FOOTER --- */
.site-footer {
  border-top: 1px solid var(--border-glow);
  background: rgba(3, 5, 9, 0.9);
  padding: 2.5rem 0;
  margin-top: 4rem;
  font-size: 0.875rem;
  color: #a78bfa;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text-main);
}

/* --- RESPONSIVE BREAKPOINTS (100% COMPATIBLE FOR PHONE & PC) --- */
@media (max-width: 992px) {
  .hero-banner-container {
    height: 160px;
  }

  .hero-section {
    margin-top: -40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  
  .hero-header-row {
    justify-content: center;
  }
  
  .hero-tags-row {
    justify-content: center;
  }
  
  .social-links-row {
    justify-content: center;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .interactive-widgets-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-name {
    font-size: 2.35rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }
  
  .hero-avatar {
    width: 120px;
    height: 120px;
  }
  
  .hero-card {
    padding: 1.25rem;
  }
}
