/* ═══════════════════════════════════════════════════════════
   pages.css — İç Sayfa Ortak Stilleri
   ═══════════════════════════════════════════════════════════ */

/* ── PAGE HERO (Nav altı başlık bandı) ─────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0f2d6b 55%, #0d4080 100%);
  padding: 120px 0 56px; /* 96px nav + 24px */
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(0,198,255,0.12), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.60);
  max-width: 520px;
  line-height: 1.75;
}
.page-hero p strong { color: rgba(255,255,255,0.9); font-weight: 700; }

/* ── Breadcrumb (light / hero üstü) ─────────────────────── */
.breadcrumb-light { margin-bottom: 20px; }
.breadcrumb-light ol { list-style:none; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.breadcrumb-light ol li { display:flex; align-items:center; gap:6px; font-size:13px; font-weight:500; }
.breadcrumb-light ol li + li::before { content:'›'; color:rgba(255,255,255,0.3); font-size:14px; }
.breadcrumb-light ol li a { color:rgba(255,255,255,0.5); text-decoration:none; transition:color .2s; }
.breadcrumb-light ol li a:hover { color:rgba(255,255,255,0.9); }
.breadcrumb-light ol li span { color:rgba(255,255,255,0.5); }
.breadcrumb-light ol li span[aria-current="page"] { color:rgba(255,255,255,0.85); }

/* ── Hizmetlerimiz breadcrumb (white page) ─────────────── */
.breadcrumb-page { margin-bottom: 20px; }
.breadcrumb-page ol { list-style:none; display:flex; align-items:center; gap:6px; }
.breadcrumb-page ol li { font-size:13px; font-weight:500; color:var(--muted); }
.breadcrumb-page ol li + li::before { content:'›'; margin-right:6px; }
.breadcrumb-page ol li a { color:var(--blue); text-decoration:none; }

/* ── PAGE MAIN ───────────────────────────────────────────── */
.page-main { padding: 64px 0 96px; }

/* ═══════════════════════════════════════════════════════════
   İLETİŞİM SAYFASI
   ═══════════════════════════════════════════════════════════ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,109,255,0.10);
}
.contact-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26,109,255,0.1), rgba(0,198,255,0.1));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.contact-card-icon svg { stroke: var(--blue); }
.contact-card-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.contact-card-val {
  display: block; font-size: 15px; font-weight: 700; color: var(--text);
  text-decoration: none; margin-bottom: 6px; transition: color .2s;
}
a.contact-card-val:hover { color: var(--blue); }
.contact-card-note { font-size: 12px; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form-wrap {}
.contact-faq-wrap {}

/* ═══════════════════════════════════════════════════════════
   HAKKIMIZDA SAYFASI
   ═══════════════════════════════════════════════════════════ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 72px;
}
.about-story-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 460px;
}
.about-story-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.about-story-badge {
  position: absolute;
  bottom: 28px; left: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(26,109,255,0.18);
}
.about-story-badge-num {
  font-size: 40px; font-weight: 800; letter-spacing: -2px;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.about-story-badge-lbl {
  font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px;
}

/* Stats bar */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 72px;
}
.about-stat {
  background: var(--white);
  padding: 36px 28px;
  text-align: center;
}
.about-stat-num {
  font-size: 44px; font-weight: 800; letter-spacing: -2px; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.about-stat-num span { font-size: 36px; }
.about-stat-label { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Values */
.about-values-section { margin-bottom: 72px; }
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-value-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: border-color .2s, box-shadow .2s;
}
.about-value-card:hover {
  border-color: rgba(26,109,255,0.25);
  box-shadow: 0 8px 32px rgba(26,109,255,0.07);
}
.about-value-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(26,109,255,0.1), rgba(0,198,255,0.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.about-value-icon svg { stroke: var(--blue); }
.about-value-card h3 {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 10px; letter-spacing: -0.2px;
}
.about-value-card p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }

/* Team */
.about-team-section { margin-bottom: 72px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,109,255,0.1); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -1px;
}
.team-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-role {
  font-size: 12px; color: var(--blue); font-weight: 600;
  letter-spacing: .3px; margin-bottom: 12px;
}
.team-bio { font-size: 13px; line-height: 1.75; color: var(--muted); }

/* About CTA */
.about-cta-band {
  background: linear-gradient(135deg, #0a1628, #0f2d6b);
  border-radius: 24px;
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.about-cta-band h2 { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 6px; }
.about-cta-band p { font-size: 15px; color: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════════════════════════
   REFERANSLARIMIZ SAYFASI
   ═══════════════════════════════════════════════════════════ */
.ref-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.ref-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}
.ref-search-wrap svg { stroke: var(--muted); flex-shrink: 0; }
.ref-search {
  border: none; background: none; outline: none;
  font-size: 14px; font-family: inherit; color: var(--text); width: 100%;
}
.ref-search::placeholder { color: var(--muted); }
.ref-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.ref-filter {
  padding: 9px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white); color: var(--muted);
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.ref-filter:hover { border-color: var(--blue); color: var(--blue); }
.ref-filter.active {
  background: var(--grad); border-color: transparent; color: #fff;
}

/* Reference Grid */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ref-card, .ref-card-nolink {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: pointer;
}
.ref-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.10);
  border-color: rgba(26,109,255,0.2);
}
.ref-card-nolink { cursor: default; }
.ref-card-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--off);
}
.ref-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
  transition: transform .4s;
}
.ref-card:hover .ref-card-img-wrap img { transform: scale(1.04); }
.ref-img-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 900; letter-spacing: -2px;
  background: linear-gradient(135deg, #EEF4FF, #DBEAFE);
  color: rgba(26,109,255,0.3);
}
.ref-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.75) 0%, transparent 60%);
  opacity: 0;
  display: flex; align-items: flex-end; padding: 14px;
  transition: opacity .25s;
}
.ref-card:hover .ref-card-overlay { opacity: 1; }
.ref-card-visit {
  font-size: 13px; font-weight: 700; color: #fff;
  background: var(--grad); padding: 7px 14px; border-radius: 8px;
}
.ref-card-nourl {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.6);
  padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}
.ref-card-info {
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.ref-card-name {
  font-size: 13px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ref-card-cat {
  flex-shrink: 0;
  font-size: 11px; font-weight: 600; color: var(--blue);
  background: rgba(26,109,255,0.08); padding: 3px 10px;
  border-radius: 100px; white-space: nowrap;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.85);
}
.lightbox-box {
  position: relative; z-index: 1;
  background: #fff; border-radius: 18px; overflow: hidden;
  max-width: 900px; width: 100%; max-height: 90vh;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,0.4); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 20px; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: background .2s;
}
.lightbox-close:hover { background: rgba(0,0,0,0.7); }
.lightbox-img { width: 100%; display: block; max-height: 70vh; object-fit: contain; }
.lightbox-info {
  padding: 20px 24px; display: flex; align-items: center;
  justify-content: space-between; border-top: 1px solid var(--border);
}
.lightbox-name { font-size: 16px; font-weight: 700; color: var(--text); }
.lightbox-visit {
  background: var(--grad); color: #fff; padding: 9px 20px;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: opacity .2s;
}
.lightbox-visit:hover { opacity: .88; }

/* ── Hizmetlerimiz.html page hero fix ──────────────────── */
.page-hero + .services { margin-top: 0; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { padding: 112px 0 40px; }
  .page-hero h1 { font-size: 32px; letter-spacing: -1px; }
  .page-hero p { font-size: 15px; }
  .page-main { padding: 40px 0 64px; }

  .ref-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ref-toolbar { flex-direction: column; align-items: stretch; }
  .ref-search-wrap { max-width: 100%; }
  .ref-card-img-wrap { height: 140px; }

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

  .about-story { grid-template-columns: 1fr; gap: 36px; }
  .about-story-img-wrap { height: 280px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .about-cta-band { flex-direction: column; padding: 28px; gap: 20px; }
  .about-cta-band a { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .ref-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ── Blog Listesi (blog.html) ─────────────────────────────── */
#blogGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
#blogGrid .blog-card { text-decoration: none; display: block; }
#blogGrid .blog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.blog-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  #blogGrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  #blogGrid { grid-template-columns: 1fr; gap: 16px; }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .ref-search-wrap { max-width: 100% !important; }
  .ref-filters { display: flex; flex-wrap: wrap; gap: 6px; }
  .ref-filter { font-size: 12px; padding: 7px 14px; }
}
