/* ===========================================
   GLOBAL STYLES - TEKIN MEDYA YAZILIM
   Modern Dijital Tasarım - Elektro Mavi & Neon Tema
   =========================================== */

:root {
  /* Ana Renkler */
  --electro-cyan: #00d9ff;
  --neon-cyan: #00ffd9;
  --electric-blue: #0099ff;
  --neon-green: #00ff88;
  --deep-purple: #7209b7;
  --magenta: #b5179e;
  --pink-accent: #ff00ff;
  
  /* Arka Plan Tonları */
  --bg-dark: #0a0e27;
  --bg-darker: #050712;
  --bg-dark-medium: #14182e;
  --bg-glass: rgba(10, 14, 39, 0.8);
  
  /* Metin Renkleri */
  --text-primary: #ffffff;
  --text-secondary: #b0bec5;
  --text-accent: #00d9ff;
  
  /* Gradientler */
  --gradient-primary: linear-gradient(135deg, #00d9ff 0%, #7209b7 100%);
  --gradient-secondary: linear-gradient(135deg, #00ffd9 0%, #00ff88 100%);
  --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #14182e 100%);
  --gradient-neon: linear-gradient(135deg, #00d9ff 0%, #b5179e 50%, #ff00ff 100%);
  
  /* Shadow & Glow */
  --glow-cyan: 0 0 20px rgba(0, 217, 255, 0.5);
  --glow-neon: 0 0 30px rgba(0, 255, 217, 0.6);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
  
  /* Boyutlar */
  --header-height: 80px;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(114, 9, 183, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(181, 23, 158, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ===========================================
   CONTAINER
   =========================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.8), 0 0 60px rgba(0, 217, 255, 0.4);
  }
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInFromLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInFromRight 0.8s ease-out;
}

.glow-effect {
  animation: glow 2s ease-in-out infinite;
}

/* ===========================================
   HEADER / SITE HEADER
   =========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Header Background Effects */
.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 2px solid transparent;
  background-image: linear-gradient(rgba(10, 14, 39, 0.95), rgba(10, 14, 39, 0.95)),
    linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
  background-clip: padding-box, border-box;
  animation: headerBorder 3s ease-in-out infinite;
}

@keyframes headerBorder {
  0%, 100% { background-image: linear-gradient(rgba(10, 14, 39, 0.95), rgba(10, 14, 39, 0.95)),
    linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent); }
  50% { background-image: linear-gradient(rgba(10, 14, 39, 0.95), rgba(10, 14, 39, 0.95)),
    linear-gradient(90deg, rgba(0, 217, 255, 0.3), rgba(0, 217, 255, 0.6), rgba(0, 217, 255, 0.3)); }
}

.header-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.header-particles::before,
.header-particles::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  background: #00d9ff;
  border-radius: 50%;
  box-shadow: 
    20px 20px 0 #00d9ff,
    40px 40px 0 rgba(0, 217, 255, 0.5),
    60px 20px 0 #0099ff,
    80px 40px 0 rgba(0, 153, 255, 0.5),
    100px 15px 0 #b5179e,
    120px 35px 0 rgba(181, 23, 158, 0.5);
  animation: float 6s ease-in-out infinite;
}

.header-particles::after {
  left: 200px;
  top: 20px;
  animation-delay: 2s;
  animation-duration: 8s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-10px) translateX(5px); }
  66% { transform: translateY(10px) translateX(-5px); }
}

.site-header .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Logo Enhanced - Orbital Design */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.logo-orbit {
  width: 56px;
  height: 56px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-core {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  transition: all 0.5s ease;
  filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.4));
}

.logo-svg {
  width: 100%;
  height: 100%;
  animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Orbit Rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: orbitRotate 8s linear infinite;
}

.orbit-ring-1 {
  width: 56px;
  height: 56px;
  border-image: linear-gradient(45deg, #00d9ff, transparent) 1;
  animation-duration: 10s;
  animation-direction: normal;
}

.orbit-ring-2 {
  width: 64px;
  height: 64px;
  border-image: linear-gradient(135deg, transparent, #b5179e) 1;
  animation-duration: 15s;
  animation-direction: reverse;
}

.orbit-ring-3 {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(0, 217, 255, 0.3);
  animation-duration: 20s;
}

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Particles */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00d9ff;
  border-radius: 50%;
  animation: particleOrbit 4s linear infinite;
}

.particle-1 {
  top: 0;
  left: 50%;
  box-shadow: 0 0 8px #00d9ff;
  animation-duration: 3s;
}

.particle-2 {
  bottom: 10%;
  right: 15%;
  background: #b5179e;
  box-shadow: 0 0 8px #b5179e;
  animation-duration: 5s;
  animation-delay: 0.5s;
}

.particle-3 {
  top: 30%;
  left: 80%;
  background: #0099ff;
  box-shadow: 0 0 8px #0099ff;
  animation-duration: 7s;
  animation-delay: 1s;
}

@keyframes particleOrbit {
  0% {
    transform: rotate(0deg) translateX(30px) rotate(0deg) scale(1);
    opacity: 1;
  }
  25% {
    opacity: 0.7;
  }
  50% {
    transform: rotate(180deg) translateX(35px) rotate(-180deg) scale(1.2);
    opacity: 1;
  }
  75% {
    opacity: 0.7;
  }
  100% {
    transform: rotate(360deg) translateX(30px) rotate(-360deg) scale(1);
    opacity: 1;
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #00d9ff 0%, #ffffff 50%, #00d9ff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.logo-sub {
  font-size: 10px;
  font-weight: 600;
  color: #b0cfff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Hover Effects */
.logo:hover .logo-core {
  transform: scale(1.1) rotate(360deg);
  filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.8));
}

.logo:hover .orbit-ring-1 {
  border-image-source: linear-gradient(45deg, #00d9ff, #b5179e);
  animation-duration: 5s;
}

.logo:hover .orbit-ring-2 {
  border-image-source: linear-gradient(135deg, #b5179e, #00d9ff);
  animation-duration: 7s;
}

.logo:hover .orbit-ring-3 {
  border-color: rgba(0, 217, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

.logo:hover .particle {
  animation-duration: 2s;
  box-shadow: 0 0 15px currentColor;
}

.logo:hover .logo-main {
  background: linear-gradient(135deg, #00d9ff 0%, #b5179e 50%, #ff00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
}

/* Navigation Enhanced */
.main-nav {
  display: flex;
  gap: 5px;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 1px solid transparent;
}

.nav-icon {
  font-size: 18px;
  transition: all 0.3s ease;
}

.nav-text {
  position: relative;
  z-index: 1;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.2), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.nav-link:hover::before {
  width: 200%;
  height: 200%;
}

.nav-link:hover {
  color: #00d9ff;
  border-color: rgba(0, 217, 255, 0.3);
  background: rgba(0, 217, 255, 0.05);
  box-shadow: 0 5px 20px rgba(0, 217, 255, 0.2);
  transform: translateY(-2px);
}

.nav-link:hover .nav-icon {
  transform: scale(1.2) rotate(10deg);
}

.nav-link:hover .nav-text {
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* CTA Nav Link Special */
.nav-cta {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(114, 9, 183, 0.2));
  border: 2px solid rgba(0, 217, 255, 0.5);
  color: #00d9ff;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #00d9ff, #b5179e);
  color: white;
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.6);
  transform: translateY(-3px) scale(1.05);
}

.nav-cta:hover .nav-icon {
  filter: brightness(0) invert(1);
}

/* ===========================================
   MAIN CONTENT
   =========================================== */
.site-main {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  position: relative;
}

/* ===========================================
   FOOTER / SITE FOOTER
   =========================================== */
.site-footer {
  background: var(--bg-darker);
  position: relative;
  margin-top: 80px;
  padding-top: 0;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  overflow: hidden;
  color: var(--bg-dark-medium);
  z-index: 1;
}

.footer-wave svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
}

.site-footer .container {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 30px;
}

/* Footer Content */
.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 25px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3.footer-logo {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 15px;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.footer-col h3.footer-logo span {
  display: inline;
  font-size: 22px;
  color: var(--text-accent);
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-col p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 14px;
}

/* Footer Links */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-col ul li a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--text-accent);
}

.footer-col ul li a:hover {
  color: var(--text-accent);
  padding-left: 20px;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.footer-col ul li a:hover::before {
  opacity: 1;
  left: 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan);
}

.social-icon svg {
  filter: drop-shadow(0 0 2px currentColor);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-accent);
}

.footer-links span {
  color: rgba(255, 255, 255, 0.2);
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* Mobile Menu Styling */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 40px 30px;
  height: 100%;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 15px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.mobile-link:hover {
  color: #00d9ff;
  border-color: rgba(0, 217, 255, 0.4);
  background: rgba(0, 217, 255, 0.1);
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
}

.mobile-cta {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(114, 9, 183, 0.2));
  border: 2px solid rgba(0, 217, 255, 0.5);
  color: #00d9ff;
  font-size: 20px;
  font-weight: 700;
}

.mobile-cta:hover {
  background: linear-gradient(135deg, #00d9ff, #b5179e);
  color: white;
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .logo-orbit {
    width: 48px;
    height: 48px;
  }
  
  .orbit-ring-1 {
    width: 48px;
    height: 48px;
  }
  
  .orbit-ring-2 {
    width: 54px;
    height: 54px;
  }
  
  .orbit-ring-3 {
    width: 60px;
    height: 60px;
  }
  
  .particle {
    width: 3px;
    height: 3px;
  }
  
  .logo-main {
    font-size: 18px;
  }
  
  .logo-sub {
    font-size: 9px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    display: none !important;
  }
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 20px;
    gap: 15px;
    transition: left 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(0, 217, 255, 0.2);
  }
  
  .site-header nav.active {
    left: 0;
  }
  
  .site-header nav a {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 10px;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .site-header nav {
    gap: 3px;
  }
  
  .site-header nav a {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .logo {
    font-size: 18px;
  }
  
  .logo::before {
    width: 35px;
    height: 35px;
  }
}
