/* Modern IT Consulting Website Styles */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #06b6d4;
  --dark-color: #0f172a;
  --light-color: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Exo 2', 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

/* Modern Navbar */
.navbar {
  background: transparent !important;
  backdrop-filter: blur(0px);
  padding: 15px 0 !important;
  min-height: 80px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98) !important;
  backdrop-filter: blur(10px);
  padding: 10px 0 !important;
  min-height: 75px !important;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  height: 100%;
}

.navbar-brand img,
.navbar-logo-img {
  width: 160px !important;
  height: 62px !important;
  display: block !important;
  object-fit: none !important;
  object-position: left top !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: filter 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  flex-shrink: 0;
  max-width: 160px !important;
  max-height: 62px !important;
  min-width: 160px !important;
  min-height: 62px !important;
}

.navbar.scrolled .navbar-brand img,
.navbar.scrolled .navbar-logo-img {
  filter: none;
}

/* ============================================
   MOBİL LOGO OPTİMİZASYONU - NET GÖRÜNÜM İÇİN
   ============================================ */

/* Tablet ve orta boy mobil cihazlar (max-width: 991px) */
@media (max-width: 991px) {
  .navbar {
    min-height: 80px !important;
    align-items: center !important;
    padding: 12px 0 !important;
  }
  
  .navbar.scrolled {
    min-height: 75px !important;
    padding: 10px 0 !important;
  }
  
  .navbar .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    margin-right: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 100% !important;
    flex-shrink: 0 !important;
  }
  
  /* Mobil için web logosunu optimize edilmiş küçültülmüş halde göster - NET GÖRÜNÜM */
  .navbar-brand img,
  .navbar-logo-img {
    width: 140px !important;
    height: 54px !important;
    max-width: 140px !important;
    max-height: 54px !important;
    min-width: 140px !important;
    min-height: 54px !important;
    /* NET GÖRÜNÜM İÇİN - object-fit: contain kullanarak kaliteyi koru */
    object-fit: contain !important;
    object-position: left center !important;
    filter: none !important;
    /* Retina ve yüksek DPI ekranlar için keskin görüntü - NETLİK İÇİN */
    image-rendering: auto !important;
    -webkit-image-rendering: auto !important;
    image-rendering: -webkit-optimize-contrast !important;
    -webkit-font-smoothing: subpixel-antialiased !important;
    -moz-osx-font-smoothing: auto !important;
    /* GPU hızlandırma - bulanıklığı önlemek için */
    transform: translateZ(0) scale(1) !important;
    -webkit-transform: translateZ(0) scale(1) !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    will-change: auto !important;
    mix-blend-mode: normal !important;
    /* Anti-aliasing açık - daha net görünüm için */
    -ms-interpolation-mode: bicubic !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    /* Retina display için özel ayar */
    -webkit-backface-visibility: visible !important;
  }
}

/* Küçük mobil cihazlar (max-width: 576px) */
@media (max-width: 576px) {
  .navbar {
    min-height: 75px !important;
    padding: 10px 0 !important;
  }
  
  .navbar.scrolled {
    min-height: 70px !important;
    padding: 8px 0 !important;
  }
  
  .navbar .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  .navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    margin-right: auto !important;
  }
  
  /* Küçük mobil için daha da küçültülmüş logo - NET GÖRÜNÜM */
  .navbar-brand img,
  .navbar-logo-img {
    width: 130px !important;
    height: 50px !important;
    max-width: 130px !important;
    max-height: 50px !important;
    min-width: 130px !important;
    min-height: 50px !important;
    /* NET GÖRÜNÜM İÇİN */
    object-fit: contain !important;
    image-rendering: auto !important;
    -webkit-image-rendering: auto !important;
    transform: translateZ(0) scale(1) !important;
    -webkit-transform: translateZ(0) scale(1) !important;
    -ms-interpolation-mode: bicubic !important;
  }
}

/* Çok küçük mobil cihazlar (max-width: 375px) */
@media (max-width: 375px) {
  .navbar-brand img,
  .navbar-logo-img {
    width: 120px !important;
    height: 46px !important;
    max-width: 120px !important;
    max-height: 46px !important;
    min-width: 120px !important;
    min-height: 46px !important;
    object-fit: contain !important;
    image-rendering: auto !important;
  }
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: -0.5px;
}

/* Modern Minimal Brand Container */
.brand-container {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 6px 12px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
}

.brand-container .brand-logo {
  align-self: center;
  display: flex;
  align-items: center;
}

/* Netflix Tarzı Intro Animasyonu */
.brand-container.intro-animation .brand-logo {
  animation: logoIntro 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.brand-container.intro-animation .brand-name {
  opacity: 0;
  animation: textFadeIn 0.8s ease-out 1.2s forwards;
}

@keyframes logoIntro {
  0% {
    transform: translateY(-100px) scale(1.5);
    opacity: 0;
  }
  40% {
    transform: translateY(0) scale(1.2);
    opacity: 1;
  }
  60% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animasyon sonrası normal durum */
.brand-container.intro-complete .brand-logo {
  animation: none;
}

.brand-container.intro-complete .brand-name {
  opacity: 1;
  animation: none;
}

.brand-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.brand-container:hover {
  background: rgba(59, 130, 246, 0.05);
}

.brand-container:hover::after {
  transform: scaleX(1);
}

.brand-logo {
  height: 60px;
  width: auto;
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: brightness(1.05);
}

.brand-container:hover .brand-logo {
  transform: scale(1.05);
}

.brand-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: -0.3px;
  transition: all 0.3s ease;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: flex;
  align-items: center;
  align-self: center;
  margin-top: 2px;
}

.brand-container:hover .brand-name {
  background: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .brand-container {
    gap: 10px;
    padding: 4px 8px;
  }
  
  .brand-logo {
    height: 50px;
    max-height: 50px;
  }
  
  .brand-name {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .brand-container {
    gap: 8px;
    padding: 4px 6px;
  }
  
  .brand-logo {
    height: 45px;
    max-height: 45px;
  }
  
  .brand-name {
    font-size: 1.15rem;
  }
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 1) !important;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-link {
  text-shadow: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

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

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

/* Main Content Padding - Navbar için */
main {
  padding-top: 0;
}

/* Admin Pages Padding */
/* Admin Panel Styles */
.admin-page {
  margin-top: 100px;
  padding-top: 20px;
}

.admin-page .card {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.admin-page .card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  border-radius: 12px 12px 0 0 !important;
  padding: 1rem 1.5rem;
  font-weight: 600;
}

.admin-page .table {
  margin-bottom: 0;
}

.admin-page .table thead th {
  background-color: #f8f9fa;
  font-weight: 600;
  border-bottom: 2px solid var(--secondary-color);
  color: var(--text-dark);
  padding: 1rem;
}

.admin-page .table tbody td {
  padding: 1rem;
  vertical-align: middle;
}

.admin-page .table-hover tbody tr:hover {
  background-color: #f8f9fa;
  transition: background-color 0.2s ease;
}

.admin-page .badge {
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  font-size: 0.85rem;
}

.admin-page code {
  background-color: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.admin-page .btn-group-sm .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.admin-page .summary-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-page .summary-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Hero Section with Video Background */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.85) 100%);
  margin-top: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  object-fit: cover;
  -webkit-transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 1;
  transition: opacity 0.5s ease-in;
}

/* Mobil için video optimizasyonu */
@media (max-width: 768px) {
  .hero-video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    /* Mobilde video kontrollerini gizle */
    -webkit-appearance: none;
    appearance: none;
    /* Video kalitesi optimizasyonu */
    image-rendering: auto;
    -webkit-image-rendering: auto;
    /* Play butonunu gizle */
    pointer-events: none;
    /* Video'nun arka planda kalmasını sağla */
    position: absolute;
    z-index: 0;
  }
  
  /* Video kontrollerini tamamen gizle */
  .hero-video::-webkit-media-controls {
    display: none !important;
  }
  
  .hero-video::-webkit-media-controls-enclosure {
    display: none !important;
  }
  
  .hero-video::-webkit-media-controls-panel {
    display: none !important;
  }
  
  .hero-video::-webkit-media-controls-play-button {
    display: none !important;
  }
  
  .hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 100px 0 60px;
  }
}

/* Floating Data Particles */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 6px #3b82f6;
  animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 15s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(4) { left: 40%; animation-delay: 0.5s; animation-duration: 14s; }
.particle:nth-child(5) { left: 50%; animation-delay: 1.5s; animation-duration: 16s; }
.particle:nth-child(6) { left: 60%; animation-delay: 2.5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.8s; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.8s; animation-duration: 15s; }
.particle:nth-child(9) { left: 15%; animation-delay: 3s; animation-duration: 14s; }
.particle:nth-child(10) { left: 25%; animation-delay: 3.5s; animation-duration: 16s; }
.particle:nth-child(11) { left: 35%; animation-delay: 4s; animation-duration: 12s; }
.particle:nth-child(12) { left: 45%; animation-delay: 4.5s; animation-duration: 18s; }
.particle:nth-child(13) { left: 55%; animation-delay: 5s; animation-duration: 15s; }
.particle:nth-child(14) { left: 65%; animation-delay: 5.5s; animation-duration: 13s; }
.particle:nth-child(15) { left: 75%; animation-delay: 6s; animation-duration: 17s; }

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0;
  }
}

/* Network Connection Lines */
.network-lines {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.network-line {
  stroke: url(#lineGradient);
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s ease-in-out infinite;
}

.network-line:nth-child(2) { animation-delay: 0.5s; }
.network-line:nth-child(3) { animation-delay: 1s; }
.network-line:nth-child(4) { animation-delay: 1.5s; }
.network-line:nth-child(5) { animation-delay: 2s; }

@keyframes drawLine {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.5;
  }
}

/* Network Connection Nodes */
.network-nodes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 10px #3b82f6, 0 0 20px #3b82f6;
  animation: pulse 2s infinite;
}

.node-1 { top: 20%; left: 10%; animation-delay: 0s; }
.node-2 { top: 40%; left: 30%; animation-delay: 0.3s; }
.node-3 { top: 25%; left: 50%; animation-delay: 0.6s; }
.node-4 { top: 45%; left: 70%; animation-delay: 0.9s; }
.node-5 { top: 35%; left: 80%; animation-delay: 1.2s; }
.node-6 { top: 50%; left: 90%; animation-delay: 1.5s; }

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }
}

/* Typing Animation */
.typing-text {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typing-cursor {
  animation: blinkCursor 1s infinite;
  color: var(--accent-color);
  margin-left: 5px;
}

@keyframes blinkCursor {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.fade-in-delay {
  animation: fadeInUp 1s ease 1.5s both;
}

.fade-in-delay-2 {
  animation: fadeInUp 1s ease 2s both;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.70) 0%, rgba(30, 58, 138, 0.65) 100%);
  z-index: 1;
}

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

.hero-buttons {
  margin-top: 2rem;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
  animation: fadeInUp 1s ease;
}

.hero-section .lead {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
  opacity: 0.95;
  animation: fadeInUp 1.2s ease;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-hero {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin: 0.5rem;
  animation: fadeInUp 1.4s ease;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  border: none;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #0891b2, var(--accent-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
  color: var(--white);
}

.btn-hero-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-hero-outline:hover {
  background: var(--white);
  color: var(--dark-color);
  transform: translateY(-2px);
}

/* Section Styles */
.section {
  padding: 100px 0 80px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* Service Cards with Images */
.service-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

.service-card-body {
  padding: 2rem;
}

.service-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Service Detail Cards */
.service-detail-card {
  border: none;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border-left: 5px solid var(--secondary-color);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateX(5px);
}

.service-detail-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.service-detail-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.service-detail-card h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark-color);
  margin: 0;
  letter-spacing: -0.5px;
}

.service-detail-card .lead {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Feature Boxes */
.feature-box {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.feature-box:hover {
  background: var(--light-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.feature-box h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--text-light);
  line-height: 1.7;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: var(--light-color);
}

.about-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.form-control {
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  padding: 0.875rem 1.25rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border: none;
  border-radius: 12px;
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%),
              url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  z-index: 1;
}

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

/* Testimonials Section */
.testimonials-section {
  padding: 40px 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%),
              url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80') center/cover no-repeat;
  background-blend-mode: overlay;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  z-index: 0;
  pointer-events: none;
}

.testimonials-section::after {
  display: none;
}

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

.testimonials-section .container {
  position: relative;
  z-index: 2;
}

.testimonials-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.testimonials-carousel {
  display: flex;
  gap: 2rem;
  width: fit-content;
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.testimonial-card-wrapper {
  flex-shrink: 0;
  width: 380px;
}

.testimonial-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-radius: 20px;
  padding: 1.5rem;
  height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

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

.testimonial-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.12) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  border-color: rgba(255, 255, 255, 0.25);
}

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

.testimonial-quote-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.testimonial-header {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-rating {
  font-size: 1.2rem;
  color: #ffd700;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.testimonial-body {
  flex: 1;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.testimonial-body::-webkit-scrollbar {
  width: 4px;
}

.testimonial-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.testimonial-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.testimonial-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-logo {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  min-width: 55px;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 6px;
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-logo {
  transform: scale(1.05);
}

.firma-logo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.testimonial-author-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.testimonial-author strong {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.testimonial-company {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1200px) {
  .testimonial-card-wrapper {
    width: 350px;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 30px 0;
  }
  
  .testimonial-card-wrapper {
    width: 320px;
  }
  
  .testimonials-carousel {
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.25rem;
    height: 320px; /* Mobil için sabit yükseklik - tüm kartlar eşit olacak */
    min-height: 320px;
    display: flex;
    flex-direction: column;
  }
  
  /* Mobil için testimonial-body'yi flex ile genişlet ve scroll ekle */
  .testimonial-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0; /* Flexbox için önemli */
  }
  
  .testimonial-quote-icon {
    font-size: 2.5rem;
    top: 1rem;
    right: 1rem;
  }
  
  .testimonials-carousel {
    animation-duration: 80s;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 60px 0 30px;
}

footer .footer-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--white);
  letter-spacing: 0.5px;
}

footer .footer-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 0.95rem;
}

footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .footer-links li {
  margin-bottom: 0.75rem;
}

footer .footer-links li:last-child {
  margin-bottom: 0;
}

footer .footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

footer .footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

footer .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .footer-contact li {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

footer .footer-contact li:last-child {
  margin-bottom: 0;
}

footer .footer-contact i {
  color: var(--accent-color);
  width: 20px;
  text-align: center;
}

footer .footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .footer-contact a:hover {
  color: var(--accent-color);
}

footer .footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0 1.5rem;
  opacity: 0.3;
}

footer .footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease;
}

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

/* Mobil Menü Arka Plan Düzeltmesi */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-top: 1rem;
    padding: 1.5rem 1rem !important;
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-collapse.show {
    background: rgba(15, 23, 42, 0.98) !important;
  }
  
  .navbar-nav {
    background: transparent !important;
  }
  
  .nav-link {
    color: rgba(255, 255, 255, 1) !important;
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0 !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-shadow: none !important;
  }
  
  .nav-link:hover,
  .nav-link.active {
    background: rgba(59, 130, 246, 0.2) !important;
    color: var(--accent-color) !important;
  }
  
  .nav-link::after {
    display: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    padding: 100px 0 60px;
  }
  
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .service-detail-header {
    flex-direction: column;
    text-align: center;
  }
  
  .service-detail-image {
    width: 100px;
    height: 100px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  text-align: center;
  font-size: 36px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  animation: pulse 2s infinite;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.15) translateY(-2px);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
  }
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-custom {
  box-shadow: var(--shadow-lg);
}

.bg-light-custom {
  background-color: var(--light-color);
}
