/* İşletme Vitrini — Public Demo Page Styles (pd-) */
/* Mobile-first · Lighthouse 95+ · No images required */

/* ─── CSS Variables (overridden per sector in <style> block) ──────────────── */
:root {
  --pd-primary:      #1e3a5f;
  --pd-accent:       #16a34a;
  --pd-light:        #f0fdf4;
  --pd-tag-color:    #166534;
  --pd-hero-grad:    linear-gradient(140deg, #1e3a5f 0%, #152d4a 100%);
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.pd-hero {
  background: var(--pd-hero-grad);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.pd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.pd-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}
.pd-hero-text { flex: 1; min-width: 0; }
.pd-sector-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.95);
  letter-spacing: .03em;
  margin-bottom: 1.25rem;
}
.pd-hero-name {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: .9rem;
  text-wrap: balance;
}
.pd-hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.pd-star-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.pd-stars-display {
  font-size: 1.25rem;
  letter-spacing: .06em;
  color: #fbbf24;
}
.pd-star-score {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.pd-star-label {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
}
.pd-hero-ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.pd-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
.pd-quick-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .5rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(6px);
}
.pd-quick-action:hover {
  background: rgba(255,255,255,.2);
  opacity: 1;
  transform: translateY(-1px);
}
.pd-btn-call {
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.38);
  color: #fff !important;
}
.pd-btn-call:hover { background: rgba(255,255,255,.22); opacity: 1; transform: translateY(-1px); }
.pd-btn-map {
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.25);
  color: #fff !important;
}
.pd-btn-map:hover { background: rgba(255,255,255,.16); opacity: 1; transform: translateY(-1px); }

/* Hero — Google profile card (right side, desktop only) */
.pd-hero-card {
  flex-shrink: 0;
  width: 290px;
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  position: relative;
}
.pd-card-chrome {
  display: flex;
  gap: .3rem;
  margin-bottom: .9rem;
}
.pd-card-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.pd-card-dot:nth-child(1) { background: #ff5f56; }
.pd-card-dot:nth-child(2) { background: #ffbd2e; }
.pd-card-dot:nth-child(3) { background: #27c93f; }
.pd-card-maps-bar {
  background: #f1f5f9;
  border-radius: 8px;
  padding: .5rem .75rem;
  font-size: .75rem;
  color: #64748b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.pd-card-biz {
  padding: .75rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}
.pd-card-biz-name {
  font-size: .9rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: .35rem;
}
.pd-card-biz-cat {
  font-size: .75rem;
  color: #64748b;
  margin-bottom: .5rem;
}
.pd-card-biz-stars {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  margin-bottom: .65rem;
}
.pd-card-biz-stars span:first-child { color: #fbbf24; }
.pd-card-biz-stars .score { font-weight: 700; color: #0f172a; }
.pd-card-biz-stars .count { color: #64748b; }
.pd-card-btn {
  display: block;
  text-align: center;
  padding: .45rem;
  background: #1a73e8;
  color: #fff !important;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
}
.pd-card-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: #16a34a;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 50px;
}

/* ─── Trust Strip ─────────────────────────────────────────────────────────── */
.pd-trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--border, #e2e8f0);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.pd-trust-item {
  flex: 1;
  min-width: 120px;
  padding: 1rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border, #e2e8f0);
  font-size: .83rem;
  font-weight: 600;
  color: var(--text, #1e293b);
}
.pd-trust-item:last-child { border-right: none; }
.pd-trust-item span { display: block; font-size: 1.1rem; margin-bottom: .15rem; }

/* ─── Section utilities ───────────────────────────────────────────────────── */
.pd-container { max-width: 900px; margin: 0 auto; padding: 0 1.25rem; }
.pd-section-tag {
  display: inline-block;
  background: var(--pd-light);
  color: var(--pd-tag-color);
  font-size: .77rem;
  font-weight: 700;
  padding: .3rem .85rem;
  border-radius: 50px;
  margin-bottom: .9rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.pd-section-h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  margin-bottom: .75rem;
  color: var(--text, #1e293b);
  line-height: 1.3;
}
.pd-section-lead {
  font-size: 1rem;
  color: var(--text-muted, #64748b);
  line-height: 1.75;
  max-width: 640px;
}

/* ─── Services ────────────────────────────────────────────────────────────── */
.pd-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.pd-service-card {
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  padding: 1.35rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow .2s, transform .2s;
}
.pd-service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.pd-service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--pd-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.pd-service-name { font-size: .97rem; font-weight: 700; margin-bottom: .25rem; color: var(--text, #1e293b); }
.pd-service-desc { font-size: .83rem; color: var(--text-muted, #64748b); line-height: 1.55; }

/* ─── Gallery (CSS gradient tiles) ───────────────────────────────────────── */
.pd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.75rem;
}
.pd-gtile {
  aspect-ratio: 4/3;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  overflow: hidden;
  position: relative;
  transition: transform .22s, box-shadow .22s;
  cursor: default;
}
.pd-gtile:hover { transform: scale(1.03); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.pd-gtile-icon { font-size: 2.25rem; line-height: 1; position: relative; z-index: 1; }
.pd-gtile-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  position: relative;
  z-index: 1;
  opacity: .85;
}
.pd-gtile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.3) 0%, transparent 50%);
}

/* ─── Why Us ──────────────────────────────────────────────────────────────── */
.pd-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.pd-why-card {
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.pd-why-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.09); }
.pd-why-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--pd-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.pd-why-title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.pd-why-desc { font-size: .85rem; color: var(--text-muted, #64748b); line-height: 1.6; }

/* ─── Google Rating / Reviews ────────────────────────────────────────────── */
.pd-reviews-box {
  background: #fff;
  border: 2px solid var(--pd-light, #f0fdf4);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 560px;
  margin: 1.75rem auto 0;
  position: relative;
  overflow: hidden;
}
.pd-reviews-box::before {
  content: 'G';
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(0,0,0,.03);
  font-family: sans-serif;
}
.pd-review-score {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--pd-primary);
  line-height: 1;
  margin-bottom: .35rem;
}
.pd-review-stars {
  font-size: 1.75rem;
  color: #fbbf24;
  margin-bottom: .5rem;
  letter-spacing: .1em;
}
.pd-review-count {
  font-size: .95rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 1.5rem;
}
.pd-review-cta-note {
  font-size: .82rem;
  color: var(--text-muted, #64748b);
  margin-top: .75rem;
}

/* ─── Contact ─────────────────────────────────────────────────────────────── */
.pd-contact-card {
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1.75rem;
}
.pd-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
}
.pd-contact-row:last-of-type { border-bottom: none; }
.pd-contact-icon {
  width: 38px; height: 38px;
  background: var(--pd-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pd-contact-label { font-size: .78rem; color: var(--text-muted, #64748b); font-weight: 500; }
.pd-contact-value { font-size: .95rem; font-weight: 600; color: var(--text, #1e293b); margin-top: .1rem; }
.pd-contact-btns {
  display: flex;
  gap: .75rem;
  padding: 1.25rem 1.5rem;
  background: var(--gray-50, #f8fafc);
  flex-wrap: wrap;
}

/* ─── Closing CTA ─────────────────────────────────────────────────────────── */
.pd-closing {
  background: var(--pd-hero-grad);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pd-closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.pd-closing-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 0 1.5rem; }
.pd-closing-eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
}
.pd-closing-h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.pd-closing-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.pd-closing-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Demo notice (top) ───────────────────────────────────────────────────── */
.pd-notice-top {
  background: #fffbeb;
  color: #92400e;
  border-bottom: 1px solid #fde68a;
  padding: .65rem 1rem;
  text-align: center;
  font-size: .78rem;
  line-height: 1.5;
}

/* ─── Demo notice (bottom) ────────────────────────────────────────────────── */
.pd-notice {
  background: var(--gray-900, #0f172a);
  color: rgba(255,255,255,.6);
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: .8rem;
  line-height: 1.6;
}
.pd-notice a { color: rgba(255,255,255,.85); font-weight: 600; }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pd-hero-inner { flex-direction: column; gap: 2rem; }
  .pd-hero-card { display: none; }
  .pd-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pd-hero { padding: 3rem 0 2.5rem; }
  .pd-hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .pd-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pd-services-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-why-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-trust-item { min-width: 50%; border-bottom: 1px solid var(--border, #e2e8f0); }
  .pd-contact-btns { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   VISUAL UPGRADE — Photo gallery tiles for template-generated demos
   ═══════════════════════════════════════════════════════════════════════════ */
.pd-gtile--photo { background: #0f172a; }
.pd-gtile--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: opacity .3s ease, transform .4s ease;
}
.pd-gtile--photo:hover img { opacity: .90; transform: scale(1.06); }
.pd-gtile--photo .pd-gtile-icon { display: none; }
.pd-gtile--photo .pd-gtile-label {
  color: #fff;
  opacity: 1;
  text-shadow: 0 1px 5px rgba(0,0,0,.75);
  background: rgba(0,0,0,.38);
  padding: .22rem .55rem;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

/* ─── Photo hero for template-generated demos ──────────────────────────────── */
.pd-hero--photo {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.pd-hero--photo::before { display: none; } /* suppress dot-grid pattern on photos */
