/* Custom Utilities */

html {
  scroll-behavior: smooth;
}

body {
  /* Hide scrollbar for a cleaner look but keep functionality */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
body::-webkit-scrollbar {
  display: none;
}

/* Service Card Hover Effect */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ff8c00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* Gallery Item Styling */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background-color: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-content {
  padding: 1.5rem;
}

.gallery-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gallery-desc {
  color: #9ca3af; /* text-gray-400 */
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom Leaflet Map Tooltips */
.leaflet-tooltip.map-tooltip {
    background-color: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(255, 140, 0, 0.5);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}
.leaflet-tooltip.map-tooltip::before {
    border-top-color: rgba(26, 26, 26, 0.9);
}

/* Glowing Map Point */
.custom-glowing-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}
.glow-point {
    width: 12px;
    height: 12px;
    background-color: #ff8c00;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px 2px rgba(255, 140, 0, 0.8);
}
.glow-point::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: #ff8c00;
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
    75%, 100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}
