/* for navigation gap */
.navbar-transparent .nav-item {
    margin-right: 20px;
}

/* Read more/less functionality for About sections */
.about-content {
    overflow: hidden;
    position: relative;
    transition: max-height .3s ease;
}

.about-content.clamped::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}


/* Hero section z-index fix */
section:first-of-type {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 0;
}

/* Vendor gallery carousel z-index fix */
#vendorGallery {
    position: relative;
    z-index: 10;
}

.carousel-item img {
    position: relative;
    z-index: 10;
}

.position-relative {
    z-index: 1;
}



/* vendor slider */

.carousel:hover .carousel-item:before {
    background-color: rgba(0, 0, 0, 0);
}

.hero-zoom {
    animation: zoomOutIn 1.8s ease-out both;
    transform-origin: center;
}

.hero-zoom-delay {
    animation-delay: 0.25s;
}

@keyframes zoomOutIn {
    0% { transform: scale(1.1); }
    40% { transform: scale(0.93); }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* whatsapp icon */

.floating_btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    transition: all 0.3s ease;
}

.floating_btn:hover {
    transform: scale(1.1);
}

.contact_icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-float {
    color: white;
    font-size: 24px;
}

.text_icon {
    margin: 0;
    padding: 0;
    color: white;
    font-size: 12px;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.7);
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 50px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
.floating_btn {
    animation: pulse 2s infinite;
}



/* Equal height cards ONLY for data-card venue and vendor */
.data-card.card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Flexible body */
.data-card .card-body {
    display: flex;
    flex-direction: column;
}

/* Title: max 2 lines */
.data-card .card-body h3 {
    margin-bottom: 0.5rem;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating block */
.data-card .card-body .d-flex {
    margin-bottom: 0.4rem;
}

/* Push price & guests down cleanly */
.data-card .card-body .mt-1:last-child {
    margin-top: auto;
}


/* navigation title horizontal adjustment */

.navbar-transparent .navbar .nav-link{
    line-height: inherit;
}


.navbar-transparent .navbar .dropdown .dropdown-toggle:after {
    line-height: 0;
}



/* quote popup*/

.form-control-lg, .form-select-lg {
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
  font-size: 0.95rem;
}

.form-control-lg:focus, .form-select-lg:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.modal-header {
  border-bottom: none;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

#quoteFormMessage {
  margin-top: 1rem;
}

#quoteFormMessage .alert {
  margin: 0;
  border-radius: 0.5rem;
}

/* left slider to top */

.show-on-scroll{
  opacity: 0;
}

.show-on-scroll.show{
  opacity: 1;
}

.show-on-scroll.hide{
  opacity: 0;
}

.float-text {
    width: 20px;
    position: fixed;
    z-index: 1002;
    margin-left: 30px;
    text-align: center;
    font-size: 12px;
    top: 50%;
    left: 16px;
    transform: translate(-50%, -50%);
    font-weight: 500;
}

.float-text a{
    color: #000000;
}

.float-text.dark a{
  color:#ffffff;
}

.float-text span{
    margin-left: -5px;
    margin-top: 20px;
    writing-mode: vertical-rl;
    letter-spacing: .75px;
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
    color: #222;
}

.scrollbar {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 4px;
  transition: all linear 0.1s;
  min-width: 0%;
  z-index:1000;
}

.scrollbar-v {
  background: #dc2626;
  position: fixed;
  top: calc(50% + 60px);
  left: 43px;
  width: 2px;
  transition: all linear 0.1s;
  min-height: 0%;
  z-index:1000;
}

.scrollbar-v:before{
  content: "";
  position: absolute;
  left: 0;
  width: 2px;
  min-height: 100px;
  background: rgba(0, 0, 0, .15);
}


.scrollbar-v.dark:before{
  background: rgba(255, 255, 255, .2);
}

/* category card adjustments */

/* 5-per-row on wide screens */
    .col-xxl-5th { flex: 1 0 14%; max-width: 15%; }
    @media (max-width: 1399.98px) { .col-xxl-5th { flex: 0 0 25%; max-width: 25%; } }
    @media (max-width: 1199.98px) { .col-xxl-5th { flex: 0 0 33.333%; max-width: 33.333%; } }
    @media (max-width: 767.98px) { .col-xxl-5th { flex: 0 0 50%; max-width: 50%; } }

    .category-card .card { border: none; box-shadow: 0 8px 24px rgba(0,0,0,0.08); transition: transform 0.2s ease, box-shadow 0.2s ease; }
    .category-card:hover .card { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }

    .category-image-wrapper { position: relative; overflow: hidden; border-top-left-radius: .5rem; border-top-right-radius: .5rem; aspect-ratio: 1 / 1; }
    .category-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; display: block; }
    .category-card:hover .category-image { transform: scale(1.08); }

/* how it works component */
  .how-steps { gap: 1rem; }
  .how-step { background: #fff; border: 1px solid #e9ecef; border-radius: 12px; padding: 1.5rem 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: transform 0.18s ease, box-shadow 0.18s ease; min-width: 0; }
  .how-step:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.1); }
  .how-step-number { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 0.9rem; display: flex; align-items: center; justify-content: center; background: #dc2626; color: #fff; font-weight: 700; font-size: 1.1rem; }
  .how-arrow { align-self: center; font-size: 1.4rem; color: var(--bs-primary); line-height: 1; }
  @media (max-width: 767.98px) {
    .how-steps { gap: 0.75rem; }
    .how-step { padding: 1.25rem 1rem; }
    .how-arrow { font-size: 1.2rem; }
  }

/* Pagination styling matching theme UI */
.text-center .pagination {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.pagination .page-item {
  margin: 0 0.125rem;
}

.page-link {
  display: inline;
}
.pagination .page-link {
  color: var(--bs-body-color);
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.pagination .page-link:hover {
  color: var(--bs-link-hover-color);
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
  color: #fff;
  background-color: #dc2626;
  border-color: #dc2626;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
}

/* Fancybox z-index fixes - only when active */
body.fancybox-is-open .fancybox__container {
  z-index: 9999 !important;
}

body.fancybox-is-open .fancybox__backdrop {
  z-index: 9998 !important;
}

.fancybox__toolbar {
  z-index: 10000 !important;
}

/* Portfolio image wrapper for venue gallery */

.portfolio-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1/1;
}

.portfolio-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.portfolio-image-wrapper:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.portfolio-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    border-radius: 8px;
}

.portfolio-image-wrapper:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

/* category listing page */
.category-link {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-link:hover {
    transform: translateY(-5px);
}

.category-link:hover .card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.category-image-wrapper {
    position: relative;
    overflow: hidden;
}

.category-image-wrapper img {
    transition: transform 0.3s ease;
    object-fit: cover;
}

.category-link:hover .category-image-wrapper img {
    transform: scale(1.05);
}

.object-fit-cover {
    object-fit: cover !important;
}

.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.transition {
    transition: all 0.3s ease;
}
