/* Modern Venue Page Styles - Based on Figma Design */

/* Global Resets and Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Container and Layout */
.venue-gallery-section {
    position: relative;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px;
    max-height: 450px;
}

.venue-gallery-section #image-gallery {
    height: 450px;
}

.venue-gallery-section .lSSlideOuter {
    height: 450px !important;
}

.venue-gallery-section .lSSlideWrapper {
    height: 450px !important;
}

.venue-gallery-section .lslide {
    height: 450px !important;
}

.venue-gallery-section .lslide img {
    height: 450px !important;
    object-fit: cover;
    width: 100%;
}

.image-counter-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 100;
    letter-spacing: 0.5px;
}

/* Card Styling */
.venue-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

.venue-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f5f5f5;
}

/* Facility Lists */
.facility-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    margin-bottom: 12px;
}

.facility-value {
    color: #e91e63;
    font-weight: 700;
}

.facility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-list li {
    padding: 10px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f8f8f8;
    line-height: 1.5;
}

.facility-list li:last-child {
    border-bottom: none;
}

.facility-list i {
    color: #4caf50;
    margin-right: 10px;
    font-size: 16px;
}

/* Package List */
.package-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-list li {
    padding: 12px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.package-list i {
    color: #4caf50;
    margin-right: 10px;
    font-size: 16px;
}

/* Facilities Icons Grid */
.facilities {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 12px;
}

.facilities li {
    flex: 0 0 calc(25% - 12px);
    text-align: center;
    padding: 18px 12px;
    background: #fafafa;
    border: 1px solid #efefef;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
}

.facilities li:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.facilities li img {
    width: 45px;
    height: 45px;
    margin-bottom: 10px;
    object-fit: contain;
}

/* Right Sidebar Cards */
.venue-header-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.venue-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #4caf50;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(76,175,80,0.3);
}

.venue-name {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px 0;
    line-height: 1.3;
    padding-right: 60px;
}

.venue-location {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.venue-location i {
    color: #e91e63;
    margin-right: 6px;
}

.venue-price-highlight {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.venue-price-highlight strong {
    color: #e91e63;
    font-size: 18px;
    font-weight: 700;
}

.link-view-details {
    color: #e91e63;
    text-decoration: underline;
    font-size: 13px;
    font-weight: 500;
}

.link-view-details:hover {
    color: #c2185b;
    text-decoration: none;
}

/* Venue Highlights Card */
.venue-highlights-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.highlights-title {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin-bottom: 18px;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.highlights-list li {
    width: 50%;
    padding: 12px 15px 12px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f8f8f8;
    display: flex;
    align-items: center;
    line-height: 1.5;
    box-sizing: border-box;
}

.highlights-list li:nth-child(odd) {
    padding-right: 15px;
}

.highlights-list li:nth-child(even) {
    padding-left: 15px;
    border-left: 1px solid #f8f8f8;
}

.highlights-list li:last-child,
.highlights-list li:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.highlights-list i {
    color: #4caf50;
    margin-right: 12px;
    font-size: 18px;
    flex-shrink: 0;
}

.highlights-list strong {
    color: #222;
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
}

.btn-check-availability,
.btn-get-price {
    background: #e91e63;
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-check-availability:hover,
.btn-get-price:hover,
.btn-check-availability:focus,
.btn-get-price:focus {
    background: #c2185b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

/* Promotional Banner Card */
.promo-banner-card {
    background: linear-gradient(135deg, #ff6b9d 0%, #e91e63 100%);
    border-radius: 10px;
    padding: 35px 25px;
    margin-bottom: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.25);
    height: 545px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-content {
    margin-bottom: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: 300px;
    border-radius: 10px;
    margin: 0 auto 18px auto;
    border: 3px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

.promo-text p {
    margin: 12px 0;
    font-size: 15px;
    line-height: 1.6;
}

.promo-text strong {
    font-size: 16px;
    font-weight: 700;
}

.promo-subtext {
    font-size: 14px;
    opacity: 0.95;
    font-style: italic;
    margin-top: 8px;
}

.btn-claim-promo {
    background: white;
    color: #e91e63;
    border: none;
    font-weight: 700;
    padding: 16px 28px;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-claim-promo:hover {
    background: #f5f5f5;
    color: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Booking Code Card */
.booking-code-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.booking-code-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: #ff9800;
    margin: 0;
    padding: 18px 20px;
    border-radius: 0;
}

.booking-tabs {
    display: flex;
    gap: 12px;
    padding: 20px;
}

.tab-btn {
    flex: 1;
    background: #fff;
    border: 2px solid #ff9800;
    color: #ff9800;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #ff9800;
    color: white;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.3);
}

.tab-btn:hover {
    background: #ff9800;
    color: white;
}

/* Similar Halls Card - New Figma Design */
.similar-halls-card {
    background: #fff5e6;
    border: 3px solid #ff8533;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(255, 133, 51, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.similar-halls-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 133, 51, 0.25);
    border-color: #ff6600;
}

.similar-halls-header {
    background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
    color: white;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.similar-halls-header i {
    font-size: 22px;
}

.similar-halls-header .whatsapp-icon {
    font-size: 26px;
    animation: pulse 2s infinite;
}

/* WhatsApp Icon Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.similar-halls-options {
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.similar-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.similar-option:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.similar-option .check-icon {
    color: #4caf50;
    font-size: 16px;
    font-weight: bold;
}

/* Read More Toggle */
.venue-description-wrapper {
    position: relative;
}

.read-more-toggle {
    color: #e91e63;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.read-more-toggle:hover {
    color: #c2185b;
    text-decoration: underline;
}

.description-short,
.description-full {
    display: inline;
}

/* Call Now Button Enhancement */
.btn-get-price a {
    color: white;
    text-decoration: none;
    display: block;
}

.btn-get-price a:hover,
.btn-get-price a:focus {
    color: white;
    text-decoration: none;
}

/* Similar Halls Card - New Figma Design */
.similar-halls-card {
    background: #fff5e6;
    border: 3px solid #ff8533;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(255, 133, 51, 0.15);
}

.similar-halls-header {
    background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
    color: white;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.similar-halls-header i {
    font-size: 22px;
}

.similar-halls-header .whatsapp-icon {
    font-size: 26px;
    animation: pulse 2s infinite;
}

/* WhatsApp Icon Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.similar-halls-options {
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.similar-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Make options responsive */
@media (max-width: 576px) {
    .similar-halls-options {
        flex-direction: column;
        align-items: stretch;
    }

    .similar-option {
        justify-content: center;
        width: 100%;
    }

    .similar-halls-header {
        font-size: 16px;
        padding: 15px 20px;
    }
}

/* Location Map */
.location-map {
    width: 100%;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #e8e8e8;
}

.location-address {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    padding: 10px 0;
}

.location-address i {
    color: #e91e63;
    margin-right: 8px;
    font-size: 16px;
}

/* Venue Description */
.venue-description {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 10px;
}

.venue-description-wrapper {
    position: relative;
}

.read-more-toggle {
    color: #e91e63;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.read-more-toggle:hover {
    color: #c2185b;
    text-decoration: underline;
}

.read-more-toggle:focus {
    outline: none;
    color: #c2185b;
}

/* Reviews Section */
.venue-card .ReviewDetailContent {
    margin-top: 20px;
}

.venue-card .btn-default {
    border-color: #ddd;
    color: #666;
    font-size: 13px;
    padding: 8px 16px;
}

.venue-card .btn-default:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* Similar Vendors Section */
.similar-vendors-section {
    background: #f9f9f9;
    padding: 50px 0;
    margin-top: 50px;
}

.similar-vendors-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
}

/* Gallery Lightslider Customization */
#image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.lSSlideOuter {
    border-radius: 10px;
    overflow: hidden;
}

.lSSlideWrapper {
    border-radius: 10px;
}

.lSPager.lSGallery {
    margin-top: 10px;
}

.lSPager.lSGallery li {
    border-radius: 6px;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 991px) {
    .facilities li {
        flex: 0 0 calc(33.333% - 12px);
    }

    .venue-name {
        font-size: 20px;
    }

    .venue-header-card,
    .venue-highlights-card,
    .booking-code-card {
        margin-top: 20px;
    }

    /* Fixed Action Buttons at Bottom for Tablet */
    .action-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 12px 15px;
        margin: 0;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        display: flex;
        gap: 10px;
    }

    .action-buttons .btn {
        flex: 1;
        margin: 0;
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 8px;
    }

    /* Add padding to venue-header-card to prevent content being hidden behind fixed buttons */
    .venue-header-card {
        padding-bottom: 20px;
        margin-bottom: 90px; /* Space for fixed buttons */
    }

    /* Ensure the last card has enough bottom margin */
    .container > .row:last-child {
        margin-bottom: 80px;
    }
}

@media (max-width: 767px) {
    .facilities li {
        flex: 0 0 calc(50% - 12px);
    }

    /* Fixed Action Buttons at Bottom for Mobile */
    .action-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 10px 12px;
        margin: 0;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        display: flex;
        gap: 8px;
        flex-direction: row; /* Keep side by side on mobile */
    }

    .action-buttons .btn {
        flex: 1;
        margin: 0;
        padding: 13px 16px;
        font-size: 14px;
        font-weight: 700;
        border-radius: 8px;
        white-space: nowrap;
    }

    .venue-name {
        font-size: 18px;
        padding-right: 50px;
    }

    .venue-badge {
        top: 15px;
        right: 15px;
        padding: 5px 12px;
        font-size: 13px;
    }

    .promo-image {
        max-width: 100%;
    }

    .location-map {
        height: 250px;
    }

    /* Single column on mobile for highlights */
    .highlights-list li {
        width: 100%;
        padding: 12px 0;
        border-left: none !important;
    }

    .highlights-list li:nth-child(even) {
        padding-left: 0;
    }

    /* Add padding to venue-header-card to prevent content being hidden */
    .venue-header-card {
        padding-bottom: 15px;
        margin-bottom: 85px; /* Space for fixed buttons */
    }

    /* Ensure the page content doesn't get hidden behind fixed buttons */
    .container > .row:last-child,
    footer {
        margin-bottom: 75px;
    }
}

@media (max-width: 576px) {
    .facilities li {
        flex: 0 0 100%;
    }
    
    .venue-card {
        padding: 18px;
    }
    
    .section-title {
        font-size: 18px;
    }
}

/* Utility Classes */
.no-pad {
    padding: 0 !important;
}

.clearboth {
    clear: both;
}

/* Hide elements for clean design */
.hidden-modern {
    display: none !important;
}
