/* ProDoor26 — tema: logo renkleri (kraliyet mavisi, kırmızı vurgu) */
:root {
  --pd-blue: #1a56c4;
  --pd-blue-dark: #0f3d94;
  --pd-blue-soft: #e8f0ff;
  --pd-red: #e31c3d;
  --pd-red-hover: #c41532;
  --pd-ink: #0d1117;
  --pd-muted: #5c6573;
  --pd-white: #ffffff;
  --pd-glass: rgba(255, 255, 255, 0.08);
  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--pd-ink);
  background: var(--pd-white);
  overflow-x: hidden;
}

body.loader-active {
  overflow: hidden;
}

/* —— Page loader (garaj kapısı açılışı) —— */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--pd-blue-dark) 0%, #0a1f4a 50%, var(--pd-blue) 100%);
  transition: opacity 0.7s var(--ease-out-expo), visibility 0.7s;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  position: relative;
  width: min(320px, 85vw);
  text-align: center;
}

.loader-logo {
  width: min(280px, 75vw);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.35));
  animation: logoFloat 2.2s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.loader-door-wrap {
  position: relative;
  height: 6px;
  margin: 0 auto 1.25rem;
  max-width: 200px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.loader-door {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--pd-red), #ff6b6b);
  border-radius: 4px 0 0 4px;
  animation: doorLeft 1.4s var(--ease-out-expo) infinite;
}

.loader-door-right {
  left: auto;
  right: 0;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(270deg, var(--pd-red), #ff6b6b);
  animation: doorRight 1.4s var(--ease-out-expo) infinite;
}

@keyframes doorLeft {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-85%);
  }
}

@keyframes doorRight {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(85%);
  }
}

.loader-text {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

/* Navbar */
.navbar-prodoor {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 86, 196, 0.08);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.navbar-prodoor.scrolled {
  box-shadow: 0 8px 32px rgba(13, 17, 23, 0.08);
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.nav-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--pd-ink) !important;
  padding: 0.5rem 0.85rem !important;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--pd-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn-cta-nav {
  background: var(--pd-red);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.45rem 1.15rem !important;
  font-weight: 700;
  font-size: 0.8rem;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-cta-nav:hover {
  background: var(--pd-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 28, 61, 0.35);
}

.btn-cta-nav::after {
  display: none;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 88px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f6ff 0%, #fff 45%, #e8f0ff 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(26, 86, 196, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 86, 196, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  animation: orbPulse 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  background: var(--pd-blue);
  top: -120px;
  right: -80px;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--pd-red);
  bottom: 10%;
  left: -100px;
  animation-delay: -4s;
}

@keyframes orbPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.55;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(26, 86, 196, 0.1);
  color: var(--pd-blue-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s var(--ease-out-expo) both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pd-red);
  animation: blink 1.5s ease infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--pd-ink);
  margin-bottom: 1rem;
  animation: fadeInUp 0.85s var(--ease-out-expo) 0.08s both;
}

.hero-title span {
  background: linear-gradient(120deg, var(--pd-blue), var(--pd-blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--pd-muted);
  max-width: 32rem;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.9s var(--ease-out-expo) 0.15s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: fadeInUp 0.95s var(--ease-out-expo) 0.22s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary-pd {
  background: var(--pd-blue);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.btn-primary-pd:hover {
  background: var(--pd-blue-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 86, 196, 0.35);
}

.btn-outline-pd {
  border: 2px solid var(--pd-ink);
  color: var(--pd-ink);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: transparent;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-outline-pd:hover {
  background: var(--pd-ink);
  color: #fff;
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  animation: fadeInRight 1s var(--ease-out-expo) 0.2s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(13, 17, 23, 0.12), 0 0 0 1px rgba(26, 86, 196, 0.08);
  transform: perspective(1000px) rotateY(-4deg);
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s;
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
  box-shadow: 0 32px 80px rgba(13, 17, 23, 0.16);
}

.hero-card img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.hero-card-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--pd-blue);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--pd-muted);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: linear-gradient(180deg, #0a1628 0%, #0d1f3c 100%);
  color: #e8edf5;
}

.section-dark .text-muted {
  color: rgba(232, 237, 245, 0.65) !important;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--pd-muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-dark .section-sub {
  color: rgba(232, 237, 245, 0.7);
}

/* Service cards */
.service-card {
  height: 100%;
  border: 1px solid rgba(26, 86, 196, 0.12);
  border-radius: 20px;
  padding: 1.75rem;
  background: #fff;
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s, box-shadow 0.45s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pd-blue), var(--pd-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(26, 86, 196, 0.25);
  box-shadow: 0 20px 48px rgba(13, 17, 23, 0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--pd-blue-soft);
  color: var(--pd-blue);
  margin-bottom: 1.1rem;
  transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--pd-muted);
  margin: 0;
}

/* About quote */
.quote-block {
  border-left: 4px solid var(--pd-red);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.quote-block .signature {
  font-style: italic;
  color: var(--pd-muted);
  font-size: 0.95rem;
}

/* Gallery */
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(13, 17, 23, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 17, 23, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-zoom {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--pd-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out-expo);
  pointer-events: none;
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

/* Contact */
.contact-box {
  border-radius: 24px;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--pd-blue) 0%, var(--pd-blue-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(227, 28, 61, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.contact-box a.phone-link {
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-box a.phone-link:hover {
  opacity: 0.9;
}

.form-floating > .form-control:focus {
  border-color: var(--pd-blue);
  box-shadow: 0 0 0 0.2rem rgba(26, 86, 196, 0.15);
}

.btn-send {
  background: var(--pd-red);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s;
}

.btn-send:hover {
  background: var(--pd-red-hover);
  color: #fff;
  transform: translateY(-2px);
}

/* Footer */
.footer-prodoor {
  padding: 2.5rem 0;
  background: #060b14;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
}

.footer-prodoor a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-prodoor a:hover {
  color: var(--pd-red);
}

/* —— Alt sayfa üst bant (breadcrumb) —— */
.page-header-inner {
  position: relative;
  padding: 7.5rem 0 3.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f6ff 0%, #fff 50%, #e8f4ff 100%);
}

.page-header-inner .hero-bg-grid {
  mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, black 15%, transparent 65%);
}

.page-header-inner .hero-orb-1 {
  top: -80px;
  right: -40px;
  opacity: 0.35;
}

.page-header-inner .hero-orb-2 {
  bottom: -40px;
  left: -60px;
  opacity: 0.3;
}

.breadcrumb-pd {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.breadcrumb-pd a {
  color: var(--pd-blue);
  text-decoration: none;
}

.breadcrumb-pd a:hover {
  text-decoration: underline;
}

.breadcrumb-pd .sep {
  margin: 0 0.35rem;
  color: var(--pd-muted);
  opacity: 0.7;
}

.page-title-inner {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  letter-spacing: -0.03em;
  color: var(--pd-ink);
  margin-bottom: 0.5rem;
}

.page-lead-inner {
  color: var(--pd-muted);
  max-width: 40rem;
  margin: 0;
}

/* İçerik alanı (genel) */
.content-block {
  padding: 3.5rem 0 5rem;
}

.content-block.bg-alt {
  background: #f8fafc;
}

/* Blog kartları */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 86, 196, 0.1);
  box-shadow: 0 8px 28px rgba(13, 17, 23, 0.06);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s, border-color 0.35s;
  text-decoration: none;
  color: inherit;
}

a.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(13, 17, 23, 0.1);
  border-color: rgba(26, 86, 196, 0.22);
  color: inherit;
}

.blog-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--pd-blue-soft);
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out-expo);
}

a.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pd-red);
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--pd-ink);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--pd-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.blog-read-more {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--pd-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

a.blog-card:hover .blog-read-more {
  color: var(--pd-blue-dark);
}

.blog-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(227, 28, 61, 0.1);
  color: var(--pd-red);
}

/* Blog / hizmet yazı gövdesi */
.post-article {
  max-width: 760px;
}

.post-meta-bar {
  font-size: 0.875rem;
  color: var(--pd-muted);
  margin-bottom: 1.5rem;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--pd-ink);
}

.post-content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  letter-spacing: -0.02em;
}

.post-content h3 {
  font-weight: 800;
  font-size: 1.15rem;
  margin: 1.5rem 0 0.65rem;
}

.post-content p {
  margin-bottom: 1rem;
}

.post-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.post-content li {
  margin-bottom: 0.35rem;
}

.post-content blockquote {
  border-left: 4px solid var(--pd-blue);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--pd-blue-soft);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--pd-blue-dark);
}

.post-share {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(13, 17, 23, 0.08);
}

/* Hizmet detay */
.service-detail-hero-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(13, 17, 23, 0.12);
}

.service-detail-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.pd-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pd-check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.pd-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--pd-blue-soft);
  border: 2px solid var(--pd-blue);
}

.pd-check-list li::after {
  content: "✓";
  position: absolute;
  left: 0.28rem;
  top: 0.32rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--pd-blue);
}

.sidebar-card {
  border-radius: 20px;
  border: 1px solid rgba(26, 86, 196, 0.12);
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 8px 28px rgba(13, 17, 23, 0.06);
}

.sidebar-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.sidebar-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-link-list li {
  border-bottom: 1px solid rgba(13, 17, 23, 0.06);
}

.sidebar-link-list li:last-child {
  border-bottom: none;
}

.sidebar-link-list a {
  display: block;
  padding: 0.65rem 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pd-ink);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.25s var(--ease-out-expo);
}

.sidebar-link-list a:hover {
  color: var(--pd-blue);
  padding-left: 0.35rem;
}

.sidebar-link-list a.active {
  color: var(--pd-red);
}

/* Hizmetler grid — tıklanabilir kart */
a.service-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.service-card h3,
a.service-card p {
  color: inherit;
}

a.service-card p {
  color: var(--pd-muted);
}

.service-card .link-faux {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--pd-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

a.service-card:hover .link-faux {
  color: var(--pd-red);
}

/* Fancybox tema uyumu */
.fancybox__backdrop {
  background: rgba(6, 11, 20, 0.92) !important;
}

.fancybox__toolbar {
  --f-button-bg: rgba(255, 255, 255, 0.12);
  --f-button-hover-bg: var(--pd-red);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
