/* Modern ve okunabilir font'lar */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800;900&family=Source+Serif+Pro:wght@400;600;700&display=swap");

/* Reset ve Temel Stiller */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.65;
  color: #1f2937;
  background-color: #fafafa;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Genel tipografi stilleri */
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", "Inter", sans-serif;
  color: #111827;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 1rem 0;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 500; }
h5 { font-size: 1.125rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

p {
  font-family: "Inter", sans-serif;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 1rem 0;
  font-weight: 400;
}

.lead {
  font-family: "Source Serif Pro", "Inter", serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #374151;
  font-weight: 400;
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.6;
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-muted {
  color: #6b7280;
}

.text-emphasis {
  font-weight: 600;
  color: #111827;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Header */
.header {
    background: url('/images/navbar.png') center center;
    background-size: cover;
    padding: 20px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.header::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: url("../images/navbar.png") center center;
  background-size: cover;
  opacity: 0.3;
  filter: brightness(1.2) contrast(0.8);
  z-index: 999;
}

/* Remove left padding in header container so logo sits flush left */
.header .container {
  padding-left: 0 !important;
}

.nav-wrapper {
  display: grid;
  grid-template-columns: max-content 1fr auto;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ensure left alignment inside grid cell */
  justify-self: start; /* ensure grid item aligns to the start */
  cursor: pointer;
}

.logo a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo-image {
  width: clamp(220px, 28vw, 420px);
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo-image:hover {
  opacity: 0.8;
}

/* Spacer */
.spacer {
  /* Bu boş alan logo ve nav-center arasında esnek alan oluşturur */
}

/* Nav Center */
.nav-center {
  text-align: center;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  position: absolute;
  right: clamp(120px, 28vw, 400px);
  top: 60%;
  transform: translateY(-50%);
}

.nav-message {
  font-family: "Source Serif Pro", "Inter", serif;
  font-size: 24px;
  color: #6b7280;
  font-weight: 400;
  font-style: italic;
  position: relative;
  text-align: center;
  letter-spacing: -0.5px;
}

.nav-message::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
}

.nav-message::after {
  content: "";
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
}

/* Nav Right */
.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

/* Social Icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  order: 1;
}

.social-icon {
  width: 32px;
  height: 32px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #e0e0e0;
  color: #333;
}

/* Bottom Row Container */
.bottom-row {
  display: flex;
  align-items: center;
  gap: 25px;
  order: 2;
}

/* Auth Links */
.auth-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn {
  background: #e0e0e0;
  border: 1px solid #ccc;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.register-btn {
  background: #333;
  border: 1px solid #333;
  font-size: 11px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.login-btn:hover {
  background: #d0d0d0;
  border-color: #bbb;
  color: #333;
}

.register-btn:hover {
  background: #555;
  border-color: #555;
  color: white;
}

/* Hamburger Menu */
.menu-toggle {
  background: #333;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: #555;
}

.menu-line {
  width: 20px;
  height: 2.5px;
  background: white;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.menu-toggle.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation - Fullscreen overlay from right (glass + animated) */
.mobile-nav {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(1200px 800px at 100% 0%, rgba(59, 130, 246, 0.08), transparent 60%), rgba(17, 24, 39, 0.45);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 2000;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

 .mobile-nav-content {
  position: relative;
  height: 100%;
  max-width: min(720px, 92vw);
  margin-left: auto;
  padding: clamp(28px, 5vw, 56px) clamp(24px, 4vw, 48px);
  /* Leave extra space at bottom so last items aren't hidden behind sticky auth bar and iOS home bar */
  padding-bottom: calc(clamp(28px, 5vw, 56px) + max(env(safe-area-inset-bottom), 16px) + 90px);
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vh, 14px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.66));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-left: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px 0 0 16px;
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.18);
  transform: translateX(40px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  will-change: transform, opacity;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
 }

.mobile-nav.active .mobile-nav-content {
  transform: translateX(0);
  opacity: 1;
}

.mobile-nav-close {
  position: absolute;
  top: clamp(12px, 2vw, 20px);
  right: clamp(12px, 2vw, 20px);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.7);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.mobile-nav-close:hover {
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.9);
}

.mobile-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(8px, 1.6vh, 16px) 0;
  color: #0f172a;
  text-decoration: none;
  font-size: clamp(20px, 4.5vw, 34px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  transform: translateX(12px);
  opacity: 0;
}

.mobile-nav-item::before {
  content: '';
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: linear-gradient(135deg, #111827, #6b7280);
  border-radius: 50%;
  transform: scale(0.8);
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: blur(0.2px);
}

.mobile-nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.65));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.mobile-nav-item:hover::after {
  transform: scaleX(1);
}

.mobile-nav-item:hover::before {
  transform: scale(1);
}

.mobile-nav-item:hover {
  color: #111827;
}

.mobile-nav-item.active {
  color: #111827;
}

.mobile-nav.active .mobile-nav-item {
  /* Fallback: ensure visible even if animation is disabled */
  opacity: 1;
  transform: translateX(0);
  animation: mobileItemIn 500ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-nav.active .mobile-nav-item:nth-of-type(1) { animation-delay: 80ms; }
.mobile-nav.active .mobile-nav-item:nth-of-type(2) { animation-delay: 140ms; }
.mobile-nav.active .mobile-nav-item:nth-of-type(3) { animation-delay: 200ms; }
.mobile-nav.active .mobile-nav-item:nth-of-type(4) { animation-delay: 260ms; }
.mobile-nav.active .mobile-nav-item:nth-of-type(5) { animation-delay: 320ms; }
.mobile-nav.active .mobile-nav-item:nth-of-type(6) { animation-delay: 380ms; }
.mobile-nav.active .mobile-nav-item:nth-of-type(7) { animation-delay: 440ms; }
.mobile-nav.active .mobile-nav-item:nth-of-type(8) { animation-delay: 500ms; }
.mobile-nav.active .mobile-nav-item:nth-of-type(9) { animation-delay: 560ms; }
.mobile-nav.active .mobile-nav-item:nth-of-type(10) { animation-delay: 620ms; }

@keyframes mobileItemIn {
  0% { opacity: 0; transform: translateX(18px) translateY(4px); filter: blur(2px); }
  100% { opacity: 1; transform: translateX(0) translateY(0); filter: blur(0); }
}

.mobile-auth {
  margin-top: auto;
  display: flex;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  /* Keep auth actions always visible on mobile (iOS safe-area aware) */
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  z-index: 3;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: transparent; /* remove white block */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

/* Soft separator above the sticky auth bar without a full-width white block */
.mobile-auth::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
  pointer-events: none;
}

.mobile-nav .mobile-login-btn,
.mobile-nav .mobile-register-btn {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid #111827;
  background: rgba(255, 255, 255, 0.7);
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  text-align: center;
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%);
}

.mobile-nav .mobile-register-btn {
  background: linear-gradient(135deg, #111827, #374151);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.2);
}

.mobile-nav .mobile-login-btn:hover {
  background: #111827;
  color: #ffffff;
}

.mobile-nav .mobile-register-btn:hover {
  background: linear-gradient(135deg, #111827, #1f2937);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.28);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav-content,
  .mobile-nav-item {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  /* Make sure items are visible without animation */
  .mobile-nav.active .mobile-nav-item {
    opacity: 1 !important;
  }
}

/* Hero Section */
.hero {
  background: white;
  padding: 100px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start; /* top-align to avoid blank space above text */
}

.hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 20px;
  font-weight: 600;
  opacity: 0.9;
}

.hero-title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(32px, 6vw, 76px);
  font-weight: 700;
  color: #111827;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-family: "Source Serif Pro", "Inter", serif;
  font-size: 19px;
  color: #4b5563;
  margin-bottom: 32px;
  line-height: 1.75;
  font-weight: 400;
  max-width: 85%;
}

.cta-button {
  background: transparent;
  border: none;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 17px;
  color: #111827;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  text-transform: none;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.25px;
}

.cta-button:hover {
  color: #666;
}

.cta-button:hover .cta-icon {
  background: #555;
}

.cta-icon {
  width: 50px;
  height: 50px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.cta-icon i {
  transform: rotate(-45deg);
  font-size: 16px;
}

/* CTA Container */
.cta-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Image Grid */
.image-grid {
  display: grid;
  /* Left column is wider like the reference; right column is narrower */
  grid-template-columns: 1.5fr 1fr;
  /* Two compact rows like the reference */
  grid-template-rows: 220px 220px;
  gap: 16px;
  margin-bottom: 20px;
}

.image-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  border: 1px solid #eeeeee;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Placement to match the screenshot: 2x2 small on top, big on bottom-left */
.image-item.top-left {
  grid-column: 1;
  grid-row: 1;
}

.image-item.top-right {
  grid-column: 2;
  grid-row: 1;
}

.image-item.bottom-left {
  grid-column: 1;
  grid-row: 2;
}

.image-item.bottom-right {
  grid-column: 2;
  grid-row: 2;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.25s ease;
}

.image-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.image-item:hover img {
  transform: scale(1.02);
}

/* Hero Controls */
.hero-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* CTA Text Link - yeni stil */
.hero-right .cta-button {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: lowercase;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
}

.hero-right .cta-button:hover {
  color: #666;
}

.hero-right .cta-button i {
  transform: rotate(-45deg);
  font-size: 16px;
}

/* Hero Navigation */
.hero-navigation {
  display: flex;
  gap: 10px;
}

.nav-arrow {
  background: #f0f0f0;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: #333;
  color: white;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: white;
}

.services-title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(32px, 4.5vw, 68px);
  font-weight: 600;
  color: #111827;
  text-align: left;
  margin-bottom: 48px;
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.services-intro p {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #4b5563;
  font-weight: 400;
}

.intro-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.incele-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #111827;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: none;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
  align-self: flex-end;
  margin-top: 24px;
  letter-spacing: -0.25px;
}

.incele-btn:hover {
  color: #666;
}

.incele-btn:hover .incele-icon {
  background: #555;
}

.incele-icon {
  width: 35px;
  height: 35px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.incele-icon i {
  transform: rotate(-45deg);
  font-size: 14px;
}

.services-subtitle {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 300;
  color: #374151;
  margin-bottom: 36px;
  text-transform: lowercase;
  letter-spacing: -1px;
  line-height: 1.1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-card h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: -0.5px;
  text-align: left;
  line-height: 1.3;
}

.service-card p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 28px;
  font-weight: 400;
}

.service-footer {
  margin-top: auto;
}

.service-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: lowercase;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
}

.service-btn:hover {
  color: #666;
}

.service-btn:hover .service-icon {
  background: #555;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.service-icon i {
  transform: rotate(-45deg);
  font-size: 14px;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  width: 75%;
  height: 100%;
  background: #333;
  border-radius: 3px;
  position: relative;
}

.daha-fazla-btn {
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  color: white;
  border: none;
  padding: 18px 48px;
  border-radius: 30px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  text-transform: none;
  letter-spacing: -0.25px;
  transition: all 0.3s ease;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
}

.daha-fazla-btn:hover {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.25);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: white;
}

.testimonials-title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(28px, 5.5vw, 72px);
  font-weight: 400;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-align: left;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 60px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  align-items: center;
}

.testimonial-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 24px;
}

.testimonial-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.testimonial-item {
  margin-bottom: 32px;
  position: relative;
  padding-right: 220px;
}

.testimonial-item:last-child {
  margin-bottom: 0;
}

.testimonial-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stars {
  position: absolute;
  top: 0;
  right: 0;
}

.stars i {
  color: #ffb703;
  font-size: 16px;
  margin-left: 2px;
}

.testimonial-item p {
  font-size: 16px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.7;
}

.testimonial-author {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author .name {
  font-weight: 600;
  color: #333;
  display: block;
}

.testimonial-author .title {
  font-size: 12px;
  color: #666;
}

/* Authors Section */
.authors {
  padding: 80px 0;
  background: white;
  position: relative;
}

/* Layout: big title left, slider right */
.authors .container {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  column-gap: 56px;
}

/* Vertical stacked title like reference */
.authors-title {
  grid-column: 1;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 120px;
  font-weight: 500;
  color: #333;
  margin: 0;
  line-height: 0.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: left;
  position: relative;
  width: 220px;
  text-indent: -9999px; /* hide original text, keep accessible */
  white-space: nowrap;
  opacity: 0.95;
  transform: translate(-60px, -16px); /* Biraz daha sağa */
}

/* Desktop'ta dikey yazı göster */
@media (min-width: 769px) {
  .authors-title::before {
    content: "YAZ-\a AR-\a LAR";
    white-space: pre;
    text-indent: 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 0.88;
    letter-spacing: 2px;
    color: #333;
    pointer-events: none;
  }
}

.authors-slider-wrapper {
  overflow: hidden;
  position: relative;
  grid-column: 2;
}

.authors-slider {
  display: flex;
  gap: 24px;
  margin-bottom: 60px;
  transition: transform 0.4s ease;
  will-change: transform;
  overflow: visible;
  padding: 0 20px;
  align-items: flex-start;
}

/* Ensure proper alignment on various screen sizes */
@media (min-width: 1367px) {
  .authors-slider {
    gap: 28px;
    padding: 0 24px;
  }
}

/* iPad Pro specific optimizations */
@media only screen 
  and (min-device-width: 834px) 
  and (max-device-width: 1112px) 
  and (-webkit-min-device-pixel-ratio: 2) {
  
  .authors .container {
    grid-template-columns: 150px 1fr;
    column-gap: 30px;
  }
  
  .authors-title {
    font-size: 75px;
    transform: translate(-10px, -8px); /* Daha az sola kaydırma */
    width: 150px;
  }
  
  .author-card {
    width: 245px;
  }
  
  .authors-slider {
    gap: 16px;
    padding: 0 12px;
  }
}

/* iPad Pro 12.9" specific */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2) {
  
  .authors .container {
    grid-template-columns: 170px 1fr;
    column-gap: 36px;
  }
  
  .authors-title {
    font-size: 85px;
    transform: translate(-25px, -10px); /* Daha az sola kaydırma */
    width: 170px;
  }
  
  .author-card {
    width: 260px;
  }
  
  .authors-slider {
    gap: 18px;
    padding: 0 16px;
  }
}

/* Card styling like reference */
.author-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 0;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: visible; /* allow circular button to overflow fully */
  flex-shrink: 0;
  width: 280px;
}

.author-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}

.author-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: #8f8f8f;
  padding: 16px 22px 6px;
  margin: 0;
}


/* Big circular arrow overlapping bottom center */
.author-btn {
  background: #595959;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  bottom: -44px; /* half of 88px to keep perfect circle */
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
}

.author-btn i {
  transform: rotate(-45deg);
  font-size: 28px;
}

/* Author stats and chips */
.author-meta {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  padding: 0 22px 15px;
  margin: 0;
}

.author-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 60px;
  margin: 0;
}

.chip {
  background: #f0f0f0;
  color: #666;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.chip:first-child {
  background: #e8f5e8;
  color: #2d5f3f;
}

/* Slider arrows to far left/right, centered vertically */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  pointer-events: none;
}

.slider-prev,
.slider-next {
  background: #f0f0f0;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  color: #333;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.slider-prev:hover,
.slider-next:hover {
  background: #333;
  color: white;
}

/* Responsive authors section */

/* Large tablets and small desktops (iPad Pro landscape, etc.) */
@media (max-width: 1366px) {
  .authors .container {
    grid-template-columns: 200px 1fr;
    column-gap: 48px;
  }
  
  .authors-title {
    font-size: 100px;
    transform: translate(-40px, -14px); /* Daha az sola kaydırma */
  }
  
  .author-card {
    width: 270px;
  }
  
  .authors-slider {
    gap: 20px;
  }
}

/* Medium tablets (iPad Pro portrait) */
@media (max-width: 1024px) {
  .authors .container {
    grid-template-columns: 160px 1fr;
    column-gap: 32px;
  }
  
  .authors-title {
    font-size: 80px;
    transform: translate(-20px, -10px); /* Daha az sola kaydırma */
    width: 160px;
  }
  
  .author-card {
    width: 250px;
  }
  
  .authors-slider {
    gap: 18px;
    padding: 0 15px;
  }
  
  .author-card h3 {
    font-size: 22px;
    padding: 14px 20px 6px;
  }
  
  .author-card img {
    height: 200px;
  }
  
  .author-btn {
    width: 80px;
    height: 80px;
    bottom: -40px;
  }
  
  .author-btn i {
    font-size: 26px;
  }
}

/* Small tablets */
@media (max-width: 900px) {
  .authors .container {
    grid-template-columns: 140px 1fr;
    column-gap: 24px;
  }
  
  .authors-title {
    font-size: 70px;
    transform: translate(-15px, -8px); /* Daha az sola kaydırma */
    width: 140px;
  }
  
  .author-card {
    width: 240px;
  }
  
  .authors-slider {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .authors {
    padding: 60px 0;
  }
  
  .authors .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .authors-title {
    grid-column: 1;
    transform: none;
    text-indent: 0;
    font-size: 48px;
    text-align: center;
    width: auto;
    margin-bottom: 20px;
    /* Desktop'taki dikey yazıyı kaldır */
    white-space: normal;
  }
  
  .authors-title::before {
    content: none; /* Pseudo elementi kaldır, sadece normal başlık görünsün */
  }
  
  .authors-slider-wrapper {
    grid-column: 1;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  
  .authors-slider {
    padding: 0 15px 60px;
    gap: 20px;
  }
  
  .author-card {
    width: 240px;
  }
  
  .author-card img {
    height: 200px;
  }
  
  .author-card h3 {
    font-size: 20px;
    padding: 14px 18px 6px;
  }
  
  .author-meta {
    font-size: 12px;
    padding: 0 18px 12px;
  }
  
  .author-stats {
    padding: 0 18px 50px;
  }
  
  .author-btn {
    width: 72px;
    height: 72px;
    bottom: -36px;
  }
  
  .author-btn i {
    font-size: 24px;
  }
  
  .slider-controls {
    display: none; /* Hide nav buttons on mobile, use swipe */
  }
}

@media (max-width: 576px) {
  .authors-title {
    font-size: 40px;
  }
  
  .authors-slider {
    padding: 0 10px 50px;
    gap: 16px;
  }
  
  .author-card {
    width: 220px;
  }
  
  .author-card img {
    height: 180px;
  }
  
  .author-card h3 {
    font-size: 18px;
    padding: 12px 16px 4px;
  }
  
  .author-btn {
    width: 64px;
    height: 64px;
    bottom: -32px;
  }
  
  .author-btn i {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .authors {
    padding: 40px 0;
  }
  
  .authors-title {
    font-size: 32px;
    margin-bottom: 16px;
  }
  
  .authors-slider {
    padding: 0 10px 45px;
    gap: 12px;
  }
  
  .author-card {
    width: 200px;
  }
  
  .author-card img {
    height: 160px;
    border-radius: 12px 12px 0 0;
  }
  
  .author-card h3 {
    font-size: 16px;
    padding: 10px 14px 4px;
  }
  
  .author-meta {
    font-size: 11px;
    padding: 0 14px 10px;
  }
  
  .author-stats {
    padding: 0 14px 45px;
    gap: 6px;
  }
  
  .chip {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .author-btn {
    width: 56px;
    height: 56px;
    bottom: -28px;
  }
  
  .author-btn i {
    font-size: 20px;
  }
}

@media (max-width: 360px) {
  .authors-title {
    font-size: 28px;
  }
  
  .author-card {
    width: 180px;
  }
  
  .author-card img {
    height: 140px;
  }
  
  .author-card h3 {
    font-size: 15px;
  }
  
  .author-btn {
    width: 48px;
    height: 48px;
    bottom: -24px;
  }
  
  .author-btn i {
    font-size: 18px;
  }
}

/* Newsletter */
.newsletter {
  background: #333;
  color: white;
  padding: 60px 0;
  text-align: center;
}

.newsletter h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 30px;
  text-transform: lowercase;
  color: white;
  text-align: center;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  outline: none;
}

.newsletter-form button {
  background: #666;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.newsletter-note {
  font-size: 12px;
  color: #999;
}

/* Footer */
.footer {
  background: #222;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  margin-bottom: 30px;
}

.footer-logo-image {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-logo h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: -5px;
}

.footer-logo span {
  font-size: 14px;
  font-style: italic;
  color: #999;
  font-weight: 300;
}

.footer-description {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
  margin: 30px 0;
}

.copyright p {
  font-size: 12px;
  color: #666;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.social-links a {
  background: #333;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #555;
  transform: translateY(-2px);
}

.footer-credit p {
  font-size: 12px;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Testimonials: fix stars overlapping text on mobile */
  .stars {
    position: static;
    margin: 6px 0 8px;
  }
  .testimonial-item h4 {
    margin-bottom: 6px;
  }

  .nav-wrapper {
    grid-template-columns: auto auto;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
  }

  .nav-center {
    display: none;
  }

  .spacer {
    display: none;
  }

  .auth-links {
    display: none;
  }

  .social-icons {
    display: none;
  }

  .nav-right {
    align-items: center;
    gap: 0;
  }

  .bottom-row {
    gap: 0;
  }

  .header {
    position: relative;
    background: #fafafa !important;
  }

  .header::after {
    display: none;
  }

  .logo {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }

  .logo-image {
    width: clamp(160px, 50vw, 260px);
    height: auto;
    object-fit: contain;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-title {
    font-size: 46px;
    text-align: center;
  }

  .image-grid {
    height: auto;
    grid-template-columns: 1fr 1fr; /* balanced on mobile */
    grid-template-rows: 140px 140px;
    gap: 10px;
  }

  .image-item.top-left {
    grid-column: 1;
    grid-row: 1;
  }

  .image-item.top-right {
    grid-column: 2;
    grid-row: 1;
  }

  .image-item.bottom-left {
    grid-column: 1;
    grid-row: 2;
  }

  .image-item.bottom-right {
    grid-column: 2;
    grid-row: 2;
  }

  .hero-controls {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero-navigation {
    order: -1;
  }

  .cta-button {
    justify-content: center;
  }

  .cta-icon {
    width: 40px;
    height: 40px;
  }

  .cta-icon i {
    font-size: 14px;
  }

  .cta-container {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .services-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-image {
    order: -1;
  }

  .testimonial-image img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
  }

  .testimonial-content {
    padding: 25px 20px;
  }

  .testimonial-item {
    padding-right: 0;
  }

  .testimonial-author {
    position: static;
    transform: none;
    justify-content: flex-start;
    margin-top: 8px;
  }

  /* Authors slider mobile scroll styles */
  .authors-slider-wrapper::-webkit-scrollbar {
    height: 6px;
  }
  
  .authors-slider-wrapper::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
  }
  
  .authors-slider-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }
  
  .authors-slider-wrapper::-webkit-scrollbar-thumb:hover {
    background: #999;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input {
    width: 100%;
    max-width: 300px;
  }

  .footer-logo-image {
    height: 60px;
    max-width: 200px;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .services-title {
    font-size: 28px;
  }

  .testimonials-title {
    font-size: 28px;
  }

  /* Extra small devices - single column scroll */

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .container {
    padding: 0 15px;
  }

  .logo-image {
    width: clamp(140px, 60vw, 220px);
    height: auto;
  }

  .footer-logo-image {
    height: 50px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left > * {
  animation: fadeInUp 0.6s ease forwards;
}

.hero-left > *:nth-child(1) {
  animation-delay: 0.1s;
}
.hero-left > *:nth-child(2) {
  animation-delay: 0.2s;
}
.hero-left > *:nth-child(3) {
  animation-delay: 0.3s;
}
.hero-left > *:nth-child(4) {
  animation-delay: 0.4s;
}

.image-item {
  animation: fadeInUp 0.8s ease forwards;
}

.image-item:nth-child(1) {
  animation-delay: 0.2s;
}
.image-item:nth-child(2) {
  animation-delay: 0.4s;
}
.image-item:nth-child(3) {
  animation-delay: 0.6s;
}
.image-item:nth-child(4) {
  animation-delay: 0.8s;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-30 {
  margin-bottom: 30px;
}

.mt-30 {
  margin-top: 30px;
}

/* Button Hover Effects */
button {
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-1px);
}

/* Focus States */
button:focus,
input:focus {
  outline: 2px solid #333;
  outline-offset: 2px;
}

/* Auth Pages Styles */
.auth-body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-header {
  background: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-logo-image {
  height: 140px;
  width: 500px;
  object-fit: contain;
}

.back-home {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-home:hover {
  color: #333;
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.auth-left {
  padding-right: 40px;
}

.auth-welcome h1 {
  font-size: 42px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.auth-welcome p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
}

.auth-benefits {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.benefit-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.benefit-content p {
  font-size: 14px;
  color: #666;
}

.auth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #666;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #666;
  font-size: 14px;
}

.feature-item i {
  color: #28a745;
  font-size: 16px;
}

.auth-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 450px;
}

.auth-card-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-card-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.auth-card-header p {
  font-size: 14px;
  color: #666;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
}

.input-group i {
  position: absolute;
  left: 15px;
  color: #999;
  font-size: 16px;
  z-index: 1;
  pointer-events: none;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 14px;
  background: white;
  background-image: none !important;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

/* Autofill stillerini düzelt */
.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  box-shadow: 0 0 0 30px white inset !important;
  background-color: white !important;
  background-image: none !important;
}

/* Password input'un tarayıcı ikonlarını gizle */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-contacts-auto-fill-button {
  display: none !important;
}

.input-group input:focus,
.input-group select:focus {
  border-color: #333;
  outline: none;
  box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

/* Simple Password Toggle */
.show-password {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  user-select: none;
}

.show-password input[type="checkbox"] {
  cursor: pointer;
}

.show-password:hover {
  color: #333;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  user-select: none;
}

    /* SADECE checkbox'ı gizle */
    .checkbox-container input[type="checkbox"] {
        margin: 0;
        opacity: 0;
        position: absolute;
    }

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="file"],
.auth-form textarea {
    opacity: 1 !important;
    position: static !important;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-container input:checked + .checkmark {
  background: #333;
  border-color: #333;
}

.checkbox-container input:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.forgot-password {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #333;
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}

.auth-btn.primary {
  background: #333;
  color: white;
}

.auth-btn.primary:hover {
  background: #555;
  transform: translateY(-2px);
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 30px 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e5e9;
}

.auth-divider span {
  background: white;
  padding: 0 20px;
  color: #999;
  font-size: 14px;
}

.social-auth {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  background: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-btn:hover {
  border-color: #333;
  transform: translateY(-1px);
}

.social-btn.google:hover {
  border-color: #ea4335;
  color: #ea4335;
}

.social-btn.linkedin:hover {
  border-color: #0077b5;
  color: #0077b5;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.auth-footer a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Admin Panel Styles */
.admin-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #f8fafc;
  font-family: "Inter", sans-serif;
  display: flex;
}

/* Simple Admin Sidebar */
.admin-sidebar {
  width: 250px;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  text-decoration: none;
}

.sidebar-logo i {
  width: 32px;
  height: 32px;
  background: #3b82f6;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.sidebar-nav {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

.nav-section {
  margin-bottom: 30px;
}

.nav-section-title {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 20px;
  margin-bottom: 12px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-bottom: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  background: #f3f4f6;
  color: #374151;
}

.nav-link.active {
  background: #eff6ff;
  color: #2563eb;
  border-right: 3px solid #3b82f6;
}

.nav-link i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.nav-badge {
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: auto;
}

.nav-badge.new {
  background: #10b981;
}

.nav-badge.warning {
  background: #f59e0b;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.sidebar-user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.sidebar-user-role {
  font-size: 11px;
  color: #6b7280;
  margin: 0;
}

.admin-main {
  flex: 1;
  margin-left: 250px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Mobile Sidebar */
@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .admin-sidebar.show {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 0;
  }

  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 18px;
    color: #374151;
    cursor: pointer;
    padding: 8px;
  }
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }
}

.admin-topbar {
  background: white;
  padding: 20px 30px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.page-subtitle {
  font-size: 14px;
  color: #666;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-search {
  position: relative;
  display: flex;
  align-items: center;
}

.topbar-search i {
  position: absolute;
  left: 12px;
  color: #999;
  font-size: 14px;
}

.topbar-search input {
  padding: 8px 12px 8px 35px;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  font-size: 14px;
  width: 250px;
  transition: all 0.3s ease;
}

.topbar-search input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.notification-btn {
  position: relative;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #666;
  font-size: 18px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.notification-btn:hover {
  background: #f8f9fa;
  color: #333;
}

.notification-count {
  position: absolute;
  top: 0;
  right: 0;
  background: #dc3545;
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-content {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.stat-icon.users {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon.articles {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-icon.views {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-icon.revenue {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-info {
  flex: 1;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.stat-change {
  font-size: 12px;
  font-weight: 600;
}

.stat-change.positive {
  color: #28a745;
}

.stat-change.negative {
  color: #dc3545;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dashboard-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.dashboard-card.full-width {
  grid-column: 1 / -1;
}

.card-header {
  padding: 20px 25px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-link {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.card-link:hover {
  text-decoration: underline;
}

.card-content {
  padding: 25px;
}

.chart-placeholder {
  height: 200px;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666;
}

.chart-info i {
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

.article-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
}

.article-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: #666;
}

.article-status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.article-status.published {
  background: #d4edda;
  color: #155724;
}

.article-status.pending {
  background: #fff3cd;
  color: #856404;
}

.article-status.draft {
  background: #f8d7da;
  color: #721c24;
}

/* Dashboard User Styles */
.dashboard-body {
  background: #f8f9fa;
  min-height: 100vh;
}

.dashboard-header {
  background: url("../images/navbar.png") center center;
  background-size: cover;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.dashboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-logo-image {
  height: 140px;
  width: 500px;
  object-fit: contain;
}

.dashboard-menu {
  display: flex;
  gap: 30px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.menu-item:hover,
.menu-item.active {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 20px;
}

.notification-icon {
  position: relative;
  color: #666;
  font-size: 18px;
  cursor: pointer;
}

.notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.user-profile:hover {
  background: white;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-divider {
  height: 1px;
  background: #e9ecef;
  margin: 8px 0;
}

.dashboard-main {
  padding: 40px 0;
}

.dashboard-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.welcome-content h1 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
}

.welcome-content p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.welcome-actions {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: #333;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #555;
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: #333;
  border: 2px solid #e1e5e9;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #333;
  transform: translateY(-1px);
}

.btn-secondary.small {
  padding: 8px 16px;
  font-size: 12px;
}

.user-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.user-stats .stat-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-stats .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.user-stats .stat-icon.reading {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-stats .stat-icon.saved {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.user-stats .stat-icon.time {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.user-stats .stat-icon.streak {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.user-stats .stat-number {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.user-stats .stat-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.stat-period {
  font-size: 12px;
  color: #28a745;
  font-weight: 500;
}

/* Dashboard Specific Components */
.recent-articles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recent-articles .article-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.recent-articles .article-item:last-child {
  border-bottom: none;
}

.article-thumbnail {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.article-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-articles .article-info {
  flex: 1;
}

.recent-articles .article-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.recent-articles .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.reading-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reading-progress .progress-bar {
  flex: 1;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  overflow: hidden;
}

.reading-progress .progress-fill {
  height: 100%;
  background: #28a745;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
}

/* Bildirim Dropdown Stilleri */
.notification-dropdown {
  position: relative;
  display: inline-block;
}

.notification-btn {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  color: #6b7280;
  transition: all 0.2s ease;
}

.notification-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
}

.notification-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.notification-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 350px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  margin-top: 8px;
}

.notification-dropdown-menu.show {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notification-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-header h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.mark-all-read {
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.mark-all-read:hover {
  background: rgba(59, 130, 246, 0.1);
}

.notification-list {
  max-height: 300px;
  overflow-y: auto;
}

.notification-item {
  padding: 12px 20px;
  border-bottom: 1px solid #f9fafb;
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item:hover {
  background: #f9fafb;
}

.notification-item.unread {
  background: rgba(59, 130, 246, 0.02);
  border-left: 3px solid #3b82f6;
}

.notification-content {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notification-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
}

.notification-icon.info {
  background: #3b82f6;
}

.notification-icon.warning {
  background: #f59e0b;
}

.notification-icon.error {
  background: #ef4444;
}

.notification-icon.success {
  background: #10b981;
}

.notification-text {
  flex: 1;
}

.notification-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.notification-message {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.notification-time {
  font-size: 11px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 4px;
}

.notification-priority {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.notification-priority.high {
  background: #ef4444;
}

.notification-priority.medium {
  background: #f59e0b;
}

.notification-priority.low {
  background: #10b981;
}

.notification-loading {
  padding: 40px 20px;
  text-align: center;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.notification-empty {
  padding: 40px 20px;
  text-align: center;
  color: #6b7280;
}

.notification-footer {
  padding: 12px 20px;
  border-top: 1px solid #f3f4f6;
  text-align: center;
}

.view-all {
  color: #3b82f6;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.view-all:hover {
  color: #1d4ed8;
}

/* Responsive */
@media (max-width: 768px) {
  .notification-dropdown-menu {
    width: 300px;
    right: -50px;
  }
}

@media (max-width: 480px) {
  .notification-dropdown-menu {
    width: 280px;
    right: -100px;
  }
}

/* Tüm Bildirimler Modal Stilleri */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
  animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  animation: slideInModal 0.3s ease;
}

@keyframes slideInModal {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 16px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.modal-body {
  padding: 0;
  max-height: calc(90vh - 100px);
  overflow-y: auto;
}

.all-notifications-toolbar {
  padding: 20px 30px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.notifications-stats {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.notifications-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 6px;
}

.btn-danger {
  background: #ef4444;
  color: white;
  border: 1px solid #ef4444;
  transition: all 0.2s ease;
}

.btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

.btn-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.all-notifications-list {
  min-height: 400px;
}

.all-notifications-list .notification-item {
  padding: 16px 30px;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}

.all-notifications-list .notification-item:hover {
  background: #f9fafb;
}

.all-notifications-list .notification-item:last-child {
  border-bottom: none;
}

.notifications-loading {
  padding: 60px 30px;
  text-align: center;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.notifications-empty {
  padding: 60px 30px;
  text-align: center;
  color: #6b7280;
}

.notifications-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.notifications-pagination {
  padding: 20px 30px;
  text-align: center;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

#loadMoreNotifications {
  min-width: 150px;
}

#loadMoreNotifications:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-container {
    margin: 10px;
    max-width: none;
    border-radius: 12px;
  }
  
  .modal-header {
    padding: 20px;
  }
  
  .all-notifications-toolbar {
    padding: 15px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  
  .notifications-actions {
    justify-content: center;
  }
  
  .all-notifications-list .notification-item {
    padding: 12px 20px;
  }
  
  .notifications-loading,
  .notifications-empty {
    padding: 40px 20px;
  }
}
  color: #666;
  white-space: nowrap;
}

/* Recommendations */
.recommendations {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recommendation-item {
  position: relative;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #007bff;
}

.recommendation-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.recommendation-badge.new {
  background: #d4edda;
  color: #155724;
}

.recommendation-badge.trending {
  background: #fff3cd;
  color: #856404;
}

.recommendation-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.recommendation-item p {
  font-size: 14px;
  color: #666;
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.recommendation-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: #666;
}

.recommendation-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Saved Articles */
.saved-articles {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.saved-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.saved-item:last-child {
  border-bottom: none;
}

.saved-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
}

.saved-date {
  font-size: 12px;
  color: #666;
}

.saved-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #666;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.action-btn:hover {
  background: #f8f9fa;
  color: #333;
}

/* Interest Areas */
.interest-areas {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.interest-item {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.interest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.interest-header h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.interest-score {
  font-size: 14px;
  font-weight: 600;
  color: #28a745;
  background: #d4edda;
  padding: 4px 8px;
  border-radius: 4px;
}

.interest-item p {
  font-size: 14px;
  color: #666;
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.interest-stats {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #666;
}

.interest-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Activity List */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.activity-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
}

.activity-icon.new-article {
  background: #28a745;
}

.activity-icon.user-join {
  background: #007bff;
}

.activity-icon.comment {
  background: #ffc107;
  color: #333;
}

.activity-content {
  flex: 1;
}

.activity-text {
  font-size: 14px;
  color: #333;
  margin: 0 0 5px 0;
  line-height: 1.5;
}

.activity-time {
  font-size: 12px;
  color: #666;
}

.activity-filters {
  display: flex;
  gap: 10px;
  align-items: center;
}

.filter-btn {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
}

.filter-btn.active,
.filter-btn:hover {
  background: #333;
  border-color: #333;
  color: white;
}

/* Category Progress */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.category-name {
  flex: 0 0 150px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.category-bar {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.category-progress {
  height: 100%;
  background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.category-count {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

/* Period Selector */
.period-selector {
  background: white;
  border: 1px solid #e9ecef;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.period-selector:focus {
  outline: none;
  border-color: #007bff;
}

/* Chart Placeholder Improvements */
.activity-chart {
  height: 200px;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #dee2e6;
}

.chart-placeholder {
  text-align: center;
}

.chart-placeholder i {
  font-size: 48px;
  color: #dee2e6;
  margin-bottom: 15px;
  display: block;
}

.chart-placeholder p {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

/* Card Actions */
.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #666;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-icon:hover {
  background: #f8f9fa;
  color: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Auth Pages Responsive */
  .auth-main {
    padding: 40px 0;
  }

  .auth-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
  }

  .auth-left {
    padding: 0;
    text-align: center;
    order: 2;
  }

  .auth-right {
    order: 1;
  }

  .auth-welcome h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .auth-welcome p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .auth-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .stat-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
  }

  .stat-number {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .stat-label {
    font-size: 13px;
  }

  .auth-features {
    gap: 12px;
  }

  .feature-item {
    font-size: 13px;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .auth-card {
    padding: 25px 20px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
  }

  .auth-card-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .auth-card-header p {
    font-size: 13px;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .input-group input,
  .input-group select {
    padding: 14px 14px 14px 40px;
    font-size: 14px;
  }

  .input-group i {
    left: 12px;
  }
  

  .checkbox-container {
    font-size: 13px;
    line-height: 1.4;
    gap: 10px;
  }

  .auth-btn {
    padding: 14px 24px;
    font-size: 15px;
  }

  .social-btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .benefit-item {
    flex-direction: row;
    text-align: left;
    gap: 12px;
    justify-content: center;
  }

  /* Admin Panel Responsive */
  .admin-sidebar {
    transform: translateX(-100%);
    width: 320px;
    z-index: 2000;
    box-shadow: none;
  }

  .sidebar-collapsed .admin-sidebar {
    transform: translateX(0);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  }

  .mobile-toggle {
    display: block;
  }

  /* Sidebar Header Styling */
  .sidebar-header {
    padding: 25px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
  }

  .sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .sidebar-logo-image {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
  }

  .sidebar-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
  }

  /* Hide logo when sidebar is collapsed */
  .sidebar-collapsed .sidebar-logo-image,
  .sidebar-collapsed .sidebar-logo-text {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
  }

  /* Sidebar Toggle Button at Bottom - Enhanced */
  .sidebar-nav-toggle {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    display: none;
    background: #f8f9fa;
  }

  .sidebar-nav-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .sidebar-nav-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  }

  .sidebar-nav-toggle-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
  }

  .sidebar-nav-toggle-btn i {
    font-size: 16px;
  }

  /* Show toggle button on mobile when sidebar is open */
  @media (max-width: 768px) {
    .sidebar-collapsed .sidebar-nav-toggle {
      display: block;
    }

    .sidebar-header {
      padding: 20px;
      min-height: 70px;
    }

    .sidebar-logo-image {
      height: 35px;
    }

    .sidebar-logo-text {
      font-size: 16px;
    }
  }

  .admin-main {
    margin-left: 0;
  }

  .sidebar-collapsed .admin-main {
    margin-left: 0;
  }

  .mobile-only {
    display: block !important;
  }

  /* Mobile topbar improvements */
  .admin-topbar {
    padding: 15px 20px;
  }

  .topbar-left {
    position: relative;
  }

  .mobile-only {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 16px;
    z-index: 2;
  }

  .page-title {
    padding-left: 56px; /* space for hamburger */
  }

  .mobile-only:hover {
    background: #e9ecef;
  }

  .topbar-search {
    display: none;
  }

  .admin-content {
    padding: 20px 15px;
  }

  .page-title h1 {
    font-size: 20px;
  }

  /* Dashboard User Responsive */
  .dashboard-nav {
    flex-wrap: wrap;
    gap: 15px;
  }

  .dashboard-menu {
    display: none;
  }

  .dashboard-user {
    gap: 15px;
  }

  .user-name {
    display: none;
  }

  .dashboard-welcome {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 20px;
  }

  .welcome-content h1 {
    font-size: 24px;
  }

  .welcome-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Stats and Grids Responsive */
  .stats-grid,
  .dashboard-grid,
  .user-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-card {
    padding: 20px;
  }

  .card-content {
    padding: 20px;
  }

  .card-header {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Dashboard Cards Responsive */
  .recent-articles .article-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .article-thumbnail {
    width: 100%;
  }

  .article-thumbnail img {
    width: 100%;
    height: 150px;
  }

  .saved-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .interest-areas {
    gap: 20px;
  }

  .interest-item {
    padding: 15px;
  }

  .interest-stats {
    flex-wrap: wrap;
    gap: 10px;
  }

  .recommendation-item {
    padding: 15px;
  }

  /* Activity List Responsive */
  .activity-filters {
    flex-wrap: wrap;
    gap: 8px;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .activity-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .activity-content {
    width: 100%;
  }

  /* Category Progress Bars */
  .category-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .category-bar {
    width: 100%;
    order: 2;
  }

  .category-count {
    order: 3;
    align-self: flex-end;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  /* Auth Pages Extra Small */
  .auth-main {
    padding: 30px 0;
  }

  .auth-header {
    padding: 15px 0;
  }

  .auth-logo-image {
    height: 100px;
    width: 350px;
  }

  .back-home {
    font-size: 12px;
  }

  .auth-welcome h1 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .auth-welcome p {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .auth-stats {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
  }

  .stat-item {
    padding: 15px;
    border-radius: 10px;
  }

  .stat-number {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .stat-label {
    font-size: 12px;
  }

  .auth-features {
    gap: 10px;
  }

  .feature-item {
    font-size: 12px;
    gap: 10px;
  }

  .feature-item i {
    font-size: 14px;
  }

  .auth-card {
    padding: 20px 15px;
    border-radius: 12px;
  }

  .auth-card-header {
    margin-bottom: 25px;
  }

  .auth-card-header h2 {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .auth-card-header p {
    font-size: 12px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group label {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .input-group input,
  .input-group select {
    padding: 12px 12px 12px 35px;
    font-size: 13px;
    border-radius: 8px;
  }

  .input-group i {
    left: 10px;
    font-size: 14px;
  }


  .checkbox-container {
    font-size: 12px;
    line-height: 1.3;
    gap: 8px;
  }

  .checkmark {
    width: 16px;
    height: 16px;
  }

  .form-options {
    margin: 8px 0;
  }

  .auth-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .auth-divider {
    margin: 25px 0;
  }

  .auth-divider span {
    font-size: 12px;
    padding: 0 15px;
  }

  .social-btn {
    padding: 10px 14px;
    font-size: 12px;
  }

  .auth-footer {
    margin-top: 15px;
    font-size: 12px;
  }

  /* Dashboard Extra Small */
  .dashboard-header {
    padding: 10px 0;
  }

  .dashboard-logo-image {
    height: 100px;
    width: 350px;
  }

  .notification-icon {
    font-size: 16px;
  }

  .user-avatar {
    width: 28px;
    height: 28px;
  }

  .welcome-content h1 {
    font-size: 20px;
  }

  .welcome-content p {
    font-size: 14px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Admin Panel Extra Small */
  .admin-content {
    padding: 15px 10px;
  }

  .sidebar-header {
    padding: 15px;
  }

  .sidebar-logo-image {
    height: 30px;
  }

  .nav-link {
    padding: 10px 15px;
    font-size: 13px;
  }

  .stat-card {
    padding: 15px;
    flex-direction: column;
    text-align: center;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .chart-placeholder {
    height: 150px;
  }

  .chart-info i {
    font-size: 36px;
  }
}

/* Large Mobile Landscape / Small Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .dashboard-menu {
    gap: 20px;
  }

  .menu-item {
    padding: 8px 12px;
    font-size: 13px;
  }

  .dashboard-user {
    gap: 15px;
  }

  .user-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card.full-width {
    grid-column: 1;
  }

  .admin-sidebar {
    width: 240px;
  }

  .admin-main {
    margin-left: 240px;
  }

  .sidebar-collapsed .admin-main {
    margin-left: 60px;
  }

  .sidebar-collapsed .admin-sidebar {
    width: 60px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet tuning for hero title */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: 56px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .nav-link,
  .menu-item,
  .auth-btn,
  .btn-primary,
  .btn-secondary {
    min-height: 44px;
    padding: 12px 16px;
  }

  .social-icon,
  .notification-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .checkbox-container {
    min-height: 44px;
    align-items: center;
  }

  .checkmark {
    width: 24px;
    height: 24px;
  }

  .filter-btn {
    min-height: 40px;
    padding: 8px 16px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .logo-image,
  .auth-logo-image,
  .dashboard-logo-image,
  .sidebar-logo-image,
  .footer-logo-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
  }
}

/* Tablet layout tweaks for main pages */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .authors-slider {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 72px;
  }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999
}

.modal-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: clamp(16px,4vw,28px);
    width: min(560px,100%);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    text-align: center
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 8px;
    color: #22c55e
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: 0;
    font-size: 20px;
    cursor: pointer;
    line-height: 1
}

@media (max-width:480px) {
    .modal-card {
        border-radius: 12px
    }

    .modal-actions {
        flex-direction: column
    }
}
/* Body scroll kilidi */
.no-scroll {
    overflow: hidden
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999
}

.modal-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: clamp(16px,4vw,28px);
    width: min(560px,100%);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    text-align: center
}

    .modal-card .modal-icon {
        font-size: 48px;
        margin-bottom: 8px
    }

    .modal-card.warning .modal-icon {
        color: #f59e0b
    }
/* amber */
.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: 0;
    font-size: 20px;
    cursor: pointer;
    line-height: 1
}

@media (max-width:480px) {
    .modal-card {
        border-radius: 12px
    }

    .modal-actions {
        flex-direction: column
    }
}

.no-scroll {
    overflow: hidden
}
.author-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

    .author-row input {
        flex: 1;
    }

.btn-secondary.small {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 10px;
}

/* ===== Admin Filters: consistent, compact, pretty ===== */
.filters-grid {
    display: grid;
    gap: 12px;
    align-items: end;
}

@media (min-width: 992px) {
    .filters-grid {
        grid-template-columns: 1.6fr 160px 150px 180px 180px auto; /* search | id | pinned | from | to | actions */
    }
}

.input-group {
    position: relative;
}

.input-addon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted, #8a8f98);
    font-size: 0.95rem;
    pointer-events: none;
}

.input-group .form-control,
.input-group input[type="text"],
.input-group input[type="number"],
.input-group input[type="date"],
.input-group select {
    padding-left: 38px; /* space for icon */
    height: 40px;
    border-radius: 10px;
}

/* Toggle-like checkbox (pinnedOnly) */
.switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .switch .form-check-input {
        width: 42px;
        height: 22px;
        border-radius: 20px;
        appearance: none;
        position: relative;
        outline: none;
        cursor: pointer;
        background: #e5e7eb;
        border: 1px solid #d1d5db;
        transition: .2s;
    }

        .switch .form-check-input:checked {
            background: var(--primary, #2563eb);
            border-color: var(--primary, #2563eb);
        }

        .switch .form-check-input::after {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 1px 2px rgba(0,0,0,.1);
            transition: .2s;
        }

        .switch .form-check-input:checked::after {
            left: 23px;
        }

    .switch .label {
        color: var(--muted, #8a8f98);
        font-size: .9rem;
    }

/* Actions right-aligned */
.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-icon i {
    opacity: .8;
    margin-right: .4rem;
}
/* ===== Settings: tabs + tidy forms ===== */
.tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tab-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tab-link {
    padding: 10px 14px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #111827;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

    .tab-link.active {
        background: #111827;
        color: #fff;
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.form-grid {
    display: grid;
    gap: 12px;
}

    .form-grid.cols-2 {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .form-grid.cols-3 {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

@media (max-width: 992px) {
    .form-grid.cols-2, .form-grid.cols-3 {
        grid-template-columns: 1fr;
    }
}

.help {
    color: #6b7280;
    font-size: .9rem;
    margin-top: 4px;
}

.alert {
    padding: 10px 12px;
    border-radius: 10px;
}

    .alert.ok {
        background: #ecfdf5;
        color: #065f46;
    }

    .alert.err {
        background: #fef2f2;
        color: #991b1b;
    }

.badge-chip {
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: .85rem;
}

.color-preview {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Slider Link Text - Tıklanabilir buton görünümü için CSS */
.slider-link-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
    pointer-events: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.slider-clickable:hover .slider-link-text {
    background: rgba(13, 110, 253, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

/* Animasyonlu pulse efekti */
.slider-link-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 27px;
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.5), rgba(255, 255, 255, 0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-clickable:hover .slider-link-text::before {
    opacity: 1;
    animation: pulse-border 1.5s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.02); opacity: 0.8; }
}

/* Slider Image Link - Sadece resim tıklanabilir */
.slider-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-image-link:hover {
    text-decoration: none;
    color: inherit;
}

.slider-image-link:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}

.slider-image-link:hover img {
    transform: scale(1.02);
    filter: brightness(0.95);
}

/* Icon animasyonu */
.slider-link-text i {
    animation: icon-pulse 2s ease-in-out infinite;
}

.slider-image-link:hover + .biokim-slide-caption .slider-link-text i {
    animation: icon-bounce 0.6s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes icon-bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

/* ==================== BIOKIM SLIDESHOW STYLES ==================== */

.biokim-slideshow-section {
    padding: 32px 0 64px;
    background: #ffffff;
}

.biokim-slideshow {
    --biokim-autoplay: 5000ms;
    --biokim-accent: #333;
    --biokim-accent-2: #595959;
    position: relative;
    width: 100%;
    height: clamp(240px, 44vw, 560px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.10);
    background: #f5f5f5;
    isolation: isolate;
}

/* Yumuşak overlay ve ışık efekti */
.biokim-slideshow::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 480px at 8% 0%, rgba(17, 24, 39, 0.18), transparent 60%),
        linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
    pointer-events: none;
}

.biokim-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 600ms ease;
    will-change: opacity;
    z-index: 0;
}

.biokim-slide.is-active {
    opacity: 1;
}

.biokim-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
}

/* Ken Burns efekti - aktif slaytta */
.biokim-slide.is-active img {
    animation: biokim-kenburns var(--biokim-autoplay) ease-in-out both;
}

/* Farklı odak noktaları */
.biokim-slide:nth-child(1) img { transform-origin: 20% 40%; }
.biokim-slide:nth-child(2) img { transform-origin: 80% 60%; }
.biokim-slide:nth-child(3) img { transform-origin: 50% 20%; }

@keyframes biokim-kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

.biokim-slide-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    color: #fff;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.55));
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    z-index: 3;
    pointer-events: none;
}

.biokim-slide-caption h3 {
    margin: 0 0 6px 0;
    font-family: "Poppins", "Inter", sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 2.2vw, 24px);
    letter-spacing: 0.2px;
    color: #fff;
}

.biokim-slide-caption p {
    margin: 0;
    font-size: clamp(12px, 1.6vw, 14px);
    color: #eaeaea;
    line-height: 1.5;
}

.biokim-slideshow-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: rgba(255,255,255,0.85);
    color: #111827;
    border: 1px solid rgba(17,24,39,0.08);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.biokim-slideshow-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    pointer-events: none;
    z-index: 3;
}

.biokim-slideshow-prev,
.biokim-slideshow-next {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(17,24,39,0.08);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    color: #111827;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    backdrop-filter: blur(6px) saturate(120%);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.biokim-slideshow-prev:hover,
.biokim-slideshow-next:hover {
    background: #333;
    border-color: #333;
    color: #fff;
    transform: translateY(-1px);
}

.biokim-slideshow-dots {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.biokim-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(17,24,39,0.15);
    cursor: pointer;
    transition: all 0.25s ease;
}

.biokim-dot.is-active {
    background: var(--biokim-accent);
    border-color: var(--biokim-accent);
    transform: scale(1.1);
}

/* Slider image link hover efektleri */
.slider-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
}

.slider-image-link:hover {
    text-decoration: none;
    color: inherit;
}

.slider-image-link:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}

.slider-image-link:hover img {
    transform: scale(1.02);
    filter: brightness(0.95);
}

.slider-image-link:hover + .biokim-slide-caption {
    transform: translateY(-1px);
}

/* Erişilebilirlik odak */
.biokim-slideshow:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}

/* Responsive ayarlar - Tablet */
@media (max-width: 768px) {
    .biokim-slideshow-section {
        padding: 16px 0 32px;
    }
    
    .biokim-slideshow {
        height: 320px;
        border-radius: 12px;
    }
    
    .biokim-slideshow-prev,
    .biokim-slideshow-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .biokim-slide-caption {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 12px 16px;
        background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
        border: 1px solid rgba(255,255,255,0.2);
    }
    
    .biokim-slide-caption h3 {
        font-size: 18px;
        margin-bottom: 4px;
        color: #fff;
    }
    
    .biokim-slide-caption p {
        font-size: 13px;
        color: #eaeaea;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .biokim-slideshow-badge {
        top: 12px;
        left: 12px;
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .slider-link-text {
        position: absolute;
        bottom: 15px;
        right: 15px;
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.9);
        color: #111827;
        border: 1px solid rgba(17, 24, 39, 0.15);
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        z-index: 10;
        pointer-events: none;
    }
    
    .slider-link-text i {
        font-size: 12px;
    }
}

/* Responsive - Mobile Large */
@media (max-width: 576px) {
    .biokim-slideshow {
        height: 280px;
    }
    
    .biokim-slide-caption {
        background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
        padding: 10px 14px;
        border: 1px solid rgba(255,255,255,0.2);
    }
    
    .biokim-slide-caption h3 {
        font-size: 16px;
        color: #fff;
    }
    
    .biokim-slide-caption p {
        font-size: 12px;
        color: #eaeaea;
        -webkit-line-clamp: 1;
    }
    
    .biokim-slideshow-controls {
        gap: 8px;
    }
    
    .slider-link-text {
        bottom: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Responsive - Mobile Small */
@media (max-width: 480px) {
    .biokim-slideshow-section {
        padding: 12px 0 24px;
    }
    
    .biokim-slideshow {
        height: 240px;
        border-radius: 8px;
    }
    
    .biokim-slideshow-prev,
    .biokim-slideshow-next {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .biokim-slide-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 10px 12px;
        border-radius: 8px;
        background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.85));
    }
    
    .biokim-slide-caption h3 {
        font-size: 15px;
        margin-bottom: 2px;
        color: #fff;
    }
    
    .biokim-slide-caption p {
        display: none; /* Çok küçük ekranlarda alt başlığı gizle */
    }
    
    .biokim-slideshow-badge {
        font-size: 9px;
        padding: 3px 6px;
        top: 8px;
        left: 8px;
    }
    
    .biokim-dot {
        width: 6px;
        height: 6px;
    }
    
    .biokim-slideshow-dots {
        gap: 4px;
        bottom: 8px;
        right: 12px;
    }
    
    .slider-link-text {
        position: absolute;
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 16px;
        gap: 5px;
        background: rgba(255, 255, 255, 0.95);
        color: #111827;
        border: 1px solid rgba(17, 24, 39, 0.2);
        display: flex;
        align-items: center;
        font-weight: 600;
        z-index: 10;
        pointer-events: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    
    .slider-link-text i {
        font-size: 10px;
    }
    
    .slider-link-text span {
        display: inline-block;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .biokim-slideshow {
        height: 200px;
    }
    
    .biokim-slide-caption {
        padding: 8px 10px;
    }
    
    .biokim-slide-caption h3 {
        font-size: 14px;
        font-weight: 600;
        color: #fff;
    }
    
    .biokim-slideshow-controls {
        display: none; /* Çok küçük ekranlarda prev/next butonları gizle */
    }
    
    .biokim-slideshow-dots {
        bottom: 6px;
        right: 50%;
        transform: translateX(50%); /* Ortala */
    }
    
    .slider-link-text {
        font-size: 10px;
        padding: 5px 10px;
        bottom: 8px;
        right: 8px;
    }
    
    .slider-link-text span {
        display: none; /* Çok küçük ekranlarda sadece ikon göster */
    }
    
    .slider-link-text i {
        margin: 0;
    }
}


