/* ===========================================
   B Holding - Stylesheet
   =========================================== */

/* ----------------------------------------
   Base & Reset
   ---------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: #fafaf9;
  margin: 0;
  padding: 0;
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
.font-display {
  font-family: 'Cormorant Garamond', serif;
}

.whitespace-pre-line {
  white-space: pre-line;
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.6s ease-out forwards;
}

/* ----------------------------------------
   Glass Effect
   ---------------------------------------- */
.glass-effect {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ----------------------------------------
   Card Hover Effects
   ---------------------------------------- */
.card-hover {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.card-hover:hover img {
  transform: scale(1.08);
}

/* ----------------------------------------
   Image Zoom
   ---------------------------------------- */
.image-zoom {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------
   Navigation Links
   ---------------------------------------- */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #1e1c1b;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn-primary {
  background: #1e1c1b;
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #44403c;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(30, 28, 27, 0.4);
}

/* ----------------------------------------
   Form Elements
   ---------------------------------------- */
input:focus,
textarea:focus {
  outline: none;
  border-color: #1e1c1b;
}

/* ----------------------------------------
   Modal
   ---------------------------------------- */
.modal-overlay {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}


/* ----------------------------------------
   Leaflet Custom Styles
   ---------------------------------------- */
.custom-popup .leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 0;
}

.custom-popup .leaflet-popup-content {
  margin: 12px 15px;
}

.custom-popup .leaflet-popup-tip {
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.custom-marker-icon {
  background: transparent !important;
  border: none !important;
}

.custom-cluster-icon {
  background: transparent !important;
  border: none !important;
}

/* Marker Cluster Styles */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: rgba(28, 25, 23, 0.1) !important;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background: linear-gradient(135deg, #1c1917, #44403c) !important;
  color: white !important;
  font-weight: 600 !important;
}

/* Leaflet Controls */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.leaflet-control-zoom a {
  background: white !important;
  color: #1c1917 !important;
  border: none !important;
}

.leaflet-control-zoom a:hover {
  background: #f5f5f4 !important;
}


/* ----------------------------------------
   Scrollbar Hide (for horizontal scroll)
   ---------------------------------------- */
.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}
