﻿/* ============================================================
   COLKU ANA CSS — colku-main.css
   Tüm sayfalarda ortak: reset, layout, header, nav, footer
   ============================================================ */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Değişkenleri ── */
:root {
  --brand:      #0066cc;
  --accent:     #00c4e0;
  --brand-dark: #004a99;
  --text:       #0f1723;
  --muted:      #5a6a7a;
  --bg:         #f4f7fc;
  --surface:    #ffffff;
  --border:     rgba(0,0,0,0.08);
  --radius:     10px;
  --radius-lg:  18px;
  --container:  1200px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.13);
  --transition: 0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Container ── */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section padding ── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ── Page transition ── */
.page-transition--preload * { transition: none !important; }
.page-transition { animation: fadeIn 0.36s ease both; }
.page-transition.is-exit { animation: fadeOut 0.36s ease both; }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
/* backdrop-filter ::before'da — fixed child'lar etkilenmesin */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
  transition: background 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.site-header.scrolled::before {
  background: rgba(255,255,255,0.99);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 90px;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.brand:hover { opacity: 0.85; }
.brand img {
  height: 70px;
  width: auto;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 24px;
}

/* Nav link — animasyonlu alt çizgi */
.main-nav > a,
.main-nav .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  position: relative;
  transition: color 0.22s ease;
}
.main-nav > a::after,
.main-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
}
.main-nav > a:hover,
.main-nav .nav-link:hover { color: var(--brand); }
.main-nav > a:hover::after,
.main-nav .nav-link:hover::after { transform: scaleX(1); }

.main-nav > a.active,
.main-nav .nav-link.active { color: var(--brand); }
.main-nav > a.active::after,
.main-nav .nav-link.active::after { transform: scaleX(1); }

/* Dropdown */
.nav-item { position: relative; }
.nav-item .dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13), 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,102,204,0.10);
  padding: 8px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transform-origin: top left;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4,0,0.2,1), visibility 0.22s;
  z-index: 200;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
/* Dropdown ok işareti */
.nav-item .dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 1px solid rgba(0,102,204,0.10);
  border-top: 1px solid rgba(0,102,204,0.10);
  transform: rotate(45deg);
}
.nav-item .dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.nav-item .dropdown li a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.18s, transform 0.18s;
  transform: scale(0);
}
.nav-item .dropdown li a:hover {
  background: rgba(0,102,204,0.07);
  color: var(--brand);
  transform: translateX(3px);
}
.nav-item .dropdown li a:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Search */
.search-wrap {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px 10px;
  gap: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.search-wrap:focus-within {
  border-color: rgba(0,102,204,0.4);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.08);
}
.search-wrap input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  width: 160px;
  color: var(--text);
}
.search-btn {
  background: transparent;
  border: none;
  padding: 2px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* ── Sayfa içi arama highlight ── */
mark.search-hl {
  background: linear-gradient(120deg, #ffe066 0%, #ffd000 100%);
  color: #1a1a1a;
  border-radius: 4px;
  padding: 1px 3px;
  box-shadow: 0 0 0 1.5px rgba(255, 193, 7, 0.45);
  transition: background 0.2s, box-shadow 0.2s;
}
mark.search-hl--active {
  background: linear-gradient(120deg, #ff7e1b 0%, #ff4500 100%);
  color: #fff;
  box-shadow: 0 0 0 2.5px rgba(255, 69, 0, 0.55), 0 2px 10px rgba(255, 69, 0, 0.35);
  animation: hlPulse 0.4s ease;
}
@keyframes hlPulse {
  0%   { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* ── Eşleşme sayacı ── */
.hl-counter {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 5px 6px 5px 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  z-index: 200;
  pointer-events: auto;
}
.hl-counter.visible { display: flex; }
.hl-count-text { color: var(--brand); min-width: 36px; }
.hl-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  transition: background 0.15s, color 0.15s;
}
.hl-btn:hover { background: var(--bg); color: var(--brand); }
.hl-btn-close { color: #aaa; margin-left: 2px; }

/* ── Teklif Al — animasyonlu buton ── */
@keyframes ctaShimmer {
  0%   { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(0,102,204,0.35); }
  50%       { box-shadow: 0 4px 22px rgba(0,102,204,0.60); }
}

.btn-cta {
  background: linear-gradient(135deg, #2e8fff 0%, #0066cc 50%, #004db3 100%);
  background-size: 200% 100%;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 32px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,102,204,0.45);
  animation: ctaPulse 2.8s ease-in-out infinite;
  transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
}
/* Shimmer katmanı */
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.30) 50%, transparent 100%);
  transform: translateX(-120%) skewX(-20deg);
  animation: ctaShimmer 2.2s ease-in-out infinite;
}
/* Ok ikonu varsa mikro animasyon */
.btn-cta i {
  display: inline-block;
  transition: transform 0.22s ease;
}
.btn-cta:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.1);
  box-shadow: 0 8px 28px rgba(0,102,204,0.50);
  animation: none;
}
.btn-cta:hover i { transform: translateX(3px); }
.btn-cta:active { transform: translateY(0) scale(0.98); }

/* Hamburger */
.mobile-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  width: 44px;
  height: 44px;
  transition: border-color 0.2s, background 0.2s;
}
.mobile-hamburger:hover {
  border-color: rgba(0,102,204,0.3);
  background: rgba(0,102,204,0.05);
}
.mobile-hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.mobile-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  /* z-index mobile nav (1000)'ın altında */
  inset: 0;
  background: rgba(10,20,40,0.40);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Nav contact block */
.nav-contact {
  display: none;
  margin-top: auto;
  padding: 20px 8px 8px 8px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
.nav-contact-title {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.nav-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
}
.nav-contact-row i { color: var(--brand); margin-top: 2px; flex-shrink: 0; }
.nav-contact-row a { color: var(--brand); }
.nav-contact-row a:hover { text-decoration: underline; }

/* ── Responsive Nav ── */
@media (max-width: 960px) {

  /* Desktop nav gizle, hamburger göster */
  .main-nav { display: none !important; }
  .search-wrap { display: none; }
  .mobile-hamburger { display: flex; }
  .nav-backdrop { display: block; }
}

/* ── Ayrı Mobil Nav Paneli ── */
#colku-mobile-nav {
  display: none; /* JS açar */
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(100vw, 360px);
  background: #fff;
  flex-direction: column;
  z-index: 1000;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -16px 0 56px rgba(0,0,0,0.22);
  overflow-y: auto;
  overflow-x: hidden;
}
#colku-mobile-nav.mnav-ready { display: flex; }
#colku-mobile-nav.show {
  transform: translateX(0);
  pointer-events: auto;
}

/* ── Panel Header ── */
.mnav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  flex-shrink: 0;
}
.mnav-header img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
}
.mnav-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.30);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, transform 0.22s;
  flex-shrink: 0;
}
.mnav-close:hover {
  background: rgba(255,255,255,0.28);
  transform: rotate(90deg);
}

/* ── Links ── */
.mnav-links {
  padding: 12px 12px 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.mnav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.mnav-link:hover { background: rgba(0,102,204,0.07); color: var(--brand); }
.mnav-link.active { background: rgba(0,102,204,0.10); color: var(--brand); }

.mnav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0,102,204,0.10);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: background 0.18s;
}
.mnav-link:hover .mnav-icon { background: rgba(0,102,204,0.18); }
.mnav-link.active .mnav-icon { background: var(--brand); color: #fff; }

/* Dropdown group */
.mnav-group { display: flex; flex-direction: column; gap: 0; }
.mnav-group-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, color 0.18s;
}
.mnav-group-toggle:hover { background: rgba(0,102,204,0.07); color: var(--brand); }
.mnav-group-toggle.open   { background: rgba(0,102,204,0.07); color: var(--brand); }
.mnav-group-toggle.open .mnav-icon { background: var(--brand); color: #fff; }

.mnav-chevron {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--muted);
  transition: transform 0.25s ease;
}
.mnav-group-toggle.open .mnav-chevron { transform: rotate(180deg); }

.mnav-sub {
  display: none;
  flex-direction: column;
  gap: 1px;
  padding: 2px 0 4px 55px;
}
.mnav-sub.open { display: flex; }
.mnav-sub a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.mnav-sub a:hover { background: rgba(0,102,204,0.06); color: var(--brand); }
.mnav-sub .dd-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ── Contact ── */
.mnav-contact {
  padding: 4px 12px 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.mnav-contact-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 4px 6px 4px;
}
.mnav-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bg);
  text-decoration: none;
  transition: background 0.18s;
}
.mnav-contact-row:hover { background: rgba(0,102,204,0.07); }
.mnav-contact-row i { color: var(--brand); font-size: 1rem; flex-shrink: 0; }
.mnav-contact-row span { font-size: 0.88rem; color: var(--text); }
.mnav-contact-row strong { font-size: 0.88rem; color: var(--brand); font-weight: 600; }

/* ── Footer ── */
.mnav-footer {
  margin-top: auto;
  padding: 12px 12px 28px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.mnav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a7fe8 0%, var(--brand) 50%, var(--brand-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,102,204,0.35);
  transition: filter 0.2s, transform 0.2s;
}
.mnav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.mnav-socials {
  display: flex;
  gap: 8px;
}
.mnav-socials a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.mnav-socials .mns-wa:hover  { background: #e5fef0; border-color: #25d366; color: #128c3b; }
.mnav-socials .mns-mail:hover { background: #ebf3ff; border-color: var(--brand); color: var(--brand); }
.mnav-socials .mns-ig:hover  { background: #fde8ef; border-color: #dc2743; color: #dc2743; }



/* ============================================================
   FLOATING SOCIAL BAR — Beyaz hap kapsül (evson stili)
   ============================================================ */
.social-fixed {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
/* Mobil nav açıkken sosyal barı gizle */
body.mnav-open .social-fixed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.social-fixed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #fff;
  border-radius: 999px;
  padding: 12px 8px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.13), 0 1px 4px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.06);
}

.social-fixed .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #1a1a1a;
  background: transparent;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1.65rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-fixed .social-btn span { display: none; }

.social-fixed .social-btn i { pointer-events: none; }

.social-fixed .social-btn:hover {
  background: #f0f0f0;
  transform: scale(1.12);
}

.social-fixed .sf-wp:hover   { background: #e8fdf1; color: #25d366; }
.social-fixed .sf-mail:hover { background: #e8f1fd; color: #0066cc; }
.social-fixed .sf-ig:hover   { background: #fdeaf0; color: #dc2743; }
.social-fixed .sf-top:hover  { background: #f0f0f0; color: #1e293b; }

/* Butonlar arasına ince ayırıcı */
.social-fixed .social-btn + .social-btn {
  border-top: 1px solid rgba(0,0,0,0.06);
  border-radius: 0;
  margin-top: 2px;
  padding-top: 2px;
}
.social-fixed .social-btn:first-child { border-radius: 50% 50% 0 0; }
.social-fixed .social-btn:last-child  { border-radius: 0 0 50% 50%; }
.social-fixed .social-btn:only-child  { border-radius: 50%; }

/* Tek buton varsa tam yuvarlak */
.social-fixed .social-btn:first-child:last-child { border-radius: 50%; }

/* Scroll-to-top her zaman görünür */
.social-fixed .scroll-top {
  opacity: 1;
  pointer-events: auto;
}

/* Mobil ≤768px: altta pill çubuk */
@media (max-width: 768px) {
  .social-fixed {
    right: auto;
    top: auto;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    flex-direction: row;
    padding: 8px 12px;
    gap: 4px;
    border-radius: 999px;
  }
  .social-fixed .social-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    border-top: none !important;
    border-radius: 50% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .social-fixed .social-btn + .social-btn {
    border-top: none;
    border-left: 1px solid rgba(0,0,0,0.06);
    margin-top: 0;
    padding-top: 0;
    margin-left: 2px;
    padding-left: 2px;
  }
  .social-fixed .scroll-top {
    opacity: 1;
    pointer-events: auto;
  }
}
/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 14px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted); }

/* ============================================================
   BUTTONS (global)
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: box-shadow var(--transition), transform var(--transition), filter var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,102,204,0.38);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-outline:hover { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(0,102,204,0.28); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #fff;
  padding: 8px;
}
.product-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.product-card-specs {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.product-card-link {
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand);
}
.product-card-link:hover { text-decoration: underline; }

/* ============================================================
   PAGE HERO (iç sayfalar)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 56px 0 48px;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.2;
}
.page-hero p {
  font-size: 1.05rem;
  margin: 0;
  opacity: 0.88;
  max-width: 640px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0f1a2b;
  color: #e2e8f0;
  padding: 56px 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 32px;
}
.footer-col { flex: 1 1 200px; min-width: 180px; }
.footer-col.footer-brand { flex: 2 1 280px; }

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-about {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.1rem;
  transition: background var(--transition);
  text-decoration: none;
}
.footer-social a:hover { background: var(--brand); }

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: #94a3b8;
  font-size: 0.92rem;
}
.footer-contact-row i { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-row a { color: #94a3b8; transition: color var(--transition); }
.footer-contact-row a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding: 20px 0;
  text-align: center;
  color: #64748b;
  font-size: 0.87rem;
}

@media (max-width: 900px) {
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .footer-col.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col.footer-brand { grid-column: auto; }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
  z-index: 99999;
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(0,196,224,0.55);
  pointer-events: none;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.25,.46,.45,.94),
              transform 0.65s cubic-bezier(.25,.46,.45,.94);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RIPPLE EFFECT
   ============================================================ */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  transform: scale(0);
  animation: ripple-anim 0.68s cubic-bezier(.4,0,.2,1) forwards;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(1); opacity: 0; }
}

/* ============================================================
   PRODUCT CARD — enhanced hover
   ============================================================ */
.product-card {
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}
.product-card:hover {
  box-shadow: 0 12px 36px rgba(0,102,204,0.14);
  transform: translateY(-5px);
  border-color: rgba(0,102,204,0.18);
}
.product-card-img {
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img {
  transform: scale(1.04);
}

/* ============================================================
   FOOTER social — enhanced
   ============================================================ */
.footer-social a:hover {
  background: var(--brand);
  transform: translateY(-2px);
  transition: background var(--transition), transform var(--transition);
}

/* ============================================================
   PAGE HERO — shine & enhanced
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--brand) 0%, #003a8c 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(0,196,224,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }

/* ============================================================
   CATEGORY PAGE HERO (urunler sayfaları)
   ============================================================ */
.category-page-hero {
  background: linear-gradient(135deg, var(--brand) 0%, #003a8c 100%);
  color: #fff;
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.category-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(0,196,224,0.20) 0%, transparent 55%);
  pointer-events: none;
}
.category-page-hero .wrap { position: relative; z-index: 1; }
.category-page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.2;
}
.category-page-hero p {
  font-size: 1.05rem;
  margin: 0;
  opacity: 0.88;
  max-width: 640px;
}

/* Breadcrumb in dark hero areas */
.page-hero .breadcrumb,
.category-page-hero .breadcrumb {
  color: rgba(255,255,255,0.75);
}
.page-hero .breadcrumb a,
.category-page-hero .breadcrumb a {
  color: var(--accent);
}
.page-hero .breadcrumb span,
.category-page-hero .breadcrumb span {
  color: rgba(255,255,255,0.55);
}
