/* ==========================================================================
   TSM MEKANİK BURSA - KURUMSAL STATİK WEB TASARIM (HTML5 / CSS3)
   Tema Mimarisi: FactGo Industrial & Factory + Kurumsal Standartlar
   ========================================================================== */

:root {
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --primary: #2B388F;
  --primary-dark: #1E286B;
  --accent: #DE5722;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --dark: #0F0F0F;
  --dark-2: #18191B;
  --heading: #0F0F0F;
  --text: #555855;
  --bg-light: #F6F3F0;
  --bg-stone: #E6E5DF;
  --white: #FFFFFF;
  --border: #E5E2DF;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(15, 15, 15, 0.06);
  --shadow-hover: 0 16px 38px rgba(43, 56, 143, 0.14);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.7;
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}

.container {
  max-width: 1344px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. ÜST BANT (TOP BAR) - Masaüstünde Tek Satır (GEMINI.md Kural 1)
   ========================================================================== */
.top-bar {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1002;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  white-space: nowrap;
  gap: 20px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

.top-bar-item:hover {
  color: var(--white);
}

/* ==========================================================================
   2. HEADER & NAVİGASYON
   ========================================================================== */
.site-header {
  background-color: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  background-color: rgba(15, 15, 15, 0.98);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.header-logo img {
  max-height: 62px;
  width: auto;
  background: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 32px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.main-nav > ul > li:hover > a,
.main-nav > ul > li.active > a {
  color: var(--accent);
}

/* Dropdown Menu */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 310px;
  background: var(--white);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}

.main-nav > ul > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu li a {
  display: block;
  padding: 9px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid #F2EFEA;
}

.main-nav .sub-menu li:last-child a {
  border-bottom: none;
}

.main-nav .sub-menu li a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 26px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background-color: #3FBE4F;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 12px 26px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(63, 190, 79, 0.3);
}

.btn-whatsapp-header:hover {
  background-color: var(--whatsapp-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp-header svg {
  width: 18px;
  height: 18px;
}

/* Mobil Menü Butonu (Yalnızca Tek Hamburger - GEMINI.md) */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   3. HERO SLIDER (FactGo Banner Two Birebir Görsel Yapı)
   ========================================================================== */
.hero-slider {
  position: relative;
  background-color: var(--dark);
  overflow: hidden;
}

.hero-slide {
  position: relative;
  min-height: 700px;
  display: none;
  align-items: center;
  padding: 150px 0 160px;
}

.hero-slide.active {
  display: flex;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 6s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 15, 15, 0.82) 0%, rgba(15, 15, 15, 0.52) 60%, rgba(15, 15, 15, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1150px;
}

.hero-subtitle {
  display: inline-block;
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-title {
  font-size: clamp(56px, 11vw, 156px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 32px;
}

.hero-title span {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--white);
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary-pill:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-primary-pill svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-primary-pill:hover svg {
  transform: rotate(45deg);
}

.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 50px;
}

.btn-outline-pill:hover {
  background-color: var(--white);
  color: var(--dark);
}

/* Sağ Alt Thumbnail Seçici (FactGo tOri_banner_two-slide-area-thumb) */
.hero-thumbs-wrap {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 5;
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-thumb {
  width: 106px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: var(--transition);
}

.hero-thumb.active,
.hero-thumb:hover {
  border-color: var(--accent);
  opacity: 1;
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   4. BÖLÜM BAŞLIKLARI (GEMINI.md Kural 2: Masaüstünde Tek Satır)
   ========================================================================== */
.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 14px;
  white-space: nowrap;
}

.section-desc {
  font-size: 17px;
  color: var(--text);
  white-space: nowrap;
}

/* ==========================================================================
   5. ANA SAYFA HAKKIMIZDA & DENEYİM BÖLÜMÜ (GEMINI.md Kural 3 & 4)
   ========================================================================== */
.home-about-section {
  padding: 110px 0;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: stretch;
}

.home-about-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-about-inner-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  margin-top: 36px;
  align-items: start;
}

.exp-counter-box {
  padding-top: 12px;
  border-right: 1px solid var(--border);
  padding-right: 24px;
}

.exp-counter-num {
  font-size: 96px;
  font-weight: 300;
  line-height: 0.95;
  color: var(--dark);
  display: flex;
  align-items: baseline;
}

.exp-counter-num span.plus {
  color: var(--primary);
  font-weight: 600;
  margin-left: 4px;
}

.exp-counter-label {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 16px;
}

.feature-boxes-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-box-item {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.feature-box-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

/* GEMINI.md Kural 3: İkonlar başlığın üstünde değil, başlıkla yan yana (.fb-header flex) */
.fb-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.fb-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 10px;
  background-color: var(--bg-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-icon svg {
  width: 28px;
  height: 28px;
}

.fb-header h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--heading);
}

.feature-box-item p {
  font-size: 15.5px;
  color: var(--text);
  margin: 0;
}

.home-about-right {
  display: flex;
  flex-direction: column;
}

.home-about-right img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ==========================================================================
   6. ANA SAYFA PROFESYONEL HİZMETLER LİSTESİ (FactGo Sticky 3 Sütun)
   ========================================================================== */
.home-services-section {
  background-color: var(--bg-light);
  background-image: url("../images/l-shape.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-services-layout {
  display: grid;
  grid-template-columns: 360px 1fr 1fr;
}

.home-services-sticky {
  padding: 110px 36px 110px 0;
}

.home-services-sticky-inner {
  position: sticky;
  top: 120px;
}

.home-services-sticky h2 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 28px;
}

.home-services-col {
  border-left: 1px solid var(--border);
  padding: 90px 0;
}

.service-line-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 36px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.service-line-item:last-child {
  border-bottom: none;
}

.service-line-item h3 {
  font-size: 21px;
  font-weight: 600;
  color: var(--heading);
  transition: var(--transition);
}

.service-line-arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.service-line-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.service-line-item:hover {
  background-color: rgba(255, 255, 255, 0.65);
}

.service-line-item:hover h3 {
  color: var(--primary);
}

.service-line-item:hover .service-line-arrow {
  background-color: var(--accent);
  color: var(--white);
}

.service-line-item:hover .service-line-arrow svg {
  transform: rotate(45deg);
}

/* ==========================================================================
   7. KOYU SEKMELİ BÖLÜM: PROJELENDİRME & ÜRETİM HİZMETİ
   ========================================================================== */
.dark-tabs-section {
  background-color: var(--dark);
  color: var(--white);
  padding: 0 0 110px;
}

.tabs-nav-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 70px;
}

.tab-trigger-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: none;
  border-bottom: 3px solid transparent;
  padding: 28px 24px;
  font-size: 20px;
  font-weight: 700;
   font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-trigger-btn svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.tab-trigger-btn.active,
.tab-trigger-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.tab-panel.active {
  display: grid;
  animation: fadeIn 0.4s ease;
}

.tab-panel-content .section-tag {
  color: #7989FF;
}

.tab-panel-content h2 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 20px;
}

.tab-panel-content p {
  color: #CCD1CF;
  font-size: 17px;
  margin-bottom: 34px;
  max-width: 580px;
}

.tab-panel-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ==========================================================================
   8. UZMAN KADRO / DENEYİMLİ PERSONEL VİTRİN BÖLÜMÜ (Yan Yana Bütüncül Tasarım)
   ========================================================================== */
.achievement-section {
  position: relative;
  background-color: var(--bg-light);
  padding: 95px 0;
  border-bottom: 1px solid var(--border);
}

.achievement-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(15, 15, 15, 0.1);
  border: 1px solid var(--border);
  background-color: var(--white);
}

.achievement-image {
  display: flex;
  min-height: 440px;
}

.achievement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.achievement-card {
  background-color: var(--white);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.achievement-card h2 {
  font-size: 38px;
  margin-bottom: 18px;
}

.achievement-card p {
  margin-bottom: 30px;
  color: var(--text);
}

/* ==========================================================================
   9. HİZMET KARTLARI GRİDİ (4x3 = 12 Simetrik - GEMINI.md Kural 3)
   ========================================================================== */
.services-grid-section {
  padding: 95px 0;
  background-color: var(--white);
}

.section-header-center {
  text-align: center;
  margin-bottom: 52px;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.service-card-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.service-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-thumb img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* GEMINI.md Kural 3: Kart içinde yalnızca tek ve net ana başlık (<h3>) */
.service-card-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-card:hover .service-card-body h3 {
  color: var(--primary);
}

/* GEMINI.md Kural 3: En fazla 2 satır (-webkit-line-clamp: 2) */
.service-card-body p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}

.service-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-link {
  color: var(--accent);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   10. İÇ SAYFA BANNER (BREADCRUMB)
   ========================================================================== */
.page-breadcrumb {
  background-color: var(--dark);
  background-image: linear-gradient(90deg, rgba(15, 15, 15, 0.88), rgba(43, 56, 143, 0.72)), url("../images/banner-2.jpg");
  background-size: cover;
  background-position: center;
  padding: 85px 0;
  color: var(--white);
  text-align: left;
}

.page-breadcrumb h1 {
  color: var(--white);
  font-size: 44px;
  margin-bottom: 12px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-nav a:hover {
  color: var(--accent);
}

/* ==========================================================================
   11. HAKKIMIZDA SAYFASI & SIMETRİK REFERANS LOGOLARI (GEMINI.md Kural 3 & 4)
   ========================================================================== */
.about-page-section {
  padding: 95px 0;
}

.about-equal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.about-equal-img {
  display: flex;
}

.about-equal-img img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-equal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-equal-content h2 {
  font-size: 36px;
  margin-bottom: 18px;
}

.about-equal-content p {
  margin-bottom: 16px;
}

.mission-vision-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.mv-box {
  background: var(--bg-light);
  padding: 20px 22px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.mv-box h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.mv-box p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* 3'lü Özellik Kutuları */
.about-features-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
}

.about-feature-card {
  background: var(--bg-light);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Yetkinlik Çubukları (%100 Düzeltilmiş Sayaçlar) */
.skills-section {
  background-color: var(--bg-light);
  padding: 90px 0;
}

.skills-bars {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
}

.skill-item-head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.skill-bar-track {
  height: 10px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 100%;
  border-radius: 20px;
}

/* Kayan Yazı Bandı (Text Marquee) */
.marquee-band {
  background: var(--dark);
  color: var(--white);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  animation: scrollMarquee 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 22px;
  font-weight: 700;
}

.marquee-item span.star {
  color: var(--accent);
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Simetrik Referans Logoları Gridi (6x4 = 24 Tam Simetrik - GEMINI.md Kural 3) */
.references-section {
  padding: 90px 0;
  background: var(--white);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.ref-logo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 105px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ref-logo-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.ref-logo-card img {
  max-height: 64px;
  max-width: 135px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   12. HİZMET DETAY VE BLOG DETAY SAYFALARI (Sidebar + İçerik)
   ========================================================================== */
.detail-page-section {
  padding: 90px 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: start;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 110px;
}

.sidebar-widget {
  background: var(--bg-light);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.sidebar-widget h2 {
  font-size: 21px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.sidebar-service-list li {
  margin-bottom: 8px;
}

.sidebar-service-list li:last-child {
  margin-bottom: 0;
}

.sidebar-service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  background: var(--white);
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
  border: 1px solid var(--border);
}

.sidebar-service-list a:hover,
.sidebar-service-list a.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.sidebar-support-box {
  background: var(--primary);
  color: var(--white);
  padding: 32px 26px;
  border-radius: var(--radius);
  text-align: center;
}

.sidebar-support-box .phone-link {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin: 12px 0 6px;
}

.sidebar-support-box p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.catalog-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalog-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 600;
  color: var(--heading);
}

.catalog-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.detail-main-content {
  background: var(--white);
}

.detail-hero-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.detail-main-content h2,
.detail-main-content h3 {
  font-size: 30px;
  margin: 24px 0 14px;
}

.detail-main-content h4 {
  font-size: 21px;
  margin: 20px 0 10px;
  color: var(--primary);
}

.detail-main-content p {
  margin-bottom: 18px;
}

.detail-main-content ul {
  margin: 18px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-main-content ul li {
  background: var(--bg-light);
  padding: 12px 16px;
  border-radius: 6px;
  border-left: 3px solid var(--accent);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--heading);
}

.detail-secondary-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 24px 0;
}

/* ==========================================================================
   13. BLOG LİSTELEME GRİDİ
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.blog-card-body p {
  font-size: 14.5px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}

/* ==========================================================================
   14. İLETİŞİM SAYFASI (GEMINI.md Kural 1 Uyumlu)
   ========================================================================== */
.contact-page-section {
  padding: 95px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: stretch;
}

.contact-info-card {
  background: var(--bg-light);
  padding: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex: 1;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-text h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.contact-info-text a,
.contact-info-text p {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  display: block;
}

.contact-info-text a:hover {
  color: var(--accent);
}

.contact-form-card {
  background: var(--white);
  padding: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.contact-form-card .form-sub {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 24px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--heading);
  background: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

textarea.form-control {
  height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.map-wrapper {
  margin-top: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ==========================================================================
   15. FOOTER (FactGo + GEMINI.md Kural 5 İmza Standardı)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-light);
  background-image: url("../images/l-shape.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.footer-top-banner {
  background-color: var(--primary);
  color: var(--white);
  padding: 36px 0;
  text-align: center;
}

.footer-top-banner h2 {
  color: var(--white);
  font-size: 36px;
  letter-spacing: 0.5px;
}

.footer-main {
  padding: 85px 0 65px;
  background-image: url("../images/footer-bg.png");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: contain;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 36px;
}

.footer-logo img {
  max-width: 175px;
  margin-bottom: 18px;
}

.footer-about p {
  font-size: 15px;
  color: var(--text);
  padding-right: 16px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--heading);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 15px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-contact-icon {
  color: var(--primary);
  margin-top: 4px;
}

.footer-contact-icon svg {
  width: 20px;
  height: 20px;
}

.footer-contact-item h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.footer-contact-item p,
.footer-contact-item a {
  font-size: 15px;
  color: var(--text);
  display: block;
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 14.5px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-left a {
  color: var(--primary);
  font-weight: 600;
}

.footer-signature a {
  color: var(--accent);
  font-weight: 700;
}

.footer-signature a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   16. MOBİL DRAWER MENÜ & YUKARI ÇIK BUTONU
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 310px;
  max-width: 86vw;
  height: 100vh;
  background: var(--bg-light);
  z-index: 2001;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.mobile-drawer-head img {
  max-width: 145px;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-list a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
}

.mobile-nav-list a:hover {
  color: var(--primary);
}

.scroll-top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(43, 56, 143, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 990;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--accent);
}

/* ==========================================================================
   17. RESPONSIVE (MOBİL VE TABLET KUSURSUZ GÖRÜNÜM)
   ========================================================================== */
@media (max-width: 1199px) {
  .top-bar-left .top-bar-address {
    display: none;
  }
  .services-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-services-layout {
    grid-template-columns: 1fr 1fr;
  }
  .home-services-sticky {
    grid-column: 1 / -1;
    padding: 70px 0 20px;
  }
  .references-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .main-nav,
  .header-actions .btn-whatsapp-header {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .section-title,
  .section-desc {
    white-space: normal;
  }
  .home-about-grid,
  .about-equal-grid,
  .tab-panel.active,
  .achievement-wrap,
  .detail-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-cards-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-features-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-sidebar {
    position: static;
    order: 2;
  }
}

@media (max-width: 767px) {
  .top-bar-inner {
    justify-content: center;
    font-size: 12px;
    gap: 12px;
  }
  .top-bar-left {
    display: none;
  }
  .hero-slide {
    min-height: 540px;
    padding: 110px 0 130px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .hero-title {
    font-size: 52px;
    letter-spacing: -1px;
  }
  .hero-thumbs-wrap {
    right: 16px;
    left: 16px;
    bottom: 18px;
    justify-content: center;
  }
  .hero-thumb {
    width: 82px;
    height: 52px;
  }
  .home-about-inner-row {
    grid-template-columns: 1fr;
  }
  .exp-counter-box {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
  }
  .home-services-layout,
  .services-cards-grid,
  .blog-grid,
  .footer-grid,
  .form-row-2,
  .mission-vision-grid,
  .detail-main-content ul {
    grid-template-columns: 1fr;
  }
  .home-services-col {
    border-left: none;
    padding: 10px 0;
  }
  .service-line-item {
    padding: 20px 14px;
  }
  .tabs-nav-bar {
    grid-template-columns: 1fr;
  }
  .achievement-card {
    padding: 32px 24px;
  }
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   18. HİZMET DETAY HIZLI WHATSAPP TEKLİF KUTUSU
   ========================================================================== */
.service-wa-cta-box {
  margin-top: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, #19225c 100%);
  color: var(--white);
  padding: 34px 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 14px 34px rgba(43, 56, 143, 0.22);
}

.service-wa-cta-text h3 {
  color: var(--white);
  font-size: 23px;
  margin: 0 0 8px 0;
}

.service-wa-cta-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15.5px;
  margin: 0;
}

.service-wa-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-wa-direct {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}

.btn-wa-direct:hover {
  background-color: #1DA851;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-wa-direct svg {
  width: 20px;
  height: 20px;
}

.btn-call-direct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 50px;
}

.btn-call-direct:hover {
  background-color: var(--white);
  color: var(--dark);
}

@media (max-width: 767px) {
  .service-wa-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }
  .service-wa-cta-actions {
    width: 100%;
  }
  .btn-wa-direct,
  .btn-call-direct {
    width: 100%;
    justify-content: center;
  }
}
