/* ========================================================
   Booking Services Styling
   ======================================================== */

.booking-section-wrapper {
  width: 100%;
  font-family: 'Lato', sans-serif;
  padding: 24px 0;
  background-color: #F2F7FA;
}

/* Header Section */
.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.booking-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
  margin: 0;
}

.booking-title-icon {
  font-size: 1.25rem;
  color: #10b981;
}

.btn-all-services {
  border: 1.5px solid #059669;
  color: #059669;
  background: transparent;
  padding: 6px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-all-services:hover {
  background-color: #ecfdf5;
  color: #047857;
}

/* Filter Navigation */
.booking-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.booking-tab-btn {
  background-color: #f1f5f9;
  color: #334155;
  border: none;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.booking-tab-btn:hover {
  background-color: #e2e8f0;
}

.booking-tab-btn.active {
  background-color: #16a34a;
  color: #ffffff;
}

/* Service Cards */
.booking-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.booking-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-img-container {
  width: 20%;
  min-width: 100px;
  position: relative;
  overflow: hidden;
  background-color: #f8fafc;
}

.card-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.badge-boka {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #16a34a;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}

.card-body-content {
  width: 80%;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.card-desc-text {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 10px;
  flex-grow: 1;
}

.card-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 6px;
}

.meta-time-price {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 600;
}

.meta-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #475569;
}

.meta-price {
  font-weight: 800;
  color: #0f172a;
}

.btn-boka-submit {
  background-color: #16a34a;
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.btn-boka-submit:hover {
  background-color: #15803d;
}

/* ========================================================
   Media Queries & Responsive Breakpoints
   ======================================================== */

/* Large screens and above (≥ 1200px) */
@media (min-width: 1200px) {
  .card-body-content {
    padding: 14px 18px;
  }
  .card-title-text {
    font-size: 1rem;
  }
}

/* Medium-Large screens (991px to 1199.98px) */
@media (min-width: 991px) and (max-width: 1199.98px) {
  .card-img-container {
    width: 25%;
  }
  .card-body-content {
    width: 80%;
    padding: 10px 12px;
  }
  .card-title-text {
    font-size: 0.9rem;
  }
  .meta-time-price {
    font-size: 0.75rem;
    gap: 6px;
  }
  .btn-boka-submit {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

/* Tablets (768px to 990.98px) */
@media (min-width: 768px) and (max-width: 990.98px) {
  .booking-header {
    margin-bottom: 16px;
  }
  .card-img-container {
    width: 26%;
    min-width: 120px;
  }
  .card-body-content {
    width: 74%;
    padding: 10px 12px;
  }
  .card-title-text {
    font-size: 0.88rem;
  }
  .card-desc-text {
    font-size: 0.72rem;
  }
  .meta-time-price {
    flex-direction: row;
    gap: 6px;
    font-size: 0.75rem;
  }
  .btn-boka-submit {
    padding: 4px 10px;
    font-size: 0.75rem;
  }
}

/* Mobile Screens (≤ 767.98px) */
@media (max-width: 767.98px) {
  .booking-header {
    flex-direction: row;
    align-items: center;
  }
  .booking-title {
    font-size: 1.1rem;
  }
  .btn-all-services {
    padding: 5px 12px;
    font-size: 0.78rem;
  }
  .card-img-container {
    width: 25%;
    min-width: 110px;
  }
  .card-body-content {
    width: 74%;
    padding: 10px;
  }
  .card-desc-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-footer-info {
    flex-direction: row;
    align-items: center;
  }
  .meta-time-price {
    font-size: 0.72rem;
    gap: 5px;
  }
  .btn-boka-submit {
    padding: 4px 10px;
    font-size: 0.72rem;
  }
}


/* Container for Bottom Load-More Button */
.load-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  margin-bottom: 15px;
}

.btn-see-more-services {
  border: 1.5px solid #059669;
  color: #059669;
  background-color: #ffffff;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.btn-see-more-services:hover {
  background-color: #ecfdf5;
  color: #047857;
  border-color: #047857;
  transform: translateY(-1px);
}

.btn-see-more-services i {
  transition: transform 0.2s ease;
}

.btn-see-more-services:hover i {
  transform: translateY(2px);
}


/* ========================================================
   Bottom "Se alla tjänster" Button Center Alignment & Style
   ======================================================== */

.load-more-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 30px !important;
  margin-bottom: 20px !important;
  text-align: center !important;
  clear: both !important;
}

.btn-see-more-services {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background-color: #ffffff !important;
  color: #059669 !important;
  border: 1.5px solid #059669 !important;
  padding: 10px 32px !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08) !important;
  transition: all 0.25s ease-in-out !important;
}

.btn-see-more-services:hover,
.btn-see-more-services:focus {
  background-color: #ecfdf5 !important;
  color: #047857 !important;
  border-color: #047857 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15) !important;
  text-decoration: none !important;
}

.btn-see-more-services i {
  font-size: 0.85rem !important;
  transition: transform 0.2s ease;
}

.btn-see-more-services:hover i {
  transform: translateY(2px);
}

/* =========================================================
   Mobile: زیر 768 پیکسل
   ========================================================= */
@media (max-width: 767.98px) {
    .business-hero {
        min-height: auto;
        padding-bottom: 24px;
    }

    /* لایه گرادیان تیره در موبایل به حالت عمودی (از بالا به پایین) تغییر می‌کند */
    .business-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.88) 50%,
            rgba(0, 0, 0, 0.96) 100%
        );
    }

    .business-hero__container {
        min-height: auto;
        padding: 18px 16px 0;
    }

    .business-hero__container > .row {
        min-height: auto;
    }

    /* بخش محتوای اصلی */
    .business-hero__content {
        min-height: auto;
        padding: 0;
        text-align: center;
        align-items: center;
    }

    .business-hero__heading {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .business-hero__logo-box {
        width: 90px;
        min-width: 90px;
        height: 90px;
        padding: 6px;
        border-radius: 14px;
    }

    .business-hero__logo {
        transform: scale(1.08);
    }

    .business-hero__eyebrow {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .business-hero__title {
        font-size: 24px;
        line-height: 1.2;
    }

    .business-hero__subtitle {
        max-width: 100%;
        margin: 8px auto 0;
        font-size: 13px;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.82);
    }

    /* اطلاعات متای بالا */
    .business-hero__meta {
        justify-content: center;
        gap: 12px;
        margin-top: 14px;
        font-size: 12px;
    }

    /* دکمه‌های فراخوان عمل (CTA) */
    .business-hero__actions {
        width: 100%;
        margin-top: 18px;
        gap: 10px;
        flex-direction: column;
    }

    .business-btn {
        width: 100%;
        min-height: 44px;
        font-size: 13px;
    }

    /* منوی ناوبری افقی با قابلیت اسکرول نرم */
    .business-hero__nav {
        width: 100%;
        margin-top: 18px;
        padding-top: 14px;
        padding-bottom: 8px;
        gap: 16px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        scrollbar-width: none; /* Firefox */
    }

    .business-hero__nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    .business-hero__nav a {
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* کارت اطلاعات سمت راست در نسخه دسکتاپ */
    .business-info-card {
        max-width: 100%;
        margin: 20px 0 0 0;
        padding: 16px;
        border-radius: 12px;
    }

    /* لوگوی داخل کارت در موبایل مخفی می‌شود چون در بالای بنر وجود دارد */
    .business-info-card__logo-wrap {
        display: none;
    }

    .business-info-card h2 {
        font-size: 16px;
        text-align: center;
    }

    .business-info-card__rating {
        justify-content: center;
        font-size: 11px;
    }

    .business-info-card__details {
        margin-top: 10px;
        padding-top: 8px;
    }

    .business-info-card__details p {
        font-size: 12px;
        margin: 8px 0;
        word-break: break-word;
    }

    /* کنترل‌های اسلایدر */
    .business-hero__arrow {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }

    .business-hero__carousel .carousel-control-prev {
        left: 8px;
    }

    .business-hero__carousel .carousel-control-next {
        right: 8px;
    }

    .business-hero__indicators {
        bottom: 8px;
    }

    .business-hero__indicators li {
        width: 16px;
        height: 3px;
        margin: 0 2px;
    }
}

