/* ==========================================================================
   KULE LİFT MÜHENDİSLİK - MOBİL UYGULAMA (APP-LIKE UI) BİLEŞENLERİ
   Alt Navigasyon Barı, Çekmece Menü, Bottom Sheet Modallar, Asansör Simülatörü
   ========================================================================== */

/* ==========================================================================
   1. MOBİL SABİT ALT NAVİGASYON BARI (BOTTOM APP TAB BAR)
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 25px rgba(15, 23, 42, 0.1);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-around;
  transition: transform var(--transition-normal);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
  min-width: 54px;
  cursor: pointer;
  background: none;
  border: none;
}

.bottom-nav-icon {
  font-size: 1.25rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-bounce);
}

/* Renkli Modern FontAwesome İkonları */
.nav-icon-home { color: #3B82F6; }       /* Canlı Mavi */
.nav-icon-services { color: #E5A00D; }   /* Kule Lift Amber */
.nav-icon-map { color: #EF4444; }        /* Konum Kırmızı */
.nav-icon-projects { color: #8B5CF6; }   /* Mor / Şehir */
.nav-icon-more { color: #64748B; }       /* Antrasit */

.bottom-nav-item:hover .bottom-nav-icon,
.bottom-nav-item.active .bottom-nav-icon {
  transform: translateY(-2px) scale(1.15);
}

.bottom-nav-item.active {
  color: var(--text-main);
  font-weight: 800;
}

/* 3. Buton: Merkez Vurgulu WhatsApp Butonu */
.bottom-nav-item.highlight-whatsapp {
  margin-top: -18px;
}

.bottom-nav-item.highlight-whatsapp .bottom-nav-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  border: 3px solid #FFFFFF;
  font-size: 1.6rem;
}

.bottom-nav-item.highlight-whatsapp:hover .bottom-nav-icon,
.bottom-nav-item.highlight-whatsapp:active .bottom-nav-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   ÜSTE DOĞRU AÇILAN BALON MENÜ (POPOVER MENU)
   ========================================================================== */
.balloon-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.balloon-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.nav-balloon-menu {
  position: fixed;
  bottom: 74px;
  right: 12px;
  width: 250px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  border: 1px solid var(--border-light);
  z-index: 1001;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.92);
  transform-origin: bottom right;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-balloon-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Balonun Altındaki Ok Ucu */
.nav-balloon-menu::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 28px;
  width: 16px;
  height: 16px;
  background: #FFFFFF;
  transform: rotate(45deg);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.balloon-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.balloon-menu-item a,
.balloon-menu-item button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.balloon-menu-item a:hover,
.balloon-menu-item button:hover {
  background: var(--bg-muted);
  transform: translateX(3px);
}

.balloon-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.balloon-icon-calc { background: #FEF3C7; color: #D97706; }
.balloon-icon-blog { background: #E0E7FF; color: #4F46E5; }
.balloon-icon-about { background: #F1F5F9; color: #475569; }
.balloon-icon-contact { background: #DCFCE7; color: #16A34A; }
.balloon-icon-emergency { background: #FEE2E2; color: #DC2626; }

@media (min-width: 1025px) {
  .mobile-bottom-nav,
  .nav-balloon-menu,
  .balloon-backdrop {
    display: none !important;
  }
}

/* ==========================================================================
   2. MOBİL UYGULAMA ÇEKMECESİ (APP DRAWER / SIDE MENU)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.app-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #FFFFFF;
  z-index: 1200;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.app-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 14px 18px;
  background: var(--dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
}

.drawer-body {
  padding: 14px 16px;
  flex: 1;
}

.drawer-section-title {
  font-size: 0.70rem;
  font-weight: 800;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.drawer-nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--bg-body);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.drawer-nav-item a:hover, .drawer-nav-item.active a {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: rgba(229, 160, 13, 0.3);
}

.drawer-nav-icon {
  font-size: 0.95rem;
  color: var(--primary);
  width: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.drawer-emergency-card {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border: 1px solid #FECDD3;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 12px;
}

.drawer-emergency-card h4 {
  color: #BE123C;
  font-size: 0.85rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-emergency-card p {
  color: #881337;
  font-size: 0.72rem;
  margin-bottom: 8px;
  line-height: 1.25;
}

.drawer-emergency-card .btn {
  padding: 6px 10px;
  font-size: 0.78rem;
}

.drawer-footer {
  padding: 12px 16px;
  background: var(--bg-muted);
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   3. BOTTOM SHEET MODAL (7/24 ACİL ARIZA & HIZLI TEKLİF)
   ========================================================================== */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1300;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.sheet-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 640px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 28px 28px 0 0;
  z-index: 1400;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform var(--transition-bounce);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.bottom-sheet.active {
  transform: translateY(0);
}

.sheet-handle-bar {
  width: 44px;
  height: 5px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  margin: 12px auto 6px;
}

.sheet-header {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.sheet-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sheet-close-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.sheet-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* ==========================================================================
   4. İNTERAKTİF ASANSÖR SİMÜLATÖRÜ (ELEVATOR SHAFT & CABIN ANIMATION)
   ========================================================================== */
.elevator-simulator-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  position: relative;
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.sim-title-group h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.sim-title-group p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sim-status-display {
  background: var(--dark);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--dark-border);
}

.sim-status-display .floor-num {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 900;
}

.sim-status-display .direction-arrow {
  color: var(--success);
  transition: transform var(--transition-fast);
}

.sim-status-display .direction-arrow.down {
  transform: rotate(180deg);
  color: #F59E0B;
}

.sim-layout {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 16px;
  height: 380px;
}

.shaft-container {
  background: linear-gradient(to bottom, #1E242B 0%, #2A333E 100%);
  border-radius: var(--radius-lg);
  border: 2px solid #37424F;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.shaft-cables {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 100%;
  border-left: 2px dashed rgba(255, 255, 255, 0.15);
  border-right: 2px dashed rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.shaft-floor-markers {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 14px;
  pointer-events: none;
}

.shaft-floor-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
}

.shaft-floor-line.active {
  color: var(--primary);
  border-bottom-color: rgba(229, 160, 13, 0.4);
}

/* Hareketli Asansör Kabini */
.elevator-cabin {
  position: absolute;
  bottom: 10px; /* Dinamik değişecek */
  left: 20px;
  right: 20px;
  height: 60px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px rgba(229, 160, 13, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.1);
  transition: bottom 1.4s cubic-bezier(0.45, 0, 0.15, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 10;
}

.cabin-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.cabin-doors {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 2px;
  padding: 4px 0;
}

.cabin-door {
  flex: 1;
  background: linear-gradient(to right, #CBD5E1, #94A3B8);
  border: 1px solid #64748B;
  border-radius: 2px;
  transition: transform 0.6s ease;
}

.elevator-cabin.doors-open .cabin-door.left {
  transform: translateX(-80%);
}

.elevator-cabin.doors-open .cabin-door.right {
  transform: translateX(80%);
}

/* Kat Seçim Butonyeri (Elevator COP Controller) */
.cop-panel {
  background: var(--dark);
  border-radius: var(--radius-lg);
  border: 2px solid var(--dark-border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.cop-screen {
  background: #000000;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  width: 100%;
  padding: 6px 4px;
  text-align: center;
  color: var(--primary);
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 900;
}

.cop-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.cop-btn {
  width: 100%;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #334155;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1px solid #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.cop-btn:hover {
  background: #475569;
  border-color: var(--primary);
}

.cop-btn.active {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 0 0 10px rgba(229, 160, 13, 0.6);
}

.cop-door-actions {
  display: flex;
  gap: 4px;
  width: 100%;
}

.cop-door-btn {
  flex: 1;
  height: 28px;
  background: #1E293B;
  color: #94A3B8;
  border: 1px solid #334155;
  border-radius: 4px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cop-door-btn:hover {
  color: #FFFFFF;
  border-color: #64748B;
}

/* ==========================================================================
   5. İNTERAKTİF ASANSÖR & KABİN KONFİGÜRATÖRÜ (CONFIGURATOR ENGINE)
   ========================================================================== */
.configurator-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-top: 15px;
}

.config-steps-nav {
  display: flex;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}

.config-step-tab {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.config-step-tab.active {
  color: var(--primary-dark);
  background: #FFFFFF;
  border-bottom-color: var(--primary);
}

.step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E2E8F0;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.config-step-tab.active .step-circle {
  background: var(--primary);
  color: #FFFFFF;
}

.config-grid-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 520px;
}

.config-form-area, .config-options-area {
  padding: 36px;
  background: #FFFFFF;
}

.config-step-pane {
  display: none;
  animation: fadeInPane 0.3s ease;
}

.config-step-pane.active {
  display: block;
}

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

.step-header-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.selection-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.selection-card, .select-box-card {
  display: block;
  cursor: pointer;
  margin: 0;
  position: relative;
}

.selection-card input[type="radio"], .select-box-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.selection-card-inner {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 20px;
  height: 100%;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.selection-card:hover .selection-card-inner {
  border-color: rgba(229, 160, 13, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.selection-card.selected .selection-card-inner,
.selection-card input:checked + .selection-card-inner {
  border-color: var(--primary);
  background: #FFFBEB;
  box-shadow: 0 0 0 3px rgba(229, 160, 13, 0.15);
}

.selection-card.selected .selection-card-inner::after,
.selection-card input:checked + .selection-card-inner::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 12px;
  font-weight: 900;
  color: var(--primary-dark);
  font-size: 1rem;
}

.sel-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
}

.selection-card-inner h4, .select-box-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.selection-card-inner p, .select-box-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Slider Controls */
.slider-control-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 20px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-header label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.slider-value {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-dark);
  background: #FFFBEB;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(229, 160, 13, 0.3);
}

.custom-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #CBD5E1;
  outline: none;
  -webkit-appearance: none;
  margin: 10px 0;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.config-wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #E2E8F0;
}

/* Summary Panel */
.config-summary-panel {
  background: #F8FAFC;
  border-left: 1px solid #E2E8F0;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
}

.summary-card-header h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
}

.live-status-pill {
  font-size: 0.75rem;
  font-weight: 700;
  background: #DCFCE7;
  color: #15803D;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
}

.summary-specs-list, .spec-summary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed #E2E8F0;
}

.spec-row .spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-row .spec-val {
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

.whatsapp-share-btn {
  background: #25D366;
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.whatsapp-share-btn:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
}

@media (max-width: 992px) {
  .config-grid-layout {
    grid-template-columns: 1fr;
  }
  .config-summary-panel {
    border-left: none;
    border-top: 1px solid #E2E8F0;
  }
  .selection-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   6. TOAST BİLDİRİM SİSTEMİ (APP TOAST)
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.app-toast {
  background: var(--dark);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  animation: slideInToast 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 4px solid var(--primary);
}

.app-toast.success { border-left-color: var(--success); }
.app-toast.danger { border-left-color: var(--danger); }

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   7. FLOATING QUICK ACTION BUTTON (FAB)
   ========================================================================== */
.fab-quick-call {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

@media (max-width: 991px) {
  .fab-quick-call {
    display: none !important;
  }
}

.fab-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.5rem;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-bounce);
  position: relative;
}

.fab-btn.whatsapp-fab {
  background: #25D366;
}

.fab-btn.whatsapp-fab:hover {
  transform: scale(1.1) rotate(5deg);
}

.fab-btn.emergency-fab {
  background: var(--danger);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@media (max-width: 768px) {
  .fab-quick-call {
    display: none !important;
  }

  .config-grid-layout {
    grid-template-columns: 1fr;
  }
  
  .config-summary-panel {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
  
  .selection-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   8. YUKARI ÇIK BUTONU (SCROLL TO TOP)
   ========================================================================== */
.btn-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s ease, box-shadow 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.btn-scroll-top:hover {
  background: linear-gradient(135deg, #E5A00D 0%, #B45309 100%);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.6);
  color: #FFFFFF;
}

.btn-scroll-top:active {
  transform: translateY(0) scale(0.95);
}

/* MOBİL & TABLET: Alt navigasyon barının (mobile-bottom-nav) üzerinde kalması için */
@media (max-width: 1024px) {
  .btn-scroll-top {
    bottom: calc(75px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.28);
  }
}

