/* 
 * Minimal Custom CSS - Intentional Minimalism
 * Avant-Garde UI Design System
 * 
 * @version 3.0.0
 * @author Ahmet Enes
 */

/* Modern CSS Custom Properties */
:root {
  /* Renkler - HSL formatı ile daha kolay manipülasyon */
  --bg: #050510;
  --bg-hsl: 240 60% 3%;
  --accent: #60a5fa;
  --accent-hsl: 213 94% 68%;
  --accent2: #3b82f6;
  --accent2-hsl: 217 91% 60%;
  --accent-glow: rgba(96, 165, 250, 0.4);
  --accent-subtle: rgba(96, 165, 250, 0.08);
  
  /* Gradient Palette */
  --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-border: linear-gradient(135deg, rgba(96, 165, 250, 0.3) 0%, rgba(167, 139, 250, 0.2) 50%, rgba(244, 114, 182, 0.1) 100%);
  
  /* Yüzeyler - Glassmorphism */
  --card: rgba(18, 18, 24, 0.8);
  --card-hover: rgba(28, 28, 36, 0.9);
  --card-glass: rgba(255, 255, 255, 0.03);
  --overlay: rgba(0, 0, 0, 0.88);
  --overlay-light: rgba(0, 0, 0, 0.6);
  
  /* Tipografi */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', 'DM Sans', system-ui, sans-serif;
  
  /* Boşluklar - Fluid spacing */
  --space-xs: clamp(0.25rem, 0.5vw, 0.5rem);
  --space-sm: clamp(0.5rem, 1vw, 0.75rem);
  --space-md: clamp(0.75rem, 1.5vw, 1rem);
  --space-lg: clamp(1rem, 2vw, 1.5rem);
  --space-xl: clamp(1.5rem, 3vw, 2rem);
  --space-2xl: clamp(2rem, 4vw, 3rem);
  
  /* Border radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Geçişler - Transition shorthand */
  --ease: 0.3s ease;
  --ease-out-fn: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring-fn: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Gölgeler - Katmanlı gölge sistemi */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.5), 0 12px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(96, 165, 250, 0.35), 0 0 60px rgba(96, 165, 250, 0.15);
  --shadow-glow-intense: 0 0 40px rgba(96, 165, 250, 0.5), 0 0 80px rgba(96, 165, 250, 0.25);
}

/* Reset ve temel stiller */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html { 
  scroll-behavior: smooth; 
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body { 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Animasyonlar - GPU hızlandırmalı */
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translate3d(0, 24px, 0); 
  }
  to { 
    opacity: 1; 
    transform: translate3d(0, 0, 0); 
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from { 
    opacity: 0; 
    transform: translate3d(20px, 0, 0); 
  }
  to { 
    opacity: 1; 
    transform: translate3d(0, 0, 0); 
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Hero animasyonları */
.animate-hero-title { 
  opacity: 0; 
  animation: fadeInUp 0.9s var(--ease-out-fn) 0.15s forwards;
  will-change: opacity, transform;
}

.animate-hero-tagline { 
  opacity: 0; 
  animation: fadeInUp 0.8s var(--ease-out-fn) 0.35s forwards;
  will-change: opacity, transform;
}

.animate-hero-links { 
  opacity: 0; 
  animation: fadeInUp 0.9s var(--ease-out-fn) 0.5s forwards;
  will-change: opacity, transform;
}

/* Reveal animasyonu - Intersection Observer ile tetiklenir */
.reveal { 
  opacity: 0; 
  transform: translate3d(0, 40px, 0); 
  transition: opacity 0.7s var(--ease-out-fn), transform 0.8s var(--ease-spring-fn);
  will-change: opacity, transform;
}

.reveal.revealed, 
.fade-in { 
  opacity: 1 !important; 
  transform: translate3d(0, 0, 0) !important; 
}

/* Stagger effect for grid items */
.reveal:nth-child(2) { transition-delay: 0.05s; }
.reveal:nth-child(3) { transition-delay: 0.1s; }
.reveal:nth-child(4) { transition-delay: 0.15s; }
.reveal:nth-child(5) { transition-delay: 0.2s; }
.reveal:nth-child(6) { transition-delay: 0.25s; }
.reveal:nth-child(7) { transition-delay: 0.3s; }
.reveal:nth-child(8) { transition-delay: 0.35s; }
.reveal:nth-child(9) { transition-delay: 0.4s; }

/* Animasyon sonrası will-change temizliği */
.reveal.revealed {
  will-change: auto;
  transition-delay: 0s;
}

/* Hero: arka plan ve tipografi - Avant-Garde */
.hero-bg {
  background: 
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(96, 165, 250, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(167, 139, 250, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(244, 114, 182, 0.06), transparent 50%),
    linear-gradient(180deg, transparent 0%, var(--bg) 80%), 
    var(--bg);
  position: relative;
  overflow: hidden;
}

/* Ambient floating orbs */
.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: floatOrb 20s ease-in-out infinite;
  pointer-events: none;
}

.hero-bg::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
  top: -15%;
  left: -10%;
  animation-delay: 0s;
}

.hero-bg::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, transparent 70%);
  bottom: 10%;
  right: -5%;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(20px, 20px) scale(1.02); }
}

/* Noise texture overlay for depth */
.hero::before {
  content: '';
  position: absolute;
  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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 40%, #bae6fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Cormorant Garamond', Georgia, serif;
  text-shadow: 0 0 80px rgba(96, 165, 250, 0.3);
  letter-spacing: -0.02em;
}

/* Text shimmer effect on hover */
.hero-title:hover {
  animation: textShimmer 2s ease-in-out infinite;
}

@keyframes textShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

/* Tagline glow */
.tagline {
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
  position: relative;
}

/* Navbar: geçiş ve scroll - Glassmorphism */
.navbar { 
  transition: all 0.4s var(--ease-smooth);
  backdrop-filter: blur(0px);
}

.navbar.scrolled { 
  background: rgba(8, 8, 16, 0.85); 
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(96, 165, 250, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .logo, .navbar.scrolled .nav-link { color: #f8fafc; }
.navbar.scrolled .hamburger span { background: #f8fafc; }

.nav-link { 
  position: relative; 
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link::after { 
  content: ''; 
  position: absolute; 
  left: 50%; 
  bottom: 0; 
  width: 0; 
  height: 2px; 
  background: var(--gradient-primary);
  transition: width 0.4s var(--ease-spring-fn), left 0.4s var(--ease-spring-fn);
  border-radius: 2px;
}

.nav-link:hover::after, 
.nav-link:focus::after,
.nav-link.active::after { 
  width: 100%; 
  left: 0;
}

.nav-link:hover {
  color: var(--accent);
}

.logo { 
  transition: all 0.4s var(--ease-spring-fn);
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-spring-fn);
}

.logo:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.logo:hover { 
  transform: translateY(-2px);
  text-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
}

/* Lazy img: blur → loaded */
img[data-src] { opacity: .6; filter: blur(8px); transition: opacity .3s, filter .3s; }
img.loaded { opacity: 1; filter: none; }

/* Portfolio: hover ve geçiş - Avant-Garde */
.portfolio-item { 
  transition: transform 0.5s var(--ease-spring-fn), box-shadow 0.5s var(--ease-out-fn);
  position: relative;
  isolation: isolate;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent 0%, rgba(96, 165, 250, 0) 40%, rgba(96, 165, 250, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.portfolio-item:hover::before { opacity: 1; }

.portfolio-item:hover { 
  transform: translateY(-12px) scale(1.03); 
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.portfolio-overlay { 
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.9) 100%);
  opacity: 0; 
  transition: opacity 0.4s var(--ease-out-fn);
  backdrop-filter: blur(2px);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay i { 
  transition: transform 0.4s var(--ease-spring-fn), opacity 0.3s ease;
  opacity: 0;
  transform: scale(0.5);
  font-size: 1.5rem;
  color: var(--accent);
  text-shadow: var(--shadow-glow);
}

.portfolio-item:hover .portfolio-overlay i { 
  transform: scale(1); 
  opacity: 1;
}

/* Lightbox: açılış/kapanış geçişi - Cinematic */
.lightbox { 
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-smooth), visibility 0.4s var(--ease-smooth);
  backdrop-filter: blur(20px) saturate(0.8);
  -webkit-backdrop-filter: blur(20px) saturate(0.8);
  background: rgba(0, 0, 0, 0.92);
}

.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-content img { 
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transition: all 0.5s var(--ease-spring-fn);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 100px rgba(0, 0, 0, 0.4);
}

.lightbox.active .lightbox-content img {
  animation: lightboxReveal 0.5s var(--ease-spring-fn) forwards;
}

@keyframes lightboxReveal {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

body.lightbox-open { overflow: hidden; }

.lightbox-close, .lightbox-nav { 
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring-fn);
}

.lightbox-close:hover, .lightbox-nav:hover:not(.disabled) { 
  background: rgba(96, 165, 250, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.lightbox-nav.disabled { 
  opacity: 0.25;
  cursor: not-allowed;
  transform: none;
}

.lightbox-counter {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-variant-numeric: tabular-nums;
}

/* Mobil menü: navbar */
@media (max-width: 768px) {
  .nav-menu { position: fixed; top: 0; right: -100%; width: 70%; max-width: 320px; height: 100vh; background: rgba(10,10,10,.95); backdrop-filter: blur(20px); flex-direction: column; gap: 2rem; padding: 2rem 1rem; box-shadow: 0 10px 40px rgba(0,0,0,.3); z-index: 1050; transition: right .3s ease; }
  .nav-menu.active { right: 0; display: flex; }
  .navbar { background: rgba(10,10,10,.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(55,65,81,.5); }
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Hamburger icon */
.hamburger span { width: 25px; height: 3px; background: #fff; margin: 3px 0; transition: var(--ease); border-radius: 2px; display: block; }

/* About grid */
.about-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; align-items: center; margin-top: 1.5rem; }
@media (max-width: 768px) { .about-content { grid-template-columns: 1fr; flex-direction: column; text-align: center; } }
.about-image img, .portfolio-item img { width: 100%; height: auto; display: block; border-radius: var(--radius); transition: transform 0.5s var(--ease-out-fn); }
.portfolio-item:hover img { transform: scale(1.06); }
/* Blog Cards - Glassmorphism */
.blog-card { 
  transition: all 0.5s var(--ease-spring-fn);
  background: var(--card);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

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

.blog-card:hover { 
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.12);
}

.blog-card:hover img { transform: scale(1.08); }

.read-more { 
  transition: all 0.3s var(--ease-spring-fn);
  position: relative;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-spring-fn);
}

.blog-card:hover .read-more { 
  gap: 0.6rem;
  color: #93c5fd;
}

.blog-card:hover .read-more::after {
  width: 100%;
}

/* Equipment grid - Glassmorphism Cards */
.equipment-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
  gap: 1.5rem; 
  margin-top: 2rem;
}

.equipment-card { 
  background: var(--card);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-radius: var(--radius-lg); 
  padding: 1.75rem; 
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s var(--ease-spring-fn);
  display: flex; 
  flex-direction: column; 
  text-decoration: none; 
  color: inherit;
  position: relative;
  overflow: hidden;
}

/* Gradient border on hover */
.equipment-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Inner glow */
.equipment-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.06) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.equipment-card:hover::before,
.equipment-card:hover::after { opacity: 1; }

.equipment-card:hover { 
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.15);
  background: var(--card-hover);
}
.section-title h2 { font-family: 'Cormorant Garamond', Georgia, serif; }

/* Equipment Icon - Glow Effect */
.equipment-icon { 
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.12) 0%, rgba(167, 139, 250, 0.08) 100%);
  border: 1px solid rgba(96, 165, 250, 0.2);
  position: relative;
  transition: all 0.4s var(--ease-spring-fn);
}

.equipment-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0;
  z-index: -1;
  filter: blur(8px);
  transition: opacity 0.4s ease;
}

.equipment-card:hover .equipment-icon::before { opacity: 0.4; }

.equipment-card:hover .equipment-icon {
  transform: scale(1.1);
  border-color: rgba(96, 165, 250, 0.4);
}

.equipment-icon i { 
  font-size: 1.25rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.equipment-card:hover .equipment-icon i {
  text-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
}
.equipment-info h4 { font-family: inherit; font-size: 1.125rem; font-weight: 500; color: #f8fafc; margin-bottom: 0.25rem; }
.equipment-type { color: var(--accent); font-size: 0.875rem; margin-bottom: 0.5rem; }
.equipment-specs { display: flex; flex-direction: column; gap: 0.25rem; }
.spec.filter-spec { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.5rem; background: rgba(147,51,234,.1); border: 1px solid rgba(147,51,234,.2); border-radius: 0.5rem; font-size: 0.75rem; color: #c084fc; text-decoration: none; margin-top: 0.5rem; transition: var(--ease); }
.spec.filter-spec:hover { background: rgba(147,51,234,.2); color: #e9d5ff; }
.equipment-card[role="link"] { cursor: pointer; }

/* Blog card content */
.blog-content { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-date { color: var(--accent); font-size: 0.75rem; font-weight: 500; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: .05em; }
.blog-content h3 { font-size: 1.125rem; font-weight: 500; color: #f8fafc; margin-bottom: 0.5rem; }
.blog-content p { color: #94a3b8; font-size: 0.875rem; line-height: 1.6; margin-bottom: 1rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { color: var(--accent); text-decoration: none; font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .05em; display: inline-flex; align-items: center; gap: 0.25rem; transition: var(--ease); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; transition: transform var(--ease); }

/* Footer & social - Modern Refinement */
.footer-logo { 
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: #f8fafc;
  letter-spacing: 0.02em;
}

.social-links { 
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.social-links a { 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s var(--ease-spring-fn);
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 50%;
}

.social-links a:hover::before { opacity: 0.2; }

.social-links a:hover { 
  transform: translateY(-5px) scale(1.1);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.social-links a i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease-spring-fn);
}

.social-links a:hover i {
  transform: scale(1.1);
}

.footer-text { 
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Section title - Typography Enhancement */
.section-title h2 { 
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 500;
  color: #f8fafc;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

/* Subtle gradient underline */
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  opacity: 0.8;
}

.section-title p { 
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 700px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

/* Hero links */
.hero-links { margin: 2rem 0; }
.links-grid { display: flex; flex-direction: column; gap: 1.5rem; max-width: 1200px; margin: 0 auto; width: 100%; }
.links-row { display: grid; gap: 0.75rem; }
.links-row.cinema-links { grid-template-columns: repeat(3, 1fr); }
.links-row.other-links { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (max-width: 768px) {
  .links-row { grid-template-columns: 1fr; }
  .links-row.cinema-links { grid-template-columns: repeat(3, 1fr); }
}
/* Hero Links - Magnetic Hover Effect */
.hero-link { 
  display: flex; 
  align-items: center; 
  gap: 0.625rem; 
  padding: 0.875rem 1.25rem; 
  background: rgba(255, 255, 255, 0.03);
  color: #fff; 
  text-decoration: none; 
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 450;
  transition: all 0.4s var(--ease-spring-fn);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hero-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  pointer-events: none;
}

.hero-link:hover::before { opacity: 1; }
.hero-link:hover::after { width: 200%; height: 200%; }

.hero-link:hover { 
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(96, 165, 250, 0.35);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(96, 165, 250, 0.15);
  color: #fff;
}

.hero-link i { 
  font-size: 1.125rem; 
  color: var(--accent);
  transition: all 0.4s var(--ease-spring-fn);
  position: relative;
  z-index: 1;
}

.hero-link:hover i {
  transform: scale(1.15);
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
}

.hero-link span {
  position: relative;
  z-index: 1;
}
/* Cinema Links - Compact Cards */
.cinema-link { 
  flex-direction: column;
  text-align: center;
  padding: 1rem 0.75rem;
  gap: 0.5rem;
}

.cinema-link i {
  font-size: 1.5rem;
}

.cinema-link span {
  font-size: 0.75rem;
  opacity: 0.9;
  line-height: 1.3;
}
.hero .social-links { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.hero .social-links a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgba(255,255,255,.05); color: #fff; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); transition: var(--ease); }
.hero .social-links a:hover { transform: translateY(-2px); background: rgba(96,165,250,.2); }

/* Skills - Enhanced Visual */
.skills-section { 
  margin-top: 2rem;
  padding: 2rem;
  background: var(--card);
  backdrop-filter: blur(16px) saturate(1.2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.skills-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

.skills-section h3 { 
  font-size: 1.375rem;
  font-weight: 500;
  color: #f8fafc;
  margin-bottom: 1.25rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.skills-grid { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.875rem;
  margin-top: 1rem;
}

.skill-item { 
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s var(--ease-spring-fn);
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-item i { 
  font-size: 1.25rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: all 0.3s var(--ease-spring-fn);
}

.skill-item span {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
}

.skill-item:hover::before { opacity: 1; }

.skill-item:hover { 
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 20px rgba(96, 165, 250, 0.1);
}

.skill-item:hover i {
  transform: scale(1.15);
  text-shadow: 0 0 15px rgba(96, 165, 250, 0.5);
}
/* About Text - Typography Enhancement */
.about-text h2 { 
  font-size: 1.75rem;
  font-weight: 500;
  color: #f8fafc;
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.about-text p { 
  color: #94a3b8;
  margin-bottom: 1.25rem;
  line-height: 1.85;
  font-size: 1rem;
}
/* About Image - Artistic Frame */
.about-image { position: relative; }

.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius-lg);
  z-index: -1;
  transition: all 0.5s var(--ease-out-fn);
}

.about-image:hover::before {
  top: 15px;
  left: 15px;
  border-color: rgba(96, 165, 250, 0.35);
}

.about-image img { 
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 85%;
  height: auto;
  transition: all 0.5s var(--ease-spring-fn);
}

.about-image:hover img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(96, 165, 250, 0.15);
}

@media (max-width: 768px) { 
  .about-image img { max-width: 70%; }
  .about-image::before { display: none; }
}

/* Skip link & focus */
.skip-link:focus { top: .5rem; }
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Scroll-top butonu - Floating Action */
.scroll-top { 
  transition: all 0.4s var(--ease-spring-fn);
  background: rgba(8, 8, 16, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(96, 165, 250, 0.15);
}

.scroll-top:hover { 
  transform: translateY(-6px) scale(1.1);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow-intense);
}

.scroll-top:active {
  transform: translateY(-2px) scale(0.95);
}

/* Erişilebilirlik - Azaltılmış hareket tercihi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { 
    animation-duration: 0.01ms !important; 
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  html { scroll-behavior: auto; }
  
  .animate-hero-title, 
  .animate-hero-tagline, 
  .animate-hero-links { 
    opacity: 1; 
    animation: none; 
  }
  
  .reveal { 
    opacity: 1; 
    transform: none; 
  }
}

/* Container Queries - Modern layout desteği */
@supports (container-type: inline-size) {
  .portfolio-grid,
  .blog-grid,
  .equipment-grid {
    container-type: inline-size;
  }
  
  @container (min-width: 600px) {
    .portfolio-item,
    .blog-card,
    .equipment-card {
      --card-padding: var(--space-lg);
    }
  }
}

/* Modern focus-visible desteği */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Yüksek kontrast modu */
@media (prefers-contrast: high) {
  :root {
    --accent: #93c5fd;
    --card: rgba(0, 0, 0, 0.95);
  }
  
  .nav-link::after,
  .section-title h2::after {
    height: 3px;
  }
}

/* Koyu tema tercihi (varsayılan koyu olduğu için light mode desteği) */
@media (prefers-color-scheme: light) {
  /* Kullanıcı açık tema tercih ederse bilgi ver ama değiştirme */
  /* Site intentionally dark temalı */
}

/* Print stilleri */
@media print {
  .navbar,
  .scroll-top,
  .lightbox,
  .hero-links,
  .social-links {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}

/* ============================================
   ADVANCED EFFECTS & ENHANCEMENTS
   ============================================ */

/* Smooth Section Transitions */
section {
  position: relative;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, 0.15) 50%, transparent 100%);
}

section:first-of-type::before {
  display: none;
}

/* Text Selection Styling */
::selection {
  background: rgba(96, 165, 250, 0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(96, 165, 250, 0.3);
  color: #fff;
}

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

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(96, 165, 250, 0.3);
  border-radius: 5px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(96, 165, 250, 0.5);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 165, 250, 0.3) var(--bg);
}

/* Low Performance Mode - Disable heavy effects */
.low-performance-mode .hero-bg::before,
.low-performance-mode .hero-bg::after,
.low-performance-mode .hero::before {
  display: none;
}

.low-performance-mode * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.low-performance-mode .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Image hover tilt effect for portfolio */
.portfolio-item {
  perspective: 1000px;
}

.portfolio-item img {
  transition: transform 0.6s var(--ease-spring-fn);
  transform-style: preserve-3d;
}

/* Glow text utility */
.text-glow {
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.4), 0 0 40px rgba(96, 165, 250, 0.2);
}

/* Gradient text utility */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animate on scroll delay utilities */
[data-delay="1"] { transition-delay: 0.1s !important; }
[data-delay="2"] { transition-delay: 0.2s !important; }
[data-delay="3"] { transition-delay: 0.3s !important; }
[data-delay="4"] { transition-delay: 0.4s !important; }
[data-delay="5"] { transition-delay: 0.5s !important; }

/* Smooth loading state */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Pulse animation for interactive elements */
@keyframes gentlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(96, 165, 250, 0); }
}

.pulse-on-hover:hover {
  animation: gentlePulse 1.5s ease infinite;
}
