/* Venue Main Content Styles */

/* Global overflow fixes */
.venue-main-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.venue-main-content * {
    font-family: 'Poppins', sans-serif !important;
    box-sizing: border-box;
}

.details-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.detail-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-icon svg {
    max-width: 20px;
    width: 100%;
}

.detail-text {
    font-weight: 400;
    font-style: "Regular";
    font-size: 16px;
    line-height: 22.4px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(33, 33, 33, 1);


}

/* Action Buttons */
.venue-action-buttons {
    margin: 15px 0;
    margin-bottom: 8px;
}

.action-buttons-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn,
.custom-fullscreen-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 4px;
    max-width: 160px !important;
    /* min-width: 160px !important; */
    width: 100% !important;
    text-transform: capitalize;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    border-radius: 2px;
    border: 1px solid rgba(46, 84, 235, 0.5);
    color: #2e54eb;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    min-height: 42px;
    text-decoration: none;
    align-items: center;
    gap: 7px;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.action-btn svg,
.custom-fullscreen-btn svg {
    max-width: 20px;
    width: 100%;
    fill: #2e54eb;
    transition: all 0.3s ease-in-out;

}

.action-btn:hover,
.custom-fullscreen-btn:hover {
    background-color: #2e54eb;
    color: #ffffff;
}

.action-btn:hover svg,
.custom-fullscreen-btn:hover svg {
    fill: #ffffff;
}


.btn-icon {
    font-size: 16px;
}

/* Capacity Section */


.capacity-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    row-gap: 24px;

}

.capacity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0px 0;
    max-width: 49%;
    width: 100%;
}

.capacity-item span:not(.capacity-icon) {
    font-size: 14px;
    line-height: 21px;
    color: #111936;
}

.capacity-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 40px;
    width: 100%;
}

/* Video Walkthrough */
.venue-video-walkthrough {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(224, 224, 224, 1);
}

.video-container {
    position: relative;
    margin-top: 15px;
}

.video-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-player-wrapper {
    position: relative;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-color: #dbdbdb;
    border-radius: 0px;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: contain;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-player-wrapper video {
    width: 100%;
    height: auto;
    border-radius: 0px !important;
}

/* Read More/Less Functionality */
/* .truncated-content {
    margin: 15px 0;
} */

.read-more-btn,
.read-less-btn {
    color: #2e54eb;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    margin-left: 0px;
    border: none;
    padding: 4px 0px;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.read-more-btn:hover,
.read-less-btn:hover {
    opacity: 0.8;
}




.things-to-know-content {
    color: #555;
    line-height: 1.6;
}

.things-to-know-content a {
   color: rgba(46, 84, 235, 1)!important;
   text-decoration: underline;
   text-underline-offset: 3px;
   font-size: inherit;
   line-height: inherit;
}.things-to-know-content a:hover {
    opacity: 0.8;
}


.pricing-details-content {
    color: #555;
    line-height: 1.6;
}

/* Location Section */



.venue-main-content h3 {
    font-weight: 900;
    font-size: 16px;
    line-height: 22.4px;
    letter-spacing: 0%;
    vertical-align: middle;
    text-transform: uppercase;
    color: rgba(33, 33, 33, 1);
    margin: 0px;
    margin-bottom: 15px;

}

.venue-main-content ul,
.venue-main-content ol {
    margin: 0px !important;
    padding-left: 4%;
}

.venue-main-content ul li,
.venue-main-content ol li {
    padding: 0px !important;
    margin: 0px !important;
    color: rgba(33, 33, 33, 1);

}

.venue-main-content ul:not(:last-child),
.venue-main-content ol:not(:last-child) {
    margin-bottom: 15px !important;

}

.venue-main-content p,
.venue-main-content p {
    padding: 0px !important;
    margin: 0px !important;
    color: rgba(33, 33, 33, 1);

}

.venue-main-content p:not(:last-child),
.venue-main-content p:not(:last-child) {
    margin-bottom: 10px !important;

}

.venue-main-content ul li:not(:last-child),
.venue-main-content ol li:not(:last-child) {
    margin-bottom: 10px !important;
}

.venue-capacity,
.venue-location-section,
.venue-things-to-know,
.venue-amenities,
.venue-pricing-details,
.event-types,
.venue-types {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(224, 224, 224, 1);
}

.location-address {
    font-weight: 400;
    font-size: 14px;
    line-height: 21.4px;
    letter-spacing: 0%;
    vertical-align: middle;
    margin: 0px;
    color: rgba(17, 25, 54, 1);

}

/* Responsive Design */
@media (max-width: 991.98px) {
    .details-row {
        gap: 15px;
        margin-bottom: 25px;
    }
}

@media (max-width: 767.98px) {
    .details-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .action-buttons-row {
        flex-direction: row !important;
        gap: 4% !important;
        row-gap: 15px !important;
    }

    .action-btn {
        justify-content: center;
        width: 100%;
        max-width: 47% !important;
    }

    .capacity-list {
        gap: 20px;
    }

    .capacity-item {
        max-width: 100%;
        width: 100%;
    }

    .capacity-item span:not(.capacity-icon) {
        font-size: 16px;
        line-height: 21px;
    }

    .action-btn,
    .custom-fullscreen-btn {
        max-width: 47% !important;
        flex-direction: row;
        justify-content: center;
        padding: 10px 0px;
    }

    .venue-action-buttons {
        margin-top: 0px !important;
        margin-bottom: 20px !important;
    }


    .map-fullscreen-controls .custom-fullscreen-btn {
        max-width: 100% !important;
    }

    .map-fullscreen-controls {
        max-width: 47% !important;
    }
}

@media (max-width: 480px) {
    .detail-item {
        font-size: 13px;
    }

    .detail-icon {
        font-size: 16px;
    }


}


/* lightbox slider */


/* Lightbox Modal Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 25px;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-swiper-container {
    width: 100%;
    height: 90%;
}

.lightbox-swiper {
    width: 100%;
    height: 100%;
}

.lightbox-slide-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    z-index: 10000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    width: 20px;
    height: 20px;
    display: flex;
}

.lightbox-nav-button svg {
    fill: #ffffff;
}

.lightbox-nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Enhanced Lightbox Pagination (Dots) */
.lightbox-pagination {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    width: auto !important;
    height: auto !important;
}

.lightbox-pagination .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: #afafaf !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    margin: 0 0px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    transform: scale(0.8) !important;
    border: 0px !important;
}

.lightbox-pagination .swiper-pagination-bullet:hover {
    background: #1f1f1f !important;
    transform: scale(1) !important;
}

.lightbox-pagination .swiper-pagination-bullet-active {
    background: #1f1f1f !important;
    transform: scale(1) !important;
}

/* Remove the counter styles since we're using dots only */

/* lightbox slider */
/* Tab Navigation Styles */

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.tab-pane.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rooms Section Styles */
.venue-rooms-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.venue-rooms-section .room-item {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}



.room-header {
    width: 100%;
    max-width: 100%;
}

.room-title {
    margin: 0;
    font-size: 1rem;
    color: #212121;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    color: #212121;
    text-transform: uppercase;
    font-weight: 800;
}

/* 
.room-details-grid {
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
} */

.room-details-grid .details-row {
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}

.room-details-grid .detail-item {
    font-size: 14px;
    min-width: fit-content;
    max-width: 100%;
}

/* Room Gallery Styles */
.room-gallery-section {
    margin: 15px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.room-gallery-container {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    width: 100%;
    max-width: 100%;
}

.room-gallery-main {
    position: relative;
    height: 400px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.room-gallery-slider {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.room-gallery-slider .swiper-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

.room-gallery-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
}

.room-gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.room-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    max-width: 100%;
}

/* Room Gallery Navigation */
.room-gallery-next,
.room-gallery-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background-color: #eff2f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 1;
}

.room-gallery-next svg,
.room-gallery-prev svg {
    stroke: #333;
}

.room-gallery-next:hover,
.room-gallery-prev:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.room-gallery-next {
    right: 16px;
}

.room-gallery-prev {
    left: 16px;
}

.room-gallery-next svg,
.room-gallery-prev svg {
    width: 20px;
    height: 20px;
}

.room-gallery-next svg path,
.room-gallery-prev svg path {
    stroke: #333;
}

.room-gallery-next::after,
.room-gallery-prev::after {
    display: none;
}

/* Room Gallery Pagination */
.room-gallery-pagination {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    width: auto !important;
    height: auto !important;
}

.room-gallery-pagination .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: #afafaf !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    margin: 0 0px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    transform: scale(0.8) !important;
    border: 0px !important;
}

.room-gallery-pagination .swiper-pagination-bullet-active {
    background: #1f1f1f !important;
    transform: scale(1) !important;
}

/* Room Description */
.room-description {
    margin-top: 15px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.room-description .truncated-content {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Mobile Responsive */
/* pricing row */
.pricing_wrapper {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.pricing_wrapper .full {
    margin-left: auto;
}

.pricing_wrapper p {
    margin: 0;
    font-weight: 500;
    color: #212121;
    font-size: 0.75rem;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

.pricing_wrapper .pricing-text {
    margin: 0;
    font-size: 1.5rem;
    color: #212121;
    font-weight: 700;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

/* pricing row */
@media (max-width: 991.98px) {
    .room-gallery-main {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .venue-tabs {
        flex-direction: row;
        gap: 0;
        border-radius: 6px 6px 0 0;
    }

    .tab-btn {
        padding: 14px 16px;
        font-size: 14px;
        min-width: auto;
        flex: 1;
        border-radius: 0;
    }

    .tab-btn.active {
        border-bottom-width: 3px;
    }

    .tab-content {
        border-radius: 0 0 6px 6px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }


    .room-title {
        font-size: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }


    .room-gallery-slider {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .room-details-grid .details-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
        max-width: 100%;
    }

    .room-gallery-next,
    .room-gallery-prev {
        width: 30px;
        height: 30px;
    }

    .room-gallery-next {
        right: 12px;
    }

    .room-gallery-prev {
        left: 12px;
    }

    .room-gallery-main {
        height: 300px;
    }

    .pricing_wrapper .pricing-text {
        font-size: 16px;
        line-height: 1.4;
    }

    .room-details-grid .detail-text {
        font-size: 14px;
        line-height: 18.4px;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 12px 8px;
        font-size: 13px;
        gap: 4px;
    }

    .tab-icon svg {
        width: 16px;
        height: 16px;
    }

    .tab-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .room-gallery-main {
        height: 250px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .room-title {
        font-size: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .room-details-grid .detail-item {
        font-size: 13px;
        max-width: 100%;
    }



    .room-gallery-slider {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
}