/* Firma detay — premium layout */
.fd-page {
  background: #f3f4f6;
  color: #1f2937;
  padding-bottom: 88px;
}
@media (min-width: 992px) {
  .fd-page { padding-bottom: 0; }
}
.fd-page .cfk-mobile-bar { display: none !important; }

.fd-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.fd-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fd-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.fd-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.fd-hero-logo {
  width: 128px;
  height: 128px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  background: #fff;
  flex-shrink: 0;
}
.fd-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fd-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  color: #fff;
}
.fd-badge-pro { background: #2563eb; }
.fd-badge-pro-xl { background: linear-gradient(135deg, #1e40af, #2563eb); }
.fd-badge-liste { background: linear-gradient(135deg, #fbbf24, #f97316); }
.fd-badge-wa { background: #22c55e; }
.fd-hero-title {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 0.75rem;
}
.fd-hero-lead {
  font-size: 1.1rem;
  color: #e5e7eb;
  max-width: 48rem;
  line-height: 1.6;
  margin: 0;
}
.fd-hero-actions .btn {
  border-radius: 1rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.fd-btn-wa-hero {
  background: #f97316;
  border-color: #f97316;
  color: #fff;
}
.fd-btn-wa-hero:hover {
  background: #ea580c;
  border-color: #ea580c;
  color: #fff;
}
.fd-btn-phone-hero {
  background: #fff;
  color: #111827;
  border: none;
}
.fd-btn-phone-hero:hover {
  background: #e5e7eb;
  color: #111827;
}

.fd-content { padding: 2.5rem 0; }
.fd-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  margin-bottom: 2rem;
}
.fd-card-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.fd-about-text {
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 2;
  margin: 0;
}

.fd-service-item {
  background: #f3f4f6;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
  height: 100%;
}
.fd-service-item:hover { background: #fff7ed; }
.fd-service-item span:first-child {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
  padding-right: 0.5rem;
}
.fd-service-check {
  color: #f97316;
  font-size: 1.25rem;
  font-weight: 700;
}

.fd-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.fd-gallery-head .fd-card-title { margin-bottom: 0; }
.fd-gallery-link {
  color: #f97316;
  font-weight: 700;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.fd-gallery-link:hover { text-decoration: underline; }
.fd-gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  height: 208px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
.fd-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.fd-gallery-item:hover img { transform: scale(1.08); }

.fd-map-wrap { padding: 0; overflow: hidden; }
.fd-map-wrap .fd-card-title { padding: 2rem 2rem 0; margin-bottom: 0; }
.fd-map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* Sağ sütun: JS ile yapışkan (top: 100px) — firm-detail.js */
@media (min-width: 992px) {
  .fd-sidebar-col {
    position: relative;
  }
  .fd-sidebar-sticky.is-fixed {
    position: fixed;
    top: 100px;
    z-index: 50;
  }
  .fd-sidebar-sticky.is-at-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
  }
  .fd-sidebar-card {
    margin-bottom: 0;
  }
}
.fd-contact-label {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.15rem;
}
.fd-contact-value {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 1rem;
  word-break: break-word;
}
.fd-working-hours li {
  padding: 0.2rem 0;
  color: #374151;
}
.fd-working-hours .fd-wh-label {
  font-weight: 700;
  color: #111827;
}
.fd-sidebar-btn {
  width: 100%;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem;
  border: none;
}
.fd-sidebar-btn-wa { background: #22c55e; color: #fff; }
.fd-sidebar-btn-wa:hover { background: #16a34a; color: #fff; }
.fd-sidebar-btn-call { background: #f97316; color: #fff; }
.fd-sidebar-btn-call:hover { background: #ea580c; color: #fff; }

.fd-form-input {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  width: 100%;
}
.fd-form-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
  outline: none;
}
.fd-form-submit {
  width: 100%;
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 1rem;
  padding: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
}
.fd-form-submit:hover { background: #000; color: #fff; }

.fd-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
@media (min-width: 992px) {
  .fd-mobile-bar { display: none !important; }
}
.fd-mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 1rem;
  border-radius: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.fd-mobile-bar .fd-m-wa { background: #22c55e; }
.fd-mobile-bar .fd-m-call { background: #f97316; }

#fdGalleryModal .modal-content { border-radius: 1rem; border: none; }
#fdGalleryModal img { max-height: 80vh; object-fit: contain; width: 100%; }

.fd-breadcrumb-wrap {
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 2;
}
.fd-breadcrumb-wrap .breadcrumb-item a { color: rgba(255,255,255,0.85); }
.fd-breadcrumb-wrap .breadcrumb-item.active { color: #fff; }
