/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #1e293b;
  --accent: #06b6d4;
  --bg: #f8fafc;
  --bg-dark: #0f172a;
  --text: #334155;
  --text-light: #94a3b8;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Erişilebilirlik: Focus visible stili */
.keyboard-nav *:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.keyboard-nav a:focus,
.keyboard-nav button:focus,
.keyboard-nav input:focus,
.keyboard-nav select:focus,
.keyboard-nav textarea:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Reduced motion tercih eden kullanıcılar */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.navbar-brand svg {
  width: 36px;
  height: 36px;
}

.navbar-brand span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar Links */
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: dropdownFade 0.2s ease-out;
  margin-top: 15px;
  /* Boşluk */
}

/* Köprü (Bridge) - Fare hover kaybolmasın diye */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
  /* Margin kadar */
}

/* Ok işareti */
.dropdown-content::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: var(--text);
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.dropdown-content a::after {
  display: none;
  /* Alt çizgi iptal */
}

.dropdown-content a:hover {
  background-color: var(--bg);
  color: var(--primary);
  padding-left: 20px;
  /* Hafif kayma efekti */
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-links .btn-nav {
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-links .btn-nav:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-links .language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-light);
}

.nav-links .language-switcher a::after {
  display: none;
}

.nav-links .language-switcher a:hover,
.nav-links .language-switcher a.active {
  background: var(--primary);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #1e3a6e 0%, #1d4e89 50%, #0e639c 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  filter: brightness(1.35) saturate(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(100deg, rgba(13, 33, 71, 0.82) 0%, rgba(15, 41, 87, 0.62) 38%, rgba(23, 78, 134, 0.30) 62%, rgba(14, 165, 233, 0.12) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
  z-index: 1;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) rotate(5deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(-3deg);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  filter: drop-shadow(0 2px 14px rgba(4, 15, 34, 0.55));
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: #dbe6f3;
  margin-bottom: 32px;
  max-width: 500px;
  text-shadow: 0 1px 10px rgba(4, 15, 34, 0.6);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 450px;
}

.hero-card .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hero-card .stat-item {
  text-align: center;
}

.hero-card .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.hero-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-iyzico {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-iyzico:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  flex: 1;
  justify-content: center;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}

.contact-send-buttons {
  display: flex;
  gap: 12px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-gray {
  background: #f1f5f9;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-dark .section-header .badge {
  background: rgba(14, 165, 233, 0.2);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

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

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

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

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(14, 165, 233, 0.05);
  border-radius: 10px;
}

.about-feature .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 3px;
}

.about-image-wrapper .placeholder-img {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #1e3a5f, #0c4a6e);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

/* ===== TECHNOLOGIES ===== */
.tech-section {
  background: var(--white);
  padding: 42px 0 44px;
  overflow: hidden;
}

.tech-section-header {
  margin: 0 auto 22px;
  text-align: center;
}

.tech-section-header h2 {
  font-size: 1.85rem;
  line-height: 1.2;
  margin: 0;
  color: var(--secondary);
}

.tech-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tech-card {
  min-width: 0;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-3px);
}

.tech-mark {
  height: 72px;
  min-width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.tech-mark svg {
  width: 76px;
  height: 58px;
  display: block;
}

.tech-mark text {
  fill: #fff;
  font-size: 10px;
  font-weight: 900;
}

.tech-mark-iot {
  width: 96px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.16) 0 4px, transparent 5px),
    radial-gradient(circle at 74% 24%, rgba(14, 165, 233, 0.14) 0 3px, transparent 4px),
    radial-gradient(circle at 82% 70%, rgba(14, 165, 233, 0.12) 0 4px, transparent 5px),
    #eef9ff;
  flex-direction: column;
  color: #0ea5e9;
}

.tech-mark-iot span {
  font-size: 1.55rem;
  line-height: 1;
}

.tech-mark-iot small {
  color: #3b82b6;
  font-size: 0.48rem;
  font-weight: 700;
  margin-top: 2px;
}

.tech-mark-4g {
  color: #0f7fc5;
  font-size: 1.8rem;
  position: relative;
}

.tech-mark-4g::before {
  content: "";
  width: 34px;
  height: 26px;
  margin-right: 8px;
  background:
    linear-gradient(to top, #0f7fc5 0 30%, transparent 30%) 0 100% / 6px 100% no-repeat,
    linear-gradient(to top, #0f7fc5 0 48%, transparent 48%) 9px 100% / 6px 100% no-repeat,
    linear-gradient(to top, #0f7fc5 0 68%, transparent 68%) 18px 100% / 6px 100% no-repeat,
    linear-gradient(to top, #0f7fc5 0 88%, transparent 88%) 27px 100% / 6px 100% no-repeat;
}

.tech-mark-nbiot,
.tech-mark-espnow {
  width: 70px;
  height: 54px;
  border-radius: 16px;
  flex-direction: column;
  color: #fff;
  line-height: 1;
}

.tech-mark-nbiot {
  background: linear-gradient(135deg, #16a34a, #0ea5e9);
}

.tech-mark-espnow {
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.tech-mark-nbiot span,
.tech-mark-espnow span {
  font-size: 1.45rem;
}

.tech-mark-nbiot small,
.tech-mark-espnow small {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.66rem;
  font-weight: 900;
  margin-top: 2px;
}

.tech-mark-wifi {
  width: 78px;
  height: 52px;
  border-radius: 48% 52% 48% 52%;
  background: #1d8cff;
  color: #fff;
  box-shadow:
    -22px 8px 0 -12px #1d8cff,
    22px 8px 0 -12px #1d8cff;
  font-size: 1.28rem;
}

.tech-mark-tcp {
  width: 78px;
  height: 60px;
  border-radius: 50%;
  background: #dff5ff;
  color: #0ea5e9;
  font-size: 1.05rem;
}

.tech-mark-modbus {
  min-width: 86px;
  color: #239a44;
  font-style: italic;
  font-size: 1.12rem;
}

.tech-mark-modbus::before {
  content: "";
  width: 24px;
  height: 24px;
  margin-right: 3px;
  background: linear-gradient(135deg, #f97316 0 35%, #22c55e 35% 68%, #0ea5e9 68%);
  border-radius: 6px;
}

.tech-mark-lora {
  min-width: 108px;
  color: #0ea5e9;
}

.tech-mark-lora svg {
  width: 112px;
  height: 64px;
}

.tech-mark-lora text {
  fill: #05070a;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1;
  paint-order: stroke;
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -2px;
}

.tech-mark-mqtt {
  position: relative;
  flex-direction: column;
  color: #5b8fb6;
}

.tech-mark-mqtt strong {
  color: #6b7280;
  font-size: 1.1rem;
  margin-top: -12px;
}

/* ===== PRODUCTS / CATALOG ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.product-image {
  height: 220px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.product-image .product-icon {
  font-size: 4rem;
  opacity: 0.6;
}

.product-image .product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--product-card-image-padding, 0);
  position: relative;
  z-index: 1;
  transform: scale(var(--product-card-image-scale, 1.10));
  transition: transform 0.4s ease;
}

a.product-card:hover .product-img {
  transform: scale(var(--product-card-image-hover-scale, 1.17));
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 12px;
  background: var(--primary);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-badge.sale {
  background: #ef4444;
}

.product-info {
  padding: 24px;
}

.product-category-crumb {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 6px;
  opacity: 0.8;
  letter-spacing: 0.01em;
}

.product-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-info .desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.5;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.product-features span {
  padding: 4px 10px;
  background: rgba(14, 165, 233, 0.08);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-price .price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.product-price .old-price {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-right: 8px;
}

.product-price .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ===== TRACKING SYSTEMS ===== */
.tracking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tracking-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.tracking-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.tracking-card:hover .tracking-link {
  color: var(--primary-dark);
  gap: 8px;
}

.tracking-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.tracking-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

.tracking-card p {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.tracking-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .tracking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tracking-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.project-image {
  height: 200px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.7;
}

.project-info {
  padding: 24px;
}

.project-info .tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.project-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.project-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author .name {
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.9rem;
}

.testimonial-author .role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-item h4 {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.4fr 1.4fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-light);
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-section-gap {
  margin-top: 24px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1;
}

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

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-info p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 6px;
}

.footer-info p strong {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-light);
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.payment-methods {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.payment-methods .method {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ===== iyzico CHECKOUT MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.modal h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.modal .subtitle {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.order-summary {
  background: var(--bg);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.order-summary .item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.order-summary .total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  color: var(--secondary);
}

.iyzico-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: #f0fdf4;
  border-radius: 10px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #166534;
}

.iyzico-badge svg {
  flex-shrink: 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--bg-dark), #1a365d);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.products-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 34px 0 8px;
}

.products-pagination:empty {
  display: none;
}

.products-page-btn,
.products-page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.products-page-btn:hover,
.products-page-number:hover,
.products-page-number.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.products-page-btn:disabled,
.products-page-btn.is-disabled {
  opacity: .45;
  cursor: not-allowed;
  background: var(--white);
  color: var(--text-light);
  border-color: var(--border);
  pointer-events: none;
}

.products-page-info {
  color: var(--text-light);
  font-size: .9rem;
  font-weight: 700;
  padding: 0 4px;
}

/* ===== PRODUCT CARD OVERLAY ===== */
a.product-card {
  display: block;
  color: inherit;
}

a.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 165, 233, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: var(--transition);
  border-radius: 0;
}

.product-image {
  position: relative;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

/* ===== PROJECT MODAL ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--white);
  border-radius: 20px;
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s ease;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
  transform: rotate(90deg);
}

.project-modal-body {
  display: flex;
  gap: 0;
  flex-direction: column;
}

@media (min-width: 768px) {
  .project-modal-body {
    flex-direction: row;
    height: 600px;
    max-height: 80vh;
  }
}

.project-modal-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}

@media (min-width: 768px) {
  .project-modal-image {
    width: 50%;
    height: auto;
    flex-shrink: 0;
  }
}

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

.project-modal-info {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

@media (min-width: 768px) {
  .project-modal-info {
    padding: 48px;
  }
}

.project-modal-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.project-modal-info .tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.project-modal-info p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.project-modal-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 32px;
  color: var(--secondary);
}

.project-modal-info ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.project-modal-info li {
  padding-left: 24px;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}

.project-modal-info li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* ===== PRODUCT DETAIL ===== */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pd-gallery {
  position: sticky;
  top: 96px;
}

.pd-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  aspect-ratio: 1/0.85;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pd-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.pd-image-placeholder {
  opacity: 0.6;
}

.pd-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.pd-thumb.active,
.pd-thumb:hover {
  border-color: var(--primary);
}

/* Info */
.pd-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pd-stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pd-stock.in-stock {
  background: #f0fdf4;
  color: #16a34a;
}

.pd-sku {
  font-size: 0.8rem;
  color: var(--text-light);
}

.pd-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.pd-short-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  white-space: pre-line;
}

/* Price */
.pd-price-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.pd-old-price {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.pd-current-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.pd-discount {
  background: #fef2f2;
  color: #ef4444;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pd-havale {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.pd-havale strong {
  color: #16a34a;
}

/* Options */
.pd-options {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 28px;
}

.pd-option-group {}

.pd-option-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.pd-option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-opt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.pd-opt-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pd-opt-btn.active {
  border-color: var(--primary);
  background: rgba(14, 165, 233, 0.08);
  color: var(--primary);
  font-weight: 700;
}

/* Quantity */
.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
}

.pd-qty-btn {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
}

.pd-qty-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.pd-qty-input {
  width: 56px;
  height: 44px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--secondary);
  background: var(--white);
  -moz-appearance: textfield;
}

.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Config Summary */
.pd-config-summary {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.pd-config-summary h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.pd-config-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.pd-config-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
}

.pd-config-row .label {
  color: var(--text);
}

.pd-config-total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 2px solid var(--border);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
}

.pd-config-total span:last-child {
  color: var(--primary);
}

/* Actions */
.pd-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.pd-buy-btn {
  flex: 1;
  justify-content: center;
}

/* Trust */
.pd-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #16a34a;
  padding: 10px 12px;
  background: #f0fdf4;
  border-radius: 8px;
}

/* Tabs */
.pd-tabs-section {
  grid-column: 1 / -1;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.pd-tabs-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
}

.pd-tab-btn {
  padding: 12px 24px;
  border: none;
  background: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  font-family: inherit;
}

.pd-tab-btn:hover {
  color: var(--primary);
}

.pd-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.pd-tab-content {
  display: none;
}

.pd-tab-content.active {
  display: block;
}

/* Features List */
.pd-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pd-feat-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pd-feat-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.pd-feat-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 4px;
}

.pd-feat-item p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Specs Table */
.pd-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.pd-specs-table tr {
  border-bottom: 1px solid var(--border);
}

.pd-specs-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
}

.pd-specs-table td:first-child {
  font-weight: 600;
  color: var(--secondary);
  width: 40%;
}

.pd-specs-table td:last-child {
  color: var(--text-light);
}

.pd-specs-table tr:hover {
  background: rgba(14, 165, 233, 0.03);
}

/* Shipping Info */
.pd-shipping-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pd-ship-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.pd-ship-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 6px;
  white-space: pre-line;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover .whatsapp-label {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.whatsapp-label {
  position: absolute;
  right: 64px;
  background: #25D366;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-label::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #25D366;
}

/* ===== CHATBOT ===== */
.chatbot-wrapper {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 1001;
}

.chatbot-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(14, 165, 233, 0.5);
}

.chatbot-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

.chatbot-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 360px;
  max-height: 500px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.3s ease;
}

.chatbot-panel.active {
  display: flex;
}

@keyframes chatSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.chatbot-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-header strong {
  display: block;
  font-size: 0.9rem;
}

.chatbot-status {
  font-size: 0.72rem;
  opacity: 0.85;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  line-height: 1;
}

.chatbot-close:hover {
  opacity: 1;
}

.chatbot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  max-width: 85%;
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-msg.bot .chat-bubble {
  background: var(--bg);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.chat-quick-btn {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  font-size: 0.78rem;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-weight: 500;
}

.chat-quick-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.chatbot-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.chatbot-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.chatbot-input:focus {
  border-color: var(--primary);
}

.chatbot-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.chatbot-send:hover {
  background: var(--primary-dark);
}

/* ===== PAGE HERO (Legal/About pages) ===== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a365d 50%, #0c4a6e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: var(--text-light);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  position: relative;
  z-index: 1;
}

/* ===== LEGAL CONTENT (Gizlilik, Kullanım Koşulları) ===== */
.legal-content {
  padding: 80px 0;
}

.legal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: none;
  margin-top: 12px;
}

.legal-section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.legal-contact {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}

.legal-contact p {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.legal-update {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.legal-update p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== ABOUT PAGE ===== */
.about-page-content {
  padding: 80px 0;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-page-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
}

.about-page-text p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.about-value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.about-value-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.about-mission-section {
  padding-top: 0;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-mission-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}

.about-mission-card h2 {
  color: var(--secondary);
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 12px 0 14px;
}

.about-mission-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.about-team-section {
  padding: 80px 0;
  background: #f1f5f9;
}

.about-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.timeline-year {
  width: 80px;
  text-align: right;
  padding-right: 32px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 3px var(--primary);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.timeline-content {
  padding-left: 32px;
  flex: 1;
}

.timeline-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== SKELETON / LOADING ===== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  width: 100%;
}

.skeleton-text-sm {
  height: 12px;
  width: 60%;
}

.skeleton-title {
  height: 24px;
  width: 80%;
  margin-bottom: 12px;
}

.skeleton-image {
  width: 100%;
  height: 220px;
}

.skeleton-btn {
  height: 44px;
  width: 120px;
}

.skeleton-price {
  height: 28px;
  width: 100px;
}

/* Product card skeleton */
.product-card-skeleton .product-image {
  background: none;
}

.product-card-skeleton .skeleton-image {
  border-radius: 0;
}

.product-card-skeleton .product-info {
  padding: 24px;
}

/* ===== NEWS SECTION ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
  color: inherit;
}

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

.news-card-image {
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-info {
  padding: 20px 24px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-card-category {
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.news-card-info h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-info p {
  font-size: 0.88rem;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    gap: 20px 28px;
  }

  .tech-card {
    overflow: hidden;
  }

  .tech-section-header h2 {
    font-size: 1.8rem;
  }

  .references-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .ref-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .ref-stats-grid > div {
    min-width: 0;
    overflow: hidden;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .pd-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pd-gallery {
    position: static;
  }

  .pd-shipping-info {
    grid-template-columns: 1fr;
  }

  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-mission-grid {
    grid-template-columns: 1fr;
  }

  .references-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .filter-bar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }

  .navbar .container {
    height: 64px;
  }

  .navbar-logo,
  .navbar-logo-dark {
    height: 32px;
    width: auto;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: calc(100svh - 64px);
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
    margin-top: 8px;
  }

  .nav-links .language-switcher a {
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  /* Mobil dropdown */
  .dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .dropdown > a {
    width: 100%;
    justify-content: space-between;
  }
  .dropdown-content {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg);
    border-radius: 8px;
    padding: 4px 8px;
    margin-top: 4px;
    animation: none;
    display: none;
    width: 100%;
  }
  .dropdown-content::before { display: none; }
  .dropdown.mobile-open .dropdown-content { display: block; }

  .hero {
    height: auto;
    min-height: auto;
    align-items: flex-start;
    padding: 96px 0 44px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 26px;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-content,
  .hero-visual {
    min-width: 0;
    width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(1.9rem, 8vw, 2.25rem);
    line-height: 1.12;
    margin-bottom: 18px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .hero-content p {
    max-width: 100%;
    margin: 0 auto 24px;
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-buttons .btn {
    min-width: 0;
  }

  .hero-card {
    padding: 24px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-card .stat-number {
    font-size: 1.8rem;
  }

  .breadcrumb {
    flex-wrap: wrap;
    gap: 4px;
  }

  .breadcrumb span:last-child {
    white-space: normal;
    word-break: break-word;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pd-features-list {
    grid-template-columns: 1fr;
  }

  .pd-trust {
    grid-template-columns: 1fr;
  }

  .pd-actions {
    flex-direction: column;
  }

  .pd-title {
    font-size: 1.4rem;
  }

  .tech-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    scrollbar-width: none;
  }

  .tech-grid::-webkit-scrollbar {
    display: none;
  }

  .tech-card {
    height: 64px;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
  }

  .tech-mark {
    width: 100%;
    min-width: 0;
    transform: scale(0.92);
  }

  .tech-mark-lora svg {
    width: 96px;
  }

  .tech-mark-mqtt svg {
    width: 70px;
  }

  .scroll-top {
    left: 16px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 18px;
    width: 48px;
    height: 48px;
  }

  .chatbot-wrapper {
    right: 16px;
    bottom: 78px;
  }

  .chatbot-toggle {
    width: 48px;
    height: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .page-hero {
    padding: 120px 0 48px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .legal-card {
    padding: 28px;
  }

  .legal-content {
    padding: 48px 0;
  }

  .about-page-grid {
    grid-template-columns: 1fr;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-mission-card {
    padding: 24px;
  }

  .about-page-content {
    padding: 48px 0;
  }

  .timeline-year {
    font-size: 0.9rem;
    padding-right: 20px;
  }

  .timeline-content {
    padding-left: 20px;
  }

  .references-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 88px 0 38px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .tech-grid {
    gap: 10px;
  }

  .tech-card {
    height: 58px;
  }

  .tech-mark {
    height: 58px;
    min-width: 62px;
    font-size: 1rem;
  }

  .tech-mark svg {
    width: 66px;
    height: 48px;
  }

  .references-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .ref-stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-card .stat-number {
    font-size: 1.5rem;
  }

  .hero-card .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .chatbot-panel {
    width: calc(100vw - 32px);
    right: -8px;
  }

  .contact-send-buttons {
    flex-direction: column;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  /* Genel taşma önlemi */
  img, video, iframe {
    max-width: 100%;
  }

  .container {
    padding: 0 16px;
  }
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  color: var(--secondary);
}

/* Project Modal Specifics */
.project-modal-content {
  max-width: 800px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-modal-body {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .project-modal-body {
    flex-direction: row;
    height: 500px;
  }

  .project-modal-img {
    flex: 1;
    background: #f1f5f9;
    object-fit: contain;
    /* Görselin tamamı görünsün */
    height: 100%;
  }

  .project-modal-info {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
  }
}

@media (max-width: 767px) {
  .project-modal-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }

  .project-modal-info {
    padding: 24px;
  }
}

.project-card-item {
  cursor: pointer;
}

/* ===== DARK MODE (system preference) ===== */
.navbar-logo-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: rgba(51, 65, 85, 0.5);
  }

  .navbar-logo {
    display: none !important;
  }

  .navbar-logo-dark {
    display: inline-block !important;
  }

  .navbar .nav-links a {
    color: #e2e8f0;
  }

  .navbar .nav-links a:hover,
  .navbar .nav-links a.active {
    color: var(--primary);
  }

  .navbar .hamburger span {
    background: #e2e8f0;
  }

  /* Desktop: nav-links transparent, navbar bg yeterli */
  .nav-links {
    background: transparent;
  }

  .nav-links a {
    color: #e2e8f0;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary);
  }

  .navbar .nav-links .language-switcher {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(226, 232, 240, 0.22);
  }

  .navbar .nav-links .language-switcher a {
    color: #cbd5e1;
  }

  .navbar .nav-links .language-switcher a:hover,
  .navbar .nav-links .language-switcher a.active {
    background: var(--primary);
    color: #fff;
  }

  /* Dropdown */
  .dropdown-content {
    background-color: #0f172a;
    border-color: rgba(51, 65, 85, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }

  .dropdown-content::before {
    background: #0f172a;
    border-color: rgba(51, 65, 85, 0.5);
  }

  .dropdown-content a {
    color: #e2e8f0;
  }

  .dropdown-content a:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
  }

  /* Mobil menü arka planı */
  @media (max-width: 768px) {
    .nav-links {
      background: rgba(15, 23, 42, 0.98);
      border-bottom-color: rgba(51, 65, 85, 0.5);
    }
  }
}
/* ===== COVERFLOW SLIDER ===== */
.coverflow-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 40px 0 20px;
}

.coverflow-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  gap: 0;
  height: 420px;
  position: relative;
}

.cf-card {
  flex-shrink: 0;
  width: 340px;
  height: 380px;
  background: var(--cf-grad);
  border-radius: 24px;
  padding: 40px 36px;
  color: #fff;
  position: absolute;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease;
  will-change: transform, opacity;
  user-select: none;
}

.cf-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 16px 0 10px;
  color: #fff;
}

.cf-card p {
  font-size: 0.88rem;
  opacity: 0.88;
  line-height: 1.6;
  margin-bottom: 18px;
}

.cf-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cf-card ul li {
  font-size: 0.82rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  flex-shrink: 0;
}

.cf-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pozisyonlar JS ile atanır: data-pos = -2,-1,0,1,2 */
.cf-card[data-pos="0"] {
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 5;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.cf-card[data-pos="1"] {
  transform: translateX(58%) scale(0.78) rotateY(-38deg);
  opacity: 0.55;
  z-index: 4;
}
.cf-card[data-pos="-1"] {
  transform: translateX(-58%) scale(0.78) rotateY(38deg);
  opacity: 0.55;
  z-index: 4;
}
.cf-card[data-pos="2"] {
  transform: translateX(100%) scale(0.6) rotateY(-48deg);
  opacity: 0.28;
  z-index: 3;
}
.cf-card[data-pos="-2"] {
  transform: translateX(-100%) scale(0.6) rotateY(48deg);
  opacity: 0.28;
  z-index: 3;
}
.cf-card[data-pos="3"],
.cf-card[data-pos="-3"] {
  transform: translateX(0) scale(0.4);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

/* Nav */
.coverflow-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.cf-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--secondary);
  transition: var(--transition);
}

.cf-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.cf-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.cf-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .coverflow-stage {
    height: 360px;
  }
  .cf-card {
    width: 280px;
    height: 320px;
    padding: 28px 24px;
  }
  .cf-card[data-pos="1"] { transform: translateX(62%) scale(0.72) rotateY(-38deg); }
  .cf-card[data-pos="-1"] { transform: translateX(-62%) scale(0.72) rotateY(38deg); }
  .cf-card[data-pos="2"],
  .cf-card[data-pos="-2"] { opacity: 0; pointer-events: none; }
}
