/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.popup-overlay.show {
    display: flex;
    opacity: 1;
}

/* Popup Content */
.popup-content {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.popup-overlay.show .popup-content {
    transform: translateY(0);
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #9e9484;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #d4af37;
}

/* Form Styles (reusing/overriding some contact form styles) */
.popup-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #f2ece0;
    margin-bottom: 10px;
    text-align: center;
}

.popup-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    color: #9e9484;
    margin-bottom: 25px;
    text-align: center;
}

.popup-form-group {
    margin-bottom: 15px;
}

.popup-form-input,
.popup-form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    color: #f2ece0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.popup-form-input:focus,
.popup-form-textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.popup-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.popup-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #d4af37, #b4932a);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .popup-content {
        padding: 20px;
        width: 95%;
    }

    .popup-title {
        font-size: 1.5rem;
    }
}