/**
 * CMS iç sayfaları (Cargonz’tan kopyalanan şablonlar) için Arnav ile uyumlu yardımcı sınıflar.
 */
:root {
  --cg-primary: #171717;
  --cg-accent: #dca167;
  --cg-border: #e8e8e8;
  --cg-muted: #878787;
  --cg-light: #f7f7f7;
}

.cg-breadcrumb {
  background: var(--cg-light);
  padding: 2.25rem 0 1.5rem;
  border-bottom: 1px solid var(--cg-border);
}

.cg-breadcrumb h1 {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.cg-content-page .front-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.35rem;
}

.cg-card-service {
  border: 1px solid var(--cg-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: 100%;
  background: #fff;
  border-left: 3px solid var(--cg-accent);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.cg-project-card {
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.cg-project-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cg-project-card:hover img {
  transform: scale(1.05);
}

.cg-project-card .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(23, 23, 23, 0.92));
  color: #fff;
}

.cg-project-card .caption h5 {
  color: #fff;
  margin: 0;
  font-size: 1.05rem;
}

.cg-testimonial {
  background: #fff;
  border: 1px solid var(--cg-border);
  border-radius: 0.75rem;
  padding: 2rem;
  height: 100%;
}

.cg-testimonial .quote {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.btn.cg-btn-accent {
  background: var(--cg-accent);
  border-color: var(--cg-accent);
  color: #171717;
  font-weight: 600;
}

.btn.cg-btn-accent:hover {
  filter: brightness(0.95);
  color: #171717;
}

.cg-hero {
  position: relative;
  min-height: 380px;
}

.cg-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.45);
}

.cg-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
  color: #fff;
}

.cg-hero-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.front-floating-widgets {
  position: fixed;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.front-floating-widgets.fixed-right-bottom {
  right: 22px;
  bottom: 22px;
}

.front-floating-widget {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--widget-bg, #171717);
  color: var(--widget-text, #fff);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  min-width: 182px;
}

.front-floating-widget:hover {
  color: #fff;
  opacity: 0.96;
}

.front-floating-widget-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.front-floating-widget small {
  display: block;
  opacity: 0.78;
  font-size: 11px;
}

.front-floating-widget span {
  display: block;
  font-weight: 700;
  color: var(--widget-accent, #dca167);
}
