/* Bosphorus Premium Theme — Blue/White — style.css */
:root {
  /* Bu değişkenler artık includes/dynamic-styles.php dosyasından geliyor */
  /* --primary-color: #2563eb; */
  /* --secondary-color: #475569; */
  /* --background-color: #f0f4f8; */
  /* --font-family: 'Inter', sans-serif; */

  --white: #ffffff;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  
  /* Enhanced Glass System */
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.18);
  --glass-border-hover: rgba(255,255,255,0.28);
  --glass-strong: rgba(255,255,255,0.12);
  --glass-medium: rgba(255,255,255,0.10);
  --glass-ultra: rgba(255,255,255,0.15);

  /* Enhanced Shadow System */
  --shadow-lg: 0 12px 40px rgba(2,6,23,0.25);
  --shadow-md: 0 6px 20px rgba(2,6,23,0.18);
  --shadow-dropdown: 0 20px 60px rgba(2,6,23,0.35), 0 8px 25px rgba(2,6,23,0.15);
  --shadow-dropdown-hover: 0 30px 80px rgba(2,6,23,0.45), 0 12px 35px rgba(2,6,23,0.25);
  --shadow-item: 0 8px 25px rgba(2,6,23,0.15);
  --shadow-item-hover: 0 12px 35px rgba(2,6,23,0.25), 0 4px 15px rgba(37,99,235,0.1);

  /* Dropdown System Variables */
  --dropdown-spacing: 12px;
  --dropdown-border-radius: 20px;
  --dropdown-item-radius: 14px;
  --dropdown-backdrop-blur: 16px;
  --dropdown-animation-duration: 0.4s;

  /* Enhanced Easing Functions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-sharp: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --radius: 16px;
  --radius-sm: 12px;
  --container: 1200px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--secondary-color);
  background-color: var(--background-color);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden; /* Yatay kaydırmayı engelle */
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(37,99,235,0.18); color: #0b1a4a; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

/* Enhanced mobile container optimization */
@media (max-width: 640px) {
  .container {
    width: calc(100% - 1.5rem);
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1rem);
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 0.75rem);
  }
}

/* Video Background */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.video-bg .video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05) brightness(0.9);
  pointer-events: none;
}
.video-bg .video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,6,23,0.25) 0%, rgba(2,6,23,0.45) 60%, rgba(2,6,23,0.6) 100%),
    radial-gradient(60% 50% at 20% 10%, rgba(37,99,235,0.35) 0%, transparent 60%),
    radial-gradient(50% 40% at 85% 15%, rgba(14,165,233,0.3) 0%, transparent 60%);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* ==========================================
   MODERN NAVBAR SYSTEM - MOBILE FIRST
   Ultra-modern, kurumsal görünüm, full responsive
   ========================================== */

/* Modern Header Container */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(20px) saturate(1.8) brightness(1.05);
  -webkit-backdrop-filter: blur(20px) saturate(1.8) brightness(1.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: background, backdrop-filter;
}

.modern-header.scrolled {
  background: rgba(0, 0, 0, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modern-navbar {
  position: relative;
  width: 100%;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

/* ==========================================
   BRAND SECTION - MODERN & CLEAN
   ========================================== */
.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 100%; REMOVED for balanced layout */
    z-index: 10001;
  }

.brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    /* width: 100%; REMOVED */
  }

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    /* margin-left: auto; REMOVED */
    /* margin-right: auto; REMOVED */
    display: block;
  }

.brand-logo-light {
  display: none;
}

.modern-navbar.nav-transparent:not(.scrolled) .brand-logo-dark {
  display: none;
}

.modern-navbar.nav-transparent:not(.scrolled) .brand-logo-light {
  display: inline-block;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Data shrink functionality */
.modern-navbar[data-shrink="true"].scrolled .brand-logo {
  height: 32px;
}

.modern-navbar[data-shrink="true"].scrolled .navbar-container {
  padding: 8px 20px;
}

/* ==========================================
   DESKTOP NAVIGATION - PREMIUM DESIGN
   ========================================== */
.desktop-nav {
  display: none; /* Hidden by default, shown in media query */
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.navbar-brand {
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-items li {
  position: relative;
}

.nav-items a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.025em;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-items a::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 ease;
}

.nav-items a:hover::before {
  left: 100%;
}

.nav-items a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nav-items a.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.nav-items a.active:hover {
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

/* ==========================================
   CTA BUTTON - CORPORATE STYLE
   ========================================== */
.navbar-cta {
  display: flex;
  align-items: center;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
  background: color-mix(in srgb, var(--primary-color) 90%, white 10%);
}

.cta-btn.hide-desktop {
  display: none;
}

/* ==========================================
   MOBILE MENU TOGGLE - ULTRA MODERN
   ========================================== */
.mobile-header {
    display: none; /* Hidden by default, shown in media query */
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10001;
  /* position: absolute; REMOVED */
  min-height: 48px; /* Touch-friendly */
  min-width: 48px;
}

/* Enhanced Mobile Menu Toggle for smaller screens */
@media (max-width: 640px) {
  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    min-width: 44px;
  }
}

@media (max-width: 480px) {
  .mobile-menu-toggle {
    width: 46px;
    height: 46px;
    min-height: 46px;
    min-width: 46px;
  }
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.mobile-menu-toggle.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.toggle-line {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.toggle-line:nth-child(2) {
  margin: 4px 0;
}

.mobile-menu-toggle.active .toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active .toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================
   MOBILE NAVIGATION - MODERN FULL SCREEN
   Ultra-modern, minimalist, tam ekran tasarım
   ========================================== */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animasyonu yavaşlat */
}

.mobile-nav.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Modern Glass Overlay - Enhanced */
.mobile-nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.95) 100%),
    radial-gradient(circle at 30% 20%, rgba(37,99,235,0.15) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(14,165,233,0.1) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 40%);
  backdrop-filter: blur(32px) saturate(2) brightness(0.8) contrast(1.1);
  -webkit-backdrop-filter: blur(32px) saturate(2) brightness(0.8) contrast(1.1);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-nav.active .mobile-nav-overlay {
  opacity: 1;
}

/* Tam Ekran Modern Content */
.mobile-nav-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 20px 60px; /* Increased top padding */
  transform: scale(0.95) translateY(40px) perspective(1000px) rotateX(-15deg); /* 3D başlangıç efekti */
  transform-origin: top center;
  opacity: 0;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animasyonu daha da yavaşlat */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  will-change: transform, opacity;
}

.mobile-nav.active .mobile-nav-content {
  transform: scale(1) translateY(0) perspective(1000px) rotateX(0deg);
  opacity: 1;
}

/* Modern Header */
.mobile-nav-header {
  display: flex;
  justify-content: center; /* Logoyu ortala */
  align-items: center;
  width: 100%;
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10001;
  position: relative; /* Kapatma butonu için */
  display: flex;
  align-items: center;
}

.mobile-brand {
  flex-grow: 1;
  text-align: center;
  display: flex; /* Logoyu görünür yap */
  justify-content: center;
  width: 100%; /* Genişliği tam yap */
  /* flex-grow kaldırıldı, ortalama artık header'dan yönetiliyor */
}

.mobile-nav-premium-logo {
    height: 75px; /* Yüksekliği otomatik yap */
    width: 315px; /* Genişliği ayarla, bu değeri değiştirerek boyutu kontrol edebilirsiniz */
    max-width: 500px; /* Maksimum genişlik belirle */
    display: inline-block;
}

.header-placeholder {
 display: none; /* Artık gerekli değil */
}

.mobile-nav-close {
    position: absolute;
    right: 5px;
    top: 15px; /* Align with the logo center */
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.2rem;
    backdrop-filter: blur(12px) saturate(1.5);
    -webkit-backdrop-filter: blur(12px) saturate(1.5);
    box-shadow:
        0 4px 15px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    overflow: hidden;
}

.mobile-nav-close::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 180deg, transparent, rgba(37,99,235,0.1), transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-close:hover::before {
  opacity: 1;
  animation: rotate 2s linear infinite;
}

.mobile-nav-close:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg) scale(1.1);
  box-shadow:
    0 12px 35px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 0 0 4px rgba(37,99,235,0.1);
  color: var(--primary-color);
  text-shadow: 0 0 15px rgba(37,99,235,0.5);
}

.mobile-nav-close:active {
  transform: rotate(90deg) scale(0.95);
  transition-duration: 0.1s;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Enhanced Brand Section */
.mobile-brand-section {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 1;
  animation: none;
}

.mobile-logo {
  height: 46.875px; /* 37.5px * 1.25 */
  width: auto;
  filter:
    drop-shadow(0 8px 25px rgba(255,255,255,0.15))
    drop-shadow(0 4px 15px rgba(37,99,235,0.2));
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.mobile-logo:hover {
  transform: scale(1.08) rotate(2deg);
  filter:
    drop-shadow(0 12px 35px rgba(255,255,255,0.2))
    drop-shadow(0 6px 20px rgba(37,99,235,0.3))
    brightness(1.1);
  animation: logoGlow 2s ease-in-out infinite alternate;
}

.mobile-brand-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  text-shadow:
    0 4px 20px rgba(0,0,0,0.4),
    0 2px 8px rgba(37,99,235,0.3);
  letter-spacing: -0.5px;
  transition: all 0.4s ease;
}

.mobile-brand-text:hover {
  text-shadow:
    0 6px 25px rgba(0,0,0,0.5),
    0 3px 12px rgba(37,99,235,0.5),
    0 0 30px rgba(37,99,235,0.4);
  transform: scale(1.05);
}

@keyframes brandFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoGlow {
  0% {
    filter:
      drop-shadow(0 12px 35px rgba(255,255,255,0.2))
      drop-shadow(0 6px 20px rgba(37,99,235,0.3))
      brightness(1.1);
  }
  100% {
    filter:
      drop-shadow(0 16px 45px rgba(255,255,255,0.25))
      drop-shadow(0 8px 25px rgba(37,99,235,0.4))
      brightness(1.15);
  }
}

/* Modern Navigation Body */
.mobile-nav-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 400px;
  width: 100%;
  padding: 220px 0;
}

.mobile-nav-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center; /* Butonları ortala */
  gap: 16px; /* Butonlar arası boşluğu daha da artır */
}

.mobile-nav-item {
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: slideInUpScale 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: calc(var(--item-index, 0) * 0.12s + 0.3s);
}

/* Modern Navigation Links */
.mobile-nav-link,
.mobile-nav-toggle-btn,
.mobile-cta-btn {
  width: 100%;
}

.mobile-nav-link,
.mobile-nav-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 360px;
  padding: 22px 32px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(2, 6, 23, 0.25); /* Renkten bağımsız gölge */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--glass-border); /* Ortak kenarlık */
  min-height: 70px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  margin: 0 auto;
}

/* Butonların özel arka planları */
.mobile-nav-link {
    background: var(--glass-bg); /* Yarı saydam arka plan */
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 180px;
  padding: 16px 24px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: auto;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.4px;
  margin: 0 auto;
  background: var(--primary-color); /* Solid mavi arka plan */
  border: 1px solid;
  border-color: color-mix(in srgb, var(--primary-color) 70%, white);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--primary-color) 40%, transparent);
}

/* Enhanced Hover Effects */
.mobile-nav-link:hover,
.mobile-nav-toggle-btn:hover,
.mobile-cta-btn:hover {
  background: color-mix(in srgb, var(--primary-color) 90%, white);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--primary-color) 50%, transparent);
}

/* Active state animation */
.mobile-nav-link:active,
.mobile-nav-toggle-btn:active {
  transform: translateY(-1px) scale(0.99);
  transition-duration: 0.1s;
  box-shadow:
    0 8px 20px rgba(0,0,0,0.25),
    0 3px 10px rgba(37,99,235,0.2);
}

/* Aktif Link */
/* Aktif durumu, normal durumla aynı yaparak görsel tutarlılık sağla */
/* Aktif durumu, normal durumla aynı yaparak görsel tutarlılık sağla */
.mobile-nav-item.active .mobile-nav-link {
  background: var(--primary-color);
  border-color: color-mix(in srgb, var(--primary-color) 70%, white);
  transform: none; /* Aktifken animasyon olmasın */
  box-shadow: 0 15px 35px color-mix(in srgb, var(--primary-color) 40%, transparent);
}

/* Enhanced Shimmer Effect */
.mobile-nav-link::before,
.mobile-nav-toggle-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,0.02) 25%,
    rgba(255,255,255,0.15) 50%,
    rgba(37,99,235,0.1) 55%,
    rgba(255,255,255,0.15) 60%,
    rgba(255,255,255,0.02) 75%,
    transparent 100%);
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 1;
}

.mobile-nav-link:hover::before,
.mobile-nav-toggle-btn:hover::before {
  left: 100%;
}

/* Pulse effect on hover */
.mobile-nav-link:hover,
.mobile-nav-toggle-btn:hover {
  animation: mobilePulse 2s ease-in-out infinite;
}

@keyframes mobilePulse {
  0%, 100% {
    box-shadow:
      0 20px 50px rgba(0,0,0,0.4),
      0 8px 25px rgba(37,99,235,0.3),
      inset 0 1px 0 rgba(255,255,255,0.2);
  }
  50% {
    box-shadow:
      0 25px 60px rgba(0,0,0,0.5),
      0 12px 35px rgba(37,99,235,0.4),
      inset 0 1px 0 rgba(255,255,255,0.25),
      0 0 0 8px rgba(37,99,235,0.1);
  }
}

/* Enhanced Touch Optimized Design */
@media (max-width: 768px) {
  .mobile-nav-content {
    padding: 20px 24px;
    justify-content: flex-start;
    padding-top: 20px;
  }
  
  .mobile-brand-section {
    margin-bottom: 40px;
  }
  
  .mobile-logo {
    height: 37.5px; /* 30px * 1.25 */
  }
  
  .mobile-brand-text {
    font-size: 1.6rem;
  }
  
  .mobile-nav-link,
  .mobile-nav-toggle-btn {
    padding: 18px 28px;
    font-size: 1.2rem;
    min-height: 60px;
    border-radius: 16px;
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .mobile-nav-content {
    padding: 50px 20px 40px;
  }
  
  .mobile-brand-section {
    margin-bottom: 35px;
  }
  
  .mobile-nav-link,
  .mobile-nav-toggle-btn {
    padding: 16px 24px;
    font-size: 1.1rem;
    min-height: 56px;
    border-radius: 14px;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .mobile-nav-content {
    padding: 90px 16px 30px;
  }
  
  .mobile-logo {
    height: 37.5px; /* 30px * 1.25 */
  }
  
  .mobile-brand-text {
    font-size: 1.4rem;
  }
  
  .mobile-nav-link,
  .mobile-nav-toggle-btn {
    padding: 15px 20px;
    font-size: 1rem;
    min-height: 52px;
    border-radius: 12px;
    max-width: 280px;
    letter-spacing: 0.2px;
  }
  
  .mobile-nav-items {
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .mobile-nav-content {
    padding: 80px 12px 25px;
  }
  
  .mobile-brand-section {
    margin-bottom: 25px;
  }
  
  .mobile-logo {
    height: 37.5px; /* 30px * 1.25 */
  }
  
  .mobile-brand-text {
    font-size: 1.3rem;
  }
  
  .mobile-nav-link,
  .mobile-nav-toggle-btn {
    padding: 14px 18px;
    font-size: 0.95rem;
    min-height: 48px;
    border-radius: 10px;
    max-width: 260px;
  }
  
  .mobile-nav-items {
    gap: 4px;
  }
}

@media (max-width: 320px) {
  .mobile-nav-content {
    padding: 75px 10px 20px;
  }
  
  .mobile-logo {
    height: 37.5px; /* 30px * 1.25 */
  }
  
  .mobile-brand-text {
    font-size: 1.2rem;
  }
  
  .mobile-nav-link,
  .mobile-nav-toggle-btn {
    padding: 13px 16px;
    font-size: 0.9rem;
    min-height: 46px;
    border-radius: 8px;
    max-width: 240px;
  }
}

/* Enhanced Slide-in Animation */
@keyframes slideInUpScale {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation Arrow for Dropdowns */
.nav-arrow {
  margin-left: 12px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 1rem;
}

.mobile-nav-toggle-btn.active .nav-arrow {
  transform: rotate(180deg);
}

/* Submenu Styles */
.mobile-submenu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 10001;
}

.mobile-submenu.active {
  transform: translateX(0);
}

.mobile-submenu-header {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 16px;
}

.mobile-submenu-back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-submenu-back:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-2px);
}

.mobile-submenu-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.mobile-submenu-items {
  list-style: none;
  margin: 0;
  padding: 16px 0;
}

.mobile-submenu-items li a {
  display: block;
  padding: 16px 24px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-submenu-items li a:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 32px;
}

/* Mobile CTA */
.mobile-cta {
  display: grid;
  place-items: center;
  width: 100%;
}

.mobileCta {
  display: flex;
  justify-content: center;
}

.mobile-cta .mobile-cta-btn {
    width: auto;
}

/* .mobile-cta-btn stilleri .mobile-nav-link ile birleştirildiği için bu blok kaldırıldı. */

/* ==========================================
   SCROLL PROGRESS BAR
   ========================================== */
/* ==========================================
   YENİ MOBİL NAVBAR STİLLERİ
   ========================================== */

.mobile-menu-toggle {
  display: flex;
}

/* Bu kural animasyonu bozduğu için kaldırıldı. */

@media (max-width: 1023px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-header {
      display: flex !important;
  }
}
/* Tekrar eden ve hatalı stiller kaldırıldı. */

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
    .mobile-header {
        display: none;
    }
}
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--primary-color);
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}


/* Buttons - Touch Optimized */
.btn {
  --btn-bg: rgba(255,255,255,.1);
  --btn-color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--btn-color);
  background: var(--btn-bg);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 20px rgba(2,6,23,.2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  will-change: transform;
  min-height: 44px; /* Touch-friendly minimum */
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(2,6,23,.25); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 16px; border-radius: 10px; font-size: .95rem; min-height: 44px; }
.btn-lg { padding: 16px 24px; font-size: 1.05rem; min-height: 48px; }

/* Mobile Button Enhancements */
@media (max-width: 768px) {
  .btn {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 1rem;
  }
  .btn-sm {
    min-height: 44px;
    padding: 12px 18px;
    font-size: 0.95rem;
  }
  .btn-lg {
    min-height: 52px;
    padding: 18px 26px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 15px 22px;
  }
  .btn-sm {
    width: auto;
    min-height: 44px;
    padding: 12px 18px;
  }
}

.btn-primary {
  --btn-bg: var(--primary-color);
  --btn-color: white;
  border: 0;
}
.btn-primary:hover { filter: brightness(1.07); }

.btn-outline {
  --btn-bg: rgba(255,255,255,.12);
  --btn-color: white;
  border: 1px solid rgba(255,255,255,.35);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  color: white;
}

/* Enhanced Mobile Hero Optimization */
@media (max-width: 1023px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 90px;
    padding-bottom: 50px;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 85px;
    padding-bottom: 45px;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 40px;
    gap: 20px;
  }
}

@media (max-width: 360px) {
  .hero {
    padding-top: 75px;
    padding-bottom: 35px;
    gap: 18px;
  }
}
.hero-content { padding: 20px 0; }
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 600;
  letter-spacing: .6px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(2,6,23,.25) inset;
}
.hero-title {
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  line-height: 1.1;
  margin: 0 0 14px;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(14,165,233,.3);
}
.text-gradient {
  background: linear-gradient(90deg, #e0f2fe 0%, #fff 40%, #c7d2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  margin: 0 0 22px;
  font-size: clamp(1rem, .7vw + .9rem, 1.2rem);
  opacity: .92;
  max-width: 60ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 20px 28px;
  margin-top: 28px;
}
.hero-stats li { display: grid; gap: 4px; justify-items: start; }
.hero-stats .num { font-weight: 800; font-size: 1.3rem; }

.hero-art { position: relative; min-height: 360px; }
@keyframes float {
  from { transform: translateY(0) translateX(0) scale(1); }
  to { transform: translateY(-20px) translateX(10px) scale(1.05); }
}

/* Sections - Mobile Optimized */
.section { padding: 90px 0; color: white; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.6rem, 1.2vw + 1rem, 2.2rem); margin: 0 0 8px; }
.section-head p { margin: 0 auto; opacity: .92; max-width: 70ch; }

/* Enhanced Section Mobile Spacing */
@media (max-width: 1023px) {
  .section { padding: 80px 0; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(1.8rem, 4vw + 1rem, 2.4rem); }
  .section-head p { font-size: clamp(1rem, 2vw + 0.8rem, 1.15rem); }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
}

@media (max-width: 480px) {
  .section { padding: 50px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head h2 { font-size: clamp(1.6rem, 5vw + 0.8rem, 2.2rem); line-height: 1.2; }
  .section-head p { font-size: clamp(0.95rem, 3vw + 0.7rem, 1.1rem); line-height: 1.5; }
}

@media (max-width: 360px) {
  .section { padding: 45px 0; }
  .section-head { margin-bottom: 20px; }
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Enhanced Grid Mobile Responsiveness */
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid { gap: 14px; }
  .grid-3 { gap: 14px; }
}

@media (max-width: 480px) {
  .grid { gap: 12px; }
  .grid-3 { gap: 12px; }
}

/* Services Grid Override - Isotope specific */
.services .service-grid {
  display: block !important; /* Override any grid display */
}

.services .service-grid .service {
  float: left; /* Support for older browsers */
  display: block;
}

/* Cards */
.card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08)) padding-box;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  padding: 22px;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  will-change: transform;
}
.card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,.28); }

/* Enhanced Mobile Card Optimization */
@media (max-width: 768px) {
  .card {
    padding: 20px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 18px;
    border-radius: 12px;
  }
}

/* Disable card hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
  .card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
    border-color: var(--glass-border);
  }
}

.feature .icon,
.service .icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: white;
  background: var(--primary-color);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--primary-color) 35%, transparent);
  margin-bottom: 10px;
}
.feature h3, .service h3 { margin: 8px 0 8px; }
.feature p, .service p { margin: 0; opacity: .92; }

.checklist { margin-top: 12px; display: grid; gap: 8px; }
.checklist li {
  position: relative;
  padding-left: 26px;
}
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0; top: 0;
  color: #a7f3d0;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.35);
  width: 20px; height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: .8rem;
}

/* Pricing */
.pricing .price { text-align: center; }
.price .price-tag {
  font-size: 2rem;
  font-weight: 800;
  margin: 6px 0 12px;
}
.price .price-tag span { opacity: .85; margin-right: 2px; }
.price.featured {
  background:
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.12)) padding-box,
    linear-gradient(135deg, rgba(14,165,233,.8), rgba(37,99,235,.8)) border-box;
  border: 1px solid transparent;
  transform: translateY(-4px);
}
.price .badge {
  position: absolute;
  top: -12px; left: 20px;
  padding: 6px 10px;
  border-radius: 999px;
  background: white;
  color: var(--primary-color);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(2,6,23,.25);
}

/* Modern Testimonial Slider */
.testimonial-slider {
  position: relative;
}

.testimonial-grid-container {
    position: relative;
    padding: 24px 0;
}

.testimonial-viewport {
    overflow: hidden;
    margin: 0 50px; /* Provides space for the absolute positioned buttons */
}

.testimonial-grid {
  display: flex; /* Changed from grid to flex for transform-based sliding */
  flex-wrap: nowrap;
  gap: 18px;
}

.testimonial-card {
  flex-shrink: 0; /* Prevent cards from shrinking */
  width: 100%; /* Cards will take the width of the viewport */
  display: flex;
  flex-direction: column;
}

.testimonial-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 16px rgba(2,6,23,.25);
  z-index: 10;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
  outline: none;
  user-select: none;
}
.testimonial-btn:hover {
    background: rgba(255,255,255,.2);
    transform: translateY(-50%) scale(1.05);
}
.testimonial-btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}
.testimonial-btn:active {
    transform: translateY(-50%) scale(0.98);
}
.testimonial-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.testimonial-btn.prev {
    left: 0;
}
.testimonial-btn.next {
    right: 0;
}

@media (max-width: 768px) {
    .testimonial-viewport {
        margin: 0 35px;
    }
    .testimonial-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    .testimonial-btn.prev {
        left: -2px;
    }
    .testimonial-btn.next {
        right: -2px;
    }
}

@media (max-width: 640px) {
    .testimonial-viewport {
        margin: 0 30px;
    }
    .testimonial-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .testimonial-btn.prev {
        left: 0;
    }
    .testimonial-btn.next {
        right: 0;
    }
}

@media (max-width: 480px) {
    .testimonial-viewport {
        margin: 0 25px;
    }
    .testimonial-btn {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
        opacity: 0.9;
    }
    .testimonial-btn:hover {
        opacity: 1;
    }
}

.testimonial-card {
  /* scroll-snap-align: start; */ /* No longer needed */
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)) padding-box;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.testimonial-header {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-color);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-color) 35%, transparent);
}

.testimonial-info {
  line-height: 1.3;
}

.testimonial-name {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.testimonial-rating {
  font-size: 0.9rem;
  margin-top: 4px;
}

.testimonial-body blockquote,
.testimonial-card blockquote {
  margin: 0;
  font-size: clamp(1rem, .5vw + .9rem, 1.1rem);
  line-height: 1.6;
  opacity: .95;
  font-style: italic;
}

.testimonial-card cite {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

/* Contact */
.form {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(10px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
label { font-weight: 600; color: white; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  color: white;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  min-height: 44px; /* Touch-friendly */
  font-size: 1rem; /* Prevent zoom on iOS */
}

/* Mobile Form Enhancements */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="number"],
  select,
  textarea {
    padding: 16px 18px;
    font-size: 1rem;
    min-height: 48px;
    border-radius: 10px;
  }
  
  textarea {
    min-height: 120px;
    resize: vertical;
  }
}

@media (max-width: 480px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="number"],
  select,
  textarea {
    padding: 18px 20px;
    font-size: 16px; /* Prevent zoom on iOS */
    min-height: 52px;
  }
  
  textarea {
    min-height: 140px;
  }
}

/* Select specific styling */
select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

select option {
  background: #1e293b;
  color: white;
  padding: 8px;
}

input::placeholder, textarea::placeholder, select::placeholder { color: rgba(255,255,255,.7); }
input:focus, textarea:focus, select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 25%, transparent);
  background: rgba(255,255,255,.12);
}
input.invalid, textarea.invalid, select.invalid { border-color: #fca5a5; box-shadow: 0 0 0 3px rgba(239,68,68,.25); }

/* Dynamic fields styling */
.dynamic-fields-container {
  margin: 16px 0;
}

.dynamic-fields {
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 16px;
}

.dynamic-fields[style*="display: none"] {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
}

.cleaning-form .form-row {
  margin-bottom: 16px;
}

.cleaning-form .form-row:last-child {
  margin-bottom: 0;
}

.checkbox-field {
  grid-column: 1 / -1;
}

.checkbox-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  width: auto;
  margin: 0;
}
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.form-note { margin: 0; opacity: .9; }
.form-note.error { color: #fecaca; }
.form-note.success { color: #bbf7d0; }

/* Footer v2 (Modern) */
.site-footer {
  color: white;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(1200px 300px at 50% -50%, rgba(37,99,235,.25), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,.35), rgba(2,6,23,.7));
}

/* Grid layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding: 42px 0;
}

/* Columns */
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  top: 50%;
  left: 50%;
}
.col-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.col-brand .brand {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.site-footer .brand-logo {
  height: 63px;
  width: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.footer-desc {
  margin: 6px 0 14px;
  opacity: .92;
  max-width: 44ch;
}

/* Links */
.foot-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.foot-links a {
  opacity: .92;
  padding: 6px 0;
  transition: opacity .2s ease, transform .2s ease;
}
.foot-links a:hover { opacity: 1; transform: translateX(2px); }

/* Contact list */
.contact-list { display: grid; gap: 8px; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  opacity: .95;
}
.contact-list i {
  width: 18px;
  text-align: center;
  color: color-mix(in srgb, var(--primary-color) 85%, white 20%);
}

/* Social */
.foot-social { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-social a {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 18px rgba(2,6,23,.25);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.foot-social a:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(2,6,23,.32);
}

/* Newsletter */
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 8px;
}
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  color: white;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.75); }
.newsletter-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 25%, transparent);
  background: rgba(255,255,255,.12);
}
.newsletter-status { margin-top: 8px; font-size: .95rem; opacity: .95; }

/* Copyright row */
.foot-copy {
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

@media (max-width: 640px) {
  .foot-copy .container {
    width: calc(100% - 1.5rem);
  }
}

.copy-links { display: flex; gap: 14px; flex-wrap: wrap; }
.copy-links a { opacity: .9; }
.copy-links a:hover { opacity: 1; }

/* ==========================================
   COMPREHENSIVE MOBILE-FIRST FOOTER RESPONSIVE DESIGN
   Full mobile optimization for all footer sections
   ========================================== */

/* Mobile First Footer Base - 320px+ */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 36px 0;
  text-align: center;
}

/* Mobile Footer Section Spacing */
.footer-col {
  padding: 0 12px;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ==========================================
   MODERN BRAND SECTION WITH BEAUTIFUL SOCIAL MEDIA DESIGN
   ========================================== */

/* Brand Column Mobile Optimization */
.col-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  order: 1;
  padding: 24px 16px;
  position: relative;
}

/* Brand Container */
.col-brand .brand {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

/* Logo Styling with Modern Effects */
.site-footer .brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
  transition: all 0.3s ease;
}

.site-footer .brand-logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2));
}

/* Footer Description - Enhanced Typography */
.footer-desc {
  margin: 16px 0 20px;
  opacity: .94;
  max-width: 85%;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.3px;
  font-weight: 400;
}

/* ==========================================
   PREMIUM SOCIAL MEDIA DESIGN - MODERN & CENTERED
   ========================================== */

.foot-social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  padding: 16px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 8px 25px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* Social Media Background Gradient */
.foot-social::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(37,99,235,0.05) 25%,
    rgba(14,165,233,0.05) 50%,
    rgba(37,99,235,0.05) 75%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.foot-social:hover::before {
  opacity: 1;
}

/* Individual Social Media Icons */
.foot-social a {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 4px 15px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
}

/* Hover Effects for Social Icons */
.foot-social a:hover {
  transform: translateY(-3px) scale(1.05);
  color: white;
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.2),
    0 4px 15px rgba(37,99,235,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Platform-Specific Hover Colors */
.foot-social a[href*="facebook"]:hover {
  background: linear-gradient(135deg, #1877F2 0%, #42A5F5 100%);
  border-color: #1877F2;
  box-shadow:
    0 12px 30px rgba(24, 119, 242, 0.4),
    0 4px 15px rgba(24, 119, 242, 0.3);
}

.foot-social a[href*="instagram"]:hover {
  background: linear-gradient(135deg, #E4405F 0%, #FF6B6B 50%, #FFE135 100%);
  border-color: #E4405F;
  box-shadow:
    0 12px 30px rgba(228, 64, 95, 0.4),
    0 4px 15px rgba(228, 64, 95, 0.3);
}

.foot-social a[href*="twitter"]:hover,
.foot-social a[href*="x.com"]:hover {
  background: linear-gradient(135deg, #1DA1F2 0%, #0D8BD9 100%);
  border-color: #1DA1F2;
  box-shadow:
    0 12px 30px rgba(29, 161, 242, 0.4),
    0 4px 15px rgba(29, 161, 242, 0.3);
}

.foot-social a[href*="linkedin"]:hover {
  background: linear-gradient(135deg, #0A66C2 0%, #0E76A8 100%);
  border-color: #0A66C2;
  box-shadow:
    0 12px 30px rgba(10, 102, 194, 0.4),
    0 4px 15px rgba(10, 102, 194, 0.3);
}

.foot-social a[href*="yelp"]:hover {
  background: linear-gradient(135deg, #FF1744 0%, #D50000 100%);
  border-color: #FF1744;
  box-shadow:
    0 12px 30px rgba(255, 23, 68, 0.4),
    0 4px 15px rgba(255, 23, 68, 0.3);
}

/* Pulse Animation for Social Container */
@keyframes socialPulse {
  0%, 100% {
    box-shadow:
      0 8px 25px rgba(0,0,0,0.1),
      inset 0 1px 0 rgba(255,255,255,0.1);
  }
  50% {
    box-shadow:
      0 12px 35px rgba(0,0,0,0.15),
      inset 0 1px 0 rgba(255,255,255,0.15),
      0 0 0 4px rgba(37,99,235,0.1);
  }
}

.foot-social:hover {
  animation: socialPulse 2s ease-in-out infinite;
}

/* Active State for Touch Devices */
.foot-social a:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.1s;
}

/* Focus State for Accessibility */
.foot-social a:focus {
  outline: 3px solid rgba(37,99,235,0.5);
  outline-offset: 2px;
}

/* Links Column Mobile */
.col-links {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.foot-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.foot-links a {
  opacity: .92;
  padding: 10px 8px;
  transition: opacity .2s ease, transform .2s ease;
  font-size: 0.95rem;
}

/* Contact Column Mobile */
.col-contact {
  order: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-list {
  display: inline-flex; /* Genişliği içeriğe göre ayarlar ve ortalanmasını sağlar */
  flex-direction: column;
  align-items: center; /* Liste öğelerini ortalar */
  gap: 12px;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  justify-content: center; /* İçeriği (ikon ve metin) ortalar */
  gap: 12px;
  padding: 6px 0; /* Dikey padding ayarlandı */
  opacity: .95;
  text-align: center;
}

.contact-list i {
  width: 20px;
  text-align: center;
  color: color-mix(in srgb, var(--primary-color) 85%, white 20%);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-list a,
.contact-list span {
  font-size: 0.95rem;
  overflow-wrap: break-word; /* Daha sağlam kelime kırma */
  min-width: 0; /* Flex item'ın küçülüp kaydırma yapabilmesini sağla */
  word-break: normal; /* Kelimeleri ortadan kırmayı engelle */
}

/* Newsletter Column Mobile */
.col-newsletter {
  order: 4;
}

.col-newsletter h4 {
  margin-bottom: 12px;
}

.col-newsletter p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Newsletter Form Mobile Enhancement */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  color: white;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  font-size: 16px; /* Prevent zoom on iOS */
  min-height: 48px; /* Touch-friendly */
}

.newsletter-form button {
  width: 100%;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .3s ease;
}

.newsletter-form button:hover {
  background-color: color-mix(in oklab, var(--primary-color) 90%, black);
  transform: translateY(-2px);
}

.newsletter-status {
  margin-top: 12px;
  font-size: .9rem;
  opacity: .95;
  text-align: center;
}

/* Copyright Section Mobile */
.foot-copy {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  text-align: center;
}

.copy-inner {
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.copy-inner p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Small Mobile Screens - 320px to 480px */
@media (max-width: 480px) {
  .footer-grid {
    gap: 28px;
    padding: 32px 0;
  }
  
  .footer-col {
    padding: 0 8px;
  }
  
  .footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 14px;
  }
  
  .site-footer .brand-logo {
    height: 52px;
  }
  
  .footer-desc {
    font-size: 0.9rem;
    max-width: 95%;
  }
  
  .foot-social a {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  
  .foot-links a {
    padding: 8px 6px;
    font-size: 0.9rem;
  }
  
  .contact-list li {
    padding: 8px 6px;
    gap: 10px;
  }
  
  .contact-list a,
  .contact-list span {
    font-size: 0.9rem;
  }
  
  .col-newsletter p {
    font-size: 0.85rem;
    max-width: 95%;
  }
  
  .newsletter-form {
    max-width: 100%;
  }
  
  .newsletter-form input[type="email"] {
    padding: 12px 14px;
    font-size: 16px;
    min-height: 48px;
  }
  
  .newsletter-form button {
    min-height: 48px;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .foot-copy {
    padding: 16px 0;
  }
  
  .copy-inner p {
    font-size: 0.85rem;
  }
}

/* Very Small Screens - 320px and below */
@media (max-width: 360px) {
  .footer-grid {
    gap: 24px;
    padding: 28px 0;
  }
  
  .footer-col {
    padding: 0 6px;
  }
  
  .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .site-footer .brand-logo {
    height: 48px;
  }
  
  .footer-desc {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .foot-social {
    gap: 10px;
  }
  
  .foot-social a {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  
  .contact-list li {
    gap: 8px;
    padding: 6px 4px;
  }
  
  .contact-list a,
  .contact-list span {
    font-size: 0.85rem;
  }
  
  .col-newsletter p {
    font-size: 0.8rem;
  }
  
  .newsletter-form input[type="email"] {
    padding: 12px;
    border-radius: 10px;
  }
  
  .newsletter-form button {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
  }
  
  .copy-inner p {
    font-size: 0.8rem;
  }
}

/* Tablet Screens - 640px+ */
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 40px 0;
    text-align: left;
  }
  
  .footer-col {
    padding: 0;
  }
  
  .col-brand {
    align-items: flex-start;
    text-align: left;
  }
  
  .col-brand .brand {
    align-items: flex-start;
  }
  
  .footer-desc {
    text-align: left;
    max-width: 44ch;
  }
  
  .foot-social {
    justify-content: flex-start;
  }
  
  .foot-links {
    margin-left: 0;
    margin-right: 0;
  }
  
  .contact-list {
    margin-left: 0;
    margin-right: 0;
    align-items: flex-start;
  }

  .col-contact {
    align-items: center;
  }
  
  .contact-list li {
    justify-content: flex-start;
    text-align: left;
  }
  
  .newsletter-form {
    margin-left: 0;
    margin-right: 0;
  }
  
  .col-newsletter p {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

/* Desktop Screens - 1024px+ */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding: 42px 0;
  }
  
  .footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
  }
  
  .site-footer .brand-logo {
    height: 60px;
  }
  
  .col-brand {
    align-items: center;
    text-align: center;
  }
  
  .col-brand .brand {
    align-items: center;
  }

  .col-contact {
      align-items: center;
  }
  
  .footer-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .foot-social {
    justify-content: center;
  }
  
  .newsletter-form {
    grid-template-columns: 1fr auto;
    flex-direction: row;
    gap: 10px;
    max-width: none;
  }
  
  .newsletter-form button {
    width: auto;
    min-width: 120px;
  }
}

/* Large Desktop - 1200px+ */
@media (min-width: 1200px) {
  .footer-grid {
    gap: 40px;
  }
  
  .site-footer .brand-logo {
    height: 63px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .foot-social a {
    min-height: 48px;
    min-width: 48px;
  }
  
  .foot-links a {
    min-height: 44px;
    padding: 12px 8px;
  }
  
  .newsletter-form button {
    min-height: 52px;
  }
  
  .newsletter-form input[type="email"] {
    min-height: 52px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

/* To top button */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px; height: 44px;
  border-radius: 999px;
  display: grid; place-items: center;
  color: white;
  background: var(--primary-color);
  box-shadow: 0 10px 26px rgba(2,6,23,.3);
  border: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
  z-index: 50;
}
.to-top.show { opacity: 0; visibility: visible; transform: translateY(0); }

/* Animations on scroll */
[data-animate] {
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}
[data-animate].in { opacity: 1; transform: none; }
[data-animate="slide-up"] { transform: translateY(24px); }
[data-animate="zoom-in"] { transform: scale(.96); }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero { grid-template-columns: 1.3fr .7fr; }
}
@media (max-width: 1023px) {
  /* Body scroll lock when mobile menu is open */
  body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
  }

  /* Layout Adjustments */
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-art { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
@media (max-width: 640px) {
  .hero-actions { gap: 10px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .grid, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  /* Blog specific mobile optimization */
  .section { padding: 60px 0; }
}

/* Focus ring for accessibility */
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary-color) 35%, transparent);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================
   ABOUT US PAGE STYLES
   Ana website tasarımına uygun hakkımızda sayfası stilleri
   ========================================== */

/* About Hero Section - Ana sayfadaki hero'yu taklit eder */
.about-hero {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 60px;
  color: white;
}

.about-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-hero .eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 600;
  letter-spacing: .6px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(2,6,23,.25);
  font-size: 0.9rem;
  color: white;
}

.about-hero .hero-title {
  font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(14,165,233,.3);
  color: white;
}

.about-hero .hero-subtitle {
  margin: 0;
  font-size: clamp(1.1rem, .7vw + 1rem, 1.3rem);
  opacity: .92;
  max-width: 70ch;
  margin: 0 auto;
  color: white;
}

/* About Sections Grid */
.about-sections-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.about-section-card .section-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  color: white;
  background: var(--primary-color);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--primary-color) 35%, transparent);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.about-section-card .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: white;
}

.about-section-card .section-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 15px 0;
  opacity: 0.9;
  color: rgba(255,255,255,0.9);
}

.about-section-card .section-text {
  line-height: 1.7;
  opacity: 0.92;
  color: white;
}

.about-section-card .section-text p {
  margin-bottom: 15px;
}

.about-section-card .section-text ul {
  padding-left: 0;
  list-style: none;
}

.about-section-card .section-text li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.about-section-card .section-text li::before {
  content: "✔";
  position: absolute;
  left: 0; top: 0;
  color: #a7f3d0;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.35);
  width: 20px; height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: .8rem;
}

/* About Statistics Grid - Ana sayfadaki hero-stats stilini genişletir */
.about-statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px 28px;
  margin-top: 28px;
}

.about-statistics-grid .stat-item {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.about-statistics-grid .stat-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  opacity: 0.9;
}

.about-statistics-grid .num {
  font-weight: 800;
  font-size: 2rem;
  color: white;
  line-height: 1;
}

.about-statistics-grid span:not(.num) {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Team Members */
.team-member-card {
  text-align: center;
  padding: 28px 24px;
}

.member-photo {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.2);
  position: relative;
}

.member-photo-circle {
  border-radius: 50%;
}

.member-photo-rounded {
  border-radius: 16px;
}

.member-photo img, .member-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-placeholder {
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.7);
}

.member-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: white;
}

.member-position {
  color: var(--primary-color);
  font-weight: 500;
  margin: 0 0 12px 0;
  font-size: 0.95rem;
}

.member-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 15px 0;
  color: rgba(255,255,255,0.9);
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.member-social a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  transition: all 0.2s ease;
}

.member-social a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-color) 35%, transparent);
}

/* About Values Grid - Feature kartlarını taklit eder */
.about-values-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.about-value-card .value-icon {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--primary-color);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--primary-color) 35%, transparent);
  margin-bottom: 16px;
  font-size: 1.3rem;
}

/* Timeline Styles */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  margin-bottom: 32px;
  position: relative;
  padding: 24px;
}

.timeline-year {
  background: var(--primary-color);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-color) 35%, transparent);
}

.timeline-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: white;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  opacity: 0.9;
}

.timeline-description {
  line-height: 1.6;
  margin: 0 0 15px 0;
  color: rgba(255,255,255,0.92);
}

.timeline-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  margin-top: 15px;
}

/* Achievements Grid */
.achievements-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.achievement-card {
  text-align: center;
  padding: 28px 24px;
}

.achievement-icon {
  font-size: 2.5rem;
  color: #fbbf24;
  margin-bottom: 16px;
}

.achievement-image {
  margin-bottom: 16px;
}

.achievement-image img {
  max-width: 80px;
  height: auto;
  border-radius: 8px;
}

.achievement-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: white;
}

.achievement-category {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.achievement-date {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}

.achievement-description {
  line-height: 1.6;
  margin: 0 0 16px 0;
  opacity: 0.92;
  color: rgba(255,255,255,0.9);
}

.achievement-link {
  margin-top: 12px;
}

/* About Page Responsive Design */
@media (max-width: 900px) {
  .about-hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }
  
  .about-sections-grid,
  .about-values-grid,
  .achievements-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .about-statistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-sections-grid,
  .about-values-grid,
  .achievements-grid,
  .about-statistics-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-container {
    padding: 0 10px;
  }
  
  .about-hero {
    padding-top: 80px;
    padding-bottom: 30px;
  }
}

/* ==========================================
   SERVICE DETAIL PAGE STYLES
   Modern ve temaya uygun hizmet detay sayfası
   ========================================== */

/* Service Page Header - Subtle Transparent Design */
.service-header {
  position: relative;
  text-align: center;
  padding: 140px 0 80px;
  color: white;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.service-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(37,99,235,0.04) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(14,165,233,0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.service-header .container {
  position: relative;
  z-index: 2;
}

.service-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.service-breadcrumb a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
}

.service-breadcrumb a:hover {
  color: white;
}

.service-breadcrumb .breadcrumb-separator {
  color: rgba(255,255,255,0.5);
  margin: 0 4px;
}

.service-header .page-title {
  font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(14,165,233,.3);
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-header .page-summary {
  margin: 0 auto;
  font-size: clamp(1.1rem, .7vw + 1rem, 1.3rem);
  opacity: .92;
  max-width: 65ch;
  line-height: 1.6;
}

.service-header .service-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}


/* Service Video Background Enhancement */
.service-header .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.service-header .video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(2,6,23,0.3) 0%, rgba(2,6,23,0.5) 50%, rgba(2,6,23,0.7) 100%),
    radial-gradient(circle at 30% 40%, rgba(37,99,235,0.2) 0%, transparent 70%);
  z-index: 1;
}

.service-header .video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(1.1);
}

/* Service Content Area - Transparent Background */
.service-content {
  position: relative;
  padding: 60px 0;
  background: transparent;
}


/* Service Block Wrappers - Enhanced Glassmorphism */
.service-block {
  margin-bottom: 80px;
  position: relative;
}

.service-block:last-child {
  margin-bottom: 40px;
}

.service-block::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: 
    radial-gradient(circle at 30% 30%, rgba(37,99,235,0.06) 0%, transparent 70%),
    radial-gradient(circle at 70% 70%, rgba(14,165,233,0.04) 0%, transparent 70%);
  border-radius: 32px;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.service-block:hover::before {
  opacity: 1;
}

.service-block-container {
  position: relative;
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  transition: 
    transform 0.25s ease, 
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
  z-index: 1;
}

.service-block-container:hover {
  transform: translateY(-4px);
  background: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.18);
  box-shadow: var(--shadow-lg);
}

/* Service Block Headers */
.service-block-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.service-block-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  color: white;
  background: var(--primary-color);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--primary-color) 35%, transparent);
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.service-block-title {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
  font-weight: 700;
  margin: 0 0 12px;
  color: white;
  text-align: center;
}

.service-block-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
  opacity: 0.9;
}

.richtext-content {
  color: white !important;
}

/* Service Features Grid */
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-feature-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-feature-item:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.service-feature-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--primary-color);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-color) 30%, transparent);
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.service-feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: white;
}

.service-feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.9);
  opacity: 0.9;
}

/* Service Process Steps */
.service-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.process-step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.process-step:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}

.process-step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-color) 35%, transparent);
}

.process-step-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 15px 0 16px;
}

.process-step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: white;
}

.process-step-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.9);
  opacity: 0.9;
}

/* Service CTA Section */
.service-cta {
  background: 
    linear-gradient(135deg, rgba(37,99,235,0.15) 0%, rgba(14,165,233,0.1) 100%),
    rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  margin: 60px 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.service-cta-title {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: white;
}

.service-cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 32px;
  color: rgba(255,255,255,0.9);
  opacity: 0.9;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.service-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-cta .btn {
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Service Gallery */
.service-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.service-gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(2,6,23,0.3);
}

.service-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.service-gallery-item:hover img {
  filter: brightness(1);
}

.service-gallery-caption {
  padding: 16px;
  color: white;
  font-size: 0.9rem;
  text-align: center;
}

/* Service Pricing Table */
.service-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-pricing-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.service-pricing-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-4px);
}

.service-pricing-card.featured {
  background: 
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.08)) padding-box,
    linear-gradient(135deg, rgba(14,165,233,.6), rgba(37,99,235,.6)) border-box;
  border: 2px solid transparent;
  transform: translateY(-8px);
}

.service-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-color) 35%, transparent);
}

.service-pricing-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: white;
}

.service-pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 16px 0;
  color: white;
}

.service-pricing-price small {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 400;
}

.service-pricing-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.service-pricing-features li {
  padding: 8px 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  position: relative;
  padding-left: 24px;
}

.service-pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: #10b981;
  font-weight: 700;
}

/* Service Related/Recommended */
.service-related {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.service-related-title {
  text-align: center;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  font-weight: 700;
  margin: 0 0 40px;
  color: white;
}

.service-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-related-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.service-related-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(2,6,23,0.2);
}

.service-related-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--primary-color);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-color) 30%, transparent);
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.service-related-title-text {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: white;
}

.service-related-summary {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.9);
  opacity: 0.9;
}

/* Service Responsive Design */
@media (max-width: 1100px) {
  .service-features-grid,
  .service-process-grid,
  .service-pricing-grid,
  .service-related-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 900px) {
  .service-header {
    padding: 120px 0 60px;
  }
  
  .service-block-container {
    padding: 32px 24px;
  }
  
  .service-header .service-meta {
    gap: 16px;
  }

  .service-cta {
    padding: 36px 28px;
    margin: 40px 0;
  }
  
  .service-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .service-cta .btn {
    min-width: 200px;
  }
}

@media (max-width: 640px) {
  .service-header {
    padding: 100px 0 40px;
  }
  
  .service-features-grid,
  .service-process-grid,
  .service-pricing-grid,
  .service-related-grid,
  .service-gallery {
    grid-template-columns: 1fr;
  }
  
  .service-block-container {
    padding: 24px 20px;
    border-radius: 16px;
  }
  
  .service-block-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }
  
  .service-breadcrumb {
    flex-wrap: wrap;
    font-size: 0.8rem;
  }
  
  .service-header .service-meta {
    flex-direction: column;
    gap: 12px;
  }
  
  .service-cta {
    padding: 28px 20px;
    border-radius: 16px;
  }
  
  .service-gallery-item img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .service-header {
    padding: 90px 0 30px;
  }
  
  .service-block {
    margin-bottom: 50px;
  }
  
  .service-content {
    padding: 40px 0;
  }
  
  .process-step {
    padding: 24px 16px;
  }
  
  .service-feature-item {
    padding: 20px 16px;
  }
  
  .service-pricing-card {
    padding: 24px 16px;
  }
}

/* Print Styles for Service Pages */
@media print {
  .service-header .video-background,
  .service-cta,
  .service-related {
    display: none !important;
  }
  
  .service-block-container {
    background: white !important;
    color: black !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  
  .service-header {
    background: white !important;
    color: black !important;
    padding: 20px 0 !important;
  }
  
  .service-block-title,
  .service-feature-title,
  .process-step-title {
    color: black !important;
  }
}

/* High Contrast Mode Support for Service Pages */
@media (prefers-contrast: high) {
  .service-block-container {
    background: rgba(0,0,0,0.9) !important;
    border: 2px solid white !important;
  }
  
  .service-feature-item,
  .process-step,
  .service-pricing-card {
    background: rgba(0,0,0,0.8) !important;
    border: 2px solid rgba(255,255,255,0.8) !important;
  }
  
  .service-block-icon,
  .service-feature-icon,
  .process-step-number {
    background: var(--primary-color) !important;
    box-shadow: 0 0 0 2px white !important;
  }
}

/* ==========================================
   ADMIN PANEL STYLES
   ========================================== */

/* General Admin Layout */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Main content takes 2/3, sidebar 1/3 */
  gap: 30px;
}

.main-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card Styles */
.card {
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.1);
}

.card-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

.card-body {
  padding: 24px;
  color: rgba(255,255,255,0.9);
}

.card-footer {
  padding: 18px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.1);
  display: flex;
  justify-content: flex-end;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: white;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 25%, transparent);
  background: rgba(255,255,255,0.12);
  outline: none;
}

.form-control::placeholder {
  color: rgba(255,255,255,0.6);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.form-check input[type="checkbox"]:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check input[type="checkbox"]:checked::before {
  content: '\f00c'; /* Font Awesome check icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-check label {
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
}

.form-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 30%, transparent);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--primary-color) 90%, black);
  border-color: color-mix(in srgb, var(--primary-color) 90%, black);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary-color) 40%, transparent);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.btn-light {
  background: rgba(255,255,255,0.05);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.btn-block {
  display: block;
  width: 100%;
}

.button-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Featured Image Preview */
#og-image-preview {
  width: 100%;
  height: 180px;
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.3);
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

#og-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#og-image-preview .placeholder-content {
  text-align: center;
  color: rgba(255,255,255,0.6);
}

#og-image-preview .placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

#og-image-preview .placeholder-text {
  font-size: 0.9rem;
}

#og-image-preview #remove-og-image {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  z-index: 10;
}

/* Content Blocks Editor */
.block-editor-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.page-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: grab;
}

.page-block-header .block-title {
  font-weight: 600;
  color: white;
  margin: 0;
  flex-grow: 1;
}

.page-block-header .block-actions {
  display: flex;
  gap: 8px;
}

.page-block-header .block-actions button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.page-block-header .block-actions button:hover {
  color: white;
}

.block-content {
  padding: 15px;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  overflow: hidden;
}

.block-content.collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.no-blocks-message {
  text-align: center;
  padding: 30px;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

/* Table Styles */
.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.table th, .table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: left;
  color: white;
}

.table th {
  background: rgba(255,255,255,0.05);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

/* Dropdown Styles (for Add Block) */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  /* Inherits from .btn */
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  box-shadow: var(--shadow-dropdown);
  min-width: 180px;
  z-index: 1000;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(255,255,255,0.08);
}

/* TinyMCE specific adjustments */
.tox .tox-editor-container {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2) !important;
  overflow: hidden;
}

.tox .tox-menubar,
.tox .tox-toolbar__primary,
.tox .tox-toolbar__overflow {
  background: rgba(255,255,255,0.05) !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.tox .tox-statusbar {
  background: rgba(255,255,255,0.05) !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.7) !important;
}

.tox .tox-tbtn,
.tox .tox-icon,
.tox .tox-collection__item-label {
  color: white !important;
}

.tox .tox-tbtn:hover,
.tox .tox-tbtn--enabled {
  background: rgba(255,255,255,0.1) !important;
}

.tox .tox-edit-area__iframe {
  background-color: rgba(255,255,255,0.03) !important;
  color: white !important;
}

/* Responsive adjustments for Admin Panel */
@media (max-width: 1023px) {
  .form-grid {
    grid-template-columns: 1fr; /* Stack columns on smaller screens */
    gap: 20px;
  }
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .page-header h1 {
    font-size: 1.8rem;
  }
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .button-group {
    flex-direction: column;
    width: 100%;
  }
  .button-group .btn,
  .button-group .dropdown-toggle {
    width: 100%;
  }
  .dropdown-menu {
    right: auto;
    left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .page-header {
    margin-bottom: 20px;
  }
  .page-header h1 {
    font-size: 1.6rem;
  }
  .card-body {
    padding: 18px;
  }
  .card-header {
    padding: 15px 18px;
  }
  .card-footer {
    padding: 15px 18px;
  }
  .form-control {
    padding: 10px 12px;
  }
  #og-image-preview {
    height: 150px;
  }
}

/* ==========================================
   SERVICE PACKAGE PAGE STYLES
   Modern ve temaya uygun hizmet paketi detay sayfası
   ========================================== */

.service-package-detail {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px;
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  transition: 
    transform 0.25s ease, 
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.service-package-detail:hover {
  transform: translateY(-4px);
  background: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.18);
  box-shadow: var(--shadow-lg);
}

.package-detail-image {
  flex-shrink: 0;
  width: 100%;
  max-width: 500px; /* Resim için maksimum genişlik */
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.package-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.95);
}

.package-detail-description {
  flex-grow: 1;
  color: white;
}

.package-detail-description h2 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: white;
}

.package-detail-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.9;
}

.package-detail-description .btn {
  margin-right: 10px; /* Butonlar arası boşluk */
}

/* Breadcrumb Nav Styling */
.breadcrumb-nav {
  margin-top: 20px;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
}

.breadcrumb-item {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.5rem;
  color: rgba(255,255,255,0.5);
  content: "/";
}

.breadcrumb-item.active {
  color: white;
  font-weight: 600;
}

/* Responsive adjustments for Service Package Detail */
@media (min-width: 900px) {
  .service-package-detail {
    flex-direction: row;
    align-items: center;
  }
  .package-detail-image {
    width: 40%;
  }
  .package-detail-description {
    padding-left: 40px;
  }
}

@media (max-width: 768px) {
  .service-package-detail {
    padding: 30px;
    gap: 30px;
  }
  .package-detail-description h2 {
    font-size: clamp(1.6rem, 4vw + 0.8rem, 2.2rem);
  }
  .package-detail-description p {
    font-size: 1rem;
  }
  .package-detail-description .btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .package-detail-description .btn:last-child {
    margin-bottom: 0;
  }
  .breadcrumb {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .service-package-detail {
    padding: 20px;
    gap: 20px;
  }
  .package-detail-description h2 {
    font-size: clamp(1.4rem, 5vw + 0.6rem, 2rem);
  }
  .package-detail-description p {
    font-size: 0.95rem;
  }
  .breadcrumb-item {
    font-size: 0.8rem;
  }
}

/* Service CTA Section - Ensure consistent styling */
.service-cta {
  margin-top: 60px; /* Üst boşluğu ayarla */
  margin-bottom: 60px; /* Alt boşluğu ayarla */
}

/* Service Package Content - Yazı rengini beyaza çevir */
.service-package-card .package-content h3,
.service-package-card .package-content p {
  color: white;
}

/* End of style.css */

/* ==========================================
   SERVICES LISTING — PREMIUM CARD GRID
   Applies to pages/hizmetlerimiz.php service cards
   ========================================== */

.services .category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 10px 0 24px;
}

.services .category-filters .filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  color: white;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 16px rgba(2,6,23,.20);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  font-weight: 600;
  letter-spacing: .2px;
}

.services .category-filters .filter-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.35);
}

.services .category-filters .filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary-color) 35%, transparent);
}

/* Card */
.service-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08)) padding-box;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--glass-border-hover);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.10)) padding-box;
}

/* Cover */
.service-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 180px;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(37,99,235,0.18) 0%, transparent 60%),
    radial-gradient(50% 40% at 85% 15%, rgba(14,165,233,0.18) 0%, transparent 60%),
    rgba(255,255,255,.06);
}

.service-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(1.05);
  transform: scale(1.02);
  transition: transform .5s var(--ease-smooth), filter .35s ease;
}

.service-card:hover .service-cover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.08);
}

.service-cover-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,6,23,0.05) 0%, rgba(2,6,23,0.25) 70%, rgba(2,6,23,0.38) 100%),
    radial-gradient(45% 35% at 10% 8%, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Featured badge */
.badge-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: white;
  color: var(--primary-color);
  font-weight: 800;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 22px rgba(2,6,23,.25);
  border: 1px solid rgba(2,6,23,.08);
  z-index: 2;
}

.badge-featured i { color: var(--primary-color); }

/* Cover icon (service icon bubble) */
.cover-icon {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--primary-color);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--primary-color) 40%, transparent);
  z-index: 2;
  border: 1px solid rgba(255,255,255,.25);
}

/* Body */
.service-body {
  padding: 18px 18px 8px;
}

.service-title {
  margin: 0 0 8px;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .2px;
  text-wrap: balance;
}

.service-summary {
  margin: 0;
  color: rgba(255,255,255,0.92);
  opacity: .95;
  line-height: 1.55;
  font-size: .98rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.service-tags .tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.95);
  font-size: .82rem;
  letter-spacing: .2px;
  box-shadow: 0 6px 14px rgba(2,6,23,.18);
}

/* Actions */
.service-actions {
  padding: 12px 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.service-actions .btn.btn-sm {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
}

/* Featured elevation */
.service-card.featured {
  transform: translateY(-4px);
  border: 1px solid color-mix(in srgb, var(--primary-color) 35%, rgba(255,255,255,.25));
  box-shadow: 0 14px 40px color-mix(in srgb, var(--primary-color) 28%, transparent);
}

.service-card.featured:hover {
  transform: translateY(-8px);
}

/* Responsive refinements */
@media (max-width: 900px) {
  .service-summary { -webkit-line-clamp: 2; }
  .cover-icon { width: 44px; height: 44px; }
}

@media (max-width: 640px) {
  .service-actions { padding: 12px 16px 16px; }
  .service-body { padding: 16px 16px 8px; }
}

/* ==========================================
   BLOG PAGE MOBILE RESPONSIVE STYLES - ENHANCED
   Blog sayfası için tamamen yeniden optimize edilmiş mobil tasarım
   ========================================== */

/* Blog Grid Base Styles - Desktop */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* Post Card Enhanced Styles */
.post-card {
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.10)) padding-box;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  will-change: transform;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.post-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,.35);
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.14)) padding-box;
}

.post-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: clamp(1.1rem, 2.5vw + 0.8rem, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  color: white;
  text-wrap: balance;
}

.post-card h3 a {
  color: white;
  text-decoration: none;
  transition: color .3s ease, text-shadow .3s ease;
}

.post-card h3 a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(37,99,235,0.4);
  text-decoration: none;
}

.post-meta {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.post-excerpt {
  margin-bottom: 24px;
  color: rgba(255,255,255,0.94);
  line-height: 1.65;
  font-size: 1rem;
  opacity: 0.96;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card .btn {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 600;
}

/* Enhanced Blog Responsive Design */
@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
  }
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
  }
  
  .post-card {
    padding: 24px;
    min-height: 240px;
  }
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 26px;
  }
  
  .post-card {
    padding: 22px;
    min-height: 220px;
  }
  
  .post-card h3 {
    font-size: clamp(1.05rem, 2.8vw + 0.6rem, 1.3rem);
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  
  .post-card {
    padding: 20px;
    min-height: 200px;
    border-radius: 14px;
  }
  
  .post-card h3 {
    margin-bottom: 12px;
    font-size: clamp(1rem, 3.5vw + 0.5rem, 1.25rem);
    line-height: 1.3;
  }
  
  .post-meta {
    font-size: 0.88rem;
    margin-bottom: 14px;
    opacity: 0.85;
  }
  
  .post-excerpt {
    font-size: 0.92rem;
    margin-bottom: 18px;
    line-height: 1.6;
    -webkit-line-clamp: 3;
  }
  
  .post-card .btn {
    padding: 14px 20px;
    font-size: 0.95rem;
    border-radius: 12px;
    min-height: 48px;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    gap: 14px;
    margin-top: 20px;
  }
  
  .post-card {
    padding: 18px;
    margin: 0;
    min-height: 180px;
    border-radius: 12px;
  }
  
  .post-card h3 {
    font-size: clamp(0.95rem, 4.2vw + 0.4rem, 1.15rem);
    margin-bottom: 10px;
    line-height: 1.25;
  }
  
  .post-meta {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }
  
  .post-excerpt {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
    -webkit-line-clamp: 3;
  }
  
  .post-card .btn {
    padding: 12px 18px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
    border-radius: 10px;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1rem);
  }
  
  .blog-list {
    padding: 40px 0;
  }
  
  .blog-grid {
    gap: 12px;
    margin-top: 16px;
  }
  
  .post-card {
    padding: 16px;
    border-radius: 10px;
    min-height: 160px;
  }
  
  .post-card h3 {
    font-size: clamp(0.9rem, 4.8vw + 0.3rem, 1.1rem);
    line-height: 1.2;
    margin-bottom: 8px;
  }
  
  .post-meta {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }
  
  .post-excerpt {
    font-size: 0.84rem;
    margin-bottom: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }
  
  .post-card .btn {
    padding: 11px 16px;
    font-size: 0.86rem;
    border-radius: 8px;
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 0.5rem);
  }
  
  .post-card {
    padding: 14px;
    min-height: 150px;
  }
  
  .post-card h3 {
    font-size: clamp(0.85rem, 5.2vw + 0.25rem, 1.05rem);
    margin-bottom: 6px;
  }
  
  .post-meta {
    font-size: 0.74rem;
    margin-bottom: 8px;
  }
  
  .post-excerpt {
    font-size: 0.8rem;
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
  }
  
  .post-card .btn {
    padding: 10px 14px;
    font-size: 0.82rem;
    min-height: 44px;
  }
}

@media (max-width: 320px) {
  .container {
    width: calc(100% - 0.5rem);
  }
  
  .blog-list {
    padding: 30px 0;
  }
  
  .blog-grid {
    gap: 12px;
    margin-top: 16px;
  }
  
  .post-card {
    padding: 14px;
    min-height: 150px;
    border-radius: 10px;
  }
  
  .post-card h3 {
    font-size: clamp(0.85rem, 5.5vw + 0.25rem, 1.05rem);
    line-height: 1.2;
    margin-bottom: 8px;
  }
  
  .post-meta {
    font-size: 0.72rem;
    margin-bottom: 10px;
    opacity: 0.9;
  }
  
  .post-excerpt {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
  }
  
  .post-card .btn {
    padding: 10px 14px;
    font-size: 0.8rem;
    min-height: 44px;
    border-radius: 8px;
    font-weight: 600;
  }
}

/* Blog Section Header Mobile Optimization */
@media (max-width: 768px) {
  .blog-list .section-head {
    margin-bottom: 28px;
    text-align: center;
  }
  
  .blog-list .section-head h1,
  .blog-list .section-head h2 {
    font-size: clamp(1.8rem, 5vw + 1rem, 2.4rem);
    margin-bottom: 12px;
    line-height: 1.2;
  }
  
  .blog-list .section-head p {
    font-size: clamp(1rem, 2.5vw + 0.8rem, 1.2rem);
    max-width: 95%;
    line-height: 1.6;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .blog-list .section-head {
    margin-bottom: 24px;
    padding: 0 10px;
  }
  
  .blog-list .section-head h1,
  .blog-list .section-head h2 {
    font-size: clamp(1.6rem, 6vw + 0.8rem, 2.1rem);
    margin-bottom: 10px;
  }
  
  .blog-list .section-head p {
    font-size: clamp(0.95rem, 3.2vw + 0.7rem, 1.1rem);
    max-width: 100%;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .blog-list .section-head {
    margin-bottom: 20px;
    padding: 0 8px;
  }
  
  .blog-list .section-head h1,
  .blog-list .section-head h2 {
    margin-bottom: 8px;
    font-size: clamp(1.4rem, 6.5vw + 0.6rem, 1.9rem);
    line-height: 1.15;
  }
  
  .blog-list .section-head p {
    font-size: clamp(0.9rem, 3.8vw + 0.6rem, 1rem);
    line-height: 1.4;
  }
}

@media (max-width: 380px) {
  .blog-list .section-head {
    margin-bottom: 18px;
    padding: 0 6px;
  }
  
  .blog-list .section-head h1,
  .blog-list .section-head h2 {
    font-size: clamp(1.3rem, 7vw + 0.5rem, 1.7rem);
    margin-bottom: 6px;
  }
  
  .blog-list .section-head p {
    font-size: clamp(0.85rem, 4.2vw + 0.55rem, 0.95rem);
  }
}

@media (max-width: 320px) {
  .blog-list .section-head {
    margin-bottom: 18px;
    padding: 0 8px;
  }
  
  .blog-list .section-head h1,
  .blog-list .section-head h2 {
    font-size: clamp(1.25rem, 7vw + 0.5rem, 1.6rem);
    margin-bottom: 8px;
    line-height: 1.15;
  }
  
  .blog-list .section-head p {
    font-size: clamp(0.82rem, 4.2vw + 0.55rem, 0.92rem);
    line-height: 1.4;
  }
}

/* Empty State Styling for Mobile */
@media (max-width: 768px) {
  .blog-grid .card {
    text-align: center;
    padding: 28px 18px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    color: rgba(255,255,255,0.94);
    font-size: 1rem;
    line-height: 1.6;
    margin: 16px 0;
  }
  
  .blog-grid p {
    text-align: center;
    padding: 28px 18px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    color: rgba(255,255,255,0.94);
    font-size: 1rem;
    line-height: 1.6;
    margin: 16px 0;
  }
}

@media (max-width: 480px) {
  .blog-grid .card {
    padding: 20px 14px;
    font-size: 0.9rem;
    border-radius: 12px;
    margin: 12px 0;
  }
  
  .blog-grid p {
    padding: 20px 14px;
    font-size: 0.9rem;
    border-radius: 12px;
    margin: 12px 0;
  }
}

@media (max-width: 320px) {
  .blog-grid .card {
    padding: 16px 12px;
    font-size: 0.85rem;
    border-radius: 10px;
  }
  
  .blog-grid p {
    padding: 16px 12px;
    font-size: 0.85rem;
    border-radius: 10px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .post-card {
    min-height: 200px;
  }
  
  .post-card:hover {
    transform: none;
  }
  
  .post-card .btn {
    min-height: 48px;
    font-size: 1rem;
  }
  
  .post-card h3 a:hover {
    color: white;
    text-shadow: none;
  }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .post-card {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .post-card h3 {
    text-rendering: optimizeLegibility;
  }
}

/* Dark Mode Support for Blog */
@media (prefers-color-scheme: dark) {
  .post-card {
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)) padding-box;
  }
  
  .post-card:hover {
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)) padding-box;
  }
}

/* ==========================================
   MODERN GLASSMORPHISM BLOG DESIGN - 2025
   ========================================== */

/* Section Base */
.modern-blog-section {
  padding: 120px 0 80px;
  color: white;
}

/* Blog Header */
.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-eyebrow {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  font-weight: 600;
  margin-bottom: 16px;
}

.blog-main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.blog-subtitle {
  font-size: 1.2rem;
  opacity: .9;
  max-width: 65ch;
  margin: 0 auto 30px;
}

/* Filters */
.blog-filters {
  margin-bottom: 50px;
}
.filter-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: white;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.filter-btn:hover {
  background: var(--glass-strong);
  border-color: var(--glass-border-hover);
}
.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--primary-color) 30%, transparent);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* Blog Card */
.blog-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--glass-border-hover);
  background: var(--glass-strong);
}

/* Card Image */
.blog-card-image {
  height: 220px;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-smooth);
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}
.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-medium);
}
.placeholder-icon i {
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
}

/* Card Content */
.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.blog-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
}
.blog-card-title a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-card-title a:hover {
  color: var(--primary-color);
}
.blog-card-excerpt {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}
.read-more-btn {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.read-more-btn:hover {
  color: white;
}

/* Empty State */
.blog-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.empty-state-icon {
  font-size: 3rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.empty-state-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.empty-state-message {
  color: rgba(255,255,255,0.8);
  margin-bottom: 25px;
}

/* Load More */
.blog-load-more {
  text-align: center;
  margin-top: 50px;
}
.load-more-btn {
  padding: 12px 25px;
  border-radius: 999px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.load-more-btn:hover {
  background-color: color-mix(in srgb, var(--primary-color) 90%, black);
}

/* ==========================================
   SERENE FOCUS SINGLE POST STYLES
   ========================================== */

.post-header-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f8f9fa;
}

.post-main-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.post-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto 30px;
}

.post-meta-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.post-meta-info .author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-meta-info .author-avatar {
  width: 40px;
  height: 40px;
}

.post-meta-info .author-details {
  text-align: left;
}

.post-meta-info .author-name {
  font-weight: 600;
}

.post-meta-info .publish-date {
  font-size: 0.9rem;
  color: #6c757d;
}

.post-cover-section {
  padding: 0 0 50px;
}

.post-cover-image {
  max-height: 550px;
  overflow: hidden;
  border-radius: 15px;
}

.post-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content-section {
  padding: 50px 0;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 50px;
  align-items: flex-start;
}

.content-wrapper {
  background: #fff;
  border-radius: 10px;
  padding: 35px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.post-content-body {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #343a40;
}

.post-content-body h2, .post-content-body h3 {
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
}

.post-content-body h2 {
  font-size: 1.8rem;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #e9ecef;
}

.post-content-body h3 {
  font-size: 1.4rem;
}

.post-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

.toc-items {
  list-style: none;
  padding: 0;
}

.toc-link {
  color: #495057;
  text-decoration: none;
  padding: 8px 0;
  display: block;
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: all 0.2s ease;
}

.toc-link:hover {
  color: var(--primary-color);
  background-color: #f8f9fa;
}

.toc-link.active {
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  font-weight: 500;
}

.toc-h3 {
  padding-left: 25px;
  font-size: 0.9em;
}

@media (max-width: 992px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    position: static;
    margin-top: 40px;
  }
}

/* ==========================================
   MOBILE-FIRST RESPONSIVE POST PAGE STYLES
   ========================================== */

.post-page {
  color: white;
}

.post-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem; /* Mobil için dikey padding kaldırıldı */
}

.post-header {
  text-align: center;
  padding: 2rem 0;
}

.post-category {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4em 0.8em;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
}

.post-title {
  font-size: clamp(1.8rem, 7vw, 2.5rem); /* Responsive font size for mobile */
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  text-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.post-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255,255,255,0.8);
}

.post-meta .author-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.author-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.9rem;
}

.meta-separator {
    display: none;
}

.reading-time {
  font-size: 0.9rem;
}

.post-cover-image {
  margin: 0 0 2rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.post-cover-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-body-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem; /* Mobil için boşluk azaltıldı */
}

.post-content-body {
  font-size: 1rem; /* Mobil için font boyutu ayarlandı */
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem; /* Mobil için padding azaltıldı */
  backdrop-filter: blur(12px);
}

.post-content-body h2, .post-content-body h3 {
  font-weight: 700;
  margin: 1.8em 0 0.8em;
  color: white;
  line-height: 1.3;
}

.post-content-body h2 { font-size: 1.5rem; }
.post-content-body h3 { font-size: 1.25rem; }

.post-sidebar {
  /* No special styles needed for mobile, it will just flow naturally */
}

.sidebar-widget {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#tableOfContents ul {
  list-style: none;
  padding: 0;
}

#tableOfContents a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  transition: color 0.2s ease;
  font-size: 0.9rem;
}

#tableOfContents a:hover {
  color: var(--primary-color);
}

#tableOfContents .toc-h3 {
  padding-left: 1rem;
  font-size: 0.9em;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .post-container {
    padding: 2rem;
  }
  .post-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }
  .post-meta {
    flex-direction: row;
    justify-content: center;
  }
  .author-details {
    flex-direction: row;
    gap: 0.5rem;
  }
  .meta-separator {
    display: inline;
  }
  .post-body-wrapper {
    grid-template-columns: 1fr 280px;
    gap: 3rem;
  }
  .post-sidebar {
    order: 2;
    position: sticky;
    top: 100px;
  }
  .post-content-body {
    order: 1;
    font-size: 1.1rem;
    padding: 2rem;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .post-body-wrapper {
    grid-template-columns: 1fr 320px;
    gap: 4rem;
  }
}

/* ==========================================
   MODERN BLOG POST PAGE STYLES - MOBILE FIRST
   ========================================== */

.modern-post-page {
  width: 100%;
  box-sizing: border-box;
  padding-top: 100px; /* Navbar için boşluk */
  padding-bottom: 4rem;
  color: white;
}

.post-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Post Header --- */
.post-header-modern {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.post-category-chip {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5em 1em;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.post-category-chip:hover {
  background: var(--glass-strong);
  border-color: var(--glass-border-hover);
}

.post-title-modern {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  text-wrap: balance;
}

.post-excerpt-modern {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  max-width: 65ch;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.post-meta-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.author-info-modern {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar-modern {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--primary-color) 30%, transparent);
}

.author-details-modern {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.author-name-modern {
  font-weight: 700;
  color: white;
}

.publish-date-modern {
  color: rgba(255,255,255,0.7);
}

.reading-time-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
}
.reading-time-modern i {
  font-size: 1rem;
}

/* --- Post Cover Image --- */
.post-cover-modern {
  margin: 0 0 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--glass-medium);
}
.post-cover-modern img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

/* --- Post Body Layout --- */
.post-body-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.post-content-main {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
}
.post-content-main h2, .post-content-main h3, .post-content-main h4 {
  font-weight: 700;
  margin: 2em 0 1em;
  color: white;
  line-height: 1.3;
  text-wrap: balance;
}
.post-content-main h2 { font-size: 1.8rem; padding-bottom: 0.5em; border-bottom: 1px solid var(--glass-border); }
.post-content-main h3 { font-size: 1.5rem; }
.post-content-main h4 { font-size: 1.2rem; }
.post-content-main a { color: var(--primary-color); text-decoration: underline; }
.post-content-main img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 1.5rem 0; }
.post-content-main blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--primary-color);
  background: var(--glass-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

/* --- Sidebar --- */
.sidebar-sticky-wrapper {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
}

.widget-title-modern {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--glass-border);
}

#tableOfContents ul { list-style: none; padding: 0; }
#tableOfContents a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 0.6rem 0;
  display: block;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}
#tableOfContents a:hover { color: var(--primary-color); }
#tableOfContents .toc-h3 { padding-left: 1rem; font-size: 0.9em; }

.social-share-buttons {
  display: flex;
  gap: 0.8rem;
}
.social-share-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}
.social-share-btn:hover { transform: scale(1.1); }
.social-share-btn.facebook:hover { background-color: #1877F2; }
.social-share-btn.twitter:hover { background-color: #1DA1F2; }
.social-share-btn.linkedin:hover { background-color: #0A66C2; }
.social-share-btn.whatsapp:hover { background-color: #25D366; }

/* --- Post Footer --- */
.post-footer-modern {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}
.post-tags-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.tag-chip {
  padding: 0.4em 0.9em;
  border-radius: 999px;
  background: var(--glass-medium);
  border: 1px solid var(--glass-border);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.tag-chip:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* --- Author Box --- */
.author-box-section {
  margin-top: 4rem;
  padding: 2rem 0;
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.author-box-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.author-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 2rem;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--primary-color) 35%, transparent);
}
.author-name-large { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem; }
.author-bio-large { color: rgba(255,255,255,0.8); margin: 0; max-width: 60ch; }

/* --- Related Posts --- */
.related-posts-section {
  padding: 4rem 0 2rem;
}
.related-posts-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}
.section-title-modern {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.related-post-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: white;
  transition: all 0.3s var(--ease-smooth);
}
.related-post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-item-hover);
  border-color: var(--glass-border-hover);
}
.related-post-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}
.related-post-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
  line-height: 1.4;
}
.related-post-excerpt {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.related-post-author {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* --- Responsive Tablet Styles --- */
@media (min-width: 768px) {
  .post-container, .related-posts-container {
    padding: 0 2rem;
  }
  .post-meta-modern {
    flex-direction: row;
    justify-content: center;
  }
  .author-box-container {
    flex-direction: row;
    text-align: left;
  }
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .post-body-layout {
    grid-template-columns: 1fr 280px;
    gap: 3rem;
  }
  .post-sidebar-modern {
    order: 2;
  }
  .post-content-main {
    order: 1;
  }
}

/* --- Responsive Desktop Styles --- */
@media (min-width: 1024px) {
  .related-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .post-body-layout {
    grid-template-columns: 1fr 320px;
    gap: 4rem;
  }
}


/* ==========================================
   ISOTOPE SERVICE GRID STYLES
   ========================================== */

.service-grid {
  position: relative;
  /* Remove display: grid to avoid conflict with Isotope */
}

/* Isotope item sizing - Mobile First */
.service-grid .service {
  width: 100%;
  padding: 15px; /* Spacing between cards */
  box-sizing: border-box;
  margin-bottom: 0; /* Isotope handles vertical spacing */
}

/* Tablet: 2 columns */
@media (min-width: 640px) {
  .service-grid .service {
    width: 50%;
    padding: 15px;
  }
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
  .service-grid .service {
    width: 33.333333%;
    padding: 15px;
  }
}

/* Large Desktop: maintain 3 columns */
@media (min-width: 1200px) {
  .service-grid .service {
    width: 33.333333%;
    padding: 15px;
  }
}

/* Visual-free, modern, and theme-compliant service cards */
.service-grid .service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--glass, rgba(255,255,255,0.06));
  border: 1px solid var(--glass-border, rgba(255,255,255,0.12));
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
  /* Remove fixed height to prevent overflow issues */
  min-height: 200px; /* Minimum height instead */
  margin-bottom: 0; /* Let Isotope handle spacing */
}
.service-grid .service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  border-color: rgba(255,255,255,0.2);
}
/* Top highlight line */
.service-grid .service-card::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary, #2563eb), #60a5fa);
  margin-bottom: 6px;
}
/* Card top area (chip position) */
.service-grid .service-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 8px;
}
/* Badge/Chip */
.service-grid .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .8rem;
  border: 1px solid var(--glass-border, rgba(255,255,255,0.14));
  background: rgba(255,255,255,0.06);
}
.service-grid .chip-featured {
  color: #fbbf24;
  border-color: rgba(234,179,8,.35);
  background: rgba(250,204,21,.08);
}
/* Title and summary */
.service-grid .service-title {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  line-height: 1.3;
}
.service-grid .service-summary {
  margin: 0;
  color: var(--text-secondary, #94a3b8);
}
/* Tags */
.service-grid .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.service-grid .service-tags .tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  color: var(--primary, #2563eb);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.24);
}
/* Action area */
.service-grid .service-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}
.service-grid .service-card.featured {
  border-color: rgba(234,179,8,.35);
}

/* ==========================================
   HEADER STYLES (MOVED FROM INLINE)
   ========================================== */

:root {
  --cta-text: white;
  --cta-bg: var(--primary-color);
  --cta-border: var(--primary-color);
  --cta-text-hover: white;
  --cta-bg-hover: color-mix(in oklab, var(--cta-bg) 90%, black);
  --cta-border-hover: color-mix(in oklab, var(--cta-bg) 90%, black);
  --primary-color: #3b82f6; /* Default primary color */

  /* Dynamic variables will be set on the body tag */
  --nav-padding-y: 12px;
  --nav-opacity-scrolled: 85%;
  --shrink-logo-height: 40px;
  --cta-padding-y: 8px;
  --cta-padding-x: 18px;
  --cta-border-radius: 8px;
  --top-bar-bg-color: #333;
  --top-bar-text-color: white;
  --mobile-menu-bg-color: white;
  --mobile-menu-link-color: #333;
  --dropdown-bg-color: white;
  --dropdown-shadow-css: '0 4px 6px rgba(0,0,0,0.1)';
  --dropdown-border-color: #ddd;
}

.header-desktop {
    display: flex;
}
.header-mobile {
    display: none;
}
@media (max-width: 1023px) {
    .header-desktop {
        display: none !important;
    }
    .header-mobile {
        display: flex !important; /* Changed from inline-flex */
    }
}
.nav {
  /* A more opaque, blurry, and transparent background like in the image */
  background: rgba(255, 255, 255, 0.15); /* Slightly opaque white */
  backdrop-filter: saturate(1.8) blur(15px); /* More intense saturation and blur */
  -webkit-backdrop-filter: saturate(1.8) blur(15px);
  box-shadow: none; /* No prominent shadow in the image */
  border-bottom: none; /* No prominent bottom border in the image */
  transition: background .2s, border-color .2s, box-shadow .2s;
}

.nav-inner, .brand-logo {
    transition: padding .25s, height .25s;
}

.nav-inner {
  padding-top: var(--nav-padding-y);
  padding-bottom: var(--nav-padding-y);
}

.nav.scrolled {
  background: color-mix(in oklab, white var(--nav-opacity-scrolled), transparent);
}

.nav.shrunk .nav-inner {
    padding-top: 4px;
    padding-bottom: 4px;
}

.nav.shrunk .brand-logo {
    height: var(--shrink-logo-height) !important;
}

/* Cancel underline style (if button menu is used) */
.nav-menu.menu-links.underline-active a.nav-link.active::after {
  content: none;
}

.nav-menu a {
    font-size: 15px; /* Adjusted as in the image */
    font-weight: 500; /* Adjusted as in the image */
    color: #333; /* Dark gray text for inactive menu links */
    text-decoration: none; /* No default underline */
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-menu a:hover {
    color: #000; /* Darker text on hover */
}

/* Button style for navigation menus (As in the image) */
.nav-menu.menu-buttons a {
    padding: 8px 18px; /* Fuller buttons */
    border-radius: 8px; /* More pronounced roundness */
    background-color: rgba(255, 255, 255, 0.1); /* Very light transparent white background */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Thin, transparent white border */
    color: #333; /* Dark gray text */
    backdrop-filter: blur(5px); /* Slight blur on buttons as well */
    -webkit-backdrop-filter: blur(5px);
    box-shadow: none; /* No shadow on inactive buttons */
}

.nav-menu.menu-buttons a:hover {
    background-color: rgba(255, 255, 255, 0.25); /* A bit more opaque on hover */
    border-color: rgba(255, 255, 255, 0.5); /* Border more prominent on hover */
    color: #000; /* Darker text on hover */
}

.nav-menu.menu-buttons a.active {
    /* Active button color became #3b82f6 (var(--primary-color)) */
    background-color: var(--primary-color); /* Primary color background for "Homepage" */
    color: white; /* White text */
    border: 1px solid var(--primary-color); /* Border also compatible with the background */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Slight shadow for active button */
}

.nav-cta .btn {
    /* CTA button: Blue background, white text, no border, rounded corners */
    padding: var(--cta-padding-y) var(--cta-padding-x);
    border-radius: var(--cta-border-radius);
    color: white; /* Text color is definitely white */
    background-color: var(--primary-color); /* Bright blue from the image */
    border: none; /* No border in the image */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Slight shadow for CTA */
}

.nav-cta .btn:hover {
    /* CTA button color remains fixed at #3b82f6 (var(--primary-color)) on hover */
    color: white; /* Keep text white on hover */
    background-color: var(--primary-color); /* Primary color on hover as well */
    border: none; /* No border in the image */
    box-shadow: 0 4px 8px rgba(0,0,0,0.25); /* More prominent shadow on hover */
}

.top-bar {
    background-color: var(--top-bar-bg-color);
    color: var(--top-bar-text-color);
}

@media (max-width: 767px) {
    .nav-menu.open { background-color: var(--mobile-menu-bg-color); }
    .nav-menu.open a { color: var(--mobile-menu-link-color); }
}

.nav.nav-transparent:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom-color: transparent;
}

/* General text color in transparent navigation state */
.nav.nav-transparent:not(.scrolled) .nav-menu a {
    color: white; /* Menu text white in transparent mode */
}

/* Menu buttons in transparent navigation state */
.nav.nav-transparent:not(.scrolled) .nav-menu.menu-buttons a {
    background-color: rgba(255, 255, 255, 0.08); /* Lighter transparent background */
    border-color: rgba(255, 255, 255, 0.2); /* Lighter transparent border */
    color: white;
    backdrop-filter: blur(3px); /* Slight blur */
    -webkit-backdrop-filter: blur(3px);
}

.nav.nav-transparent:not(.scrolled) .nav-menu.menu-buttons a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.nav.nav-transparent:not(.scrolled) .nav-menu.menu-buttons a.active {
    /* Active button color in transparent mode became #3b82f6 (var(--primary-color)) */
    background-color: var(--primary-color); /* Active button primary color in transparent mode */
    color: white;
    border-color: var(--primary-color);
}

/* CTA button in transparent navigation state */
.nav.nav-transparent:not(.scrolled) .nav-cta .btn {
    /* CTA button will always be #3b82f6 (var(--primary-color)) even in transparent mode */
    background-color: var(--primary-color);
    color: white;
    border: none;
    /* The default CTA button shadow (0 2px 5px rgba(0,0,0,0.2)) will be applied. */
}

.brand-logo-light { display: none; }
.nav.nav-transparent:not(.scrolled) .brand-logo-dark { display: none; }
.nav.nav-transparent:not(.scrolled) .brand-logo-light { display: inline-block; }

.dropdown-menu {
    background-color: var(--dropdown-bg-color);
    box-shadow: var(--dropdown-shadow-css);
    border: 1px solid var(--dropdown-border-color);
}

.dropdown-menu a {
    color: white !important;
    background: #2563eb !important;
}

.dropdown-menu a:hover {
    color: white !important;
    background: #1d4ed8 !important;
}

/* ************************************** */
/* NEW STYLES FOR LOGO AND PREMIUM TEXT */
/* ************************************** */
.brand-group {
    display: flex; /* Align logo and Premium text side by side */
    align-items: center; /* Vertically center */
}

@media (min-width: 901px) {
    .brand-group {
        /* Updated to pull the LOGO AND TEXT further to the left (desktop only) */
        margin-left: -110px; /* You can adjust this value as needed. */
    }
}

.brand-logo-link { /* This link now only wraps the logo */
    display: flex; /* To manage space within the logo image */
    align-items: center;
    text-decoration: none; /* Do not underline the logo link */
}

/* If only the site name is used as text */
.brand-text-fallback {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d1e4f3; /* Default logo text color */
    white-space: nowrap;
}

.brand-tagline { /* New class for "Premium" text */
    font-family: 'Dancing Script', cursive; /* Cursive font */
    font-size: 1.8rem; /* Increase its size as in the image */
    font-weight: 700; /* Make it bold */
    margin-left: 15px; /* Space between logo and "Premium" */
    line-height: 1; /* Adjust line height */
    color: #d1e4f3; /* Light blue-gray color matching the logo text in the image */
    white-space: nowrap; /* Prevent the word from wrapping down */
}

/* Keep brand-tagline color in transparent navigation state as well */
.nav.nav-transparent:not(.scrolled) .brand-tagline {
    color: #d1e4f3;
}

/* Color of the text fallback logo in transparent navigation state */
.nav.nav-transparent:not(.scrolled) .brand-text-fallback {
    color: white; /* White in transparent mode */
}

/* İstenen logo pozisyonu değişikliği için eklenen kurallar */
.mobile-nav-content {
    padding-top: 20px !important; /* Logoya yer açmak için padding'i artır */
}

.mobile-nav-header {
    justify-content: flex-end !important; /* Kapatma butonunu sağa yaslamak için */
}

.mobile-brand {
    position: absolute;
    top: 40px; /* Ekranın üstünden istenen boşluk */
    left: 50%;
    transform: translateX(-50%);
    width: auto; /* Genişliğin içeriğe göre ayarlanmasını sağla */
}

/* ==========================================
   NEW MEGA MENU DROPDOWN STYLES
   ========================================== */

.has-dropdown {
  position: relative;
}

/* Mega Menu Container */
.dropdown-menu.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 550px;
  margin-top: 15px;
  padding: 20px;
  z-index: 1000;
  
  background: rgba(15, 23, 42, 0.8); /* Koyu mavi yarı saydam */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  
  backdrop-filter: saturate(1.5) blur(20px);
  -webkit-backdrop-filter: saturate(1.5) blur(20px);
  
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  transform-origin: top center;
  
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  
  will-change: transform, opacity;
}

/* Show on hover */
.has-dropdown:hover .dropdown-menu.mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Grid for service items */
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* Individual service item */
.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.mega-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Icon styles */
.mega-menu-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-color);
  color: white;
  font-size: 1.2rem;
}

/* Text content styles */
.mega-menu-content {
  text-align: left;
}

.mega-menu-title {
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.mega-menu-summary {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .dropdown-menu.mega-menu {
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
    margin-top: 10px;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .has-dropdown.mobile-open .dropdown-menu.mega-menu {
    max-height: 500px; /* Adjust as needed */
    padding: 15px;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   YENİ MEGA MENÜ STİLLERİ
   ========================================== */

.has-dropdown {
  position: relative;
}

/* Mega Menu Container */
.dropdown-menu.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 550px;
  margin-top: 15px;
  padding: 20px;
  z-index: 1000;
  
  background: rgba(15, 23, 42, 0.8); /* Koyu mavi yarı saydam */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  
  backdrop-filter: saturate(1.5) blur(20px);
  -webkit-backdrop-filter: saturate(1.5) blur(20px);
  
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  transform-origin: top center;
  
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  
  will-change: transform, opacity;
}

/* Show on hover */
.has-dropdown:hover .dropdown-menu.mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Grid for service items */
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* Individual service item */
.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.mega-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Icon styles */
.mega-menu-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-color);
  color: white;
  font-size: 1.2rem;
}

/* Text content styles */
.mega-menu-content {
  text-align: left;
}

.mega-menu-title {
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.mega-menu-summary {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .dropdown-menu.mega-menu {
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
    margin-top: 10px;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .has-dropdown.mobile-open .dropdown-menu.mega-menu {
    max-height: 500px; /* Adjust as needed */
    padding: 15px;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
  }
}

/* Services Page Card Alignment & Spacing */
.services .card {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.services .card .card-head {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services .card .icon {
    margin-left: auto;
    margin-right: auto;
}

.services .card p {
    flex-grow: 1; /* Ensures the description area expands, aligning footers */
}

.services .card .card-footer {
    margin-top: auto; /* Pushes the footer to the bottom */
    padding-top: 1rem;
}



/* Mobil menu acikken whatsapp butonunu gizle */
body.nav-open .whatsapp-button {
  display: none !important;
}


/* Mobil menüdeki CTA butonunu gizle */
#mobileCta {
  display: none !important;
}


/* Mobil menüdeki alt logo bölümünü gizle */
.mobile-nav-footer {
  display: none !important;
}


/* ==========================================
   MOBILE RESPONSIVE FIXES
   ========================================== */

@media (max-width: 640px) {
  /*
    Fix for Service Date input on contact form.
    On mobile, the native date input can stretch too wide.
    This change makes its behavior consistent with other text inputs.
  */
  .form .form-field input[type="date"] {
    /*
      Using 'width: auto' with 'display: inline-block' allows the browser to
      determine the natural width of the date input, preventing it from
      stretching to the full container width on mobile, which can look awkward.
      A min-width is set for usability.
    */
    display: inline-block;
    width: auto;
    min-width: 200px; /* Ensures the input is wide enough to be easily tapped */
  }
}

.package-description {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* height: calc(1.6em * 4); */ /* Fallback for browsers that don't support -webkit-line-clamp */
  line-height: 1.6em;
}
