/* ======================================================
   Takva Çelik Kapı — Antrasit & Altın Kurumsal Tema
   ====================================================== */
:root {
  --bg: #0c0e12;
  --bg-alt: #12151b;
  --surface: #171b22;
  --surface-hover: #1e232c;
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);

  --text: #f4f5f7;
  --text-muted: #a1a8b5;
  --gold: #d4af37;
  --gold-light: #edd27a;
  --gold-dark: #a68523;
  --wa-green: #25d366;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.skip-to-content {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--gold);
  color: #111317;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 14px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.container-narrow {
  width: min(860px, 92%);
}

.text-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.87rem;
}

.btn-full {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #111317;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.22);
}

.btn-gold:hover {
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-gold);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.45);
  color: #7df2a8;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.24);
}

/* ==================== Navbar ==================== */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 18, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ==================== Separate Page Views (No Scroll Navigation) ==================== */
.page-view {
  display: none !important;
}

.page-view.active {
  display: block !important;
  animation: pageFadeIn 0.22s ease;
}

.hero.page-view.active {
  display: flex !important;
}

section.section.page-view.active:not(#modeller) {
  padding-top: 118px;
  min-height: calc(100vh - 110px);
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) contrast(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 14, 18, 0.94) 0%, rgba(12, 14, 18, 0.72) 52%, rgba(12, 14, 18, 0.35) 100%),
    linear-gradient(180deg, rgba(12, 14, 18, 0.3) 0%, rgba(12, 14, 18, 1) 100%);
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.hero h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(2.15rem, 4.6vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 590px;
}

.hero-lead strong {
  color: var(--text);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

.hero-stats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  background: rgba(23, 27, 34, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-item strong {
  display: block;
  font-size: 1.25rem;
  color: var(--gold-light);
  font-weight: 700;
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ==================== Sections ==================== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-header h2,
.about-text h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ==================== Interactive Door Configurator ==================== */
.configurator-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.cfg-stage {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cfg-stage-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(12, 14, 18, 0.65);
  border-bottom: 1px solid var(--border);
}

.cfg-view-switch {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.cfg-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.cfg-pill.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #111317;
}

.cfg-stage-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cfg-tool-btn {
  padding: 7px 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.cfg-tool-btn:hover,
.cfg-tool-btn.active {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
}

.cfg-canvas-area {
  position: relative;
  flex: 1;
  min-height: 540px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background:
    radial-gradient(circle at 50% 35%, #2b313c 0%, #171b22 60%, #0f1217 100%);
  overflow: hidden;
}

.cfg-3d-hint {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.74rem;
  white-space: nowrap;
}

.cfg-door-stage {
  position: relative;
  width: 100%;
  height: 540px;
  cursor: grab;
}

.cfg-door-stage:active {
  cursor: grabbing;
}

.cfg-door-stage canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;
}

.configurator-shell:fullscreen {
  background: var(--bg);
  padding: 18px;
  height: 100vh;
}

.configurator-shell:fullscreen .cfg-door-stage {
  height: calc(100vh - 160px);
}

.configurator-shell:fullscreen .cfg-panel {
  max-height: calc(100vh - 36px);
}

.cfg-model-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
}

.cfg-model-card:hover {
  border-color: var(--border-gold);
  color: var(--text);
}

.cfg-model-card.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
  font-weight: 600;
}

.cfg-model-thumb {
  width: 24px;
  height: 36px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #222730;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.cfg-select {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.cfg-select:focus {
  border-color: var(--gold);
}

.cfg-model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.cfg-model-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.cfg-model-tile:hover {
  border-color: var(--border-gold);
  color: var(--text);
}

.cfg-model-tile.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
}

.cfg-stage-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(12, 14, 18, 0.72);
  border-top: 1px solid var(--border);
}

.cfg-live-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cfg-chip {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.cfg-chip strong {
  color: var(--gold-light);
}

.cfg-detail-toggle {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.cfg-detail-toggle:hover {
  background: rgba(212, 175, 55, 0.12);
}

/* Right Options Panel */
.cfg-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 670px;
}

.cfg-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 14, 18, 0.5);
}

.cfg-panel-head h3 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.08rem;
}

.cfg-panel-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: 999px;
}

.cfg-accordions {
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cfg-acc-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(12, 14, 18, 0.45);
  overflow: hidden;
}

.cfg-acc-item.open {
  border-color: var(--border-gold);
}

.cfg-acc-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}

.cfg-acc-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.cfg-acc-val {
  font-size: 0.76rem;
  color: var(--gold-light);
  margin-left: auto;
  margin-right: 8px;
}

.cfg-acc-arrow {
  color: var(--text-muted);
  transition: transform var(--transition);
  font-size: 0.85rem;
}

.cfg-acc-item.open .cfg-acc-arrow {
  transform: rotate(180deg);
  color: var(--gold);
}

.cfg-acc-body {
  display: none;
  padding: 4px 15px 15px;
}

.cfg-acc-item.open .cfg-acc-body {
  display: block;
}

.cfg-sublabel {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 10px 0 8px;
}

.cfg-sublabel:first-child {
  margin-top: 2px;
}

.cfg-swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.cfg-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 5px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.cfg-swatch:hover {
  border-color: var(--border-gold);
  color: var(--text);
}

.cfg-swatch.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  color: var(--text);
}

.cfg-swatch-color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.35);
}

.cfg-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.cfg-option-btn {
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
}

.cfg-option-btn:hover {
  border-color: var(--border-gold);
  color: var(--text);
}

.cfg-option-btn.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
  font-weight: 600;
}

.cfg-panel-actions {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  background: rgba(12, 14, 18, 0.65);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cfg-panel-actions .btn {
  padding: 11px 12px;
  font-size: 0.82rem;
}

/* Spec Summary Drawer */
.cfg-spec-drawer {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.cfg-spec-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cfg-spec-drawer-head h4 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1rem;
  color: var(--gold-light);
}

.cfg-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.cfg-spec-cell {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.cfg-spec-cell span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.cfg-spec-cell strong {
  font-size: 0.88rem;
  color: var(--text);
}

/* Model Blending (Harmanlama) Controls */
.cfg-blend-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.cfg-slot-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
}

.cfg-slot-card:hover {
  border-color: var(--border-gold);
}

.cfg-slot-card.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.14);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.cfg-slot-card.disabled {
  opacity: 0.45;
}

.cfg-slot-thumb {
  width: 34px;
  height: 54px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.cfg-slot-meta {
  min-width: 0;
}

.cfg-slot-badge {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

.cfg-slot-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cfg-slot-series {
  display: block;
  font-size: 0.67rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cfg-swap-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.cfg-swap-btn:hover {
  background: var(--gold);
  color: #111;
}

.cfg-blend-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.cfg-toggle-pill {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.cfg-toggle-pill.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-light);
}

.cfg-blend-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.cfg-blend-modes .cfg-option-btn {
  padding: 7px 6px;
  font-size: 0.73rem;
  text-align: center;
}

.cfg-slider-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.cfg-slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.cfg-slider-head strong {
  color: var(--gold-light);
}

.cfg-slider {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}

.cfg-picker-search {
  width: 100%;
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.cfg-picker-search:focus {
  outline: none;
  border-color: var(--gold);
}

.cfg-series-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.cfg-series-pill {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.cfg-series-pill:hover {
  border-color: var(--border-gold);
  color: var(--text);
}

.cfg-series-pill.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-light);
}

.cfg-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-height: 215px;
  overflow-y: auto;
  padding-right: 3px;
}

.cfg-photo-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 5px 4px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.67rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.cfg-photo-tile:hover {
  border-color: var(--border-gold);
  color: var(--text);
}

.cfg-photo-tile.is-a {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-light);
}

.cfg-photo-tile.is-b {
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.16);
  color: #93c5fd;
}

.cfg-photo-tile img {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

.cfg-tile-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--gold);
  color: #111;
}

.cfg-tile-tag.tag-b {
  background: #60a5fa;
  color: #0b1220;
}

/* ==================== Catalog ==================== */
.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 34px;
}

.catalog-search-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.catalog-search {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition);
}

.catalog-search:focus {
  border-color: var(--gold);
}

.catalog-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.filter-btn {
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--border-gold);
  color: var(--text);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #111317;
  border-color: transparent;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 20px;
}

.door-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.door-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.door-media {
  position: relative;
  aspect-ratio: 396 / 706;
  overflow: hidden;
  background: #101216;
}

.door-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.door-media img[src*="yangin-koleksiyon"] {
  object-fit: contain;
  background: #ffffff;
}

.catalog-more-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.catalog-more-wrap[hidden] {
  display: none;
}

.door-card:hover .door-media img {
  transform: scale(1.04);
}

.door-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
}

.door-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.door-code {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.door-body h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.door-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.door-tag {
  font-size: 0.76rem;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.door-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.door-actions .btn {
  padding: 10px 12px;
  font-size: 0.84rem;
}

/* ==================== PDF Catalog Viewer ==================== */
.pdf-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.pdf-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdf-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.pdf-meta strong {
  display: block;
  font-size: 0.96rem;
}

.pdf-meta span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pdf-viewer-wrap {
  width: 100%;
  height: 760px;
  background: #101216;
  border: 1px solid var(--border-gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pdf-viewer-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==================== About & Features ==================== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.about-text > p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.step-num {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 30px;
}

.step h4 {
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.step p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==================== FAQ ==================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 20px 22px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.35rem;
  color: var(--gold);
  transition: transform var(--transition);
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==================== Contact ==================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
  align-items: start;
}

.contact-info,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.sample-notice {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sample-notice span {
  color: var(--gold-light);
  font-weight: 700;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 500;
}

.info-item a,
.info-item p {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}

.info-item a:hover {
  color: var(--gold-light);
}

.map-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.84rem !important;
  color: var(--gold-light) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.map-embed-wrap {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--surface);
  height: 320px;
}

.map-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(20%) contrast(1.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.94rem;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  min-height: 22px;
}

.form-status.success {
  color: #7df2a8;
}

.form-status.error {
  color: #f87171;
}

/* ==================== Footer ==================== */
.footer {
  padding: 46px 0;
  border-top: 1px solid var(--border);
  background: #090a0d;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-top: 6px;
  max-width: 380px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-copy {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==================== Floating WhatsApp ==================== */
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1ea851;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 28px rgba(30, 168, 81, 0.35);
  transition: transform var(--transition);
}

.floating-wa:hover {
  transform: translateY(-3px);
}

/* ==================== Modal ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 8, 11, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(860px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 14, 18, 0.78);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.modal-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.modal-image {
  background: #0f1115;
  min-height: 320px;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.modal-badge {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.modal-code {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 700;
}

.modal-info h3 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.5rem;
  margin: 4px 0 12px;
}

.modal-info > p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.specs-title {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.specs-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.specs-list li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}

.specs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.modal-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==================== Responsive ==================== */
@media (max-width: 960px) {
  .configurator-shell,
  .about-layout,
  .contact-layout,
  .modal-body {
    grid-template-columns: 1fr;
  }

  .cfg-panel {
    max-height: none;
  }

  .cfg-canvas-area {
    min-height: 410px;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(12, 14, 18, 0.97);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .cfg-swatch-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cfg-panel-actions {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-actions .btn {
    display: none;
  }

  .stat-divider {
    display: none;
  }

  .contact-info,
  .contact-form,
  .modal-info {
    padding: 22px;
  }
}


/* ==================== Dortek-Style Full-Viewport 3D Studio Configurator ==================== */
.dt-studio-section {
  padding: 76px 0 0 !important;
  background: #ffffff;
  color: #111111;
}

.dt-studio {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(380px, 480px);
  height: calc(100vh - 76px);
  min-height: 620px;
  width: 100%;
  background: #ffffff;
  color: #111111;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.dt-studio:fullscreen {
  height: 100vh;
}

/* Left 2/3 Pure White 3D Viewer */
.dt-viewer-pane {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  overflow: hidden;
}

.dt-door-stage {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.dt-door-stage:active {
  cursor: grabbing;
}

.dt-icon-btn {
  position: absolute;
  top: 20px;
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.dt-icon-btn:hover {
  background: #f3f3f3;
  border-color: #e4e4e4;
}

.dt-back-btn {
  left: 20px;
}

.dt-more-wrap {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 30;
}

.dt-more-btn {
  position: static;
}

.dt-more-menu {
  position: absolute;
  top: 48px;
  right: 0;
  min-width: 196px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  display: flex;
  flex-direction: column;
}

.dt-more-menu[hidden] {
  display: none;
}

.dt-menu-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #1c1c1c;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dt-menu-item:hover {
  background: #f5f5f5;
}

.dt-menu-item.active {
  font-weight: 700;
  color: #000000;
  background: #f3f0ea;
}

.dt-menu-sep {
  height: 1px;
  background: #ececec;
  margin: 5px 0;
}

/* Right 1/3 Pure White Scrollable Side Panel */
.dt-side-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-left: 1px solid #ececec;
  overflow: hidden;
}

.dt-panel-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px 115px;
  scrollbar-width: thin;
  scrollbar-color: #cccccc transparent;
}

/* Top Door Type Carousel (Dortek Style) */
.dt-type-carousel-wrap {
  position: relative;
  margin-bottom: 18px;
}

.dt-type-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}

.dt-type-carousel::-webkit-scrollbar {
  display: none;
}

.dt-type-card {
  flex: 0 0 144px;
  background: #ffffff;
  border: 1px solid #ececec;
  padding: 10px 8px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.dt-type-card:hover {
  border-color: #999999;
}

.dt-type-card.active {
  border: 1.5px solid #111111;
}

.dt-type-thumb {
  width: 72px;
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dt-type-card span {
  font-size: 0.72rem;
  font-weight: 500;
  color: #222222;
  text-align: center;
  line-height: 1.25;
}

.dt-carousel-next {
  position: absolute;
  right: -6px;
  top: 44%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  color: #111111;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Minimalist Dortek Accordions */
.dt-acc {
  border-top: 1px solid #e9e9e9;
}

.dt-acc-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #111111;
}

.dt-acc-title {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111111;
}

.dt-acc-sign {
  font-size: 1.25rem;
  font-weight: 400;
  color: #111111;
  line-height: 1;
}

.dt-acc-body {
  display: none;
  padding-bottom: 20px;
}

.dt-acc.open .dt-acc-body {
  display: block;
}

.dt-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 10px;
}

.dt-subhead:first-child {
  margin-top: 2px;
}

.dt-subhead-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #111111;
}

.dt-subhead-val {
  font-size: 0.78rem;
  color: #777777;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 58%;
}

/* 5-Column Dortek Swatch Grid */
.dt-swatch-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.dt-swatch {
  background: #ffffff;
  border: 1px solid #ececec;
  padding: 5px 4px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.dt-swatch:hover {
  border-color: #999999;
}

.dt-swatch.active {
  border: 1.5px solid #111111;
}

.dt-swatch-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.dt-swatch span {
  font-size: 0.64rem;
  line-height: 1.2;
  color: #333333;
  text-align: center;
  word-break: break-word;
}

/* Light Monochrome Blend / Model Picker Controls */
.dt-blend-slots {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.dt-slot-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 7px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease;
}

.dt-slot-btn.active {
  border: 1.5px solid #111111;
  background: #faf9f6;
}

.dt-slot-btn.disabled {
  opacity: 0.42;
}

.dt-slot-btn img {
  width: 30px;
  height: 48px;
  object-fit: cover;
  border: 1px solid #e5e5e5;
  flex-shrink: 0;
}

.dt-slot-text {
  min-width: 0;
}

.dt-slot-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #777777;
}

.dt-slot-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dt-swap-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  color: #111111;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dt-swap-btn:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.dt-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.dt-pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #dcdcdc;
  background: #ffffff;
  color: #444444;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dt-pill:hover {
  border-color: #111111;
  color: #111111;
}

.dt-pill.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.dt-slider-box {
  background: #f8f7f4;
  border: 1px solid #e9e7e2;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.dt-slider-box input[type="range"] {
  width: 100%;
  accent-color: #111111;
  cursor: pointer;
  margin-top: 4px;
}

.dt-search {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid #dcdcdc;
  background: #ffffff;
  color: #111111;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.dt-search:focus {
  outline: none;
  border-color: #111111;
}

.dt-select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #dcdcdc;
  background: #ffffff;
  color: #111111;
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.dt-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  max-height: 225px;
  overflow-y: auto;
  padding-right: 2px;
}

.dt-photo-tile {
  position: relative;
  background: #ffffff;
  border: 1px solid #ececec;
  padding: 4px 3px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dt-photo-tile:hover {
  border-color: #999999;
}

.dt-photo-tile.is-a {
  border: 1.5px solid #111111;
}

.dt-photo-tile.is-b {
  border: 1.5px solid #6b7280;
  background: #f5f5f5;
}

.dt-photo-tile img {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  display: block;
}

.dt-photo-tile span {
  font-size: 0.6rem;
  font-weight: 600;
  color: #222222;
  text-align: center;
  line-height: 1.15;
}

.dt-badge-tag {
  position: absolute;
  top: 3px;
  right: 3px;
  font-size: 0.56rem;
  font-weight: 800;
  padding: 1px 4px;
  background: #111111;
  color: #ffffff;
}

.dt-badge-tag.tag-b {
  background: #6b7280;
}

.dt-opt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.dt-opt-btn {
  padding: 9px 10px;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  color: #222222;
  font-size: 0.78rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dt-opt-btn:hover {
  border-color: #888888;
}

.dt-opt-btn.active {
  border: 1.5px solid #111111;
  background: #faf9f6;
  font-weight: 600;
}

/* Sticky Bottom-Right Total / Detail Card (EXACT Dortek Style) */
.dt-total-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 25;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.dt-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.dt-total-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dt-total-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #111111;
}

.dt-detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: #f2efe9;
  color: #111111;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.dt-detail-pill:hover {
  background: #e7e2d9;
}

.dt-detail-pill.open {
  background: #111111;
  color: #ffffff;
}

.dt-detail-pill.open .dt-chevron {
  transform: rotate(180deg);
}

.dt-chevron {
  transition: transform 0.18s ease;
}

.dt-brand-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
  padding-right: 8px;
  border-right: 4px solid #111111;
}

.dt-brand-mark span {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111111;
}

.dt-brand-mark small {
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  color: #555555;
  margin-top: 2px;
}

.dt-detail-drawer {
  border-bottom: 1px solid #ececec;
  max-height: 280px;
  overflow-y: auto;
  padding: 14px 18px;
  background: #fcfcfb;
}

.dt-detail-drawer[hidden] {
  display: none;
}

.dt-detail-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}

.dt-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  padding-bottom: 6px;
  border-bottom: 1px solid #efefef;
}

.dt-detail-row span {
  color: #666666;
}

.dt-detail-row strong {
  color: #111111;
  text-align: right;
}

.dt-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dt-cta-black {
  padding: 10px 12px;
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.dt-cta-black:hover {
  background: #2b2b2b;
}

.dt-cta-wa {
  padding: 10px 12px;
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.dt-cta-wa:hover {
  background: #f3f0ea;
}

@media (max-width: 960px) {
  .dt-studio {
    grid-template-columns: 1fr;
    grid-template-rows: 48vh 52vh;
    height: calc(100vh - 76px);
  }

  .dt-side-panel {
    border-left: none;
    border-top: 1px solid #e5e5e5;
  }

  .dt-swatch-grid,
  .dt-photo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ==================== Luxury Double-Leaf Steel Door Entrance Intro (Model 1) ==================== */
.door-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  perspective: 1600px;
  overflow: hidden;
  background: transparent;
  pointer-events: auto;
  transition: opacity 0.45s ease;
}

.door-intro.done {
  opacity: 0;
  pointer-events: none;
}

/* Failsafe: intro can never block the site, even if JS fails */
.door-intro {
  animation: introFailsafe 0.4s ease 6s forwards;
}

@keyframes introFailsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.door-intro-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.52) 0%, rgba(212, 175, 55, 0.14) 36%, rgba(12, 14, 18, 0) 68%);
  opacity: 0;
  transition: opacity 0.75s ease;
  pointer-events: none;
}

.door-intro.opening .door-intro-glow {
  opacity: 1;
}

.door-intro-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.012) 0px,
      rgba(255, 255, 255, 0.012) 2px,
      transparent 2px,
      transparent 6px
    ),
    linear-gradient(160deg, #1b2029 0%, #0e1117 100%);
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: transform 1.35s cubic-bezier(0.65, 0, 0.22, 1), opacity 0.45s ease 1.05s;
}

.door-intro-left {
  left: 0;
  transform-origin: left center;
  border-right: 1px solid rgba(212, 175, 55, 0.65);
  box-shadow: inset -28px 0 48px rgba(0, 0, 0, 0.65);
}

.door-intro-right {
  right: 0;
  transform-origin: right center;
  border-left: 1px solid rgba(212, 175, 55, 0.65);
  box-shadow: inset 28px 0 48px rgba(0, 0, 0, 0.65);
}

.door-intro-frame {
  position: absolute;
  inset: 28px;
  border: 1.5px solid rgba(212, 175, 55, 0.38);
}

.door-intro-inner-line {
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(212, 175, 55, 0.16);
}

.door-intro-handle {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 120px;
  transform: translateY(-50%);
  border-radius: 5px;
  background: linear-gradient(180deg, #f5df96 0%, #d4af37 50%, #926f1a 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}

.door-intro-left .door-intro-handle {
  right: 34px;
}

.door-intro-right .door-intro-handle {
  left: 34px;
}

.door-intro-crest {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 32px;
  border: 1.5px solid var(--gold);
  background: rgba(12, 14, 18, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 28px rgba(212, 175, 55, 0.22);
  transition: opacity 0.45s ease, transform 0.55s ease;
}

.door-intro-brand {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-light);
}

.door-intro-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: #cfd5df;
}

.door-intro.opening .door-intro-crest {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
}

.door-intro.opening .door-intro-left {
  transform: rotateY(-102deg);
  opacity: 0;
}

.door-intro.opening .door-intro-right {
  transform: rotateY(102deg);
  opacity: 0;
}

.door-intro-skip {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(12, 14, 18, 0.75);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}

.door-intro-skip:hover {
  background: rgba(212, 175, 55, 0.18);
}


/* ==================== QA Fixes ==================== */
/* Designer page = full-viewport studio: no footer, no floating button, no page scroll */
body.page-tasarlayici {
  overflow: hidden;
}

body.page-tasarlayici .footer,
body.page-tasarlayici .floating-wa {
  display: none !important;
}

.dt-studio {
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
}

@media (max-width: 960px) {
  .dt-studio {
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    grid-template-rows: minmax(0, 46%) minmax(0, 54%);
  }
}

/* More menu must never be clipped by short viewports */
.dt-more-menu {
  max-height: calc(100vh - 170px);
  overflow-y: auto;
}

/* Door-type carousel: compact cards so labels are not clipped */
.dt-type-card {
  flex: 0 0 118px;
}

.dt-type-card span {
  font-size: 0.68rem;
}

.dt-type-carousel {
  padding-right: 28px;
}

/* Floating WhatsApp: smaller on phones so it does not cover content */
@media (max-width: 640px) {
  .floating-wa {
    right: 12px;
    bottom: 12px;
    padding: 10px;
  }

  .floating-wa span {
    display: none;
  }
}


/* ==================== Exact Dortek 4-Card Category Entry Screen & Studio Submenus ==================== */
.dt-entry-screen {
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  min-height: 560px;
  width: 100%;
  background: #ffffff;
  color: #111111;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 36px 20px;
  overflow: hidden;
}

.dt-entry-screen[hidden],
.dt-studio[hidden] {
  display: none !important;
}

.dt-entry-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.dt-entry-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 275px));
  gap: 24px;
  max-width: 1200px;
  width: 100%;
  align-items: stretch;
  justify-content: center;
}

.dt-entry-card {
  background: #ffffff;
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.dt-entry-card:hover,
.dt-entry-card:focus-visible {
  border-color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  outline: none;
}

.dt-entry-visual {
  flex: 1;
  background: #f7f6f2;
  padding: 22px 26px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  max-height: 52vh;
  overflow: hidden;
}

.dt-entry-visual img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.14));
  transition: transform 0.28s ease;
}

.dt-entry-card:hover .dt-entry-visual img {
  transform: scale(1.03);
}

.dt-entry-caption {
  padding: 16px 14px;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
}

.dt-entry-caption h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111111;
  margin: 0;
}

.dt-entry-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e2e2e2;
  background: #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.18s ease;
}

.dt-entry-arrow:hover {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.dt-entry-prev {
  left: 4px;
}

.dt-entry-next {
  right: 4px;
}

.dt-entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid #efefef;
  font-size: 0.78rem;
  color: #666666;
}

.dt-entry-lang {
  font-weight: 600;
  color: #111111;
}

.dt-entry-links {
  display: flex;
  gap: 18px;
}

.dt-entry-links a {
  color: #666666;
  text-decoration: none;
}

.dt-entry-links a:hover {
  color: #111111;
}

/* Dortek Submenu & AR Modal */
.dt-submenu-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dt-submenu {
  background: #fafafa;
  border-top: 1px solid #eeeeee;
  padding-left: 10px;
}

.dt-submenu[hidden] {
  display: none;
}

.dt-ar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dt-ar-backdrop[hidden] {
  display: none !important;
}

.dt-ar-dialog {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  color: #111111;
  padding: 28px 26px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.dt-ar-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #444444;
  cursor: pointer;
}

.dt-ar-dialog h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111111;
}

.dt-ar-dialog p {
  font-size: 0.82rem;
  color: #666666;
  line-height: 1.45;
  margin-bottom: 16px;
}

.dt-ar-qr {
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
  padding: 10px;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 5-Column Pervaz Profile & Hardware Tiles (Exact Dortek Card Look) */
.dt-tile-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.dt-tile-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.dt-line-tile {
  background: #ffffff;
  border: 1px solid #ececec;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.dt-line-tile:hover {
  border-color: #999999;
}

.dt-line-tile.active {
  border: 1.5px solid #111111;
}

.dt-line-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #faf9f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222222;
}

.dt-line-tile span {
  font-size: 0.62rem;
  line-height: 1.2;
  color: #222222;
  text-align: center;
  word-break: break-word;
}

@media (max-width: 960px) {
  .dt-entry-screen {
    padding: 18px 16px 14px;
  }

  .dt-entry-track {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
  }

  .dt-entry-card {
    flex: 0 0 220px;
    scroll-snap-align: center;
  }

  .dt-tile-grid-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ==================== Critical Scroll & Dortek Layout Order Fixes ==================== */
.dt-studio {
  height: calc(100vh - 76px) !important;
  height: calc(100dvh - 76px) !important;
  min-height: 0 !important;
  max-height: calc(100vh - 76px) !important;
  overflow: hidden !important;
}

.dt-viewer-pane,
.dt-side-panel {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

.dt-panel-scroll {
  flex: 1 1 0% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 20px 26px 120px !important;
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 #f8f8f8;
}

.dt-panel-scroll::-webkit-scrollbar {
  width: 7px;
}

.dt-panel-scroll::-webkit-scrollbar-track {
  background: #f8f8f8;
}

.dt-panel-scroll::-webkit-scrollbar-thumb {
  background: #c8c8c8;
  border-radius: 4px;
}

.dt-panel-scroll::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

/* Remove nested scroll trap so mouse wheel scrolls the whole right panel smoothly like Dortek */
.dt-photo-grid {
  max-height: none !important;
  overflow: visible !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 8px !important;
  padding-right: 0 !important;
}

.dt-photo-tile {
  padding: 6px 5px 7px !important;
  border: 1px solid #e6e6e6 !important;
  background: #ffffff !important;
  transition: border-color 0.15s ease, transform 0.12s ease !important;
}

.dt-photo-tile:hover {
  border-color: #888888 !important;
}

.dt-photo-tile.is-a {
  border: 2px solid #111111 !important;
  background: #faf9f6 !important;
}

.dt-photo-tile span {
  font-size: 0.64rem !important;
  font-weight: 600 !important;
  color: #1c1c1c !important;
  margin-top: 2px;
}

.dt-swatch-grid {
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 8px !important;
}

.dt-swatch {
  padding: 6px 5px 8px !important;
}

.dt-swatch.active {
  border: 2px solid #111111 !important;
}

.dt-select {
  width: 100%;
  padding: 10px 12px !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #111111 !important;
  font-size: 0.84rem !important;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 12px !important;
}

.dt-select:focus {
  outline: none;
  border-color: #111111 !important;
}

@media (max-width: 960px) {
  .dt-photo-grid,
  .dt-swatch-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}


/* ==================== Exact Dortek Entry Cards Styling (1:1 Match) ==================== */
.dt-entry-screen {
  padding: 54px 28px 24px !important;
  justify-content: center !important;
  background: #ffffff !important;
}

.dt-entry-main {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.dt-entry-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 32px !important;
  height: 100% !important;
  max-height: 540px !important;
  width: 100% !important;
  max-width: 1120px !important;
}

.dt-entry-card {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 236px !important;
  width: 236px !important;
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  transform: none !important;
}

.dt-entry-card:hover,
.dt-entry-card:focus-visible {
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.dt-entry-img {
  width: 100% !important;
  height: 72% !important;
  flex: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  transition: opacity 0.12s ease !important;
  user-select: none;
}

.dt-entry-card:hover .dt-entry-img {
  opacity: 0.85 !important;
}

.dt-entry-label {
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: #0a0a0a !important;
  margin-top: 20px !important;
  font-size: 0.94rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

.dt-entry-desc {
  text-align: center !important;
  color: #6b6b6b !important;
  margin: 10px auto 0 !important;
  font-size: 0.78rem !important;
  line-height: 1.55 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
}

@media (max-width: 1060px) {
  .dt-entry-track {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 12px !important;
  }
}


/* ==================== 4-Pack Site Animations (Tilt/Shimmer, Particles/Counters, Scroll Reveal, Pulse CTAs) ==================== */

/* 1. 3D Catalog Card Tilt & Golden Shimmer */
.door-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.28s ease !important;
}

.door-media {
  position: relative;
  overflow: hidden;
}

.door-media::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -130%;
  width: 65%;
  height: 180%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(243, 217, 139, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(24deg);
  transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.door-card:hover .door-media::after {
  left: 155%;
}

/* 2. Hero Floating Golden Light Particles & Staggered Reveal */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #f5df96 0%, #d4af37 70%, transparent 100%);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.85);
  opacity: 0.45;
  animation: heroFloatParticle 6s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { left: 12%; top: 26%; animation-delay: 0s; animation-duration: 5.5s; }
.hero-particles span:nth-child(2) { left: 28%; top: 68%; animation-delay: 1.1s; animation-duration: 6.8s; }
.hero-particles span:nth-child(3) { left: 46%; top: 22%; animation-delay: 2.2s; animation-duration: 5.9s; }
.hero-particles span:nth-child(4) { left: 64%; top: 74%; animation-delay: 0.6s; animation-duration: 7.2s; }
.hero-particles span:nth-child(5) { left: 78%; top: 30%; animation-delay: 1.7s; animation-duration: 6.1s; }
.hero-particles span:nth-child(6) { left: 88%; top: 62%; animation-delay: 2.8s; animation-duration: 5.4s; }
.hero-particles span:nth-child(7) { left: 36%; top: 44%; animation-delay: 1.4s; animation-duration: 6.5s; }
.hero-particles span:nth-child(8) { left: 72%; top: 48%; animation-delay: 3.1s; animation-duration: 6.9s; }

@keyframes heroFloatParticle {
  0%, 100% {
    transform: translateY(16px) translateX(0) scale(0.75);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-24px) translateX(10px) scale(1.25);
    opacity: 0.82;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-anim-1,
.hero-anim-2,
.hero-anim-3,
.hero-anim-4,
.hero-anim-5 {
  opacity: 0;
  transform: translateY(22px);
  animation: heroStaggerIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-anim-1 { animation-delay: 0.85s; }
.hero-anim-2 { animation-delay: 1.0s; }
.hero-anim-3 { animation-delay: 1.15s; }
.hero-anim-4 { animation-delay: 1.3s; }
.hero-anim-5 { animation-delay: 1.45s; }

@keyframes heroStaggerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 4. Staggered Scroll Reveal & Pulse Glow CTAs */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-pulse-gold,
.nav-actions .btn-gold {
  animation: pulseGoldRing 2.4s infinite;
}

.floating-wa {
  animation: pulseWaRing 2.4s infinite;
}

@keyframes pulseGoldRing {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.58);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

@keyframes pulseWaRing {
  0% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.65);
  }
  70% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35), 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}


/* ==================== Dortek-Style Left Hamburger Header & Slide-Out Side Drawer Menu ==================== */
.navbar .nav-inner {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
}

.navbar .menu-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: 42px;
  height: 42px;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.navbar .menu-toggle:hover {
  border-color: var(--gold) !important;
  background: rgba(212, 175, 55, 0.08) !important;
}

.menu-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.menu-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.navbar .brand {
  justify-self: center;
}

.navbar .nav-actions {
  justify-self: end;
}

/* Backdrop & Left Slide-Out Drawer */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(6, 8, 12, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9200;
  width: min(360px, 86vw);
  background: #10131a;
  border-right: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 16px 0 48px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-104%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.nav-drawer-close:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.nav-drawer-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  gap: 6px;
}

.nav-drawer-list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-drawer-list a span {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-drawer-list a small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-drawer-list a:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateX(4px);
}

.nav-drawer-list a.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
}

.nav-drawer-list a.active span {
  color: var(--gold-light);
}

.nav-drawer-foot {
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.nav-drawer-phone {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  margin-bottom: 4px;
}

.nav-drawer-foot p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 560px) {
  .navbar .nav-actions .btn {
    padding: 7px 10px;
    font-size: 0.72rem;
  }
}


/* ==================== Exact Dortek Frosted Side Menu (340px, Blur 12px, Right-Aligned Uppercase) & Theme Custom Cursor ==================== */
.navbar {
  z-index: 9300 !important;
}

.navbar .menu-toggle {
  border: none !important;
  background: transparent !important;
  width: 48px !important;
  height: 48px !important;
}

.navbar .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Morph hamburger bars into crisp X when menu is open (exact Dortek top-left X) */
.navbar .menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar .menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) {
  opacity: 0;
}

.navbar .menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer-backdrop {
  z-index: 9100 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: none !important;
}

.nav-drawer {
  z-index: 9200 !important;
  top: 76px !important;
  height: calc(100dvh - 76px) !important;
  width: 340px !important;
  max-width: 86vw !important;
  background-color: rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-right: none !important;
  box-shadow: none !important;
  justify-content: flex-start !important;
  overflow-y: auto !important;
}

.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-height: 100%;
  padding: 34px 16px 32px;
}

.nav-drawer-list {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  width: 100% !important;
  gap: 24px !important;
  padding: 0 14% 0 0 !important;
  flex: none !important;
}

.nav-drawer-list > a,
.nav-drawer-parent {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  text-align: right !important;
  font-size: 18px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease, color 0.2s ease !important;
  transform: none !important;
}

.nav-drawer-list > a:hover,
.nav-drawer-parent:hover {
  opacity: 0.65 !important;
  background: transparent !important;
  border: none !important;
  transform: none !important;
}

.nav-drawer-list > a.active {
  color: var(--gold-light) !important;
  background: transparent !important;
  border: none !important;
}

.nav-collapse-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.nav-collapse-body {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.22s ease, margin-top 0.25s ease;
}

.nav-collapse-group.open .nav-collapse-body {
  max-height: 160px;
  opacity: 1;
  margin-top: 16px;
}

.nav-collapse-body a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.78) !important;
  text-align: right !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease, color 0.2s ease !important;
}

.nav-collapse-body a:hover {
  color: var(--gold-light) !important;
  opacity: 1 !important;
  background: transparent !important;
  transform: none !important;
}

/* Serif Brand Wordmark at bottom of Dortek side menu */
.nav-drawer-wordmark {
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  text-transform: lowercase !important;
  letter-spacing: 0.04em !important;
  color: #ffffff !important;
  margin-top: 4px !important;
}

.nav-drawer-wordmark sup {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.05em;
  vertical-align: super;
  margin-left: 2px;
  color: var(--gold-light);
}

@media (max-width: 960px) {
  .nav-drawer {
    width: 82vw !important;
  }
  .nav-drawer-list > a,
  .nav-drawer-parent {
    font-size: 15px !important;
  }
  .nav-drawer-list {
    gap: 28px !important;
    padding-right: 10% !important;
  }
}

/* ==================== Theme-Matched Custom Dortek Arrow Cursor (Satin Gold & Anthracite) ==================== */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 32 32'%3E%3Cpath d='M7 4 L24 13.5 L16.5 15.5 L14 23.5 Z' fill='%2322262e' stroke='%23d4af37' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto;
}

a,
button,
[role="button"],
select,
label,
summary,
.dt-entry-card,
.door-card,
.faq-question {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 32 32'%3E%3Cpath d='M7 4 L24 13.5 L16.5 15.5 L14 23.5 Z' fill='%23f3d98b' stroke='%23111318' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, pointer !important;
}


/* ==================== Reference Projects, Verified Reviews, Mobile PDF Card & Modal Zoom ==================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 38px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48);
}

.project-media {
  position: relative;
  height: 230px;
  background: #0d1015;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.project-media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  transition: transform 0.35s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.06);
}

.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.88);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
}

.project-body {
  padding: 18px 18px 20px;
}

.project-loc {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 4px;
}

.project-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text);
}

.project-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: rgba(18, 22, 30, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.25s ease;
}

.review-card:hover {
  border-color: var(--border-gold);
}

.review-stars {
  color: var(--gold-light);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

.review-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gold-light);
}

.review-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Mobile Visual PDF Card */
.pdf-mobile-card {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.pdf-mobile-previews {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pdf-mobile-previews img {
  width: 78px;
  height: 132px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.pdf-mobile-info .pdf-badge {
  display: inline-block;
  width: auto;
  height: auto;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.74rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.pdf-mobile-info h3 {
  font-size: 1.15rem;
  margin: 8px 0 8px;
}

.pdf-mobile-info p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.pdf-mobile-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Modal Image Zoom */
.modal-image {
  overflow: hidden;
  position: relative;
}

.modal-image img {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: zoom-in !important;
}

.modal-image.zoomed img {
  transform: scale(1.78);
  cursor: zoom-out !important;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .pdf-mobile-card {
    display: block;
  }
  .pdf-toolbar,
  .pdf-viewer-wrap {
    display: none !important;
  }
}

@media (max-width: 580px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}


/* ==================== Admin Panel (Yönetim Paneli) Styles ==================== */
#referanslar[hidden],
.projects-grid[hidden],
.reviews-grid[hidden],
.admin-login-card[hidden],
.admin-dashboard[hidden] {
  display: none !important;
}

.admin-login-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  text-align: center;
}

.admin-login-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.admin-login-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-login-form input {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.92rem;
}

.admin-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 22px;
}

.admin-counts,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.admin-panel-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.admin-panel-box h3 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.admin-list-title {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 18px 0 12px;
}

.admin-item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
}

.admin-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.admin-item-meta {
  min-width: 0;
}

.admin-item-meta strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
}

.admin-item-meta span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.admin-del-btn {
  padding: 6px 11px;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.admin-del-btn:hover {
  background: rgba(239, 68, 68, 0.25);
}

@media (max-width: 960px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}


/* ==================== Standalone Hidden Enterprise Admin Portal (/yonetim, /admin, #yonetim) ==================== */
body.page-yonetim .navbar,
body.page-yonetim .footer,
body.page-yonetim .floating-wa {
  display: none !important;
}

.admin-portal-section {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 20%, #171c26 0%, #0a0c10 75%);
  padding: 0 !important;
}

.admin-auth-screen[hidden],
.admin-dashboard-shell[hidden] {
  display: none !important;
}

.admin-auth-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-auth-box {
  width: 100%;
  max-width: 440px;
  background: rgba(18, 22, 30, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 16px;
  padding: 36px 32px 28px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.72), 0 0 40px rgba(212, 175, 55, 0.08);
}

.admin-auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-auth-brand strong {
  display: block;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}

.admin-auth-brand span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.admin-auth-head h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--text);
}

.admin-auth-head p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.admin-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-pass-wrap input {
  width: 100%;
  padding-right: 74px !important;
}

.admin-pass-toggle {
  position: absolute;
  right: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.admin-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.admin-remember {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.admin-remember input {
  accent-color: var(--gold);
}

.admin-ssl-tag {
  color: #86efac;
  font-weight: 600;
}

.admin-auth-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.admin-auth-foot a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
}

.admin-auth-foot a:hover {
  color: var(--gold-light);
}

.admin-dashboard-shell {
  padding: 36px 0 64px;
}

.admin-portal-title strong {
  display: block;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.admin-portal-title span {
  font-size: 0.76rem;
  color: var(--text-muted);
}


/* ==================== Admin Door Model Uploader & Live TAKVA Watermark Stamper ==================== */
.admin-model-box {
  margin-bottom: 24px;
  border-color: rgba(212, 175, 55, 0.38);
}

.admin-model-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.admin-wm-controls {
  background: rgba(12, 14, 18, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-wm-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-wm-sliders label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.admin-wm-sliders input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}

.admin-model-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-wm-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.admin-wm-preview-head {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.admin-wm-canvas-box {
  width: 175px;
  aspect-ratio: 396 / 706;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141820;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-wm-canvas-box canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 960px) {
  .admin-model-layout {
    grid-template-columns: 1fr;
  }
}


/* ==================== 6698 Sayılı KVKK Consent Checkbox, Legal Modal & Cookie Banner ==================== */
.kvkk-check-wrap {
  margin: 4px 0 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(12, 14, 18, 0.55);
  border: 1px solid var(--border);
}

.kvkk-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.kvkk-check-label input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.kvkk-inline-link {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
  font-size: inherit;
  cursor: pointer;
}

.kvkk-inline-link:hover {
  color: #ffffff;
}

.footer-legal-btn {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-legal-btn:hover {
  color: var(--gold-light);
}

/* Legal Modal */
.legal-modal-card {
  max-width: 760px !important;
}

.legal-modal-inner {
  padding: 28px 30px 24px;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.legal-tab {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal-tab.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
}

.legal-content-box {
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-pane[hidden] {
  display: none !important;
}

.legal-pane h3 {
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.legal-pane h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin: 16px 0 6px;
}

.legal-pane p,
.legal-pane ul {
  margin-bottom: 10px;
}

.legal-pane ul {
  padding-left: 18px;
}

.legal-modal-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 18px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

/* Bottom Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 18px;
  right: 96px;
  bottom: 16px;
  z-index: 9000;
  max-width: 860px;
  background: rgba(16, 19, 26, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.65);
}

.cookie-banner[hidden],
body.page-tasarlayici .cookie-banner,
body.page-yonetim .cookie-banner {
  display: none !important;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-banner p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 72px;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

/* ==================== Multi-Language Switcher (TR / EN / RU / AR) & Dual Phone List ==================== */
.lang-switcher,
.drawer-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.drawer-lang-switcher {
  align-self: flex-end;
  margin-top: 8px;
}

.lang-btn {
  appearance: none;
  border: 1.5px solid transparent;
  background: transparent;
  padding: 4px 5px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
  transition: all 0.18s ease;
}

.lang-btn .flag-svg {
  width: 24px;
  height: 16px;
  display: block;
  border-radius: 2.5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.lang-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.lang-btn.active {
  opacity: 1;
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.18);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.contact-phone-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-phone-list a,
.nowrap-phone,
.footer-brand p a {
  white-space: nowrap !important;
  display: inline-block;
}

.footer-brand p a {
  color: inherit;
  transition: color 0.18s ease;
}

.footer-brand p a:hover {
  color: var(--gold-light);
}

@media (max-width: 640px) {
  .nav-actions {
    gap: 8px;
  }
  .lang-btn {
    padding: 4px 6px;
    font-size: 0.68rem;
  }
  #navQuoteCta {
    display: none;
  }
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-header,
html[dir="rtl"] .about-text,
html[dir="rtl"] .feature-card,
html[dir="rtl"] .contact-info,
html[dir="rtl"] .contact-form,
html[dir="rtl"] .faq-item,
html[dir="rtl"] .modal-info {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .section-header {
  text-align: center;
}

/* ==================== 3D Interactive Page-Flip Digital Catalog (Flipbook) ==================== */
.pdf-viewer-wrap[hidden],
.flipbook-shell[hidden] {
  display: none !important;
}

.pdf-mode-switch {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border-gold);
  border-radius: 9px;
  padding: 3px;
  gap: 3px;
}

.pdf-mode-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdf-mode-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #111317;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.28);
}

.flipbook-shell {
  background: linear-gradient(180deg, #131720 0%, #0d1016 100%);
  border: 1px solid var(--border-gold);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 20px 24px 22px;
  box-shadow: var(--shadow-lg);
}

.flipbook-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.flipbook-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fb-chapter-pill {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.fb-chapter-pill:hover,
.fb-chapter-pill.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-light);
}

.flipbook-nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flipbook-page-indicator {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  min-width: 118px;
  text-align: center;
}

.flipbook-stage {
  perspective: 2200px;
  padding: 8px 0 14px;
  overflow: hidden;
}

.flipbook-book {
  position: relative;
  width: 100%;
  max-width: 1040px;
  min-height: 550px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform-style: preserve-3d;
  border-radius: 12px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.flipbook-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 34px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 42%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(0, 0, 0, 0.48) 58%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 30;
  pointer-events: none;
}

.flipbook-page {
  position: relative;
  background: radial-gradient(circle at 50% 25%, #1c212c 0%, #12161e 100%);
  padding: 20px 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
}

.flipbook-page-left {
  border-radius: 12px 0 0 12px;
  border-right: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset -18px 0 28px -12px rgba(0, 0, 0, 0.55);
}

.flipbook-page-right {
  border-radius: 0 12px 12px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 18px 0 28px -12px rgba(0, 0, 0, 0.55);
}

.fb-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fb-page-brand {
  color: var(--text-muted);
  font-weight: 700;
}

.fb-page-series {
  color: var(--gold-light);
  font-weight: 800;
}

.fb-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  flex: 1;
  align-content: center;
}

.fb-door-item {
  background: rgba(12, 14, 18, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.fb-door-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.fb-door-thumb {
  width: 100%;
  max-width: 138px;
  aspect-ratio: 396 / 706;
  border-radius: 6px;
  overflow: hidden;
  background: #0d0f13;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fb-door-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fb-door-thumb img[src*="yangin-koleksiyon"] {
  object-fit: contain;
  background: #ffffff;
}

.fb-door-code {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

.fb-door-sub {
  font-size: 0.68rem;
  color: var(--gold-light);
  margin-top: 2px;
}

.fb-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fb-page-num {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}

.fb-corner-btn {
  appearance: none;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.fb-corner-btn:hover {
  background: var(--gold);
  color: #111317;
}

/* 3D Page Turning Leaf Animation */
.flipbook-turning-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 50%;
  transform-origin: left center;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 25;
  opacity: 0;
}

.flipbook-turning-leaf.is-flipping-next {
  opacity: 1;
  animation: fbTurnNext 0.64s cubic-bezier(0.34, 0.07, 0.22, 1) forwards;
}

.flipbook-turning-leaf.is-flipping-prev {
  opacity: 1;
  animation: fbTurnPrev 0.64s cubic-bezier(0.34, 0.07, 0.22, 1) forwards;
}

.fb-leaf-face {
  position: absolute;
  inset: 0;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, #222836 0%, #131720 65%, #0d1016 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: -18px 0 36px rgba(0, 0, 0, 0.75);
}

@keyframes fbTurnNext {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(-180deg);
  }
}

@keyframes fbTurnPrev {
  0% {
    transform: rotateY(-180deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}

.flipbook-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Mode 2: Paper Corner Peel (Köşeden Kıvrılan Kağıt) */
.fb-peel-corner {
  display: none;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #2b3242 0%, #f3d98b 47%, rgba(0, 0, 0, 0.45) 53%, #d4af37 100%);
  border-top-left-radius: 16px;
  box-shadow: -8px -8px 22px rgba(0, 0, 0, 0.65);
  z-index: 35;
  cursor: pointer;
  transition: width 0.32s ease, height 0.32s ease, box-shadow 0.32s ease;
}

.flipbook-book[data-style="curl"] .fb-peel-corner {
  display: block;
}

.flipbook-book[data-style="curl"]:hover .fb-peel-corner,
.fb-peel-corner.is-curling {
  width: 118px;
  height: 118px;
  box-shadow: -16px -16px 34px rgba(0, 0, 0, 0.78);
}

.flipbook-book.anim-curl-next {
  animation: fbCurlSlideNext 0.56s cubic-bezier(0.25, 1, 0.35, 1);
}

.flipbook-book.anim-curl-prev {
  animation: fbCurlSlidePrev 0.56s cubic-bezier(0.25, 1, 0.35, 1);
}

@keyframes fbCurlSlideNext {
  0% { transform: rotateY(0deg) scale(1); }
  45% { transform: perspective(1600px) rotateY(-18deg) rotateZ(-1.2deg) scale(0.96); opacity: 0.72; }
  100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}

@keyframes fbCurlSlidePrev {
  0% { transform: rotateY(0deg) scale(1); }
  45% { transform: perspective(1600px) rotateY(18deg) rotateZ(1.2deg) scale(0.96); opacity: 0.72; }
  100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}

/* Mode 3: 3D CoverFlow Carousel Slide */
.flipbook-book.anim-coverflow-next {
  animation: fbCoverFlowNext 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.flipbook-book.anim-coverflow-prev {
  animation: fbCoverFlowPrev 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fbCoverFlowNext {
  0% { transform: translate3d(0, 0, 0) rotateY(0deg); }
  45% { transform: translate3d(-110px, 0, -160px) rotateY(32deg); opacity: 0.45; }
  50% { transform: translate3d(110px, 0, -160px) rotateY(-32deg); opacity: 0.45; }
  100% { transform: translate3d(0, 0, 0) rotateY(0deg); opacity: 1; }
}

@keyframes fbCoverFlowPrev {
  0% { transform: translate3d(0, 0, 0) rotateY(0deg); }
  45% { transform: translate3d(110px, 0, -160px) rotateY(-32deg); opacity: 0.45; }
  50% { transform: translate3d(-110px, 0, -160px) rotateY(32deg); opacity: 0.45; }
  100% { transform: translate3d(0, 0, 0) rotateY(0deg); opacity: 1; }
}

/* Mode 4: Smooth Horizontal Cinema Slide */
.flipbook-book.anim-slide-next {
  animation: fbSmoothSlideNext 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.flipbook-book.anim-slide-prev {
  animation: fbSmoothSlidePrev 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fbSmoothSlideNext {
  0% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(-65px); opacity: 0.25; }
  50% { transform: translateX(65px); opacity: 0.25; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes fbSmoothSlidePrev {
  0% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(65px); opacity: 0.25; }
  50% { transform: translateX(-65px); opacity: 0.25; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Mode 5: Double-Leaf Steel Door Split Gates */
.fb-door-gate {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(145deg, #212734 0%, #10131a 100%);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  z-index: 40;
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.65, 0, 0.35, 1);
}

.fb-door-gate span {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  padding: 0 24px;
}

.fb-door-gate-left {
  left: 0;
  justify-content: flex-end;
  border-right: 1.5px solid var(--gold);
  transform: translateX(-102%);
}

.fb-door-gate-right {
  right: 0;
  justify-content: flex-start;
  border-left: 1.5px solid var(--gold);
  transform: translateX(102%);
}

.flipbook-book.gates-closed .fb-door-gate-left,
.flipbook-book.gates-closed .fb-door-gate-right {
  transform: translateX(0%);
}

@media (max-width: 820px) {
  .flipbook-book {
    grid-template-columns: 1fr;
    min-height: 440px;
  }
  .flipbook-spine {
    display: none;
  }
  .flipbook-page-left {
    border-radius: 12px 12px 0 0;
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  }
  .flipbook-page-right {
    border-radius: 0 0 12px 12px;
  }
}


