/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

/* Lightbox Content Box */
.lightbox-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-content {
    transform: translateY(0);
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.lightbox-close:hover {
    color: #ff9e1b; /* Primary color */
}

/* Example Newsletter Form Styles inside Lightbox */
.lightbox-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.lightbox-header h2 {
    margin-top: 0;
    color: #100084; /* Secondary color */
}

.lightbox-body {
    text-align: center;
}

.lightbox-body input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.lightbox-body button {
    background-color: #ff9e1b;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

.lightbox-body button:hover {
    background-color: #e68a00;
}
