:root {
  --primary-color: #dc3545;
  --secondary-color: #ffc107;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
}

body {
  font-family: "Inter", sans-serif;
  color: #333;
  overflow-x: hidden;
}

/* Navbar Spacing */
.navbar-nav .nav-item {
  margin: 0 8px;
}

.navbar-brand {
  margin-right: 30px;
}

.fw-800 {
  font-weight: 800;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 80vh;
  padding-top: 100px;
  padding-bottom: 100px;
}

.heading-line {
  width: 60px;
  height: 4px;
  border-radius: 2px;
}

/* Service Cards */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-card img {
  height: 250px;
  object-fit: cover;
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.float-btn:hover {
  transform: scale(1.1);
  color: white;
}

.float-phone {
  background-color: var(--primary-color);
}

.float-whatsapp {
  background-color: #25d366;
}

/* Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.btn-danger {
  animation: pulse 2s infinite;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .display-3 {
    font-size: 2.5rem;
  }
}

/* Service Network Section */
.service-network-section {
  overflow: hidden;
}

.service-icon {
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease;
}

.service-icon-box:hover .service-icon {
  transform: scale(1.1);
}

.istanbul-map-container {
  position: relative;
}

.istanbul-dotted-map {
  width: 100%;
  height: auto;
  max-height: 400px;
}

/* Pulse Animation for Service Points */
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
  100% {
    transform: scale(0.8);
    opacity: 1;
  }
}

.pulse-ring {
  animation: pulse-ring 2s ease-in-out infinite;
  transform-origin: center;
}

.service-point:nth-child(1) .pulse-ring {
  animation-delay: 0s;
}

.service-point:nth-child(2) .pulse-ring {
  animation-delay: 0.3s;
}

.service-point:nth-child(3) .pulse-ring {
  animation-delay: 0.6s;
}

.service-point:nth-child(4) .pulse-ring {
  animation-delay: 0.9s;
}

.service-point:nth-child(5) .pulse-ring {
  animation-delay: 1.2s;
}

.service-point:nth-child(6) .pulse-ring {
  animation-delay: 1.5s;
}

/* Mobile adjustments for map */
@media (max-width: 992px) {
  .istanbul-dotted-map {
    max-height: 300px;
  }

  .service-icon {
    width: 55px;
    height: 55px;
  }

  .service-icon-box h6 {
    font-size: 0.85rem;
  }
}

/* Scrollable Dropdown Menu */
.scrollable-menu {
  height: auto;
  max-height: 400px;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Hover Dropdown Effect on Desktop */
@media all and (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: none;
    margin-top: 0;
  }
  .navbar .nav-item:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
  }
}

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