/* =============================================
   KURUMSAL WEB SİTESİ — ANA CSS
   ============================================= */

:root {
  --primary:       var(--primary-color, #1a56db);
  --primary-dark:  var(--primary-dark, #1344b5);
  --primary-light: var(--primary-light, #e8effe);
  --secondary:     var(--secondary-color, #f97316);
  --dark:          var(--text-color, #111827);
  --gray:          #6b7280;
  --light:         #f9fafb;
  --border:        #e5e7eb;
  --white:         var(--bg-color, #ffffff);
  --font:          'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.14);
  --radius:        10px;
  --radius-lg:     18px;
  --transition:    .3s ease;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  margin: 0; padding: 0;
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0; z-index: 1000;
}

.header-top {
  background: var(--dark);
  color: #d1d5db;
  font-size: .82rem;
  padding: 7px 0;
}
.header-top a { color: #d1d5db; }
.header-top a:hover { color: var(--white); }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.site-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.site-logo .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
}
.site-logo .logo-sub {
  font-size: .75rem;
  color: var(--gray);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* NAV */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--dark);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 8px;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }

/* Mobil menü butonu */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--dark);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  color: #9ca3af;
  padding: 60px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;       /* ✅ 3 kolon */
  gap: 40px;
}
.footer-brand { display: inline-block; margin-bottom: 16px; text-decoration: none; }
.footer-logo-img { max-height: 44px; width: auto; display: block; }
.footer-logo-text { font-size: 22px; font-weight: 700; color: #fff; }
.footer-desc { margin: 0 0 18px; color: #9ca3af; max-width: 340px; font-size: .9rem; }

.footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: .9rem;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-links a i { font-size: 11px; color: #6b7280; transition: color var(--transition); }
.footer-links a:hover i { color: var(--primary); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .9rem;
}
.footer-contact li > i { color: var(--primary); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact li > span,
.footer-contact li > a { color: #9ca3af; word-break: break-word; }
.footer-contact a:hover { color: #fff; }

.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: #9ca3af; font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  margin-top: 50px;
  font-size: .85rem;
  text-align: center;
  color: #6b7280;
}

/* =============================================
   SECTION ORTAK
   ============================================= */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 16px;
  line-height: 1.25;
}
.section-desc { color: var(--gray); max-width: 600px; margin: 0 auto; }

/* Blog search spacing tweak */
.row-blog .search-form { margin-bottom: 40px; align-items: center; }

/* =============================================
   HERO / SLIDER  (OLDUĞU GİBİ KORUNDU)
   ============================================= */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #111827;
}
.hero-slide {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: #111827;
}
.hero-slide img.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center center;
  z-index: 0;
  transition: transform .6s ease;
}
.swiper-slide-active .hero-slide img.slide-bg {
  transform: scale(1.03);
}
.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 680px;
}
.slide-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.slide-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 30px;
}

/* Swiper okları override */
.swiper-button-next,
.swiper-button-prev {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  width: 48px !important; height: 48px !important;
  opacity: .35;
  transition: background var(--transition), opacity var(--transition);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255,255,255,.15);
  opacity: 1;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem !important;
  color: rgba(255,255,255,.65);
}
.swiper-pagination-bullet-active { background: var(--primary) !important; }
/* =============================================
   BUTONLAR
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,86,219,.3);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}
.btn-secondary-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-sm { padding: 8px 18px; font-size: .88rem; }

/* =============================================
   HİZMET KARTI
   ============================================= */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card .card-img {
  width: 100%; height: 220px;
  object-fit: cover;
}
.service-card .card-img-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--primary);
}
.service-card .card-body {
  padding: 24px;
  flex: 1;
  display: flex; flex-direction: column;
}
.service-card .card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary);
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--dark);
}
.service-card p {
  color: var(--gray);
  font-size: .92rem;
  flex: 1;
  margin: 0 0 18px;
}
.service-card .card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.service-card .card-link:hover { gap: 10px; }

/* =============================================
   ÜRÜN VE REFERANS KARTLARI
   ============================================= */
.product-card, .reference-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
}
.product-card { transition: transform var(--transition), box-shadow var(--transition); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.product-card-image, .product-card-placeholder { width: 100%; height: 190px; object-fit: cover; }
.product-card-placeholder { background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.product-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: 1.05rem; margin: 0 0 8px; color: var(--dark); }
.product-card-body p { color: var(--gray); font-size: .88rem; margin: 10px 0 16px; flex: 1; }
.product-card-price { color: var(--primary); font-weight: 800; }
.product-card .card-link { font-size: .88rem; font-weight: 700; color: var(--primary); }
.reference-card { padding: 24px; }
.reference-card-top { display: flex; align-items: center; gap: 12px; }
.reference-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 56px; }
.reference-avatar-placeholder { background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.reference-quote { color: var(--primary); font-size: 2rem; line-height: 1; margin-top: 18px; }
.reference-card p { color: var(--gray); line-height: 1.7; margin: 4px 0 0; }

/* =============================================
   GALERİ
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(26,86,219,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
  color: #fff; font-size: 2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* VIDEO KARTI */
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
  background: var(--dark);
}
.video-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .8;
  transition: opacity var(--transition);
}
.video-card:hover img { opacity: .6; }
.video-card .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 60px; height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.video-card:hover .play-btn {
  transform: translate(-50%,-50%) scale(1.12);
  box-shadow: 0 8px 30px rgba(26,86,219,.5);
}
.video-card .video-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; padding: 20px 12px 10px;
  font-size: .88rem; font-weight: 600;
}

/* =============================================
   HAKKIMIZDA SEKSİYON
   ============================================= */
.about-img-wrap { position: relative; }
.about-img-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge .badge-num { font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge .badge-label { font-size: .82rem; opacity: .9; }

.about-content { padding: 0 0 0 20px; }
.about-list { margin: 20px 0; }
.about-list li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px; font-size: .95rem;
}
.about-list i { color: var(--primary); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }

/* =============================================
   İLETİŞİM FORMU
   ============================================= */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; display: block; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  background: var(--light);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
  background: var(--white);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-alert {
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .9rem;
  margin-bottom: 20px;
}
.form-alert.success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.form-alert.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* İletişim bilgi kartları */
.contact-info-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.contact-info-card .icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--primary);
}
.contact-info-card h4 { font-size: .95rem; font-weight: 700; margin: 0 0 4px; }
.contact-info-card p  { font-size: .88rem; color: var(--gray); margin: 0; }

/* =============================================
   HİZMET DETAY
   ============================================= */
.service-detail-img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
}
.service-content { line-height: 1.8; }
.service-content h2,
.service-content h3 { color: var(--dark); margin-top: 28px; }
.service-content p  { color: #374151; }
.service-content ul { padding-left: 20px; }
.service-content ul li { margin-bottom: 8px; color: #374151; }

/* Yan panel — diğer hizmetler */
.services-sidebar .svc-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  margin-bottom: 10px;
  transition: border-color var(--transition), background var(--transition);
}
.services-sidebar .svc-item:hover,
.services-sidebar .svc-item.active {
  border-color: var(--primary);
  background: var(--primary-light);
}
.services-sidebar .svc-item img {
  width: 56px; height: 42px;
  object-fit: cover; border-radius: 6px; flex-shrink: 0;
}
.services-sidebar .svc-item span { font-size: .9rem; font-weight: 600; color: var(--dark); }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb-wrap {
  background: var(--light);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem; color: var(--gray); flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--dark); font-weight: 600; }

/* =============================================
   PAGE HERO (iç sayfa banner)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.page-hero h1 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; margin: 0 0 10px; }
.page-hero p  { color: rgba(255,255,255,.75); max-width: 500px; margin: 0 auto; }

/* =============================================
   WHATSAPP BUTONU
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  left: auto;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0;
}
.whatsapp-float a {
  background: #25d366;
  color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
}
.whatsapp-float .wa-tooltip {
  order: -1;
  background: var(--dark);
  color: #fff;
  font-size: .82rem;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  margin-right: 10px;
  margin-left: 0;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
   LIGHTBOX (Galeri)
   ============================================= */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img-wrap { position: relative; max-width: 90vw; max-height: 88vh; }
.lightbox-img-wrap img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain; border-radius: var(--radius);
}
.lightbox-close {
  position: fixed; top: 20px; right: 24px;
  color: #fff; font-size: 2rem; cursor: pointer;
  background: none; border: none; line-height: 1;
  transition: transform var(--transition);
}
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
  border: none; color: #fff; font-size: 1.6rem;
  width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: var(--primary); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* =============================================
   YARDIMCI
   ============================================= */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.text-primary { color: var(--primary); }
.text-gray    { color: var(--gray); }
.bg-light-section { background: var(--light); }
.divider { width: 60px; height: 4px; background: var(--primary); border-radius: 2px; margin: 12px auto 0; }
.divider-left { margin: 12px 0 0; }

/* Blog: daha fazla boşluk */
.featured-post { margin-bottom: 48px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col-about { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .section-title { font-size: 1.6rem; }

  /* Mobil menü */
  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%; left: 0;
    background: var(--white);
    padding: 12px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header-main { position: relative; }

  .about-content { padding: 0; }
  .about-badge { right: 0; bottom: -10px; }
  .contact-form-wrap { padding: 24px; }

  /* Hero slider */
  .hero-slide { min-height: 280px; }
  .slide-content h1 { font-size: 1.4rem; }
  .slide-content p   { font-size: .9rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col-about { grid-column: 1 / -1; }

  /* WhatsApp */
  .whatsapp-float { bottom: 18px; right: 18px; left: auto; }
  .whatsapp-float a { width: 52px; height: 52px; font-size: 1.6rem; }
  .whatsapp-float .wa-tooltip { display: none; }

  /* Lightbox */
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.3rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { font-size: 1.6rem; top: 14px; right: 16px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .slide-content h1 { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }

  /* Footer tek kolon */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-col-about { grid-column: auto; }
  .site-footer { padding: 40px 0 0; font-size: 14px; }
  .footer-bottom { margin-top: 36px; padding: 16px 0; font-size: 12.5px; }

  /* WhatsApp */
  .whatsapp-float { bottom: 14px; right: 14px; }
  .whatsapp-float a { width: 48px; height: 48px; font-size: 1.4rem; }

  /* Breadcrumb */
  .breadcrumb { font-size: .82rem; }

  /* Container */
  .container { padding: 0 14px; }
}




/* =============================================
   HİZMET DETAY SAYFASI
   ============================================= */
.service-detail-section {
  padding: 60px 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* Ana içerik */
.service-detail-main {
  min-width: 0;              /* Grid içinde taşmayı önler */
}

.service-detail-img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
}

.service-detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;           /* Mobilde alt satıra geçebilir */
}

.service-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-detail-title {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 800;
  margin: 0;
  color: var(--dark);
  line-height: 1.25;
  word-break: break-word;
}

.service-detail-lead {
  font-size: 1.05rem;
  color: var(--gray);
  border-left: 4px solid var(--primary);
  padding-left: 16px;
  margin: 0 0 28px;
  line-height: 1.7;
}

.service-detail-actions {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Yan panel */
.sidebar-box {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CTA Kutusu */
.sidebar-cta {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  text-align: center;
}

.sidebar-cta > i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
  opacity: .9;
}

.sidebar-cta h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.sidebar-cta p {
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  margin: 0 0 20px;
  line-height: 1.6;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: all var(--transition);
  margin-bottom: 10px;
}
.cta-btn:last-child { margin-bottom: 0; }

.cta-btn-primary {
  background: #fff;
  color: var(--primary);
}
.cta-btn-primary:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

.cta-btn-outline {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.cta-btn-outline:hover {
  background: rgba(255,255,255,.25);
}

/* =============================================
   HİZMET DETAY — RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
  .service-detail-grid {
    grid-template-columns: 1fr;      /* Yan panel alta iner */
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .service-detail-section {
    padding: 40px 0;
  }

  .service-detail-grid {
    gap: 24px;
  }

  .service-detail-img {
    margin-bottom: 20px;
  }

  .service-detail-head {
    gap: 10px;
    margin-bottom: 16px;
  }

  .service-detail-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .service-detail-title {
    font-size: 1.35rem;
  }

  .service-detail-lead {
    font-size: .95rem;
    padding-left: 12px;
    margin-bottom: 22px;
  }

  /* Butonlar tam genişlik, alt alta */
  .service-detail-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    padding-top: 22px;
  }
  .service-detail-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Yan panel */
  .sidebar-box {
    padding: 18px;
  }

  .sidebar-cta {
    padding: 22px 18px;
  }
  .sidebar-cta > i {
    font-size: 2rem;
  }
}
/* =============================================
   MOBİL CTA BAR (Telefon + WhatsApp)
   ============================================= */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
  }
  .mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: filter .2s ease;
  }
  .mobile-cta-bar a:active {
    filter: brightness(.9);
  }
  .mobile-cta-bar i {
    font-size: 1.25rem;
  }
  .cta-phone    { background: #1e293b; }
  .cta-whatsapp { background: #25d366; }

  /* Mobilde sağ alttaki float butonu gizle */
  .whatsapp-float {
    display: none !important;
  }

  /* Sayfa sonu barın altında kalmasın */
  body {
    padding-bottom: 56px;
  }
}