/* --- Creative & Premium Action Bar --- */
:root {
  --primary-blue: #478ac9;
  --secondary-blue: #6aa3d5;
  --whatsapp-green: #25d366;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.9);
}

/* Sayfa Alt Boşluğu */
@media (max-width: 767px) {
  body { padding-bottom: 100px !important; }
}

@media (min-width: 768px) {
  body { padding-bottom: 90px !important; }
}

.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  height: 60px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  z-index: 9999;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 767px) {
  .mobile-action-bar { display: flex; }
}

.mobile-bar-item {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(0,0,0,0.03);
}

.whatsapp-item {
  width: auto !important;
  padding: 0 12px;
  border-radius: 50px !important;
  gap: 6px;
}
.whatsapp-item i { color: var(--whatsapp-green); font-size: 18px; }
.whatsapp-item span {
  color: var(--whatsapp-green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.phone-item {
  width: auto !important;
  padding: 0 12px;
  border-radius: 50px !important;
  gap: 6px;
}
.phone-item i { color: var(--primary-blue); font-size: 18px; }
.phone-item span {
  color: var(--primary-blue);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* --- Orta Buton: Elevated FAB --- */
.emergency-call-btn {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  box-shadow: 0 10px 25px rgba(0, 120, 255, 0.4);
  border: 4px solid var(--white);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10000;
  text-decoration: none;
  overflow: hidden;
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
}

.emergency-call-btn:active { transform: translateX(-50%) scale(0.9); }

.emergency-call-btn i {
  font-size: 28px;
  margin-bottom: 4px;
}

.emergency-call-btn span {
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  max-width: 95%;
}

.emergency-call-btn .btn-phone-num {
  display: none;
}

/* Shimmer Effect */
.emergency-call-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translate(-100%, -100%) rotate(45deg); }
  100% { transform: translate(100%, 100%) rotate(45deg); }
}

/* Radar Pulse */
.emergency-call-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-blue);
  opacity: 0.5;
  z-index: -1;
  animation: radar 2s infinite;
}

@keyframes radar {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* --- Desktop Sticky Bottom Bar --- */
.desktop-action-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 9998;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  gap: 40px;
}

@media (max-width: 767px) {
  .desktop-action-bar { display: none; }
}

.desktop-btn {
  flex: 1;
  max-width: 400px;
  height: 55px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.desktop-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.dt-phone { background: linear-gradient(135deg, #0078ff, #00c6ff); }
.dt-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }

/* Desktop Specific Adjustments for Central Button */
.desktop-action-bar .emergency-call-btn {
  position: relative;
  bottom: 30px;
  transform: none;
  left: auto;
  flex-shrink: 0;
}
