/* Modal Overlay */
.exhibitor-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exhibitor-modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

/* Modal Container */
.exhibitor-modal {
    position: relative;
    background: white;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.exhibitor-modal-overlay.active .exhibitor-modal {
    transform: scale(1);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    z-index: 10;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #FDBC11;
}

/* Modal Content */
.modal-content {
    padding: 40px;
    font-size: 16px;
}

/* Modal Header with Logo */
.modal-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #FDBC11;
}

.modal-logo {
    width: 50%;
    height: 150px;
    object-fit: contain;
    flex-shrink: 0;
}

.modal-header-text {
    flex: 1;
}

.modal-title {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    color: #D9340E;
    line-height: 1.2;
}

.modal-stand {
    margin: 0;
    font-size: 1.3em;
    color: #333;
    font-weight: 400;
}

.modal-info h3 {
    font-size: 1em;
    margin: 30px 0 15px 0;
    color: #333;
    text-transform: uppercase;
}

.modal-contact p,
.modal-bio p {
    margin: 10px 0;
    line-height: 1.6;
}

.modal-contact a {
    color: #FDBC11;
    text-decoration: none;
}

.modal-contact a:hover {
    text-decoration: underline;
}

/* Product Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.product-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.product-gallery img:hover {
    transform: scale(1.05);
}

/* Make clickable elements show pointer cursor */
.exhibitor-listing .elementor-element-2f4efd4 a,
.exhibitor-listing .elementor-element-a612aa8 a {
    cursor: pointer;
    transition: opacity 0.2s;
}

.exhibitor-listing .elementor-element-2f4efd4 a:hover,
.exhibitor-listing .elementor-element-a612aa8 a:hover {
    opacity: 0.8;
}
/* Lightbox Overlay */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

/* Lightbox Image */
.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

/* Lightbox Close Button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    border-radius: 50%;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    color: white;
    z-index: 10;
    padding: 0;
    width: 50px;
    height: 50px;
    transition: all 0.2s;
}

.lightbox-close:hover {
    background: rgba(253, 188, 17, 0.9);
    border-color: #FDBC11;
}

/* Lightbox Navigation Buttons */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    border-radius: 50%;
    font-size: 50px;
    line-height: 1;
    cursor: pointer;
    color: white;
    z-index: 10;
    padding: 0;
    width: 60px;
    height: 60px;
    transition: all 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(253, 188, 17, 0.9);
    border-color: #FDBC11;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Lightbox Counter */
.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .modal-logo {
        width: 100px;
        height: 100px;
    }
    
    .modal-title {
        font-size: 1.8em;
    }
    
    .modal-stand {
        font-size: 1.1em;
    }
    
    .product-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .product-gallery img {
        height: 150px;
    }
}