:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #60a5fa;
  --success-color: #059669;
  --warning-color: #d97706;
  --info-color: #0891b2;
  --light-color: #f8fafc;
  --dark-color: #0f172a;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  --gradient-accent: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  --shadow-light: 0 2px 10px rgba(30, 58, 138, 0.1);
  --shadow-medium: 0 4px 20px rgba(30, 58, 138, 0.15);
  --shadow-heavy: 0 8px 30px rgba(30, 58, 138, 0.2);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* Optimize edilmiş transitions */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GPU acceleration için */
.hero-section,
.service-card,
.portfolio-item,
.stat-card {
  will-change: transform;
  backface-visibility: hidden;
}

/* Lazy loading için placeholder */
.img-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: #ffffff;
  padding-top: 0; /* Boşluğu tamamen kaldır */
}

/* Navigation - Modern Glassmorphism */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  transition: all 0.3s ease;
  padding: 1rem 0;
  z-index: 1050;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
}

.navbar-brand {
  transition: var(--transition);
}

.navbar-brand:hover {
  transform: scale(1.02);
}

.navbar-nav .nav-link {
  color: var(--primary-color) !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  margin: 0 0.2rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color) !important;
  background: rgba(30, 58, 138, 0.1);
  transform: translateY(-1px);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

/* Hero Section - Modern ve Temiz */
.hero-section {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 76px; /* Navbar yüksekliği */
}

/* Diğer sayfalar için küçük hero section */
.hero-section:not(.hero-large) {
  padding: 3rem 0 2rem;
  min-height: 35vh;
}

/* Hero section içindeki container */
.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    /* Neural Network Layer */
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><pattern id="ai-neural" width="300" height="300" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="3" fill="white" opacity="0.5"/><circle cx="90" cy="50" r="3" fill="white" opacity="0.4"/><circle cx="150" cy="35" r="3" fill="white" opacity="0.5"/><circle cx="210" cy="60" r="3" fill="white" opacity="0.4"/><circle cx="270" cy="45" r="3" fill="white" opacity="0.5"/><circle cx="45" cy="120" r="3" fill="white" opacity="0.4"/><circle cx="120" cy="140" r="3" fill="white" opacity="0.5"/><circle cx="195" cy="125" r="3" fill="white" opacity="0.4"/><circle cx="255" cy="150" r="3" fill="white" opacity="0.5"/><circle cx="75" cy="210" r="3" fill="white" opacity="0.4"/><circle cx="165" cy="230" r="3" fill="white" opacity="0.5"/><circle cx="240" cy="210" r="3" fill="white" opacity="0.4"/><path d="M30,30 L90,50 L150,35 L210,60 L270,45" stroke="white" stroke-width="1" fill="none" opacity="0.2" stroke-dasharray="2,2"/><path d="M45,120 L120,140 L195,125 L255,150" stroke="white" stroke-width="1" fill="none" opacity="0.2" stroke-dasharray="2,2"/><path d="M30,30 L45,120" stroke="white" stroke-width="0.8" fill="none" opacity="0.15"/><path d="M150,35 L120,140" stroke="white" stroke-width="0.8" fill="none" opacity="0.15"/><path d="M210,60 L195,125" stroke="white" stroke-width="0.8" fill="none" opacity="0.15"/><path d="M120,140 L165,230" stroke="white" stroke-width="0.8" fill="none" opacity="0.15"/></pattern></defs><rect width="300" height="300" fill="url(%23ai-neural)"/></svg>'),
    /* Hexagonal Tech Grid */
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="hex-grid" width="80" height="70" patternUnits="userSpaceOnUse"><path d="M40,0 L60,15 L60,40 L40,55 L20,40 L20,15 Z" stroke="white" stroke-width="0.8" fill="none" opacity="0.15"/><path d="M70,30 L90,45 L90,70 L70,85 L50,70 L50,45 Z" stroke="white" stroke-width="0.8" fill="none" opacity="0.15"/><circle cx="40" cy="27.5" r="2" fill="white" opacity="0.25"/><circle cx="70" cy="57.5" r="2" fill="white" opacity="0.25"/></pattern></defs><rect width="200" height="200" fill="url(%23hex-grid)"/></svg>'),
    /* Binary Code Pattern - KIO */
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 180"><defs><pattern id="binary-kio" width="100" height="60" patternUnits="userSpaceOnUse"><text x="5" y="18" font-family="monospace" font-size="11" fill="white" opacity="0.15">K:01001011</text><text x="5" y="35" font-family="monospace" font-size="11" fill="white" opacity="0.12">I:01001001</text><text x="5" y="52" font-family="monospace" font-size="11" fill="white" opacity="0.15">O:01001111</text></pattern></defs><rect width="180" height="180" fill="url(%23binary-kio)"/></svg>'),
    /* Circuit Board */
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 250"><defs><pattern id="circuit-ai" width="250" height="250" patternUnits="userSpaceOnUse"><rect x="15" y="15" width="4" height="30" fill="white" opacity="0.2"/><rect x="35" y="15" width="4" height="30" fill="white" opacity="0.2"/><rect x="55" y="15" width="4" height="30" fill="white" opacity="0.2"/><rect x="15" y="50" width="44" height="4" fill="white" opacity="0.2"/><rect x="70" y="25" width="30" height="4" fill="white" opacity="0.2"/><rect x="70" y="35" width="30" height="4" fill="white" opacity="0.2"/><rect x="105" y="15" width="4" height="30" fill="white" opacity="0.2"/><rect x="125" y="20" width="20" height="4" fill="white" opacity="0.2"/><rect x="125" y="32" width="20" height="4" fill="white" opacity="0.2"/><circle cx="57" cy="52" r="2.5" fill="white" opacity="0.3"/><circle cx="85" cy="30" r="2.5" fill="white" opacity="0.3"/><circle cx="135" cy="28" r="2.5" fill="white" opacity="0.3"/><path d="M57,52 L85,30" stroke="white" stroke-width="1" opacity="0.15"/><path d="M85,30 L135,28" stroke="white" stroke-width="1" opacity="0.15"/></pattern></defs><rect width="250" height="250" fill="url(%23circuit-ai)"/></svg>');
  background-size: 600px 600px, 400px 400px, 360px 360px, 500px 500px;
  background-position: 0 0, 150px 150px, 80px 100px, 200px 200px;
  opacity: 0.35;
  animation: techPulse 35s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes techPulse {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
  20% { 
    transform: translate(-15px, -10px) scale(1.03);
    opacity: 0.4;
  }
  40% { 
    transform: translate(10px, -20px) scale(0.97);
    opacity: 0.3;
  }
  60% { 
    transform: translate(-8px, -5px) scale(1.01);
    opacity: 0.38;
  }
  80% { 
    transform: translate(5px, -15px) scale(0.99);
    opacity: 0.32;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  text-decoration: none;
}

.scroll-indicator i {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.scroll-indicator:hover i {
  color: white;
}

/* Featured Project Cards */
.featured-project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  border: 2px solid transparent;
  position: relative;
}

.featured-project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(59, 74, 154, 0.2);
  border-color: var(--primary-color);
}

.project-image-container {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.project-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: var(--transition);
}

.featured-project-card:hover .project-cover-image {
  transform: scale(1.1);
}

.project-gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  transition: var(--transition);
  z-index: 1;
}

.project-icon {
  transition: var(--transition);
  z-index: 2;
}

.featured-project-card:hover .project-icon {
  transform: scale(1.1) rotate(5deg);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 3;
}

.featured-project-card:hover .project-overlay {
  opacity: 1;
}

.project-info {
  text-align: center;
  color: white;
  padding: 2rem;
}

.project-info h5 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-info p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.project-content {
  padding: 2rem;
}

.project-content h5 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.project-content p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tag {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.project-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(59, 74, 154, 0.3);
}

/* Gradient Variations */
.bg-gradient-warning {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  z-index: 2;
}

.hero-section .lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons - Modern */
.btn {
  border-radius: 25px;
  font-weight: 600;
  padding: 0.875rem 2.5rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(59, 74, 154, 0.3);
  color: white;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-outline-primary {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
}

/* Accent Button */
.btn-accent {
  background: var(--gradient-accent);
  color: white;
  box-shadow: var(--shadow-light);
}

.btn-accent:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(79, 172, 254, 0.3);
  color: white;
}

/* Stats Cards - Modern */
.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid transparent;
  color: var(--primary-color);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(59, 74, 154, 0.08);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 20px 50px rgba(59, 74, 154, 0.2);
  border-color: var(--primary-color);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card h3 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Service Cards - Modern */
.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(59, 74, 154, 0.08);
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Smooth scroll ve animasyonlar */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover efektleri - Modern */
.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(59, 74, 154, 0.15);
  border-color: var(--primary-color);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.1), transparent);
  transition: left 0.6s;
}

.service-card:hover::before {
  left: 100%;
}

/* Service Icon Styling */
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(59, 74, 154, 0.3);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(59, 74, 154, 0.4);
}

/* Portfolio Items - Modern */
.portfolio-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(59, 74, 154, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 2px solid transparent;
  position: relative;
}

.portfolio-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(59, 74, 154, 0.15);
  border-color: var(--primary-color);
}

.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 74, 154, 0.9), rgba(90, 103, 216, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.stat-card:hover {
  transform: scale(1.05);
  transition: var(--transition);
}

.stat-card h3 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Project Cards */
.project-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(59, 74, 154, 0.1);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card .card-body {
  padding: 1.5rem;
}

.project-card h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.project-card .badge {
  background: var(--gradient-primary);
  color: white;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 800;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer - Premium Design */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: #e2e8f0;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer a:hover {
  color: #60a5fa;
  transform: translateX(5px);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul li a {
  color: #cbd5e1;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer ul li a:hover {
  color: #60a5fa;
  padding-left: 5px;
}

.footer ul li a i {
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom a {
  color: #60a5fa;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.footer .logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: all 0.3s ease;
}

.footer .logo-img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Footer right columns alignment */
.footer-right-column {
  text-align: left;
}

.footer-right-column h5 {
  text-align: left;
}

.footer-right-column h5::after {
  left: 0;
  right: auto;
}

.footer-right-column ul {
  text-align: left;
}

.footer-right-column ul li {
  display: flex;
  justify-content: flex-start;
}

.footer-right-column p {
  text-align: left;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-right-column p i {
  margin-right: 0.5rem;
  margin-left: 0;
  order: 0;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* Modern Animasyonlar */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Animasyon Sınıfları */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Contact Form - Modern */
.contact-form {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(59, 74, 154, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.contact-form:hover {
  box-shadow: 0 20px 50px rgba(59, 74, 154, 0.15);
  border-color: var(--primary-color);
}

.contact-form .form-control {
  border-radius: 15px;
  border: 2px solid rgba(59, 74, 154, 0.1);
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(59, 74, 154, 0.15);
  background: white;
  transform: translateY(-2px);
}


/* Admin Panel Modern Styling */
.admin-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  overflow: hidden;
}

.admin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(59, 74, 154, 0.15);
  border-color: var(--primary-color);
}

.admin-card .card-header {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.5rem;
}

.admin-card .card-body {
  padding: 2rem;
}

.admin-stats-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.admin-stats-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 74, 154, 0.3);
}

/* Focus states */
.btn:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Additional Button Styles */
.btn-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.btn-success,
.btn-info,
.btn-dark {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-success:hover,
.btn-info:hover,
.btn-dark:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000;
    --secondary-color: #333;
    --text-primary: #000;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Logo styling - Modern */
.logo-img {
  width: 220px;
  height: 80px;
  background: transparent;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(59, 74, 154, 0.2));
}

/* Text Gradient */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 16px rgba(59, 74, 154, 0.3));
}
 

.navbar-brand {
  padding: 0.5rem 0;
}

.navbar-brand:hover {
  transform: scale(1.05);
  transition: var(--transition);
}

/* Timeline Styles - Premium */
.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(59, 74, 154, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  width: 100%;
}

.timeline-item-left {
  justify-content: flex-end;
  padding-right: calc(50% + 0.5rem);
}

.timeline-item-right {
  justify-content: flex-start;
  padding-left: calc(50% + 0.5rem);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(59, 74, 154, 0.4);
  border: 4px solid white;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.timeline-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0;
  transform: scale(1.5);
  transition: all 0.4s ease;
  z-index: -1;
}

.timeline-item:hover .timeline-icon {
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 12px 35px rgba(59, 74, 154, 0.5);
}

.timeline-item:hover .timeline-icon::before {
  opacity: 0.3;
  transform: scale(2);
}

.timeline-content {
  width: calc(50% - 1rem);
  max-width: 700px;
  min-width: 500px;
}

.timeline-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 25px rgba(59, 74, 154, 0.1);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.timeline-item:hover .timeline-card {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(59, 74, 154, 0.2);
  border-color: var(--primary-color);
}

.timeline-item:hover .timeline-card::before {
  transform: scaleX(1);
}

.timeline-year {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(59, 74, 154, 0.1);
  border-radius: 20px;
}

.timeline-card h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1.4;
  word-break: break-word;
}

.timeline-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
  word-break: break-word;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-container::before {
    left: 2rem;
  }

  .timeline-item {
    padding-left: 4rem !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
  }

  .timeline-marker {
    left: 2rem;
  }

  .timeline-content {
    width: 100%;
    max-width: 100%;
  }

  .timeline-item-left,
  .timeline-item-right {
    padding-left: 4rem;
    padding-right: 0;
  }
}

/* Enhanced Animations */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.timeline-item {
  animation: fadeInScale 0.6s ease-out;
  animation-fill-mode: both;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

/* Premium Portfolio Cards */
.portfolio-card-modern {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(59, 74, 154, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  position: relative;
}

.portfolio-card-modern:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(59, 74, 154, 0.2);
  border-color: var(--primary-color);
}

.portfolio-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-card-modern:hover .portfolio-image {
  transform: scale(1.15);
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.portfolio-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(59, 74, 154, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.portfolio-card-modern:hover .portfolio-overlay-modern {
  opacity: 1;
}

.portfolio-overlay-content {
  text-align: center;
  color: white;
  padding: 2rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.portfolio-card-modern:hover .portfolio-overlay-content {
  transform: translateY(0);
}

.portfolio-overlay-content h5 {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
}

.badge-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(59, 74, 154, 0.4);
  border: 3px solid white;
}

.portfolio-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.portfolio-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
  font-size: 0.95rem;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(59, 74, 154, 0.1);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 74, 154, 0.1));
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(30, 58, 138, 0.2);
  transition: all 0.3s ease;
}

.tag-badge:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 74, 154, 0.3);
}

.portfolio-date {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.85rem;
}

.portfolio-tech {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(59, 74, 154, 0.1);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: rgba(108, 117, 125, 0.1);
  color: var(--text-secondary);
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(108, 117, 125, 0.2);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(108, 117, 125, 0.2);
  transform: translateY(-2px);
}

/* Responsive Portfolio */
@media (max-width: 768px) {
  .portfolio-image-wrapper {
    height: 220px;
  }
  
  .portfolio-card-body {
    padding: 1.5rem;
  }
  
  .portfolio-title {
    font-size: 1.2rem;
  }
  
  .badge-number {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

/* ============================================
   KAPSAMLI RESPONSIVE OPTİMİZASYONLAR
   ============================================ */

/* Mobile First - Küçük Ekranlar (max-width: 576px) */
@media (max-width: 576px) {
  /* Navbar */
  .navbar {
    padding: 0.75rem 0 !important;
  }
  
  .logo-img {
    width: 140px !important;
    height: auto !important;
    max-height: 50px;
  }
  
  .navbar-toggler {
    padding: 0.375rem 0.5rem;
    font-size: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .nav-link {
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
    margin: 0.25rem 0;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Hero Section */
  .hero-section {
    padding: 2rem 0 1.5rem !important;
    min-height: 45vh !important;
    margin-top: 60px;
  }
  
  .hero-section.hero-large {
    min-height: 60vh !important;
    padding: 3rem 0 2rem !important;
  }
  
  .hero-section h1 {
    font-size: 1.75rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .hero-section .lead {
    font-size: 1rem !important;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
  
  .hero-section .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  /* Sections */
  .section {
    padding: 2rem 0 !important;
  }
  
  .section-title h2 {
    font-size: 1.75rem !important;
    margin-bottom: 0.75rem;
  }
  
  .section-title p {
    font-size: 1rem !important;
    padding: 0 1rem;
  }
  
  /* Cards */
  .service-card,
  .portfolio-item,
  .featured-project-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem 1rem !important;
  }
  
  .service-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
  }
  
  /* Timeline */
  .timeline-container::before {
    left: 1.5rem !important;
  }
  
  .timeline-marker {
    left: 1.5rem !important;
  }
  
  .timeline-content {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 3.5rem !important;
    padding-right: 0 !important;
  }
  
  .timeline-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
  }
  
  .timeline-item-left,
  .timeline-item-right {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .timeline-card {
    padding: 1.5rem 1.25rem !important;
  }
  
  .timeline-card h4 {
    font-size: 1.25rem !important;
  }
  
  .timeline-card p {
    font-size: 0.95rem !important;
    line-height: 1.6;
  }
  
  /* Buttons */
  .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    min-height: 44px; /* Touch-friendly */
  }
  
  .btn-lg {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    min-height: 48px;
  }
  
  /* Footer - Mobil Optimizasyonu */
  .footer {
    padding: 3rem 0 1.5rem !important;
  }
  
  .footer h5 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    margin-top: 2rem;
  }
  
  .footer h5:first-child {
    margin-top: 0;
  }
  
  .footer .col-lg-4,
  .footer .col-lg-3,
  .footer .col-lg-2 {
    margin-bottom: 2.5rem;
  }
  
  .footer .col-lg-4 {
    text-align: center;
  }
  
  .footer-right-column {
    text-align: center !important;
  }
  
  .footer-right-column h5 {
    text-align: center !important;
  }
  
  .footer-right-column h5::after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }
  
  .footer-right-column ul {
    text-align: center !important;
  }
  
  .footer-right-column ul li {
    justify-content: center !important;
  }
  
  .footer-right-column p {
    text-align: center !important;
    justify-content: center !important;
  }
  
  .footer-right-column p i {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
    order: 0 !important;
  }
  
  .footer p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
  }
  
  .footer ul {
    text-align: center;
  }
  
  .footer ul li {
    margin-bottom: 0.75rem;
  }
  
  .social-links {
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.75rem;
  }
  
  .social-links a {
    width: 44px;
    height: 44px;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    margin-top: 2rem;
  }
  
  .footer-bottom p {
    line-height: 1.8;
    padding: 0 1rem;
  }
  
  /* Forms */
  .contact-form {
    padding: 1.5rem !important;
  }
  
  .form-control,
  .form-select {
    font-size: 1rem !important;
    padding: 0.875rem 1rem !important;
    min-height: 44px; /* Touch-friendly */
  }
  
  /* Typography */
  h1 { font-size: 1.75rem !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.25rem !important; }
  h4 { font-size: 1.1rem !important; }
  h5 { font-size: 1rem !important; }
  
  /* Project Cards */
  .featured-project-card {
    margin-bottom: 1.5rem;
  }
  
  .project-image-container {
    height: 200px !important;
  }
  
  .project-content {
    padding: 1.5rem !important;
  }
  
  /* About Section */
  .about-section .col-lg-6,
  .about-content .col-lg-6 {
    margin-bottom: 2rem;
  }
  
  /* Why Choose Cards */
  .service-card h4 {
    font-size: 1.1rem !important;
  }
  
  .service-card p {
    font-size: 0.9rem !important;
  }
  
  /* Buton grupları mobilde alt alta - İyileştirilmiş spacing */
  .d-flex.gap-3,
  .mt-4 {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  
  .d-flex.gap-3 .btn,
  .mt-4 .btn {
    width: 100%;
    margin: 0.5rem 0 !important;
    min-height: 48px;
  }
  
  .hero-section .mt-4 {
    display: flex;
    flex-direction: column;
    gap: 1rem !important;
  }
  
  .hero-section .btn {
    width: 100%;
    margin: 0 !important;
    min-height: 48px;
  }
  
  /* Buton grupları için daha iyi spacing */
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-group .btn {
    width: 100%;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius) !important;
  }
  
  .btn-group .btn:last-child {
    margin-bottom: 0;
  }
  
  /* Portfolio detail butonları */
  .d-flex.gap-3.mb-5 {
    flex-direction: column;
    gap: 1rem !important;
  }
  
  .d-flex.gap-3.mb-5 .btn {
    width: 100%;
    margin: 0 !important;
  }
  
  /* Portfolio overlay butonları mobilde */
  .portfolio-overlay-buttons {
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100%;
  }
  
  .portfolio-overlay-buttons .btn {
    width: 100%;
    margin: 0 !important;
  }
  
  /* Takım bilgisi kartı */
  .bg-light.rounded-4 {
    padding: 1.25rem !important;
  }
  
  /* Mission/Vision/Values iconları */
  .flex-shrink-0[style*="width: 40px"] {
    width: 35px !important;
    height: 35px !important;
  }
}

/* Tablet - Orta Ekranlar (576px - 768px) */
@media (min-width: 577px) and (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 0 2rem !important;
    min-height: 50vh !important;
  }
  
  .hero-section.hero-large {
    min-height: 65vh !important;
    padding: 4rem 0 3rem !important;
  }
  
  .hero-section h1 {
    font-size: 2.25rem !important;
  }
  
  .hero-section .lead {
    font-size: 1.15rem !important;
  }
  
  .section-title h2 {
    font-size: 2rem !important;
  }
  
  .timeline-content {
    min-width: 100% !important;
    max-width: 100% !important;
  }
  
  .logo-img {
    width: 180px !important;
  }
  
  .service-card,
  .portfolio-item {
    margin-bottom: 2rem;
  }
}

/* Tablet Landscape / Küçük Desktop (768px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  .hero-section:not(.hero-large) {
    min-height: 40vh !important;
    padding: 3rem 0 2rem !important;
  }
  
  .hero-section.hero-large {
    min-height: 65vh !important;
  }
  
  .timeline-content {
    min-width: 100% !important;
    max-width: 100% !important;
    width: calc(100% - 2rem) !important;
  }
  
  .timeline-item-left,
  .timeline-item-right {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Desktop Optimizations (992px+) */
@media (min-width: 993px) {
  .hero-section:not(.hero-large) {
    min-height: 35vh;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .hero-section:not(.hero-large) {
    min-height: 38vh;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .nav-link,
  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .service-card:hover,
  .portfolio-item:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
}

/* Landscape Orientation - Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    min-height: 50vh !important;
    padding: 2rem 0 !important;
  }
  
  .hero-section.hero-large {
    min-height: 70vh !important;
  }
}

/* Tablet - Orta Ekranlar (576px - 768px) - Ek İyileştirmeler */
@media (min-width: 577px) and (max-width: 768px) {
  .d-flex.gap-3 {
    flex-direction: row !important;
  }
  
  .d-flex.gap-3 .btn {
    flex: 1;
  }
  
  .timeline-content {
    min-width: 100% !important;
  }
}

/* Tablet Landscape / Küçük Desktop (768px - 992px) - Ek İyileştirmeler */
@media (min-width: 769px) and (max-width: 992px) {
  .logo-img {
    width: 200px !important;
  }
  
  .timeline-content {
    min-width: 100% !important;
  }
}

/* Genel Mobil İyileştirmeler (max-width: 768px) */
@media (max-width: 768px) {
  /* Container padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Section spacing */
  .section {
    padding: 2.5rem 0 !important;
  }
  
  /* Cards spacing */
  .service-card,
  .portfolio-item,
  .featured-project-card {
    margin-bottom: 1.5rem;
  }
  
  /* Typography adjustments */
  .lead {
    font-size: 1.05rem !important;
  }
  
  /* Image responsiveness */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Tables */
  table {
    font-size: 0.9rem;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  /* Footer improvements */
  .footer .row {
    text-align: center;
  }
  
  .footer h5 {
    margin-top: 2rem;
  }
  
  .footer h5:first-child {
    margin-top: 0;
  }
  
  .social-links {
    justify-content: center;
  }
  
  /* Form improvements */
  .form-label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  
  textarea.form-control {
    min-height: 120px;
  }
  
  /* CTA sections */
  .bg-gradient-primary,
  .bg-gradient-secondary {
    padding: 2.5rem 1rem !important;
  }
  
  /* Project cards */
  .project-image-container {
    height: 220px !important;
  }
  
  /* Logo in footer */
  .footer .logo-img {
    width: 140px !important;
    margin: 0 auto 1.5rem;
    display: block;
  }
  
  /* Portfolio Slider - Mobil */
  #portfolioCarousel {
    margin-bottom: 2rem;
  }
  
  #portfolioCarousel .carousel-inner img {
    height: 300px !important;
    object-fit: cover;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
  }
  
  .carousel-control-prev {
    left: 10px;
  }
  
  .carousel-control-next {
    right: 10px;
  }
  
  .carousel-indicators {
    margin-bottom: 1rem;
  }
  
  .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
  
  /* FAQ Accordion - Mobil */
  .accordion-item {
    margin-bottom: 1rem !important;
  }
  
  .accordion-button {
    font-size: 1rem;
    padding: 1rem 1.25rem;
    min-height: 56px;
  }
  
  .accordion-body {
    padding: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .accordion-button:not(.collapsed) {
    background-color: rgba(59, 130, 246, 0.1);
  }
  
  /* Form improvements - Mobil */
  .form-label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  textarea.form-control {
    min-height: 120px;
  }
  
  /* Card spacing - Mobil */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  /* Section padding - Mobil */
  .section {
    padding: 2.5rem 0 !important;
  }
  
  /* Image responsiveness */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Admin panel - Çoklu resim yükleme mobil */
  #existingImages .image-item {
    margin-bottom: 1rem;
  }
  
  .delete-image-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-section::after {
    display: none !important;
  }
  
  .hero-section {
    background: white !important;
    color: black !important;
    min-height: auto !important;
    padding: 1rem 0 !important;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  .whatsapp-float {
    display: none !important;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #fff;
  text-decoration: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #25d366;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: #25d366;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
}

/* Mobile WhatsApp Button */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 15px;
    right: 15px;
    font-size: 28px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}